Visual indicator for number of compactions in a step #442
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
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.
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.