Skip to content

WORKER.md: submit long build-server jobs in the background - #1415

Merged
aft-alfonso[bot] merged 1 commit into
mainfrom
land/worker-background-runon
Nov 10, 2026
Merged

aft-alfonso[bot] merged 1 commit into
mainfrom
land/worker-background-runon

Conversation

@aft-alfonso

@aft-alfonso aft-alfonso Bot commented Nov 10, 2026 •

Copy link
Copy Markdown
Contributor

A foreground call that is cancelled stops its build-server job by design. Three worker jobs were lost that way tonight during runner restarts. This asks workers to submit any job that may run over a few minutes with background: true and wait for its completion notice. Docs only.


Summary by cubic

Documents that long build-server jobs should be submitted with background: true, since a cancelled foreground call (runner restart, lost connection) stops the job by design. Background tasks keep running and deliver a completion notice, which workers should wait for instead of polling. Also adds a non-ranking benchmark harness fixture.

Written for commit 6ef85de. Summary will update on new commits.

View guided diff Turn on auto-fix

Three worker jobs tonight were stopped when a runner restart cancelled the
foreground call that was waiting on them; a background task would have kept
running and delivered its completion.

Co-authored-by: alfonso-aft <289616620+alfonso-aft@users.noreply.github.com>
@aft-alfonso
aft-alfonso Bot added this pull request to the merge queue Nov 10, 2026
Merged via the queue into main with commit c3dbac3 Nov 10, 2026
50 checks passed
@aft-alfonso
aft-alfonso Bot deleted the land/worker-background-runon branch November 10, 2026 02:15
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