Skip to content

Fix auto-close setup and lifetime bounds - #24

Merged
TeoSlayer merged 1 commit into
mainfrom
codex/fix-auto-close-deadlines
Sep 4, 2026
Merged

Fix auto-close setup and lifetime bounds#24
TeoSlayer merged 1 commit into
mainfrom
codex/fix-auto-close-deadlines

Conversation

@TeoSlayer

Copy link
Copy Markdown
Owner

What changed

  • give relay/session setup its own signal-bound context instead of spending the process auto-close budget
  • start relative durations when the wrapped process is ready to launch
  • preserve absolute wall-clock deadlines
  • clamp explicit deadlines to the relay's returned expiry so cards, JSON, and shell list stay truthful
  • add regression coverage for sub-second, absolute, and overlong deadlines

Test

  • go test ./...

Closes #18
Closes #19

@TeoSlayer
TeoSlayer merged commit 4dc106b into main Sep 4, 2026
7 checks passed
@TeoSlayer
TeoSlayer deleted the codex/fix-auto-close-deadlines branch September 4, 2026 08:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

2 participants