fix(feature-tracker): guard readFile against ENOENT race in test suite#408
Merged
Conversation
chore(release): promote develop -> main for v0.6.0
fix(security): avoid regex comment stripping for #366
fix(ci): unblock #366 promotion checks
fix(cli): address #366 review feedback
Codex P1 on PR #396: `specorator init --target <relative-path>` resolved the path against process.cwd(), but the CLI launches subcommands with cwd=PACKAGE_ROOT, so relative targets were created inside the installed package directory instead of the user's project. The CLI already forwards the user's invocation cwd via SPECORATOR_TARGET_ROOT — this anchors path.resolve() against that env var so relative targets land where the user expects. Add Codex-#396 regression test demonstrating the bug fix.
chore(release): v0.6.1 — Claude plugin wired into release process
chore(release): promote v0.6.2 to main
Parallel tests (check-issues creates/deletes issues/0-blank-required-test.md while sites-page-weight runs astro build) could cause readFile to throw ENOENT between readdir scan and file open. Soft-skip the file instead. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Luis85
pushed a commit
that referenced
this pull request
May 9, 2026
- Merge develop (PR #408: feature-tracker ENOENT guard) - docs/release-operator-guide.md §7.1: add --provenance=false to manual npm publish recovery command; publishConfig.provenance=true causes OIDC mint failure outside CI (no provider context)
This was referenced May 9, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
feature-tracker.tsreadFilehad no ENOENT guard — parallel test (check-issues.test.tscreates/deletesissues/0-blank-required-test.md) could delete the file between thereaddirscan and thereadFilecall, crashing the Astro build insites-page-weight.test.tsTest plan
npm run verifypasses locally (confirmed)🤖 Generated with Claude Code