Skip to content

fix(worker): persist bounded tracking call receipts - #128

Merged
austinjiann merged 1 commit into
mainfrom
codex/tracking-call-receipt
Nov 21, 2026
Merged

austinjiann merged 1 commit into
mainfrom
codex/tracking-call-receipt

Conversation

@austinjiann

Copy link
Copy Markdown
Collaborator

Tracking previously waited on a remote call without saving its call ID, leaving interrupted runs difficult to reconcile before another paid attempt. Persist tracking-call.json before submission, save the returned call ID before a bounded wait, and request cancellation only for that call on timeout or interruption. Existing receipts refuse resubmission to the same destination.

The CLI, tracking parameters and archive extraction are unchanged. A pure shared helper records the effective local profile without importing another Modal app; profile aliases remain recovery hints rather than proof of workspace identity. With the existing 600-second worker ceiling, result waiting is bounded to 1,200 seconds.

Validation: 186 offline tests, CLI flag resolution, Ruff, repository format checks and diff checks passed. Tests exercise receipt timing, ambiguous submission, cancellation failure, interrupted waits, duplicate refusal and unchanged input routing. Live tracking has not run. Stacked on #127.

@austinjiann
austinjiann changed the base branch from codex/fresh-cache-staging to main November 21, 2026 04:17
@austinjiann
austinjiann merged commit aa41839 into main Nov 21, 2026
5 checks passed
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