improve: cut CI critical path without more workers (#121807)

* test(ci): remove redundant builds from critical path

Amp-Thread-ID: https://ampcode.com/threads/T-019fee8d-665d-707b-a380-23f2a6a1ce03
Co-authored-by: Peter Steinberger <steipete@gmail.com>

* docs(ci): format runner table

Amp-Thread-ID: https://ampcode.com/threads/T-019fee8d-665d-707b-a380-23f2a6a1ce03
Co-authored-by: Peter Steinberger <steipete@gmail.com>

---------

Co-authored-by: Amp <amp@ampcode.com>
This commit is contained in:
Peter Steinberger
2026-08-10 20:21:20 -07:00
committed by GitHub
parent efe5d8d76e
commit ebfd3ba154
16 changed files with 77 additions and 147 deletions
+3 -6
View File
@@ -216,7 +216,7 @@ describe("detectChangedScope Windows routing", () => {
}
});
it("routes SecretRef path-security changes and native fixtures to Windows", () => {
it("routes SecretRef path-security changes and focused owner coverage to Windows", () => {
for (const secretRefPath of [
"src/commands/doctor-gateway-auth-token.ts",
"src/commands/doctor-gateway-auth-token.windows.test.ts",
@@ -229,11 +229,7 @@ describe("detectChangedScope Windows routing", () => {
"src/infra/permissions.ts",
"src/secrets/resolve-errors.ts",
"src/secrets/resolve.ts",
"src/secrets/test-node-command.test-support.ts",
"src/security/audit-fs.ts",
"src/test-utils/vitest-spies.ts",
"test/e2e/qa-lab/runtime/doctor-auth-secretref-checks.e2e.test.ts",
"test/fixtures/windows-acl-tools-unavailable.mjs",
]) {
expect(detectChangedScope([secretRefPath]), secretRefPath).toMatchObject({
runNode: true,
@@ -242,10 +238,11 @@ describe("detectChangedScope Windows routing", () => {
}
});
it("does not route SecretRef unit tests omitted from the Windows shard", () => {
it("does not route SecretRef tests owned by non-Windows lanes", () => {
for (const testPath of [
"src/gateway/resolve-configured-secret-input-string.test.ts",
"src/secrets/resolve.test.ts",
"test/e2e/qa-lab/runtime/doctor-auth-secretref-checks.e2e.test.ts",
]) {
expect(detectChangedScope([testPath]).runWindows, testPath).toBe(false);
}
+13
View File
@@ -652,6 +652,19 @@ describe("test-projects args", () => {
]);
});
it("routes the Docker package contract without private-QA E2E setup", () => {
const target = "test/e2e/qa-lab/runtime/package-openclaw-for-docker.e2e.test.ts";
expect(buildVitestRunPlans([target])).toEqual([
{
config: "test/vitest/vitest.package-docker.config.ts",
forwardedArgs: [target],
includePatterns: null,
watchMode: false,
},
]);
});
it("routes direct Discord extension file targets to the Discord config", () => {
expect(
buildVitestRunPlans(["extensions/discord/src/monitor/message-handler.preflight.test.ts"]),