Skip to content

Propagate choice callback failures#2721

Draft
datduyng wants to merge 5 commits into
mainfrom
domnguyen/rollback-agent-startup-failures
Draft

Propagate choice callback failures#2721
datduyng wants to merge 5 commits into
mainfrom
domnguyen/rollback-agent-startup-failures

Conversation

@datduyng

@datduyng datduyng commented Jul 22, 2026

Copy link
Copy Markdown
Contributor

Let hosts surface deferred choice failures instead of reporting them as successful.

datduyng added 4 commits July 22, 2026 00:00
- Stop and close partial sessions before releasing registered ports
- Preserve startup errors and existing pre-session failure caching
- Cover cleanup ordering, retry, and concurrent session ownership
- Extract failure cleanup from initializeSessionContext
- Preserve the tested stop, close, port release, and retry behavior
- Satisfy the repository cognitive-complexity ratchet
- Remove the superseded lifecycle rollback implementation
- Remove its specialized failure-injection coverage
- Restore the branch to the frozen baseline before the replacement fix
- Let deferred callback errors reject respondToChoice
- Cover failure propagation at the public dispatcher boundary
@datduyng datduyng changed the title Rollback failed agent background startup Propagate choice callback failures Jul 22, 2026
- Keep the original callback error assertion
- Exercise a later chained choice after the rejection
- Prove dispatcher cleanup leaves choice handling usable
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant