feat(fleet): set and show a keep deadline from the dashboard - #169
Merged
Conversation
Word the since-last-work figure as "active" rather than "last active"
across the tile, detail, one-shot metrics, status views, and routing, and
show a kept environment's deadline as a relative figure after it on the same
line ("active 2m 5s ago keep for 2h") instead of an absolute "retain
until" timestamp. The json format keeps the absolute field for consumers.
outofcoffee
force-pushed
the
dashboard-keep
branch
from
September 6, 2026 17:32
5ece897 to
f9ddbce
Compare
This was referenced Sep 7, 2026
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.
Set a keep (retention deadline) on a remote environment from the fleet dashboard, and show that deadline on the node's tile, detail screen, and metrics output.
Summary
kkey to the fleet dashboard (grid and detail view) that prompts for a duration and sets a keep on the selected remote environment, reporting the deadline the control plane set.Keepercapability interface to the fleet, implemented only by the remote node, and runs the keep through the existing per-node action machinery (tile spinner, one action per node, an immediate re-read on completion).retainUntilwhile the retention deadline is in the future, and aretain untilline shows beside the last-active figure in the shared metrics render, so the dashboard tile,fleet metricsandremote metricsword it the same.Implementation details
4h. An entry that does not parse as a positive duration leaves the prompt open and shows the parse reason. A keep in flight is not abortable, unlike a cold cloud wake — a keep is one fast signed call, a wake has no deadline of its own.