Skip to content

fix(actions): re-provision a GitHub job whose registration ran another job - #1509

Open
AsadKhanAb17 wants to merge 1 commit into
oblien:mainfrom
AsadKhanAb17:fix/1505-actions-orphaned-jobs
Open

AsadKhanAb17 wants to merge 1 commit into
oblien:mainfrom
AsadKhanAb17:fix/1505-actions-orphaned-jobs

Conversation

@AsadKhanAb17

Copy link
Copy Markdown
Contributor

Ephemeral runner registrations only carry labels, so GitHub can hand a session any label-matched queued job instead of its demand job. The demand job was then blocked from a new reservation while that session lived, and permanently once it finished with an error, leaving it queued with admission allowed and free capacity.

A session admitted to a different job no longer counts as serving its demand job. A listening registration whose own demand job was taken elsewhere is treated as a spare that can take the job, so no extra runner is started only to idle out.

Refs #1505

…r job

Ephemeral runner registrations only carry labels, so GitHub can hand a
session any label-matched queued job instead of its demand job. The
demand job was then blocked from a new reservation while that session
lived, and permanently once it finished with an error, leaving it queued
with admission allowed and free capacity.

A session admitted to a different job no longer counts as serving its
demand job. A listening registration whose own demand job was taken
elsewhere is treated as a spare that can take the job, so no extra
runner is started only to idle out.

Refs oblien#1505
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