Skip to content

fix(release): fail closed first npm publication baseline - #704

Merged
artiphishle merged 1 commit into
mainfrom
fix/release-first-publication-baseline-703
Oct 24, 2026
Merged

artiphishle merged 1 commit into
mainfrom
fix/release-first-publication-baseline-703

Conversation

@artiphishle

Copy link
Copy Markdown
Collaborator

Closes #703
Refs ankhorage/infra#477

Summary

  • accept an empty npm release baseline only for an E404 from the public registry whose decoded request path exactly equals the release package name
  • reject mismatched and unrelated 404 responses, authentication failures, unavailable registry responses, and malformed evidence
  • synchronize the managed release workflow and existing CI workflow drift

Architecture

The behavior remains in the managed release-template edge; its executable regression test runs the rendered shell step with deterministic npm fixtures.

Release

  • patch Changeset included for @ankhorage/devtools

Validation

  • bun test src/tools/workflows/versionRollbackPolicy.test.ts
  • bun run build
  • bun run check-types
  • bun run lint (existing warnings only)
  • bun run knip:check
  • bun run test (194 pass)
  • bun run changeset:status
  • bun run format
  • bun run format:check
  • bun ./dist/cli/bin/repository.js workflows status .

@artiphishle artiphishle self-assigned this Oct 24, 2026
@artiphishle
artiphishle merged commit 2fae619 into main Oct 24, 2026
2 checks passed
@artiphishle
artiphishle deleted the fix/release-first-publication-baseline-703 branch October 24, 2026 22:04
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.

fix(release): fail closed when baselining first npm publication

1 participant