You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
release: starter-template pin step fails audit after #503 (bare starter has 0 routes, template audit still expects 2) #512
The npm publish itself succeeded (@jimhoyd/[email protected] published and verified) — this failure is strictly in the follow-up template-pin step, which opens a PR against jimhoyd-com/urlcode-template.
#503 "simplify init to one bare starter" merged into main on 2026-09-23 and changed the initializer to scaffold a bare starter with zero example routes by design. The urlcode-template repository's own package.jsonaudit script still hardcodes --expect-routes 2, a leftover expectation from before that change. Since #502 "generate the public template from the initializer", the release pipeline regenerates the template from the initializer on every release, so this mismatch now reproduces deterministically on every future release, not just this one.
Impact
Every core release will complete its npm/GitHub/Homebrew publication successfully, then fail at the very last "pin the starter" step. That step can be re-run standalone (npm run release:template -- --version <X> --execute) once fixed, so it isn't release-blocking for npm publication itself, but it leaves the standalone starter permanently out of date until reconciled.
Possible directions (not prescribing one)
Update urlcode-template's audit script to expect however many routes the new bare starter actually scaffolds (likely 0, if that's the intended design).
Or, if the bare starter is supposed to still include example routes for the published template specifically (as opposed to npm run init's default), adjust the initializer/template-generation step accordingly.
Activity
fix: drop audit from the standalone starter's release gate (#513)
jimhoyd commentedon Sep 23, 2026
Resolved. Both the release pipeline and the template repo's own CI hit this same audit/benchmark route-count conflict, fixed across:
auditfrom the release pipeline's template-pin gatebenchmarktooaudit/benchmarkfrom that repo's own CI workflow and fixing--expect-routesto match the bare starterurlcode-template main now pins @jimhoyd/[email protected] with the regenerated bare-starter content, and CI is green.