Repository navigation
ci: repair Ubuntu package DNS on disposable runners - #2460
Merged
Merged
Conversation
HyunjunJeon
pushed a commit
to HyunjunJeon/hide
that referenced
this pull request
Nov 12, 2026
…ith-hide#2462) Closes with-hide/hide-private#826 Related: with-hide#2443 and with-hide#2456; unblocks verification of with-hide#2460 and with-hide#2454. ## Summary Native checks still assume an immediate blocked-child raise and the old phone pause explanation. Wait for the real raised request after the approved grace, and expect the approved computer-use description. Close Settings and wait for the presented frame before capturing the raised pane in either theme. ## Review - **Decide**: budgets account for with-hide#2443's approved grace; the grace boundary remains covered by core tests. - **Risky files**: `session-workflow.spec.ts` retains the real blocked-child path and exact raised-label predicate. - **Risky files**: `phone-push-settings.spec.ts` keeps the full copy assertion against with-hide#2456 and `UI_BEHAVIOR.md`. ## Tests - **Layer**: native e2e checks Korean task rows, pane bands, terminal geometry and persisted phone pause settings. - **Catches**: old main runs fail before the 60-second grace; the first candidate reaches the unchanged UI assertions. - **Catches**: the same CI exposed the obsolete pause explanation on both attempts; its assertion remains exact. - **Repeat**: grace candidate passes once without retry; final candidate macOS validation is pending. - **Waits**: snapshot guard allows the 60-second grace plus its existing 30-second label budget. - **Waits**: test guard adds that grace to its existing 90-second budget; Settings absence is asserted before capture. - **Waits**: existing animation/compositor helpers wait for the presented native frame; no custom delay is added. ## Evidence - **Verified**: first candidate PR verify passes typecheck, lint, size budgets and timed-wait policy. - **Verified**: its macOS session workflow passes in 94.492 seconds on the first attempt, with every assertion intact. - **Verified**: its native artifacts expose a stale Settings frame in the light capture, corrected by the new gate. - **Not verified**: final candidate CI and fixed captures are pending; local builds exceed the 2.4 GiB disk margin. - **Not verified**: original pre-with-hide#2443 intermittency is not independently diagnosed; direct delegation, no PRD run. <details><summary>Verification record</summary> Base `8ee63b8e5138fd6aae02d987fd4563458f842d1a`; final candidate `b897729e73`. Before: main run 43031426412 and with-hide#2460 run 43060583267 fail the 30-second raised-label wait on both attempts. Grace candidate `0c50b38168`: https://github.com/with-hide/hide/actions/runs/43065626764 Mac desktop: https://github.com/with-hide/hide/actions/runs/43065619655/job/130679676966 Shard 1 passes 64 tests, skips one; shard 2 passes 65, skips ten and fails only the old phone-pause copy. The original reports, native windows and failure logs are preserved locally. Remaining unrelated jobs in that superseded nightly were cancelled before final-candidate validation. Self-review: product, snapshot, lifecycle and cleanup are unchanged; state predicates remain exact and guards finite. </details>
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.
Closes with-hide/hide-private#871
Summary
CI fails before product tests because the runner cannot resolve Ubuntu package hosts.
Keep healthy DNS defaults and repair failed lookups only on disposable GitHub-hosted runners.
Use the shared bounded installer for WSL, Linux packages and relay service checks, preserving product tests.
Review
scripts/ci-apt-dns.sh- changes the disposable runner's resolver only after failed lookups.package.yml,wsl-device.yml- root/container and Windows-to-WSL installation boundaries.Tests
Evidence
Verification record
Base:
04c0b2d3bce63d74f4f2bbc25a5748620c517a09.Common repair candidate:
c3e7b6d458.Self-review covers correctness, duplication, simplicity, module boundaries, failure handling and resource limits.
Default DNS is checked first; only
RUNNER_ENVIRONMENT=github-hostedpermits repair.Linux uses the active system resolver on the runner, or the bare container's own resolver file.
Windows validates the public resolver before selecting it; WSL retains its normal DNS tunnel.
Root installation supports the bare container without sudo; local deb and downgrade options remain supported.
Product code, distribution first-run setup, default user and test expectations are unchanged.
Original successful WSL job: https://github.com/with-hide/hide/actions/runs/43030011569/job/130556172864
Original failing main job: https://github.com/with-hide/hide/actions/runs/43031426412/job/130560970954
Both have the same runner image, action SHA and Ubuntu installer.
Diagnostic job: https://github.com/with-hide/hide/actions/runs/43046941833/job/130615263704
Windows DNS
168.63.129.16returnsRCODE_SERVER_FAILUREfor Ubuntu hosts.WSL
3.0.3.0, kernel6.18.54.1-1, uses generated DNS tunnel10.255.255.254.A 120-second readiness check did not recover DNS.
Corrected Windows host DNS candidate
579c003fbe8f0c27ac60ed9496b9e645cf0f8744:https://github.com/with-hide/hide/actions/runs/43050103813/job/130628266914
WSL retains its tunnel and installs prerequisites in 28 seconds with two fetch attempts.
All three WSL walks and all three Windows/Linux SSH walks pass without retries.
Linux package failure on that same candidate:
https://github.com/with-hide/hide/actions/runs/43050103813/job/130625904718
azure.archive.ubuntu.com,archive.ubuntu.comandsecurity.ubuntu.comfail resolution; apt exits 100.Every other planned job, including Windows browser, desktop and package, passes on that candidate.
The original diagnostic candidate's fixture linker timeout is preserved separately and did not recur.