Repository navigation
Read the macOS runner's lease before setting its address by hand - #6426
Merged
Merged
Conversation
test-macos's first step read the DNS server from the lease after `networksetup -setmanual` had already ended it, so it passed an empty server. Each of the first three runs of the step in ci.yaml, all dispatched on Nov 18, failed it within a second and then never finished: the jobs stayed in progress with no log. The throwaway workflow behind #6381 read every value first, and held the address for 2 h 17 min. The step now reads them all before setting any, as that workflow did.
leaf-agent
approved these changes
Nov 18, 2026
leaf-agent
left a comment
Collaborator
There was a problem hiding this comment.
The red test (run 44401748511) fails in the browser type check (tsc --project browser/types/tsconfig.json), which this YAML-only change can't reach. The base commit 667b6c7 fails that same check on its own (browser/runtime/anchor-placement.js(428,7): error TS2552), and the unrelated queued-key-panel and passing-words branches fail it too, so it comes from main.
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.
test-macos's first step, added by #6381, has failed on every run since it merged, and left the job hanging rather than failing. It read the DNS server from the DHCP lease afternetworksetup -setmanualhad already ended the lease, soipconfig getoptionanswered nothing and-setdnsserversgot an empty server. This reads every value before setting any, as the throwaway workflow behind #6381 did (run 44263219832, which held the address for 2 h 17 min).Merge it before the next scheduled run (10:47 UTC): without it, that run's
test-macosfails in its first second and then stays in progress, sotend-ci-failuresnever reports it.Evidence: the first three runs of the step as merged, dispatched on Nov 18 (44399553207, 44399559748, 44399584183), each failed the step within a second and then stayed in progress with no log, through a cancel and a force-cancel. On a branch with this change, run 44401408496 passed the step and went on through setup. That the empty DNS server is what failed the step is inferred from the order of the reads, since the stuck runs left no log;
ipconfig getoptionon an interface with no lease prints nothing and exits 1.Found while dispatching
test-macosfor Max's request to reproduce the macOS-only nightly failures.