Skip to content

fix: stabilize release verification and npm 10 packaging tests - #776

Merged
jimhoyd merged 3 commits into
mainfrom
codex/fix-release-verification-775
Sep 26, 2026
Merged

jimhoyd merged 3 commits into
mainfrom
codex/fix-release-verification-775

Conversation

@jimhoyd

@jimhoyd jimhoyd commented Sep 26, 2026 •

Copy link
Copy Markdown
Collaborator

Problem and change

Release verification failed because SQLite fixtures removed directories before closing their resources, long auth/store test files exhausted their deadlines, and npm 10 ran prepare during npm pack --ignore-scripts, deleting shared dist/ while concurrent MCP tests read it.

  • Use the existing reverse-order cleanup pattern in store/form-records and affected abuse/forms fixtures, with regression tests proving every closer runs after a failure.
  • Preserve all 74 auth core and 20 store ownership test bodies while splitting them into focused files under the unchanged 300-second and 120-second deadlines.
  • Make source prepare honor npm's ignore-scripts setting, with a real npm pack regression and Git-source installation smoke coverage. Normal source installs still build.
  • Keep POSIX permission assertions on POSIX while retaining Windows file/path coverage; document the existing Windows ACL limitation and fixture rules.

Fixes #775.

Verification

  • Final npm run verify passes: 944 core tests, all workspace suites (including 263 auth tests and 82 store tests), package audits, and four packed add-on integration tests.
  • npm run check:docs passes.
  • Node 22/npm 10 focused regression and MCP/pack tests pass (7/7); the unguarded lifecycle reproduced the failure.
  • Final npm run test:package passes: archive and Git-source installation plus starter/cookbook checks.
  • All 30 PR checks pass. Full exact-commit CI at eaf396f7 passes all 138 jobs across Linux/macOS/Windows and Node 22/24/26, including packed integration on all three OSes: https://github.com/jimhoyd-com/urlcode/actions/runs/36212090522 .
  • Windows Node 22 timing evidence: the original 74 auth cases total 318.8 seconds; the largest split group totals 111.6 seconds. These are case-duration sums, excluding file startup; every file passed its unchanged deadline.

Compatibility and security

No runtime, YAML/API, capability, sandbox or starter behavior changes. Test assertions and security/hash settings are preserved. Published packages still omit the source prepare lifecycle. Windows ACL handling is documented accurately; no runtime permission checks were relaxed.

  • Changes match the documented portable contract; docs/examples are updated where needed.
  • Relevant tests and package checks pass, or limitations are explained above.
  • No credentials, customer data or private project material are included.
  • Runtime/starter changes remain aligned where applicable.

@jimhoyd jimhoyd changed the title fix: stabilize Windows verification and npm 10 packaging tests fix: stabilize release verification and npm 10 packaging tests Sep 26, 2026
@jimhoyd
jimhoyd marked this pull request as ready for review September 26, 2026 02:52
@jimhoyd
jimhoyd merged commit a7d7ce1 into main Sep 26, 2026
168 checks passed
@jimhoyd
jimhoyd deleted the codex/fix-release-verification-775 branch September 26, 2026 02:54
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.

[Bug]: Remaining release verification failures after audit cleanup and worker test fixes

1 participant