Skip to content

test(e2e): fake the analyst stream 404 so Inicio specs pass on the Go runtime - #608

Merged
Dreamcoder08 merged 1 commit into
mainfrom
test/inicio-analyst-stream
Nov 22, 2026
Merged

Dreamcoder08 merged 1 commit into
mainfrom
test/inicio-analyst-stream

Conversation

@Dreamcoder08

Copy link
Copy Markdown
Owner

The Inicio phone specs relied on the TypeScript API having no /system/analyst/ask/stream, whose 404 makes Inicio fall back to the faked /ask. The Go API serves the stream, so 14 of 16 failed under SIPGES_E2E_RUNTIME=go.

  • fakeAnalyst now declares the stream 404 in the browser; a spec that fakes the stream registers its own route afterwards and still wins.
  • inicio-phone and analyst-answer reuse fakeAnalyst instead of copying it.

Checks: mobile Inicio specs 16/16 on Go (2/16 before) and 16/16 on the default runtime; desktop 40-inicio-conversation 9/9; typecheck; lint.

Risk: none (tests only).

@Dreamcoder08
Dreamcoder08 merged commit fd52bbd into main Nov 22, 2026
22 checks passed
@Dreamcoder08
Dreamcoder08 deleted the test/inicio-analyst-stream branch November 22, 2026 21:46
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