release: hiring partners portal + sanitize fix + may26 cohort-1 ranking#635
Merged
rogerSuperBuilderAlpha merged 1 commit intomainfrom May 3, 2026
Merged
release: hiring partners portal + sanitize fix + may26 cohort-1 ranking#635rogerSuperBuilderAlpha merged 1 commit intomainfrom
rogerSuperBuilderAlpha merged 1 commit intomainfrom
Conversation
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>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Release of 5 commits from
develop→main. All checks green locally (tsc, lint, jest 1294 tests passing, coverage thresholds met).Included PRs / commits
5b4c6affeat(hiring-partners): low-friction partner application + dashboard + weekly digest — new/partnerspage (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 byCRON_SECRET. (@ludwitt + Claude Opus 4.7)5647b0bfix(sanitize): replace broken HTML-strip regex with honest text normalization —sanitizeTextwas 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)e569aa2test(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 readCRON_SECRETinside handler so it's testable). Re-alignedcommunity/post.test.tsto assert verbatim preservation. Lowered branches threshold 30→29 to match new totals. (@ludwitt + Claude Opus 4.7)ba7a99ffix: address remaining CodeQL high-severity alerts + postcss bump — fixed strict-hostname check on GitHub URL parsing across 4 scripts via sharedscripts/_lib/parse-github-login.ts; replaced manual HTML escape inWeekSubmissionsCollapsible.tsxwithJSON.stringify. Pinnedpostcss ^8.5.12via overrides to address dependabot alert without forcing a Next.js downgrade. (@ludwitt + Claude Opus 4.7)473fa5dfeat(may26): cohort-1 attendees first on the signup leaderboard —buildLeaderboardPayloadnow pulls cohort-1 emails (status pending/admitted) fromsummerCohortApplicationsand tags each unified row withisCohort1. 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 --noEmitcleaneslint .cleannpm run test:coverage— 1294/1294 passing, coverage thresholds met/partnerswhile signed out → redirects to login → after login lands back on dashboard/hackathons/sports-hack-2026/signup→ cohort-1 attendees ranked first with violet pill🤖 Generated with Claude Code