Skip to content

fix: always sort projects by affinity before iterating #1412

fix: always sort projects by affinity before iterating

fix: always sort projects by affinity before iterating #1412

Triggered via pull request May 30, 2025 13:27
Status Failure
Total duration 2m 28s
Artifacts

ci.yml

on: pull_request
Matrix: ci
Fit to window
Zoom out
Zoom in

Annotations

24 errors
Lint and Test with Node.js 22 on macos-latest
Process completed with exit code 1.
tests/e2e/e2e.spec.ts > e2e cases > should exec eslint successfully > nearestTsconfig: tests/e2e/e2e.spec.ts#L57
Error: Snapshot `e2e cases > should exec eslint successfully > nearestTsconfig 1` mismatched - Expected + Received { - "exitCode": 0, + "exitCode": 1, "stderr": "", - "stdout": "", + "stdout": " + <ROOT>/tests/e2e/nearestTsconfig/a/app/app.ts + 1:8 error Unable to resolve path to module 'components/a' import-x/no-unresolved + 2:8 error Unable to resolve path to module 'components/root' import-x/no-unresolved + + <ROOT>/tests/e2e/nearestTsconfig/a/b/app/app.ts + 1:8 error Unable to resolve path to module 'components/b' import-x/no-unresolved + 2:8 error Unable to resolve path to module 'components/root' import-x/no-unresolved + + <ROOT>/tests/e2e/nearestTsconfig/a/b/c/app/app.ts + 1:8 error Unable to resolve path to module 'components/c' import-x/no-unresolved + 2:8 error Unable to resolve path to module 'components/root' import-x/no-unresolved + + <ROOT>/tests/e2e/nearestTsconfig/app/app.ts + 1:8 error Unable to resolve path to module 'components/root' import-x/no-unresolved + + ✖ 7 problems (7 errors, 0 warnings) + + ", } ❯ tests/e2e/e2e.spec.ts:57:11
Lint and Test with Node.js 18 on macos-latest
Process completed with exit code 1.
tests/e2e/e2e.spec.ts > e2e cases > should exec eslint successfully > nearestTsconfig: tests/e2e/e2e.spec.ts#L57
Error: Snapshot `e2e cases > should exec eslint successfully > nearestTsconfig 1` mismatched - Expected + Received { - "exitCode": 0, + "exitCode": 1, "stderr": "", - "stdout": "", + "stdout": " + <ROOT>/tests/e2e/nearestTsconfig/a/app/app.ts + 1:8 error Unable to resolve path to module 'components/a' import-x/no-unresolved + 2:8 error Unable to resolve path to module 'components/root' import-x/no-unresolved + + <ROOT>/tests/e2e/nearestTsconfig/a/b/app/app.ts + 1:8 error Unable to resolve path to module 'components/b' import-x/no-unresolved + 2:8 error Unable to resolve path to module 'components/root' import-x/no-unresolved + + <ROOT>/tests/e2e/nearestTsconfig/a/b/c/app/app.ts + 1:8 error Unable to resolve path to module 'components/c' import-x/no-unresolved + 2:8 error Unable to resolve path to module 'components/root' import-x/no-unresolved + + <ROOT>/tests/e2e/nearestTsconfig/app/app.ts + 1:8 error Unable to resolve path to module 'components/root' import-x/no-unresolved + + ✖ 7 problems (7 errors, 0 warnings) + + ", } ❯ tests/e2e/e2e.spec.ts:57:11
Lint and Test with Node.js 24 on ubuntu-latest
Process completed with exit code 1.
tests/e2e/e2e.spec.ts > e2e cases > should exec eslint successfully > nearestTsconfig: tests/e2e/e2e.spec.ts#L57
Error: Snapshot `e2e cases > should exec eslint successfully > nearestTsconfig 1` mismatched - Expected + Received { - "exitCode": 0, + "exitCode": 1, "stderr": "", - "stdout": "", + "stdout": " + <ROOT>/tests/e2e/nearestTsconfig/a/app/app.ts + 1:8 error Unable to resolve path to module 'components/a' import-x/no-unresolved + 2:8 error Unable to resolve path to module 'components/root' import-x/no-unresolved + + <ROOT>/tests/e2e/nearestTsconfig/a/b/app/app.ts + 1:8 error Unable to resolve path to module 'components/b' import-x/no-unresolved + 2:8 error Unable to resolve path to module 'components/root' import-x/no-unresolved + + <ROOT>/tests/e2e/nearestTsconfig/a/b/c/app/app.ts + 1:8 error Unable to resolve path to module 'components/c' import-x/no-unresolved + 2:8 error Unable to resolve path to module 'components/root' import-x/no-unresolved + + <ROOT>/tests/e2e/nearestTsconfig/app/app.ts + 1:8 error Unable to resolve path to module 'components/root' import-x/no-unresolved + + ✖ 7 problems (7 errors, 0 warnings) + + ", } ❯ tests/e2e/e2e.spec.ts:57:11
Lint and Test with Node.js 22 on ubuntu-latest
Process completed with exit code 1.
tests/e2e/e2e.spec.ts > e2e cases > should exec eslint successfully > nearestTsconfig: tests/e2e/e2e.spec.ts#L57
Error: Snapshot `e2e cases > should exec eslint successfully > nearestTsconfig 1` mismatched - Expected + Received { - "exitCode": 0, + "exitCode": 1, "stderr": "", - "stdout": "", + "stdout": " + <ROOT>/tests/e2e/nearestTsconfig/a/app/app.ts + 1:8 error Unable to resolve path to module 'components/a' import-x/no-unresolved + 2:8 error Unable to resolve path to module 'components/root' import-x/no-unresolved + + <ROOT>/tests/e2e/nearestTsconfig/a/b/app/app.ts + 1:8 error Unable to resolve path to module 'components/b' import-x/no-unresolved + 2:8 error Unable to resolve path to module 'components/root' import-x/no-unresolved + + <ROOT>/tests/e2e/nearestTsconfig/a/b/c/app/app.ts + 1:8 error Unable to resolve path to module 'components/c' import-x/no-unresolved + 2:8 error Unable to resolve path to module 'components/root' import-x/no-unresolved + + <ROOT>/tests/e2e/nearestTsconfig/app/app.ts + 1:8 error Unable to resolve path to module 'components/root' import-x/no-unresolved + + ✖ 7 problems (7 errors, 0 warnings) + + ", } ❯ tests/e2e/e2e.spec.ts:57:11
Lint and Test with Node.js 24 on macos-latest
Process completed with exit code 1.
tests/e2e/e2e.spec.ts > e2e cases > should exec eslint successfully > nearestTsconfig: tests/e2e/e2e.spec.ts#L57
Error: Snapshot `e2e cases > should exec eslint successfully > nearestTsconfig 1` mismatched - Expected + Received { - "exitCode": 0, + "exitCode": 1, "stderr": "", - "stdout": "", + "stdout": " + <ROOT>/tests/e2e/nearestTsconfig/a/app/app.ts + 1:8 error Unable to resolve path to module 'components/a' import-x/no-unresolved + 2:8 error Unable to resolve path to module 'components/root' import-x/no-unresolved + + <ROOT>/tests/e2e/nearestTsconfig/a/b/app/app.ts + 1:8 error Unable to resolve path to module 'components/b' import-x/no-unresolved + 2:8 error Unable to resolve path to module 'components/root' import-x/no-unresolved + + <ROOT>/tests/e2e/nearestTsconfig/a/b/c/app/app.ts + 1:8 error Unable to resolve path to module 'components/c' import-x/no-unresolved + 2:8 error Unable to resolve path to module 'components/root' import-x/no-unresolved + + <ROOT>/tests/e2e/nearestTsconfig/app/app.ts + 1:8 error Unable to resolve path to module 'components/root' import-x/no-unresolved + + ✖ 7 problems (7 errors, 0 warnings) + + ", } ❯ tests/e2e/e2e.spec.ts:57:11
Lint and Test with Node.js 18 on ubuntu-latest
Process completed with exit code 1.
tests/e2e/e2e.spec.ts > e2e cases > should exec eslint successfully > nearestTsconfig: tests/e2e/e2e.spec.ts#L57
Error: Snapshot `e2e cases > should exec eslint successfully > nearestTsconfig 1` mismatched - Expected + Received { - "exitCode": 0, + "exitCode": 1, "stderr": "", - "stdout": "", + "stdout": " + <ROOT>/tests/e2e/nearestTsconfig/a/app/app.ts + 1:8 error Unable to resolve path to module 'components/a' import-x/no-unresolved + 2:8 error Unable to resolve path to module 'components/root' import-x/no-unresolved + + <ROOT>/tests/e2e/nearestTsconfig/a/b/app/app.ts + 1:8 error Unable to resolve path to module 'components/b' import-x/no-unresolved + 2:8 error Unable to resolve path to module 'components/root' import-x/no-unresolved + + <ROOT>/tests/e2e/nearestTsconfig/a/b/c/app/app.ts + 1:8 error Unable to resolve path to module 'components/c' import-x/no-unresolved + 2:8 error Unable to resolve path to module 'components/root' import-x/no-unresolved + + <ROOT>/tests/e2e/nearestTsconfig/app/app.ts + 1:8 error Unable to resolve path to module 'components/root' import-x/no-unresolved + + ✖ 7 problems (7 errors, 0 warnings) + + ", } ❯ tests/e2e/e2e.spec.ts:57:11
Lint and Test with Node.js 20 on ubuntu-latest
Process completed with exit code 1.
tests/e2e/e2e.spec.ts > e2e cases > should exec eslint successfully > nearestTsconfig: tests/e2e/e2e.spec.ts#L57
Error: Snapshot `e2e cases > should exec eslint successfully > nearestTsconfig 1` mismatched - Expected + Received { - "exitCode": 0, + "exitCode": 1, "stderr": "", - "stdout": "", + "stdout": " + <ROOT>/tests/e2e/nearestTsconfig/a/app/app.ts + 1:8 error Unable to resolve path to module 'components/a' import-x/no-unresolved + 2:8 error Unable to resolve path to module 'components/root' import-x/no-unresolved + + <ROOT>/tests/e2e/nearestTsconfig/a/b/app/app.ts + 1:8 error Unable to resolve path to module 'components/b' import-x/no-unresolved + 2:8 error Unable to resolve path to module 'components/root' import-x/no-unresolved + + <ROOT>/tests/e2e/nearestTsconfig/a/b/c/app/app.ts + 1:8 error Unable to resolve path to module 'components/c' import-x/no-unresolved + 2:8 error Unable to resolve path to module 'components/root' import-x/no-unresolved + + <ROOT>/tests/e2e/nearestTsconfig/app/app.ts + 1:8 error Unable to resolve path to module 'components/root' import-x/no-unresolved + + ✖ 7 problems (7 errors, 0 warnings) + + ", } ❯ tests/e2e/e2e.spec.ts:57:11
Lint and Test with Node.js 20 on macos-latest
Process completed with exit code 1.
tests/e2e/e2e.spec.ts > e2e cases > should exec eslint successfully > nearestTsconfig: tests/e2e/e2e.spec.ts#L57
Error: Snapshot `e2e cases > should exec eslint successfully > nearestTsconfig 1` mismatched - Expected + Received { - "exitCode": 0, + "exitCode": 1, "stderr": "", - "stdout": "", + "stdout": " + <ROOT>/tests/e2e/nearestTsconfig/a/app/app.ts + 1:8 error Unable to resolve path to module 'components/a' import-x/no-unresolved + 2:8 error Unable to resolve path to module 'components/root' import-x/no-unresolved + + <ROOT>/tests/e2e/nearestTsconfig/a/b/app/app.ts + 1:8 error Unable to resolve path to module 'components/b' import-x/no-unresolved + 2:8 error Unable to resolve path to module 'components/root' import-x/no-unresolved + + <ROOT>/tests/e2e/nearestTsconfig/a/b/c/app/app.ts + 1:8 error Unable to resolve path to module 'components/c' import-x/no-unresolved + 2:8 error Unable to resolve path to module 'components/root' import-x/no-unresolved + + <ROOT>/tests/e2e/nearestTsconfig/app/app.ts + 1:8 error Unable to resolve path to module 'components/root' import-x/no-unresolved + + ✖ 7 problems (7 errors, 0 warnings) + + ", } ❯ tests/e2e/e2e.spec.ts:57:11
Lint and Test with Node.js 18 on windows-latest
Process completed with exit code 1.
tests/e2e/e2e.spec.ts > e2e cases > should exec eslint successfully > nearestTsconfig: tests/e2e/e2e.spec.ts#L57
Error: Snapshot `e2e cases > should exec eslint successfully > nearestTsconfig 1` mismatched - Expected + Received { - "exitCode": 0, + "exitCode": 1, "stderr": "", - "stdout": "", + "stdout": " + <ROOT>/tests/e2e/nearestTsconfig/a/app/app.ts + 1:8 error Unable to resolve path to module 'components/a' import-x/no-unresolved + 2:8 error Unable to resolve path to module 'components/root' import-x/no-unresolved + + <ROOT>/tests/e2e/nearestTsconfig/a/b/app/app.ts + 1:8 error Unable to resolve path to module 'components/b' import-x/no-unresolved + 2:8 error Unable to resolve path to module 'components/root' import-x/no-unresolved + + <ROOT>/tests/e2e/nearestTsconfig/a/b/c/app/app.ts + 1:8 error Unable to resolve path to module 'components/c' import-x/no-unresolved + 2:8 error Unable to resolve path to module 'components/root' import-x/no-unresolved + + <ROOT>/tests/e2e/nearestTsconfig/app/app.ts + 1:8 error Unable to resolve path to module 'components/root' import-x/no-unresolved + + ✖ 7 problems (7 errors, 0 warnings) + + ", } ❯ tests/e2e/e2e.spec.ts:57:11
Lint and Test with Node.js 20 on windows-latest
Process completed with exit code 1.
tests/e2e/e2e.spec.ts > e2e cases > should exec eslint successfully > nearestTsconfig: tests/e2e/e2e.spec.ts#L57
Error: Snapshot `e2e cases > should exec eslint successfully > nearestTsconfig 1` mismatched - Expected + Received { - "exitCode": 0, + "exitCode": 1, "stderr": "", - "stdout": "", + "stdout": " + <ROOT>/tests/e2e/nearestTsconfig/a/app/app.ts + 1:8 error Unable to resolve path to module 'components/a' import-x/no-unresolved + 2:8 error Unable to resolve path to module 'components/root' import-x/no-unresolved + + <ROOT>/tests/e2e/nearestTsconfig/a/b/app/app.ts + 1:8 error Unable to resolve path to module 'components/b' import-x/no-unresolved + 2:8 error Unable to resolve path to module 'components/root' import-x/no-unresolved + + <ROOT>/tests/e2e/nearestTsconfig/a/b/c/app/app.ts + 1:8 error Unable to resolve path to module 'components/c' import-x/no-unresolved + 2:8 error Unable to resolve path to module 'components/root' import-x/no-unresolved + + <ROOT>/tests/e2e/nearestTsconfig/app/app.ts + 1:8 error Unable to resolve path to module 'components/root' import-x/no-unresolved + + ✖ 7 problems (7 errors, 0 warnings) + + ", } ❯ tests/e2e/e2e.spec.ts:57:11
Lint and Test with Node.js 24 on windows-latest
Process completed with exit code 1.
tests/e2e/e2e.spec.ts > e2e cases > should exec eslint successfully > nearestTsconfig: tests/e2e/e2e.spec.ts#L57
Error: Snapshot `e2e cases > should exec eslint successfully > nearestTsconfig 1` mismatched - Expected + Received { - "exitCode": 0, + "exitCode": 1, "stderr": "", - "stdout": "", + "stdout": " + <ROOT>/tests/e2e/nearestTsconfig/a/app/app.ts + 1:8 error Unable to resolve path to module 'components/a' import-x/no-unresolved + 2:8 error Unable to resolve path to module 'components/root' import-x/no-unresolved + + <ROOT>/tests/e2e/nearestTsconfig/a/b/app/app.ts + 1:8 error Unable to resolve path to module 'components/b' import-x/no-unresolved + 2:8 error Unable to resolve path to module 'components/root' import-x/no-unresolved + + <ROOT>/tests/e2e/nearestTsconfig/a/b/c/app/app.ts + 1:8 error Unable to resolve path to module 'components/c' import-x/no-unresolved + 2:8 error Unable to resolve path to module 'components/root' import-x/no-unresolved + + <ROOT>/tests/e2e/nearestTsconfig/app/app.ts + 1:8 error Unable to resolve path to module 'components/root' import-x/no-unresolved + + ✖ 7 problems (7 errors, 0 warnings) + + ", } ❯ tests/e2e/e2e.spec.ts:57:11
Lint and Test with Node.js 22 on windows-latest
Process completed with exit code 1.
tests/e2e/e2e.spec.ts > e2e cases > should exec eslint successfully > nearestTsconfig: tests/e2e/e2e.spec.ts#L57
Error: Snapshot `e2e cases > should exec eslint successfully > nearestTsconfig 1` mismatched - Expected + Received { - "exitCode": 0, + "exitCode": 1, "stderr": "", - "stdout": "", + "stdout": " + <ROOT>/tests/e2e/nearestTsconfig/a/app/app.ts + 1:8 error Unable to resolve path to module 'components/a' import-x/no-unresolved + 2:8 error Unable to resolve path to module 'components/root' import-x/no-unresolved + + <ROOT>/tests/e2e/nearestTsconfig/a/b/app/app.ts + 1:8 error Unable to resolve path to module 'components/b' import-x/no-unresolved + 2:8 error Unable to resolve path to module 'components/root' import-x/no-unresolved + + <ROOT>/tests/e2e/nearestTsconfig/a/b/c/app/app.ts + 1:8 error Unable to resolve path to module 'components/c' import-x/no-unresolved + 2:8 error Unable to resolve path to module 'components/root' import-x/no-unresolved + + <ROOT>/tests/e2e/nearestTsconfig/app/app.ts + 1:8 error Unable to resolve path to module 'components/root' import-x/no-unresolved + + ✖ 7 problems (7 errors, 0 warnings) + + ", } ❯ tests/e2e/e2e.spec.ts:57:11