From 6cecd7cc85a67cc075b4d50b9b792a6ed3b77cd6 Mon Sep 17 00:00:00 2001 From: OrcaWin <293788423+OrcaWin@users.noreply.github.com> Date: Fri, 13 Nov 2026 05:38:39 -0800 Subject: [PATCH] test: trim runner and mobile recording matrices --- cloud/dev/scripts/run-relay-tests.test.mjs | 21 ++----------------- .../task-owner-recording.test.ts | 8 +------ 2 files changed, 3 insertions(+), 26 deletions(-) diff --git a/cloud/dev/scripts/run-relay-tests.test.mjs b/cloud/dev/scripts/run-relay-tests.test.mjs index 70a332ea205..896a6edb985 100644 --- a/cloud/dev/scripts/run-relay-tests.test.mjs +++ b/cloud/dev/scripts/run-relay-tests.test.mjs @@ -108,9 +108,7 @@ for (const [name, options] of [ [ 'alternate PostgreSQL', { env: { ORCA_IDLE_REHOME_POSTGRES_URL: 'postgres://localhost:55440/relay' } } - ], - ['application database', { env: { DATABASE_URL: databaseUrl } }], - ['one CPU', { parallelism: 1 }] + ] ]) { test(`retains the original single run for ${name}`, async (t) => { const h = start(t, options) @@ -126,20 +124,6 @@ for (const [name, options] of [ }) } -for (const [name, result] of [ - ['null exit code', { ...success, code: null }], - ['termination signal', { ...success, signal: 'SIGTERM' }], - ['timeout', { ...success, timedOut: true }] -]) { - test(`fails a ${name} even when other result fields indicate success`, async (t) => { - const h = start(t) - finish(h.calls[0], result) - finish(h.calls[1]) - assert.equal(await h.pending, 1) - assertClean(h) - }) -} - test('fails and retains scratch when a child never reports closure', async (t) => { const h = start(t) finish(h.calls[0], success, false) @@ -152,8 +136,7 @@ test('fails and retains scratch when a child never reports closure', async (t) = }) for (const [signal, exitCode, laterSignal] of [ - ['SIGINT', 130, 'SIGTERM'], - ['SIGTERM', 143, 'SIGINT'] + ['SIGINT', 130, 'SIGTERM'] ]) { test(`${signal} cancels every child and retains scratch despite root close callbacks`, async (t) => { const h = start(t) diff --git a/mobile/src/test-support/rpc-recording/task-owner-recording.test.ts b/mobile/src/test-support/rpc-recording/task-owner-recording.test.ts index 77ffc9195ec..72ca2ff0ad5 100644 --- a/mobile/src/test-support/rpc-recording/task-owner-recording.test.ts +++ b/mobile/src/test-support/rpc-recording/task-owner-recording.test.ts @@ -139,10 +139,6 @@ describe('committed production task owners in recording adapters', () => { it.each([ ['tk-item-metadata-gitlab', 'update-gitlab'], - ['tk-item-comment-github', 'comment'], - ['tk-item-checks-files', 'rerun'], - ['tk-item-status-gitlab', 'gitlab-status'], - ['tk-project-row-files-merge', 'pr-state'], ['tk-linear-item', 'comment'] ])( '%s records deferred acquire, refused reentry, release and fresh remount', @@ -260,7 +256,7 @@ describe('committed production task owners in recording adapters', () => { } ) - it.each(['tk-item-checks-files', 'tk-project-row-files-merge'])( + it.each(['tk-item-checks-files'])( '%s records a same-path file successor and ignores retired publication/finish', async (id) => { const base = pilot(id) @@ -328,8 +324,6 @@ describe('committed production task owners in recording adapters', () => { ) it.each([ - ['tk-item-detail-github', 'payload', 'detailLoading'], - ['tk-item-detail-gitlab', 'payload', 'detailLoading'], ['tk-item-detail-linear', 'payload', 'detailLoading'], ['tk-project-row-detail', 'detail', 'projectRowDetailLoading'] ])(