Repository navigation
Unblock worker storage startup from unrelated udev failures - #64
Merged
candlelightner merged 1 commit intoOct 23, 2026
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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.