ci: bump skill matrix parser test timeout; install playwright in isolated dir
CI / Architecture Guardrails (push) Successful in 19m4s
CI / Assistant Split Regression (push) Successful in 20m21s
CI / Lint (push) Successful in 21m52s
CI / Typecheck (push) Successful in 22m37s
CI / Unit Tests (push) Successful in 7m48s
CI / Build (push) Successful in 5m16s
CI / Fresh-Linux Docker Deploy (push) Failing after 12m42s
CI / E2E Tests (push) Failing after 35m15s
CI / Release Images (push) Has been skipped

Unit Tests flaked on QNAP: skillMatrixParser ExcelJS workbook builds exceeded
the 5s default per-test timeout (runtime ~8.6s for the suite). Bumped to 30s.

Docker Deploy smoke tests failed because `npm install` in the repo root tried
to resolve sibling workspace:* deps (pnpm protocol, not npm-supported).
Install @playwright/test into /tmp/pw-install instead and symlink the package
dirs into apps/web/node_modules so the CJS require() in playwright.ci.config.ts
resolves it by walking up from apps/web/.
This commit is contained in:
2026-04-13 01:11:37 +02:00
parent a88db567ad
commit a0b407e92d
2 changed files with 18 additions and 8 deletions
+3 -2
View File
@@ -21,6 +21,7 @@ async function createWorkbookBuffer(
describe("skill matrix parser", () => {
it("extracts employee info and merges skills by highest proficiency", async () => {
// ExcelJS dynamic import + workbook writeBuffer is slow on constrained CI runners.
const workbook = await createWorkbookBuffer([
{
name: "Employee Information",
@@ -71,7 +72,7 @@ describe("skill matrix parser", () => {
},
]),
});
});
}, 30000);
it("rejects duplicate headers in skill sheets", async () => {
const workbook = await createWorkbookBuffer([
@@ -96,7 +97,7 @@ describe("skill matrix parser", () => {
]);
await expect(parseSkillMatrixWorkbook(workbook)).rejects.toThrow('duplicate header "item"');
});
}, 30000);
it("matches role names by exact and partial matches", () => {
expect(matchRoleName("Compositing", ["Producer", "Compositing"])).toBe("Compositing");