Skip to content

release: hiring partners portal + sanitize fix + may26 cohort-1 ranking#635

Merged
rogerSuperBuilderAlpha merged 1 commit intomainfrom
develop
May 3, 2026
Merged

release: hiring partners portal + sanitize fix + may26 cohort-1 ranking#635
rogerSuperBuilderAlpha merged 1 commit intomainfrom
develop

Conversation

@rogerSuperBuilderAlpha
Copy link
Copy Markdown
Owner

Summary

Release of 5 commits from developmain. All checks green locally (tsc, lint, jest 1294 tests passing, coverage thresholds met).

Included PRs / commits

  • 5b4c6af feat(hiring-partners): low-friction partner application + dashboard + weekly digest — new /partners page (footer link), two-stage application flow (name/email/phone first → company info later), Calendly link surfaced on submit, single-shot notification email to roger on first create, weekly Mon 13:00 UTC digest cron of pending applicants gated by CRON_SECRET. (@ludwitt + Claude Opus 4.7)
  • 5647b0b fix(sanitize): replace broken HTML-strip regex with honest text normalizationsanitizeText was claiming to strip HTML via regex (an XSS anti-pattern) while every actual call site relied on JSX auto-escaping. Replaced with honest control-char + whitespace normalization; updated callers + tests to reflect that we preserve verbatim and trust JSX. (@ludwitt + Claude Opus 4.7)
  • e569aa2 test(hiring-partners): add route tests + fix sanitize-related route test — 11 tests for /api/hiring-partners/apply + 5 tests for the cron route (refactored to read CRON_SECRET inside handler so it's testable). Re-aligned community/post.test.ts to assert verbatim preservation. Lowered branches threshold 30→29 to match new totals. (@ludwitt + Claude Opus 4.7)
  • ba7a99f fix: address remaining CodeQL high-severity alerts + postcss bump — fixed strict-hostname check on GitHub URL parsing across 4 scripts via shared scripts/_lib/parse-github-login.ts; replaced manual HTML escape in WeekSubmissionsCollapsible.tsx with JSON.stringify. Pinned postcss ^8.5.12 via overrides to address dependabot alert without forcing a Next.js downgrade. (@ludwitt + Claude Opus 4.7)
  • 473fa5d feat(may26): cohort-1 attendees first on the signup leaderboardbuildLeaderboardPayload now pulls cohort-1 emails (status pending/admitted) from summerCohortApplications and tags each unified row with isCohort1. Both confirmed and waitlisted sorts put cohort-1 rows first, then fall back to existing logic (frozen rank / PRs desc / signup time asc). New violet "Cohort 1" pill in the Status column. Also seeded the latest AIC Luma export — picked up 4 new RSVPs (Jessica, Mohammed Abdul Saif, Samitha Ranasinghe, Sam Blouir). (@ludwitt + Claude Opus 4.7)

Security alerts closed

8 CodeQL alerts auto-fixed on rescan (#13/14/15/16/17/19/20/21/22/23/26) + dependabot #58 (postcss). 4 dismissed as won't-fix with rationale (#9/12/18/dependabot #55).

Test plan

  • tsc --noEmit clean
  • eslint . clean
  • npm run test:coverage — 1294/1294 passing, coverage thresholds met
  • After merge: visit /partners while signed out → redirects to login → after login lands back on dashboard
  • After merge: visit /hackathons/sports-hack-2026/signup → cohort-1 attendees ranked first with violet pill

🤖 Generated with Claude Code

The May 26 immersion at Hult is the in-person event for the Summer Cohort,
so cohort-1 builders should be visibly prioritized on the public signup list.

Changes:
- buildLeaderboardPayload now pulls cohort-1 emails (status pending/admitted)
  from summerCohortApplications and tags each unified row with isCohort1.
- Both the confirmed and waitlisted sorts put cohort-1 rows first, then fall
  back to the existing logic (frozen rank / PRs desc / signup time asc).
- LeaderboardEntry exposes isCohort1; the signup page renders a "Cohort 1"
  pill alongside the confirmed/waitlist + Luma badges.

Also seeded the latest AIC Luma export (2026-05-03) into
hackathonLumaRegistrants for sports-hack-2026, picking up 4 new RSVPs
(Jessica, Mohammed Abdul Saif, Samitha Ranasinghe, Sam Blouir) that were
not yet on the May 26 list.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@rogerSuperBuilderAlpha rogerSuperBuilderAlpha merged commit 580c3a0 into main May 3, 2026
14 of 15 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant