dispatcher: KEYSTORE_NSC_MACOS_APPLICATION_WAIT=job registers the macOS runner before the application finishes #12

Merged
founder merged 1 commit from claude/w6-macos-app-wait-job into main 2026-08-19 07:24:36 +00:00
Owner

Opt-in KEYSTORE_NSC_MACOS_APPLICATION_WAIT=job (per-target env): the macOS runner registers before the /nix snapshot Application has finished; the job side waits (nix-snapshot-state.sh expected/wait, key.store companion PR). Default bootstrap mode unchanged. Adversarially reviewed (LAND).

🤖 Generated with Claude Code

Opt-in `KEYSTORE_NSC_MACOS_APPLICATION_WAIT=job` (per-target env): the macOS runner registers before the /nix snapshot Application has finished; the job side waits (`nix-snapshot-state.sh expected/wait`, key.store companion PR). Default bootstrap mode unchanged. Adversarially reviewed (LAND). 🤖 Generated with [Claude Code](https://claude.com/claude-code)
dispatcher: KEYSTORE_NSC_MACOS_APPLICATION_WAIT=job registers the macOS runner before the application finishes
Some checks failed
Build Container / Image (amd64) (pull_request) Failing after 18m50s
Build Go / Go Test (pull_request) Failing after 18m49s
Build Container / Image (amd64) (push) Failing after 18m49s
Build Go / Nix Build (pull_request) Failing after 18m55s
Build Go / Nix Build (push) Failing after 18m49s
Build Go / Go Test (push) Failing after 18m50s
Build Container / Image (arm64) (push) Failing after 41m36s
Build Container / Image (arm64) (pull_request) Failing after 42m27s
cdb293592d
With the /nix snapshot Application the bootstrap waited for the app's
finished file (~82 s) before registering the runner, so the first job
started ~105 s after create. WAIT=job (per-target env) registers
immediately, skips the Nix installer while the app is pending and exports
KEYSTORE_NSC_MACOS_APPLICATION_PENDING=1 (no _READY) so the job-side
readers (Scripts/nix-snapshot-state.sh via ensure-nix.sh) wait for the
markers instead of racing the app's installer; a failed app still yields
READY=0 (no PENDING) and the job installs Nix itself. Bootstrap mode
(default) is unchanged. Tests cover WAIT=job pending/failed and bootstrap
never-PENDING. go vet/test green.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
founder deleted branch claude/w6-macos-app-wait-job 2026-08-19 07:24:36 +00:00
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
key-store/forgejo-nsc!12
No description provided.