Skip to content

fix(server): accept cert-project block label - #68

Merged
raisedadead merged 2 commits into
mainfrom
fix/block-label-cert-project
Oct 17, 2026
Merged

raisedadead merged 2 commits into
mainfrom
fix/block-label-cert-project

Conversation

@raisedadead

Copy link
Copy Markdown
Member

The Test (22) and Test (24) jobs fail on main since 2026-10-15 18:25 UTC.

Cause: freeCodeCamp/freeCodeCamp#70840 (5ac88b2d4e) added the block label cert-project. pnpm fetch-data downloads the curriculum from freeCodeCamp main, and the validator rejects the new label:

Failed to initialize DataStore: Invalid blockLabel value: "cert-project".

Changes:

  • Add cert-project / CERT_PROJECT to the raw label type, the label enum, the validator list, the normalizer map and the GraphQL schema. Regenerate types.generated.ts.
  • Format landing.html with Prettier 3.9.9. The upgrade in chore(deps): update code quality tools #60 made pnpm format:check fail, and the pre-push hook runs it. The change is whitespace in </pre> end tags only.

Verification:

pnpm lint && pnpm format:check && pnpm type-check && pnpm test

Exit 0. Tests: 131 passed (131). Before the fix: 7 failed, 54 skipped.

@raisedadead
raisedadead requested a review from a team as a code owner October 17, 2026 18:58
@raisedadead
raisedadead merged commit 3b6ccbd into main Oct 17, 2026
9 checks passed
@raisedadead
raisedadead deleted the fix/block-label-cert-project branch October 17, 2026 18:59
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