Skip to content

Unblock worker storage startup from unrelated udev failures - #64

Merged
candlelightner merged 1 commit into
mainfrom
fix/storage-device-wait-and-startup-feedback
Oct 23, 2026
Merged

candlelightner merged 1 commit into
mainfrom
fix/storage-device-wait-and-startup-feedback

Conversation

@candlelightner

@candlelightner candlelightner commented Oct 23, 2026 •

Copy link
Copy Markdown
Owner

A worker with an incompatible GPU driver can keep generating udev work while its Docker disk is already present. The storage helper currently waits for the entire global udev queue, so an unrelated device failure prevents worker startup. Start/Retry also leaves the page action without a visible result when the request fails.

Wait up to 30 seconds for only the exact owned Docker block-device aliases. Preserve all ambiguity, whole-disk, filesystem and initialization-authorization checks; log the wait, timeout outcome and successful verification. Native startup retains a sanitized phase even when an exec request times out, logs correlated storage/service transitions and cleanup, and names service-readiness failures explicitly. Start/Retry displays pending and confirmed/failed notifications and refreshes worker status.

Validation: full PR CI passed typechecking, 1,990 module/helper tests (66 expected skips), isolated API/UI regression and all four amd64/arm64 orchestrator/worker builds. Locally, 75 focused tests passed (3 gated live skips), including six real-helper fixture cases, timeout phase/secret-safety coverage, retry/scope regressions and GUI notification tests. Typechecking passed. The final notification adjustment also passed both feedback tests. A bounded live repair using the reviewed helper confirmed storage/service readiness, existing ext4 storage, Docker availability, workspace presence and the terminal session. Operational identifiers and diagnostics remain private.

The guest GPU driver still requires separate guest administration; this fixes the unrelated storage wait so the worker can become accessible. Existing root filesystems require the reviewed helper repair or a compute-image update; this does not silently replace guest drivers. Follow-up to #61.

Release verification: merged-main CI also passed and the immutable published orchestrator image was deployed successfully. Its canonical helper hash and packaged startup-feedback code were verified, and the repaired native worker remained ready through the orchestrator replacement. Existing native default caches must be regenerated with the standard Worker Update action after bootstrap changes; this preserves existing VM root disks. Existing guests need the reviewed helper repair or a compute-image update to receive the new helper.

@candlelightner
candlelightner merged commit d210ff8 into main Oct 23, 2026
10 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