Skip to content

fix: drop audit from the standalone starter's release gate - #513

Merged
jimhoyd merged 1 commit into
mainfrom
fix-template-release-gate-audit
Sep 23, 2026
Merged

jimhoyd merged 1 commit into
mainfrom
fix-template-release-gate-audit

Conversation

@jimhoyd

@jimhoyd jimhoyd commented Sep 23, 2026

Copy link
Copy Markdown
Collaborator

Summary

  • The default bare starter (#503 "simplify init to one bare starter") ships with zero example routes by design.
  • urlcode audit refuses "ready" status for any project with zero active routes (notReadyReasons: ["no-active-routes"]), regardless of whether --expect-routes matches. There's no override flag for this.
  • scripts/release-template.ts's updateTemplate() runs validate, test and audit as release-blocking checks before opening the starter-pin PR. Since the starter is now intentionally routeless, audit can never pass there, so the "pin starter to new core version" step now fails on every release — observed pinning 0.5.8 (see #512).

Change

Drop audit from the release-gate script list (keep validate and test). npm run audit in the starter/template still works fine standalone — it's just no longer a blocking gate for a starter that's deliberately empty. Updated the matching prose in docs/DEVELOPMENT-PIPELINE.md and the release-PR body text it writes.

Paired with urlcode-template#23, which fixes that repo's own stale --expect-routes 2 (now 0) so npm run audit still reports the correct count when run manually.

Verification

  • npm run typecheck
  • node --test test/release-template.test.ts
  • node scripts/check-local-links.ts

The bare starter (#503, "simplify init to one bare starter") scaffolds
with zero example routes by design. urlcode audit refuses "ready" for
any project with no active routes regardless of --expect-routes, so
npm run audit can never pass for it. This made the "pin starter to new
core version" step of every release fail after a successful npm
publish (observed pinning 0.5.8: #512). validate and test still gate
the pin; audit still works fine run standalone.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
@jimhoyd
jimhoyd merged commit b0de0f2 into main Sep 23, 2026
60 checks passed
@jimhoyd
jimhoyd deleted the fix-template-release-gate-audit branch September 23, 2026 15:35
jimhoyd added a commit that referenced this pull request Sep 23, 2026
…516)

Same conflict as audit (#513): the bare starter (#503) ships with zero
example routes by design, and urlcode benchmark refuses outright ("No
GET/HEAD workload: add representative successful request fixtures")
with nothing to request. Observed running the 0.5.8 template-pin step
right after #513 merged. benchmark still works standalone once routes
are added.

Co-authored-by: Claude Sonnet 5 <noreply@anthropic.com>
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