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

The slot bars stay put: quarter hours on the clock at their peak, and red only for a failure #17237

opened this

Conflicts with main in 1 file

src/web/flow_slots.ts

The owner: "most often the entire thing shows red but then every once and awhile bars are gray. i think it something to do with the window shifting." The bars are /flow's and /boards' Checks and Crew runs slots over 24 hours. They were never results: red meant every slot busy at that instant; gray meant fewer busy.

Notes · 5 files · +104 −30

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 b4c5d2d ·

/changelog

main

at 9d6fa9d ·

this pull

In the dark

main

at 9d6fa9d ·

this pull

at b4c5d2d ·

/docs

main

at 9d6fa9d ·

this pull

In the dark

main

at 9d6fa9d ·

this pull

at b4c5d2d ·

/explore

main

at 9d6fa9d ·

this pull

In the dark

main

at 9d6fa9d ·

this pull

at b4c5d2d ·

/looks/failed

main

at 9d6fa9d ·

this pull

In the dark

main

at 9d6fa9d ·

this pull

at b4c5d2d ·

/looks/missing

main

at 9d6fa9d ·

this pull

In the dark

main

at 9d6fa9d ·

this pull

at b4c5d2d ·

/notes

main

at 9d6fa9d ·

this pull

In the dark

main

at 9d6fa9d ·

this pull

at b4c5d2d ·

/review

main

at 9d6fa9d ·

this pull

In the dark

main

at 9d6fa9d ·

this pull

at b4c5d2d ·

/security

main

at 9d6fa9d ·

this pull

In the dark

main

at 9d6fa9d ·

this pull

at b4c5d2d ·

opened this

The owner: "most often the entire thing shows red but then every once and awhile bars are gray. i think it something to do with the window shifting." The bars are /flow's and /boards' Checks and Crew runs slots over 24 hours. They were never results:

  • red meant every slot busy at that instant;
  • gray meant fewer busy. Each bar read one instant, now minus i quarter hours, so every refresh read other instants. Checks sat at 8 of 8 with a slot freed for a moment between runs, so a bar caught 8 (red) one load and 7 (gray) the next.

Now each bar is a quarter hour on the clock (:00 :15 :30 :45) at its peak, from one sweep over the runs' starts and ends, and a bar changes only when its own runs do; only the quarter under way moves. One meaning per colour: every slot busy is the attention colour, not red (red is a failed run); fewer is muted; waiting is lighter on top. The full badge and count take the attention colour too. Each bar names its quarter and counts in its title ("12:00–12:15 UTC: up to 8 of 8 busy, up to 3 waiting"), the chart says where its 24 hours end, and a legend line names the colours.

Tests: flow-slots holds the clock quarters and their peaks, and that readings minutes apart agree on every finished quarter (a busy 8 with one slot free for a minute is 8, however the reading falls). It also holds the titles, the end and the legend.

Try: open /flow on the preview and reload twice: the Checks bars do not change colour, and a hover names each quarter. Looks: /flow No door: the terminal draws no slot bars; its Capacity screen says the counts Direction: never claim what is not known, ahead of #6534

Co-Authored-By: Claude Fable 5 <[email protected]>

Owner, 2026-12-01: "most often the entire thing shows red but then every once and awhile bars are gray. i think it something to do with the window shifting". Before, on production: two loads 20 s apart changed 3 checks bars and 8 crew bars.

🤖 Generated with Claude Code

2 earlier comments
commented

<!-- look-pages b4c5d2dbebc7 --> Look pages for b4c5d2d, from the gate:

  • look pages (named): this pull changes src/web/flow_slots.ts, src/web/style/components.ts; a commit names /flow
commented

Answered for #17832, left as it is.

State: red; conflicted in src/web/flow_slots.ts.

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

Needs a rebase, not a close. It conflicts with main in src/web/flow_slots.ts, and its check ran against 8c343f479, so the red is stale. The conflict is a design decision (which quarter-hour peak logic survives), not mechanical, and the branch is a person's, so I did not push to it. To hand it to the crew, give it back or open an issue naming it; a builder rebases and runs test/flow-slots.test.ts.

Sign in to join this conversation.

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

Keyboard shortcuts

Docs