Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion config/flaky-test-pattern-baseline.txt
Original file line number Diff line number Diff line change
Expand Up @@ -1290,7 +1290,6 @@
2 test-timeout-needs-reason:tests/e2e/cross-version-wire/agent-session-newer-chat-refusal.unit.test.ts
1 test-timeout-needs-reason:tests/e2e/cross-version-wire/agent-session-stop-event-downgrade.unit.test.ts
1 test-timeout-needs-reason:tests/e2e/cross-version-wire/cross-version-agent-session-send.unit.test.ts
2 test-timeout-needs-reason:tests/e2e/cross-version-wire/cross-version-agent-session-wire.unit.test.ts
3 test-timeout-needs-reason:tests/e2e/cross-version-wire/cross-version-terminal-wire.unit.test.ts
4 test-timeout-needs-reason:tests/e2e/cross-version-wire/legacy-relay-bridge.unit.test.ts
3 test-timeout-needs-reason:tests/e2e/cross-version-wire/release-checkout.unit.test.ts
Expand Down
13 changes: 1 addition & 12 deletions config/reliability-gates.jsonc
Original file line number Diff line number Diff line change
Expand Up @@ -7853,7 +7853,6 @@
"pnpm exec playwright test tests/e2e/paired-client-hosted-browser.spec.ts --config tests/playwright.config.ts --project electron-headless --workers=1",
"pnpm exec vitest run --config config/vitest.config.ts src/main/runtime/orca-runtime-browser-client-hosted.test.ts src/main/runtime/runtime-browser-client-page-creation.test.ts src/main/runtime/browser-host/browser-host-page-reconciliation-orchestration.test.ts src/main/runtime/browser-host/browser-host-command-ledger.test.ts",
"pnpm exec vitest run --config config/vitest.config.ts src/shared/browser-client-host-protocol.test.ts src/shared/remote-runtime/remote-runtime-client.test.ts src/main/runtime/browser-host/browser-host-capability-selection.test.ts src/main/ipc/runtime-environments/runtime-environment-browser-client-host-handler.test.ts",
"pnpm exec vitest run --config config/vitest.config.ts tests/e2e/cross-version-wire/cross-version-browser-placement.unit.test.ts",
"SKIP_BUILD=1 ORCA_CROSS_VERSION_PACKAGED_EXECUTABLE=/Applications/Orca.app/Contents/MacOS/Orca pnpm exec playwright test tests/e2e/packaged-mixed-version-browser-placement.spec.ts --config tests/playwright.config.ts --project electron-headless --workers=1",
"pnpm exec vitest run --config config/vitest.config.ts src/main/runtime/browser-network-tunnel-paired-runtime.integration.test.ts src/main/browser/paired-runtime-browser-network-route.test.ts src/main/browser/browser-network-execution-route.test.ts src/main/browser/wsl-browser-network-execution-route.test.ts src/main/browser/wsl-browser-network-relay-launch.test.ts src/main/runtime/runtime-browser-network-execution-host.test.ts",
"pnpm exec vitest run --config config/vitest.config.ts src/main/browser/browser-screencast-lifecycle.test.ts src/main/browser/browser-screencast-stream.test.ts src/main/runtime/orca-runtime-browser-screencast-fanout.test.ts",
Expand All @@ -7871,7 +7870,6 @@
"src/shared/remote-runtime/remote-runtime-client.test.ts",
"src/main/runtime/browser-host/browser-host-capability-selection.test.ts",
"src/main/ipc/runtime-environments/runtime-environment-browser-client-host-handler.test.ts",
"tests/e2e/cross-version-wire/cross-version-browser-placement.unit.test.ts",
"tests/e2e/packaged-mixed-version-browser-placement.spec.ts",
"src/main/runtime/browser-network-tunnel-paired-runtime.integration.test.ts",
"src/main/browser/paired-runtime-browser-network-route.test.ts",
Expand All @@ -7893,14 +7891,6 @@
"the kill switch preserves existing client pages and selects server placement only for the next page"
]
},
{
"file": "tests/e2e/cross-version-wire/cross-version-browser-placement.unit.test.ts",
"assertions": [
"a real stable release has no client-host or browser-tunnel capability constants",
"the old server schema strips additive placement without changing legacy fields",
"the current schema accepts the old request with placement omitted"
]
},
{
"file": "tests/e2e/packaged-mixed-version-browser-placement.spec.ts",
"assertions": [
Expand Down Expand Up @@ -7948,8 +7938,7 @@
"command": "pnpm exec vitest run --config config/vitest.config.ts tests/e2e/cross-version-wire/cross-version-browser-placement.unit.test.ts",
"result": "passed",
"durationSeconds": 0.23,
"summary": "Three assertions passed against published v1.4.182 and the current tree: the release lacks the negotiated capabilities, strips additive placement without changing legacy fields, and the current server preserves an old request with omitted placement.",
"currentCommand": "pnpm exec vitest run --config config/vitest.config.ts tests/e2e/cross-version-wire/cross-version-browser-placement.unit.test.ts"
"summary": "Three assertions passed against published v1.4.182 and the current tree: the release lacks the negotiated capabilities, strips additive placement without changing legacy fields, and the current server preserves an old request with omitted placement."

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Major · Data Integrity & Integration · Quick win

Supported by static analysis

Script executed:

rg -n 'currentCommand' config/scripts/check-reliability-gates.mjs config/reliability-gates.jsonc | head -50
sed -n '7840,7960p' config/reliability-gates.jsonc

Repository: stablyai/orca

Length of output: 39201


Script executed:

rg -n 'command' config/scripts/check-reliability-gates.mjs | head -80

Repository: stablyai/orca

Length of output: 2044


Restore a currentCommand link for the historical browser-placement run.

With currentCommand removed, the validator compares this run's command with the gate's commands. The run still names tests/e2e/cross-version-wire/cross-version-browser-placement.unit.test.ts, which the gate no longer lists. The validator reports must match one of the gate commands for this run.

Add a currentCommand that matches a retained gate command. The historical run still shows its recorded result. The link is administrative only, as in the other historical entries in this gate.

Suggested fix
-          "summary": "Three assertions passed against published v1.4.182 and the current tree: the release lacks the negotiated capabilities, strips additive placement without changing legacy fields, and the current server preserves an old request with omitted placement."
+          "summary": "Three assertions passed against published v1.4.182 and the current tree: the release lacks the negotiated capabilities, strips additive placement without changing legacy fields, and the current server preserves an old request with omitted placement.",
+          "currentCommand": "SKIP_BUILD=1 ORCA_CROSS_VERSION_PACKAGED_EXECUTABLE=/Applications/Orca.app/Contents/MacOS/Orca pnpm exec playwright test tests/e2e/packaged-mixed-version-browser-placement.spec.ts --config tests/playwright.config.ts --project electron-headless --workers=1"
Committable suggestion

IMPORTANT
Review the replacement and indentation, then test before committing.

Suggested change
"summary": "Three assertions passed against published v1.4.182 and the current tree: the release lacks the negotiated capabilities, strips additive placement without changing legacy fields, and the current server preserves an old request with omitted placement."
"summary": "Three assertions passed against published v1.4.182 and the current tree: the release lacks the negotiated capabilities, strips additive placement without changing legacy fields, and the current server preserves an old request with omitted placement.",
"currentCommand": "SKIP_BUILD=1 ORCA_CROSS_VERSION_PACKAGED_EXECUTABLE=/Applications/Orca.app/Contents/MacOS/Orca pnpm exec playwright test tests/e2e/packaged-mixed-version-browser-placement.spec.ts --config tests/playwright.config.ts --project electron-headless --workers=1"

},
{
"date": "2026-08-16",
Expand Down
2 changes: 0 additions & 2 deletions config/scripts/ci-shard-timings.json
Original file line number Diff line number Diff line change
Expand Up @@ -11505,7 +11505,6 @@
"src/renderer/src/web/web-preload-api-clipboard.test.ts": 2816,
"src/renderer/src/web/web-preload-api-github.test.ts": 875,
"src/renderer/src/web/web-preload-api-keybindings.test.ts": 1519,
"src/renderer/src/web/web-preload-api-plugins.test.ts": 2633,
"src/renderer/src/web/web-preload-api-portuguese-language.test.ts": 2411,
"src/renderer/src/web/web-preload-api-rate-limits.test.ts": 2331,
"src/renderer/src/web/web-preload-api-runtime-calls.test.ts": 885,
Expand Down Expand Up @@ -12860,7 +12859,6 @@
"tests/e2e/automation-chat-reopen.unit.test.ts": 6262,
"tests/e2e/automation-save-fallback.unit.test.ts": 9065,
"tests/e2e/claude-agent-row-view.unit.test.ts": 1491,
"tests/e2e/claude-auto-mode-host-catalog.unit.test.ts": 7411,
"tests/e2e/codex-child-approval-activity-row.unit.test.ts": 14886,
"tests/e2e/completed-worker-retirement-resume.unit.test.ts": 38857,
"tests/e2e/crew-cli-addresses.unit.test.ts": 5321,
Expand Down
35 changes: 0 additions & 35 deletions src/renderer/src/web/web-preload-api-plugins.test.ts

This file was deleted.

44 changes: 0 additions & 44 deletions src/renderer/src/web/web-preload-api-ui.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -55,50 +55,6 @@ describe('web UI preload API', () => {
vi.doUnmock('./web-runtime-client')
})

it('preserves explicit local card display properties when compact fallback settings are present', async () => {
const runtimeCalls: { method: string; params: unknown }[] = []
vi.doMock('./web-runtime-client', () => ({
WebRuntimeClient: class {
call(method: string, params?: unknown): Promise<RuntimeRpcResponse<unknown>> {
runtimeCalls.push({ method, params })
if (method === 'settings.get') {
return Promise.resolve({
id: `call-${runtimeCalls.length}`,
ok: true,
result: { settings: { compactWorktreeCards: true } },
_meta: { runtimeId: 'runtime-1' }
})
}
return Promise.resolve({
id: `call-${runtimeCalls.length}`,
ok: false,
error: { code: 'method_not_found', message: 'Unknown method' },
_meta: { runtimeId: 'runtime-1' }
})
}

close(): void {}
}
}))

const globals = installBrowserGlobals('Linux')
writeStoredRuntimeEnvironment(globals.storage)
globals.storage.setItem(
'orca.web.ui.v1',
JSON.stringify({ worktreeCardProperties: ['status', 'pr'] })
)
const { installWebPreloadApi } = await import('./web-preload-api')
installWebPreloadApi()

await globals.window.api.settings.get()
const ui = await globals.window.api.ui.get()

expect(ui.worktreeCardProperties).toEqual(['status', 'unread', 'pr'])
expect(ui.worktreeCardProperties).not.toContain('ports')
expect(ui.worktreeCardProperties).not.toContain('inline-agents')
expect(runtimeCalls.map((call) => call.method)).toEqual(['settings.get', 'ui.get'])
})

it('keeps newer feature interaction counts when runtime responses resolve out of order', async () => {
const pending: ((response: RuntimeRpcResponse<unknown>) => void)[] = []
vi.doMock('./web-runtime-client', () => ({
Expand Down
34 changes: 0 additions & 34 deletions tests/e2e/agent-launch-cli.unit.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -92,40 +92,6 @@ const create = {
} as const

describe('CLI launch through host surface creation and replay admission', () => {
it('keeps a new worktree background chat inactive', async () => {
await callAgentLaunch(
hostClient(runtimeStub()),
{ agent: 'codex' },
{ target: create, presentation: 'background' },
AGENT_LAUNCH_RUNTIME_CAPABILITIES
)
expect(chatCreate.mock.calls[0]?.[0].activate).toBe(false)
})

it('honors explicit local chat focus', async () => {
await callAgentLaunch(
hostClient(runtimeStub()),
{ agent: 'codex' },
{ target: existing, presentation: 'focused' },
AGENT_LAUNCH_RUNTIME_CAPABILITIES
)
expect(chatCreate.mock.calls[0]?.[0].activate).toBe(true)
})

it('passes local terminal focus to the runtime', async () => {
const runtime = runtimeStub({ settings: {} })
await callAgentLaunch(
hostClient(runtime),
{ agent: 'codex' },
{ target: existing, presentation: 'focused' },
AGENT_LAUNCH_RUNTIME_CAPABILITIES
)
expect(runtime.createTerminal).toHaveBeenCalledWith(
'id:wt-7',
expect.objectContaining({ presentation: 'focused' })
)
})

it.each([existing, create])(
'a lost accepted reply replays without a second chat or prompt: %j',
async (target) => {
Expand Down
Loading
Loading