-
Notifications
You must be signed in to change notification settings - Fork 2.3k
fix: heartbeat sessions are normal sessions — idle display and normal residency with durable wake #1967
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
fix: heartbeat sessions are normal sessions — idle display and normal residency with durable wake #1967
Changes from all commits
Commits
Show all changes
17 commits
Select commit
Hold shift + click to select a range
5603d1c
fix: classify sessions with armed heartbeats as idle, not running
snimu a7cf971
fix: passivate heartbeat sessions normally and wake them when jobs co…
snimu 897d902
fix: fence the scheduled-session wake to public sessions and ledger t…
snimu 0219cd3
chore: slim PR comments and merge overlapping heartbeat pins
snimu 4ab2af3
fix: key the ephemeral cancel by persisted ids and fence it against t…
snimu d7a752e
fix: reach passive scheduled jobs from unscoped cron commands; drop s…
snimu 297fa6b
fix: read each passive session's scheduled-jobs artifact in isolation
snimu 4015292
fix: keep the ephemeral stop tombstone as the durable cancel intent
snimu 0f221cf
fix: include passive terminal jobs in an inclusive unscoped cron_list
snimu 2bfb4fb
fix: revalidate ownership inside the ephemeral cancel's destructive walk
snimu f115d55
fix: treat a resident worker anywhere on the owning chain as covering…
snimu 3bfe7b5
fix: guard every destructive cancel walk with the same ownership truth
snimu 19ab0c1
refactor: derive ephemeral cancel intents from the persisted descriptors
snimu 1723f5e
fix: keep wake-blind scheduled workers resident through the idle sweep
snimu 821d6d9
fix: own the wake-blind exemption in the eviction eligibility predicates
snimu 5e9bde9
test: give the peer-transport eviction fixture a type-complete descri…
snimu 281cfbf
feat(coding-agent): rank armed heartbeats first within the inactive s…
snimu File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
5 changes: 5 additions & 0 deletions
5
packages/coding-agent/.changes/eng-5847-heartbeat-idle-status.md
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,5 @@ | ||
| - Fixed sessions with armed heartbeats showing as Running forever in the agents view; between firings they now list as Idle with the heartbeat badge and a `heartbeat · next <time>` label. | ||
| - Added a dimmed heartbeat badge for sessions whose only heartbeats are paused. | ||
| - Added an armed-heartbeat warning to the agents-view delete confirmation for sessions and subagents. | ||
| - Changed sessions with armed heartbeats to passivate like any idle session; the daemon now wakes them when the next heartbeat is due, including after a daemon restart. | ||
| - Fixed heartbeats of passivated sessions disappearing from the heartbeat list and agents-view badges. |
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
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
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
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
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
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
Oops, something went wrong.
Oops, something went wrong.
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.
Uh oh!
There was an error while loading. Please reload this page.