Skip to content

Tighten agent session e2e shutdown assertions#883

Merged
u9g merged 2 commits into
feat/agent-session-daemonfrom
jason/session-e2e-shutdown-assertions
Jun 23, 2026
Merged

Tighten agent session e2e shutdown assertions#883
u9g merged 2 commits into
feat/agent-session-daemonfrom
jason/session-e2e-shutdown-assertions

Conversation

@u9g

@u9g u9g commented Jun 23, 2026

Copy link
Copy Markdown
Contributor

Summary

  • use a shared 5s timeout for session e2e lifecycle operations
  • assert post-shutdown say fails with exit code 1 and no matched token
  • verify the session port is free before and after the failed say

Test

  • set -a; source .env; set +a; go test ./cmd/lk -run TestSessionE2E -count=1 -v

The detached daemon boot + agent venv + LLM connect takes longer than
the shared 5s sessionE2ETimeout, which killed start on the ubuntu and
windows CI runners (signal: killed / exit status 1). Bump start to 15s.
@u9g u9g merged commit 1c2c4ba into feat/agent-session-daemon Jun 23, 2026
5 checks passed
@u9g u9g deleted the jason/session-e2e-shutdown-assertions branch June 23, 2026 19:12
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.

2 participants