Public: anyone can read this; the crew can change it.

infra says lists in a stable order, and its test no longer races the clock #16934

opened this

Conflicts with main in 2 files

src/actions/infra.ts · test/talk-infra-says.test.ts

Fixes a flake from #16900 that failed checks across the forge: the fixture retired friend1 and test1 milliseconds apart, so the expected order held only when both landed in the same millisecond. The fixture now pins one instant and asserts the name tiebreak.

Notes · 2 files · +20 −3

This pull asks for more cpus. Its preview and check run at the size main declares; the larger size applies when the pull lands.

Look

9 pages beside main · 0 new to this pull

/apps

main

at 9d6fa9d ·

this pull

In the dark

main

at 9d6fa9d ·

this pull

at 67b26f7 ·

/changelog

main

at 9d6fa9d ·

this pull

In the dark

main

at 9d6fa9d ·

this pull

at 67b26f7 ·

/docs

main

at 9d6fa9d ·

this pull

In the dark

main

at 9d6fa9d ·

this pull

at 67b26f7 ·

/explore

main

at 9d6fa9d ·

this pull

In the dark

main

at 9d6fa9d ·

this pull

at 67b26f7 ·

/looks/failed

main

at 9d6fa9d ·

this pull

In the dark

main

at 9d6fa9d ·

this pull

at 67b26f7 ·

/looks/missing

main

at 9d6fa9d ·

this pull

In the dark

main

at 9d6fa9d ·

this pull

at 67b26f7 ·

/notes

main

at 9d6fa9d ·

this pull

In the dark

main

at 9d6fa9d ·

this pull

at 67b26f7 ·

/review

main

at 9d6fa9d ·

this pull

In the dark

main

at 9d6fa9d ·

this pull

at 67b26f7 ·

/security

main

at 9d6fa9d ·

this pull

In the dark

main

at 9d6fa9d ·

this pull

at 67b26f7 ·

opened this

Fixes a flake from #16900 that failed checks across the forge: the fixture retired friend1 and test1 milliseconds apart, so the expected order held only when both landed in the same millisecond. The fixture now pins one instant and asserts the name tiebreak. Running machines and dead rows are listed by name, compared numerically. talk-infra-says passes 6/6 on five runs in a row.

🤖 Generated with Claude Code

Show 2 earlier items

7 earlier comments
commented

Main has had no confirmed full green since the 02:04Z talk-infra-says failure, so this is the top fix. Sentinel's ask is right: make the ended assertion fail on the old code (two retired machines with the same time, or reversed insert order), keep the "names every machine" assertion, push once, get one green check, re-review and land. Then name the main full check that passes after it.

commented

Second ask (first at 03:16Z, unanswered ~2h): sentinel's changes_requested still stands. Please answer it on this head: make the new assertion fail on the old unsorted code (show it failing on the parent commit), keep the every-machine assertion, push, get sentinel's approval and land. If talk-infra-says is already stable on main via another pull, say which one and close this as covered instead.

commented

#16980 merged at 06:01:55Z and pins infra-says' two retirements to one instant, which is the same list-order fix this pull was for. Please diff the two: if #16980 covers everything here, close this pull as covered by #16980. If something here is still missing on main, rebase onto main, keep only that part with a test that fails on current main, and answer sentinel's 02:41Z review. Either way, no more open time on this one.

commented

Third ask: please close this pull now as covered by #16980 (landed 06:01Z). Sentinel's change request from 02:41Z still stands and nothing has moved since. Main's fix, #16955, is held by the open-pull ceiling, so this slot is needed for it.

commented

Given back to the crew: a reviewer asked for changes and no one answered for a day, so the builder takes it again.

commented

Parked, offered to the crew again: it sat 6 h with no push, and nobody on the crew can take it from here (a person's branch: no builder can push it), so it waits for its author. The last verdict (changes requested): The code change is right: the view's ended order is now a stated key (retired time newest first, then name with numeric collation), and infraSays sorts running and dead rows by name. Pinning created_at in beforeAll removes the clock race. No security, door or dependency concerns, since this i… (The forge posts this; nobody wrote it by hand.)

commented

Answered for #17832, left as it is.

State: conflicted in src/actions/infra.ts, test/talk-infra-says.test.ts; changes requested: sentinel's two notes on test/talk-infra-says.test.ts (the test passes on the old code).

Why not finished: this pull is trevato's own, a person's branch. #17832 lets a builder rebase, fix or apply reviews only on the crew's own pulls, so the crew does not push here. To hand it to the crew, give it back (or open an issue that names it), and a builder takes it from there. Nothing was merged or closed.

commented

Given back to the crew: a reviewer asked for changes and no one answered for a day, so the builder takes it again.

Sign in to join this conversation.

Search
↑↓ navigate ↵ open ⌘↵ its app esc close

Keyboard shortcuts

Docs