Skip to content

Prepare v1.0.4 release#23

Merged
sf-jin-ku merged 2 commits intomainfrom
jin/release-1.0.4
Apr 9, 2026
Merged

Prepare v1.0.4 release#23
sf-jin-ku merged 2 commits intomainfrom
jin/release-1.0.4

Conversation

@sf-jin-ku
Copy link
Copy Markdown
Contributor

Summary

  • harden background job reservation handling and result surfacing
  • refresh the README and changelog for a friendlier install and usage flow
  • add regression coverage for reservation lifecycle, large diff review context, and background steering behavior

Verification

  • npm run test
  • npm run test:e2e
  • npm pack --dry-run

Copy link
Copy Markdown

@chatgpt-codex-connector chatgpt-codex-connector bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 435617a0ee

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment on lines +171 to +173
if (!fs.existsSync(resolveReservedJobFile(workspaceRoot, explicitJobId))) {
throw new Error(
`Claude Code job id ${explicitJobId} is not reserved. Reserve one with the companion reserve-job helper before reusing it.`
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Badge Claim reserved job IDs atomically before launching work

resolveExplicitJobId only checks existsSync on the reservation marker, and the marker is removed later in a separate step, so two concurrent invocations using the same --job-id can both pass this check before either one releases the reservation. In that race, both runs proceed with the same job id and can overwrite the same job record/log files, which breaks result routing for background jobs and retries. Reservation consumption should be atomic (single-writer claim) rather than a check-then-use pattern.

Useful? React with 👍 / 👎.

@sf-jin-ku sf-jin-ku merged commit 1f39b74 into main Apr 9, 2026
3 checks passed
@sf-jin-ku sf-jin-ku deleted the jin/release-1.0.4 branch April 9, 2026 05:55
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