ci: park timing summary collection (#96930)

This commit is contained in:
Dallin Romney
2026-06-25 21:20:44 -07:00
committed by GitHub
parent a6a4652c70
commit 899f65097b
2 changed files with 8 additions and 2 deletions
+2 -1
View File
@@ -2419,7 +2419,8 @@ jobs:
- macos-swift
- ios-build
- android
if: ${{ !cancelled() && always() && github.event_name != 'push' && (github.event_name != 'pull_request' || !github.event.pull_request.draft) }}
# Re-enable this job when we want to collect CI timing data for timing optimization.
if: ${{ false && !cancelled() && always() && github.event_name != 'push' && (github.event_name != 'pull_request' || !github.event.pull_request.draft) }}
runs-on: ubuntu-24.04
timeout-minutes: 5
steps:
+6 -1
View File
@@ -573,7 +573,11 @@ describe("ci workflow guards", () => {
expect(runStep.run).toContain("childEnv[key] = value");
});
it("uploads a CI timing summary after the run lanes finish", () => {
it("keeps the CI timing summary parked for timing optimization work", () => {
expect(readFileSync(".github/workflows/ci.yml", "utf8")).toContain(
"Re-enable this job when we want to collect CI timing data for timing optimization.",
);
const workflow = readCiWorkflow();
const timingJob = workflow.jobs["ci-timings-summary"];
@@ -598,6 +602,7 @@ describe("ci workflow guards", () => {
"ios-build",
"android",
]);
expect(timingJob.if).toContain("false");
expect(timingJob.if).toContain("always()");
expect(timingJob.if).toContain("!cancelled()");