test(ci): stabilize cross-platform consumer gates

This commit is contained in:
pku-xht
2026-08-25 19:27:34 +08:00
parent f217795644
commit 08aed20139
6 changed files with 177 additions and 37 deletions
@@ -46,6 +46,9 @@ describe.skipIf(!hasPwsh)('tool-pwsh through a real Loader composition', () => {
libBinScript: driver,
configPath,
tsconfigPath: repoTsconfig,
// The self-hosted Windows pool can take roughly 40 seconds to boot this
// real Loader composition under the full CI load.
processTimeoutMs: 90_000,
inspect: async (cwd) => {
report = JSON.parse(await readFile(join(cwd, 'pwsh-loader-report.json'), 'utf8')) as PwshLoaderReport
},
@@ -59,5 +62,5 @@ describe.skipIf(!hasPwsh)('tool-pwsh through a real Loader composition', () => {
expect(report?.foregroundText).toBe('loader-ok\n')
expect(report?.backgroundText).toContain('loader-bg-ok')
expect(report?.backgroundText).toContain('[status: completed, exit code: 0]')
}, LOADER_SMOKE_TEST_TIMEOUT_MS)
}, LOADER_SMOKE_TEST_TIMEOUT_MS + 75_000)
})