Visual indicator for number of compactions in a step #442

Closed
opened 2026-11-08 16:42:20 -05:00 by cmoriarty · 1 comment
Owner

In the graph spine, we have a small wheel that shows the percent of context used. Next to that we should create similarly sized indicator to show how many compactions have occurred.

In the graph spine, we have a small wheel that shows the percent of context used. Next to that we should create similarly sized indicator to show how many compactions have occurred.
Author
Owner

Shipped in PR 460.

A running step's row now shows, left of its context ring and at the ring's size, a ring broken into segments with the number of times the attempt's context has been compacted. It appears with the first compaction; a step that never compacts shows the ring alone. Its label and hover read "Compacted 2 times in this attempt". The engine's digest carries the count for the live attempt and reads it from the log after a restart.

Evidence. A browser test publishes a digest with no compaction (no mark) and with two (the mark, its label, the ring's width, to the ring's left); engine tests cover the count per attempt. I looked at it in a browser on a fixture step.

Not done. It has not been seen on a production run: the Greeter run does not compact. The next Scratch run will show it.

Shipped in PR 460. A running step's row now shows, left of its context ring and at the ring's size, a ring broken into segments with the number of times the attempt's context has been compacted. It appears with the first compaction; a step that never compacts shows the ring alone. Its label and hover read "Compacted 2 times in this attempt". The engine's digest carries the count for the live attempt and reads it from the log after a restart. **Evidence.** A browser test publishes a digest with no compaction (no mark) and with two (the mark, its label, the ring's width, to the ring's left); engine tests cover the count per attempt. I looked at it in a browser on a fixture step. **Not done.** It has not been seen on a production run: the Greeter run does not compact. The next Scratch run will show it.
Sign in to join this conversation.
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
cmoriarty/braid#442
No description provided.