Skip to content

test: exercise prompt and SSE fixture flow - #147

Draft
sandersonstabo wants to merge 2 commits into
agent/engine-owner-p4c-fixture-0df4771from
agent/engine-owner-p4c-smoke-7e6f01f
Draft

test: exercise prompt and SSE fixture flow#147
sandersonstabo wants to merge 2 commits into
agent/engine-owner-p4c-fixture-0df4771from
agent/engine-owner-p4c-smoke-7e6f01f

Conversation

@sandersonstabo

@sandersonstabo sandersonstabo commented Aug 27, 2026

Copy link
Copy Markdown
Collaborator

Exercises the real test-only child across health, prompt, and SSE connections with bounded I/O, lifeline shutdown, and reap/no-kill evidence.


View with [code]smith Autofix with [code]smith
Need help on this PR? Tag @codesmith-bot with what you need. Autofix is disabled.


Summary by cubic

Adds a seventh fixture scenario to the engine-owner smoke test that runs a real prompt request and SSE log stream against the test-only child, while keeping absolute deadlines and lifeline cleanup.

  • The new prompt_text_then_terminal scenario sends an immediate-delivery prompt, then validates the follow-mode SSE events: run_id, sequence numbers 1 and 2, the delta text, and the final succeeded state.
  • Shared header and body readers now take a stage label and expected content-type, so timeout and parse failures name the endpoint that produced them.

Written for commit 31b9604. Summary will update on new commits.

Review in cubic

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