Compare commits

...

28 Commits

Author SHA1 Message Date
Kit Langton
9037600d4c Merge branch 'dev' into kit/remove-e2e-url-repro 2026-04-02 14:32:47 -04:00
Kit Langton
9bf227f81f test(opencode): remove temporary e2e url repro 2026-04-02 14:30:06 -04:00
Kit Langton
8b6219d834 fix(opencode): allow patch tools in e2e model routing 2026-04-02 14:10:26 -04:00
Kit Langton
2666def933 fix(app): poll session.diff instead of summary.files, revert sanitizeProject
summary.files is computed asynchronously and never resolves in CI.
Poll session.diff() directly — matches the pattern used by the
snapshot-tool-race integration test.

Also revert the unrelated sanitizeProject changes to event-reducer
and utils that were accidentally included in this PR.
2026-04-02 13:27:10 -04:00
Kit Langton
1401208cb5 fix(app): drop patchModel, let default model resolve for review seeds
The dynamic GPT model search was fragile across CI environments.
The e2eURL override routes any model to the mock server, so there's
no need to pick a specific model.
2026-04-02 13:11:56 -04:00
Kit Langton
3f81434315 test(opencode): wait for stderr writes before exit 2026-04-02 13:01:27 -04:00
Kit Langton
d603d9da65 fix(opencode): use openai-compatible SDK for e2e LLM mock routing
The e2eURL() path used createOpenAI().responses() which produces a
Responses API format that the mock server's SSE stream can't correctly
convey tool calls through. Switch to createOpenAICompatible().chatModel()
which uses the chat completions format — matching what the mock was
designed for and what the integration tests use.

This only affects the OPENCODE_E2E_LLM_URL code path (e2e tests only).
2026-04-02 12:49:28 -04:00
Kit Langton
9a87b785e6 test(app): restore e2e fixtures and flaky waits 2026-04-02 12:32:11 -04:00
Kit Langton
fae97cc559 fix(app): restore assistant fixture, simplify route.fulfill
- Re-add AssistantFixture type and assistant fixture (used by prompt specs)
- Simplify route.fulfill to use response param directly
2026-04-02 12:20:56 -04:00
Kit Langton
4453ff26f6 refactor(app): remove dead e2e selectors, mock helpers, and unused imports
- selectors: permissionReject/AllowAlways/AllowOnce, sessionTodoDock/Toggle/List,
  projectClearNotifications, dropdownMenuTrigger
- mock: titleMatch, promptMatch, openaiModel, withMockOpenAI
- actions: withNoReplyPrompt, unused dropdownMenuTriggerSelector/Route imports
2026-04-02 12:19:42 -04:00
Kit Langton
490fd31706 Merge branch 'dev' into kit/e2e-golden-path 2026-04-02 12:06:58 -04:00
Kit Langton
fd14f281d0 refactor(app): inline seedProjects into seedStorage, remove unused imports
- Merge seedProjects into seedStorage as a single addInitScript call
- Remove unused withNoReplyPrompt import from fixtures
- Remove seedProjects export from actions
2026-04-02 12:06:42 -04:00
Kit Langton
a355898c74 test(app): drop unused e2e fixture imports 2026-04-02 12:03:22 -04:00
Kit Langton
042c594446 test(app): select review seed model from providers 2026-04-02 12:02:49 -04:00
Kit Langton
bcddb59c9c refactor(app): remove dead e2e fixtures, helpers, and types
Delete unused code from the e2e test infrastructure:

- fixtures: withProject, withBackendProject, withMockProject, runProject,
  AssistantFixture type, assistant fixture
- actions: clickPopoverButton, seedSessionPermission, seedSessionTodos
- Update AGENTS.md to reflect the project fixture pattern
2026-04-02 12:00:17 -04:00
Kit Langton
bedd661fd4 Merge remote-tracking branch 'origin/dev' into kit/e2e-golden-path 2026-04-02 11:40:55 -04:00
Kit Langton
dff7ccc384 Merge branch 'dev' into kit/e2e-golden-path 2026-04-02 11:32:19 -04:00
Kit Langton
d33cf0145e test(opencode): type fast patch repro model ids 2026-04-02 11:30:34 -04:00
Kit Langton
0022cba7c5 test: stabilize patch seeding across e2e backends 2026-04-02 11:29:47 -04:00
Kit Langton
1c0812fe01 test(app): stabilize review and workspace e2e 2026-04-02 10:51:30 -04:00
Kit Langton
cfcdd5c1dd test(app): relax review patch mock matching 2026-04-02 09:55:26 -04:00
Kit Langton
99845597b5 test(app): stabilize session routing and workspace e2e 2026-04-02 09:37:19 -04:00
Kit Langton
598296fc22 test: align e2e fixtures with worker backends 2026-04-02 09:18:38 -04:00
Kit Langton
7b2b22d5a2 Merge branch 'dev' into kit/e2e-golden-path 2026-04-02 08:56:08 -04:00
Kit Langton
b782650dfe test(app): stabilize migrated e2e suite 2026-04-02 01:09:08 -04:00
Kit Langton
7f5307ff30 test(app): migrate e2e to the golden project fixture 2026-04-02 00:37:14 -04:00
Kit Langton
2089e5e0d6 test(app): stabilize golden e2e prompt helper 2026-04-02 00:37:14 -04:00
Kit Langton
ca3ccbab8d test(app): add golden-path e2e fixtures 2026-04-02 00:37:14 -04:00

Diff Content Not Available