From b414fffa5359334ce1c2e852e63ff375aaafdb83 Mon Sep 17 00:00:00 2001 From: Andrew Fortini <130811267+iamdrewfortini@users.noreply.github.com> Date: Sun, 16 Nov 2025 05:12:24 -0600 Subject: [PATCH 1/2] chore(ci): add workflows audit summary for Claude agent --- .github/ci-audit/workflows-audit.json | 218 ++++++++++++++++++++++++++ 1 file changed, 218 insertions(+) create mode 100644 .github/ci-audit/workflows-audit.json diff --git a/.github/ci-audit/workflows-audit.json b/.github/ci-audit/workflows-audit.json new file mode 100644 index 0000000..32f2b6f --- /dev/null +++ b/.github/ci-audit/workflows-audit.json @@ -0,0 +1,218 @@ +{ + "repo": "Diatonic-AI/codex-cli-docker-mcp", + "failedRunsCount": 57, + "topFailedRuns": [ + { + "name": "npm_and_yarn in /.github/actions/codex - Update #1148142520", + "url": "https://github.com/Diatonic-AI/codex-cli-docker-mcp/actions/runs/19240208184", + "createdAt": "2025-11-10T17:24:41Z", + "databaseId": 19240208184 + }, + { + "name": "npm_and_yarn in /.github/actions/codex - Update #1142229283", + "url": "https://github.com/Diatonic-AI/codex-cli-docker-mcp/actions/runs/19043050523", + "createdAt": "2025-11-03T17:12:09Z", + "databaseId": 19043050523 + }, + { + "name": "Main CI", + "url": "https://github.com/Diatonic-AI/codex-cli-docker-mcp/actions/runs/18850831111", + "createdAt": "2025-10-27T17:51:53Z", + "databaseId": 18850831111 + }, + { + "name": "CLA Assistant", + "url": "https://github.com/Diatonic-AI/codex-cli-docker-mcp/actions/runs/18850831049", + "createdAt": "2025-10-27T17:51:53Z", + "databaseId": 18850831049 + }, + { + "name": "Main CI", + "url": "https://github.com/Diatonic-AI/codex-cli-docker-mcp/actions/runs/18849644552", + "createdAt": "2025-10-27T17:10:57Z", + "databaseId": 18849644552 + }, + { + "name": "CLA Assistant", + "url": "https://github.com/Diatonic-AI/codex-cli-docker-mcp/actions/runs/18849644529", + "createdAt": "2025-10-27T17:10:57Z", + "databaseId": 18849644529 + }, + { + "name": "npm_and_yarn in /.github/actions/codex - Update #1135640609", + "url": "https://github.com/Diatonic-AI/codex-cli-docker-mcp/actions/runs/18848725363", + "createdAt": "2025-10-27T16:40:13Z", + "databaseId": 18848725363 + }, + { + "name": "CLA Assistant", + "url": "https://github.com/Diatonic-AI/codex-cli-docker-mcp/actions/runs/18659326452", + "createdAt": "2025-10-20T17:05:21Z", + "databaseId": 18659326452 + }, + { + "name": "Main CI", + "url": "https://github.com/Diatonic-AI/codex-cli-docker-mcp/actions/runs/18659326338", + "createdAt": "2025-10-20T17:05:21Z", + "databaseId": 18659326338 + }, + { + "name": "Main CI", + "url": "https://github.com/Diatonic-AI/codex-cli-docker-mcp/actions/runs/18658935555", + "createdAt": "2025-10-20T16:48:04Z", + "databaseId": 18658935555 + }, + { + "name": "CLA Assistant", + "url": "https://github.com/Diatonic-AI/codex-cli-docker-mcp/actions/runs/18658935516", + "createdAt": "2025-10-20T16:48:04Z", + "databaseId": 18658935516 + }, + { + "name": "npm_and_yarn in /.github/actions/codex - Update #1129711822", + "url": "https://github.com/Diatonic-AI/codex-cli-docker-mcp/actions/runs/18658660896", + "createdAt": "2025-10-20T16:36:07Z", + "databaseId": 18658660896 + }, + { + "name": "Main CI", + "url": "https://github.com/Diatonic-AI/codex-cli-docker-mcp/actions/runs/18472831573", + "createdAt": "2025-10-13T16:54:50Z", + "databaseId": 18472831573 + }, + { + "name": "CLA Assistant", + "url": "https://github.com/Diatonic-AI/codex-cli-docker-mcp/actions/runs/18472831423", + "createdAt": "2025-10-13T16:54:49Z", + "databaseId": 18472831423 + }, + { + "name": "npm_and_yarn in /.github/actions/codex - Update #1124130529", + "url": "https://github.com/Diatonic-AI/codex-cli-docker-mcp/actions/runs/18472360013", + "createdAt": "2025-10-13T16:33:51Z", + "databaseId": 18472360013 + }, + { + "name": "npm_and_yarn in /.github/actions/codex - Update #1118625971", + "url": "https://github.com/Diatonic-AI/codex-cli-docker-mcp/actions/runs/18287784306", + "createdAt": "2025-10-06T16:32:59Z", + "databaseId": 18287784306 + }, + { + "name": "Main CI", + "url": "https://github.com/Diatonic-AI/codex-cli-docker-mcp/actions/runs/18109548803", + "createdAt": "2025-09-29T20:18:23Z", + "databaseId": 18109548803 + }, + { + "name": "CLA Assistant", + "url": "https://github.com/Diatonic-AI/codex-cli-docker-mcp/actions/runs/18109548390", + "createdAt": "2025-09-29T20:18:22Z", + "databaseId": 18109548390 + }, + { + "name": "npm_and_yarn in /.github/actions/codex - Update #1111932788", + "url": "https://github.com/Diatonic-AI/codex-cli-docker-mcp/actions/runs/18103917617", + "createdAt": "2025-09-29T16:30:03Z", + "databaseId": 18103917617 + }, + { + "name": "npm_and_yarn in /.github/actions/codex - Update #1106086827", + "url": "https://github.com/Diatonic-AI/codex-cli-docker-mcp/actions/runs/17923009377", + "createdAt": "2025-09-22T17:14:58Z", + "databaseId": 17923009377 + } + ], + "longestJobs": [ + { + "runUrl": "https://github.com/Diatonic-AI/codex-cli-docker-mcp/actions/runs/18472831573", + "jobName": "Rust Build & Test", + "durationMinutes": 7.87, + "labels": [ + "ubuntu-latest" + ], + "conclusion": "failure" + }, + { + "runUrl": "https://github.com/Diatonic-AI/codex-cli-docker-mcp/actions/runs/18659326338", + "jobName": "Rust Build & Test", + "durationMinutes": 7.83, + "labels": [ + "ubuntu-latest" + ], + "conclusion": "failure" + }, + { + "runUrl": "https://github.com/Diatonic-AI/codex-cli-docker-mcp/actions/runs/18849644552", + "jobName": "Rust Build & Test", + "durationMinutes": 7.73, + "labels": [ + "ubuntu-latest" + ], + "conclusion": "failure" + }, + { + "runUrl": "https://github.com/Diatonic-AI/codex-cli-docker-mcp/actions/runs/18850831111", + "jobName": "Rust Build & Test", + "durationMinutes": 7.6, + "labels": [ + "ubuntu-latest" + ], + "conclusion": "failure" + }, + { + "runUrl": "https://github.com/Diatonic-AI/codex-cli-docker-mcp/actions/runs/18658935555", + "jobName": "Rust Build & Test", + "durationMinutes": 7.53, + "labels": [ + "ubuntu-latest" + ], + "conclusion": "failure" + }, + { + "runUrl": "https://github.com/Diatonic-AI/codex-cli-docker-mcp/actions/runs/18109548803", + "jobName": "Rust Build & Test", + "durationMinutes": 7.28, + "labels": [ + "ubuntu-latest" + ], + "conclusion": "failure" + }, + { + "runUrl": "https://github.com/Diatonic-AI/codex-cli-docker-mcp/actions/runs/18659326338", + "jobName": "Rust Format & Lint", + "durationMinutes": 1.92, + "labels": [ + "ubuntu-latest" + ], + "conclusion": "success" + }, + { + "runUrl": "https://github.com/Diatonic-AI/codex-cli-docker-mcp/actions/runs/18109548803", + "jobName": "Rust Format & Lint", + "durationMinutes": 1.87, + "labels": [ + "ubuntu-latest" + ], + "conclusion": "success" + }, + { + "runUrl": "https://github.com/Diatonic-AI/codex-cli-docker-mcp/actions/runs/18849644552", + "jobName": "Rust Format & Lint", + "durationMinutes": 1.85, + "labels": [ + "ubuntu-latest" + ], + "conclusion": "success" + }, + { + "runUrl": "https://github.com/Diatonic-AI/codex-cli-docker-mcp/actions/runs/18658935555", + "jobName": "Rust Format & Lint", + "durationMinutes": 1.83, + "labels": [ + "ubuntu-latest" + ], + "conclusion": "success" + } + ] +} \ No newline at end of file From 32f909051220c42ab67c4c7a458237628dc87dc4 Mon Sep 17 00:00:00 2001 From: Andrew Fortini <130811267+iamdrewfortini@users.noreply.github.com> Date: Sun, 16 Nov 2025 05:12:25 -0600 Subject: [PATCH 2/2] chore(ci): add cost hints for Claude agent --- .github/ci-audit/cost-hints.md | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 .github/ci-audit/cost-hints.md diff --git a/.github/ci-audit/cost-hints.md b/.github/ci-audit/cost-hints.md new file mode 100644 index 0000000..cdd4779 --- /dev/null +++ b/.github/ci-audit/cost-hints.md @@ -0,0 +1,23 @@ +# CI Cost Hints for Diatonic-AI/codex-cli-docker-mcp + +Failed runs (window): 57 + +## Longest failing jobs (minutes) +- 7.87m Rust Build & Test labels=['ubuntu-latest'] run=https://github.com/Diatonic-AI/codex-cli-docker-mcp/actions/runs/18472831573 +- 7.83m Rust Build & Test labels=['ubuntu-latest'] run=https://github.com/Diatonic-AI/codex-cli-docker-mcp/actions/runs/18659326338 +- 7.73m Rust Build & Test labels=['ubuntu-latest'] run=https://github.com/Diatonic-AI/codex-cli-docker-mcp/actions/runs/18849644552 +- 7.6m Rust Build & Test labels=['ubuntu-latest'] run=https://github.com/Diatonic-AI/codex-cli-docker-mcp/actions/runs/18850831111 +- 7.53m Rust Build & Test labels=['ubuntu-latest'] run=https://github.com/Diatonic-AI/codex-cli-docker-mcp/actions/runs/18658935555 +- 7.28m Rust Build & Test labels=['ubuntu-latest'] run=https://github.com/Diatonic-AI/codex-cli-docker-mcp/actions/runs/18109548803 +- 1.92m Rust Format & Lint labels=['ubuntu-latest'] run=https://github.com/Diatonic-AI/codex-cli-docker-mcp/actions/runs/18659326338 +- 1.87m Rust Format & Lint labels=['ubuntu-latest'] run=https://github.com/Diatonic-AI/codex-cli-docker-mcp/actions/runs/18109548803 +- 1.85m Rust Format & Lint labels=['ubuntu-latest'] run=https://github.com/Diatonic-AI/codex-cli-docker-mcp/actions/runs/18849644552 +- 1.83m Rust Format & Lint labels=['ubuntu-latest'] run=https://github.com/Diatonic-AI/codex-cli-docker-mcp/actions/runs/18658935555 + +## Recommendations +- Add concurrency + cancel-in-progress to long-lived workflows (prevents duplicate runs) +- Add on:push paths filters to skip docs-only or non-code changes +- Consider scheduled workflows cadence (weekly/monthly instead of daily) +- Increase cache hit rates (setup-node/setup-python + actions/cache with lockfiles) +- Timeouts: set step/job-level timeouts to prevent runaway costs +- Reduce matrix size or shard by priority (nightly full matrix, PRs minimal)