From 27a0889dcfda7a37f256a024d9f88fde64b3d3f7 Mon Sep 17 00:00:00 2001 From: Neil <4138956+nwparker@users.noreply.github.com> Date: Sun, 20 Sep 2026 21:41:58 -0700 Subject: [PATCH 1/2] test(relay): account for OpenCode marker in OMP launch environment (#21907) --- src/relay/omp-fresh-launch-environment.test.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/relay/omp-fresh-launch-environment.test.ts b/src/relay/omp-fresh-launch-environment.test.ts index 8697368567f..5f7cd57681f 100644 --- a/src/relay/omp-fresh-launch-environment.test.ts +++ b/src/relay/omp-fresh-launch-environment.test.ts @@ -91,7 +91,7 @@ it('prepares the execution host OMP config and status extension for a guarded la source.mockReturnValue(false) expect( await augment.mock.calls[1][0]({ id: 'other', shell: '/bin/bash', env: {}, command: 'codex' }) - ).toEqual({}) + ).toEqual({ ORCA_OPENCODE_AGENT: 'opencode' }) } finally { runtime.stop() dispatcher.dispose() From 2d697a40129cdb2bc4a368992e11b3a81bb4143d Mon Sep 17 00:00:00 2001 From: Jinwoo Hong <73622457+Jinwoo-H@users.noreply.github.com> Date: Mon, 21 Sep 2026 00:56:57 -0400 Subject: [PATCH 2/2] test(config): count the haptics notify module in the session route's page closure (#21908) #21864 (haptics on the page) and #21871 (mermaid on the page) were each green against a main that lacked the other. Together, `haptics.web.ts` reaches `bridge-haptics-notify.ts` inside the session route's closure, so the module pin recorded by #21871 reads 4324 on main, not 4323. Pin the measured count and name the module. Claude-Session: https://claude.ai/code/session_01JNnE9qzUZMMnqpZWCqM3nb --- .../mobile-web-app-session-terminal-closure.test.mjs | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/config/scripts/mobile-web-app-session-terminal-closure.test.mjs b/config/scripts/mobile-web-app-session-terminal-closure.test.mjs index 08ab772d7e2..26eaeac1ebf 100644 --- a/config/scripts/mobile-web-app-session-terminal-closure.test.mjs +++ b/config/scripts/mobile-web-app-session-terminal-closure.test.mjs @@ -106,8 +106,13 @@ const EXPECTED_OFFENDERS = 0 const MERMAID_PAGE_ENGINE = 'src/components/pr-sidebar/mermaid-page-engine.generated.ts' const MERMAID_PACKAGE = 'node_modules/mermaid/' -/** The module list with mermaid on the page, recorded at the base in the docstring above. */ -const MODULES_WITH_MERMAID = 4323 +/** + * The module list with mermaid on the page, recorded at the base in the docstring above, plus + * one: `src/mobile-web-shell/bridge/bridge-haptics-notify.ts`, which `haptics.web.ts` reaches + * since C7.10 E landed beside this pin (#21864 and #21871 were each green against a main without + * the other). + */ +const MODULES_WITH_MERMAID = 4324 const artifactModules = (inputs) => inputs.filter((input) => input.includes(MERMAID_PAGE_ENGINE)) const packageModules = (inputs) => inputs.filter((input) => input.includes(MERMAID_PACKAGE))