test: trim runner and mobile recording matrices

This commit is contained in:
OrcaWin
2026-11-13 05:39:44 -08:00
parent 8dab55a9fc
commit 6cecd7cc85
2 changed files with 3 additions and 26 deletions
+2 -19
View File
@@ -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)
@@ -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']
])(