From 18b053b72701eca87e3712344f42c2ec70db2354 Mon Sep 17 00:00:00 2001 From: Muse Sweep Date: Mon, 19 Oct 2026 07:00:50 -0500 Subject: [PATCH 1/2] ci: add timeout-minutes caps to every uncapped job (#293) 13 jobs in 8 workflows had no timeout-minutes and would run to the GitHub default of 360 minutes when hung. Caps sized from observed healthy durations plus generous headroom, following the values the already-capped jobs in this repo use: - auto-assign run: 10 (observed ~10s) - goreleaser dump_contexts_to_log: 10, goreleaser: 30 - jules.yml (4 jobs) + jules-daily-* (2 jobs): 30 (observed ~15s; the action only starts a Jules session) - mod-tidy tidy: 15 (matches the Go build jobs) - nix-ci treefmt: 15, flake-check: 15 (whole workflow observed ~1m) - mcpx-conformance records: 10 (matches the cap dezren39/nix#405 gave the same job) Every job in every workflow under .github/workflows/ now sets timeout-minutes (verified by parsing each file's jobs). --- .github/workflows/auto-assign.yml | 1 + .github/workflows/goreleaser.yml | 2 ++ .github/workflows/jules-daily-codebase-ideation.yml | 1 + .github/workflows/jules-daily-flake-sync.yml | 1 + .github/workflows/jules.yml | 4 ++++ .github/workflows/mcpx-conformance.yml | 1 + .github/workflows/mod-tidy.yml | 1 + .github/workflows/nix-ci.yml | 2 ++ 8 files changed, 13 insertions(+) diff --git a/.github/workflows/auto-assign.yml b/.github/workflows/auto-assign.yml index 18825d815f..1a3e911cdb 100755 --- a/.github/workflows/auto-assign.yml +++ b/.github/workflows/auto-assign.yml @@ -15,6 +15,7 @@ concurrency: jobs: run: runs-on: ubuntu-latest + timeout-minutes: 10 permissions: issues: write pull-requests: write diff --git a/.github/workflows/goreleaser.yml b/.github/workflows/goreleaser.yml index 08f70f82cf..d7d1c8c162 100644 --- a/.github/workflows/goreleaser.yml +++ b/.github/workflows/goreleaser.yml @@ -11,6 +11,7 @@ permissions: jobs: dump_contexts_to_log: runs-on: ubuntu-latest + timeout-minutes: 10 steps: - name: Dump GitHub context env: @@ -42,6 +43,7 @@ jobs: matrix: include: [ { working-directory: "." } ] runs-on: ubuntu-latest + timeout-minutes: 30 steps: - name: Dump job context env: diff --git a/.github/workflows/jules-daily-codebase-ideation.yml b/.github/workflows/jules-daily-codebase-ideation.yml index 6b875dbf15..664f0d419e 100644 --- a/.github/workflows/jules-daily-codebase-ideation.yml +++ b/.github/workflows/jules-daily-codebase-ideation.yml @@ -30,6 +30,7 @@ permissions: jobs: codebase-ideation-and-maintenance: runs-on: ubuntu-latest + timeout-minutes: 30 steps: - name: Checkout repository uses: actions/checkout@v4 diff --git a/.github/workflows/jules-daily-flake-sync.yml b/.github/workflows/jules-daily-flake-sync.yml index ca0d100fa7..81aefc6de0 100644 --- a/.github/workflows/jules-daily-flake-sync.yml +++ b/.github/workflows/jules-daily-flake-sync.yml @@ -30,6 +30,7 @@ permissions: jobs: daily-flake-sync: runs-on: ubuntu-latest + timeout-minutes: 30 steps: - name: Checkout repository uses: actions/checkout@v4 diff --git a/.github/workflows/jules.yml b/.github/workflows/jules.yml index 54ecb3cb16..b8426c4ca7 100644 --- a/.github/workflows/jules.yml +++ b/.github/workflows/jules.yml @@ -47,6 +47,7 @@ jobs: weekly-cleanup: if: github.event_name == 'schedule' runs-on: ubuntu-latest + timeout-minutes: 30 steps: - uses: google-labs-code/jules-action@v1.0.0 with: @@ -64,6 +65,7 @@ jobs: issue-labeled: if: github.event_name == 'issues' && github.event.label.name == 'jules' runs-on: ubuntu-latest + timeout-minutes: 30 steps: - uses: google-labs-code/jules-action@v1.0.0 with: @@ -80,6 +82,7 @@ jobs: github.event.workflow_run.conclusion == 'failure' && github.event.workflow_run.head_branch != 'main' runs-on: ubuntu-latest + timeout-minutes: 30 steps: - uses: google-labs-code/jules-action@v1.0.0 with: @@ -95,6 +98,7 @@ jobs: manual: if: github.event_name == 'workflow_dispatch' runs-on: ubuntu-latest + timeout-minutes: 30 steps: - uses: google-labs-code/jules-action@v1.0.0 with: diff --git a/.github/workflows/mcpx-conformance.yml b/.github/workflows/mcpx-conformance.yml index 77c13ba81d..cb0c03b241 100644 --- a/.github/workflows/mcpx-conformance.yml +++ b/.github/workflows/mcpx-conformance.yml @@ -345,6 +345,7 @@ jobs: needs: leg if: always() runs-on: ubuntu-latest + timeout-minutes: 10 steps: - uses: actions/checkout@v7 with: diff --git a/.github/workflows/mod-tidy.yml b/.github/workflows/mod-tidy.yml index 9a96c994b0..04991ca420 100644 --- a/.github/workflows/mod-tidy.yml +++ b/.github/workflows/mod-tidy.yml @@ -22,6 +22,7 @@ jobs: tidy: name: Go module tidy runs-on: ubuntu-latest + timeout-minutes: 15 steps: - name: Checkout uses: actions/checkout@v7 diff --git a/.github/workflows/nix-ci.yml b/.github/workflows/nix-ci.yml index c9115eb2cb..19e12a5949 100644 --- a/.github/workflows/nix-ci.yml +++ b/.github/workflows/nix-ci.yml @@ -16,6 +16,7 @@ jobs: treefmt: name: treefmt check runs-on: ubuntu-latest + timeout-minutes: 15 steps: - uses: actions/checkout@v7 with: @@ -43,6 +44,7 @@ jobs: flake-check: name: Nix flake evaluation runs-on: ubuntu-latest + timeout-minutes: 15 steps: - uses: actions/checkout@v7 - uses: DeterminateSystems/nix-installer-action@main From 910a919ec20b46027183dd566a9fe07269e26bd3 Mon Sep 17 00:00:00 2001 From: Muse Sweep Date: Mon, 19 Oct 2026 07:05:30 -0500 Subject: [PATCH 2/2] style(ci): apply treefmt prettier formatting to goreleaser + conformance workflows Both files were already prettier-dirty on main ('*' / '[]' single quotes, spaced flow sequence); treefmt checks whole changed files, so touching them for #293 requires the formatting fixes too. Values are unchanged. --- .github/workflows/goreleaser.yml | 4 ++-- .github/workflows/mcpx-conformance.yml | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/goreleaser.yml b/.github/workflows/goreleaser.yml index d7d1c8c162..5ac8f3987c 100644 --- a/.github/workflows/goreleaser.yml +++ b/.github/workflows/goreleaser.yml @@ -3,7 +3,7 @@ name: goreleaser on: push: tags: - - '*' + - "*" permissions: contents: write @@ -41,7 +41,7 @@ jobs: name: ${{ matrix.working-directory }} goreleaser strategy: matrix: - include: [ { working-directory: "." } ] + include: [{ working-directory: "." }] runs-on: ubuntu-latest timeout-minutes: 30 steps: diff --git a/.github/workflows/mcpx-conformance.yml b/.github/workflows/mcpx-conformance.yml index cb0c03b241..68009b1853 100644 --- a/.github/workflows/mcpx-conformance.yml +++ b/.github/workflows/mcpx-conformance.yml @@ -45,7 +45,7 @@ env: # # 2024-11-05: mcpx serves it; the conformance suite has never tested it. SPEC_PARITY_ALLOW_ONLY_MCPX: '["2024-11-05"]' - SPEC_PARITY_ALLOW_ONLY_SUITE: '[]' + SPEC_PARITY_ALLOW_ONLY_SUITE: "[]" # The suite commit these results are measured against. Bump deliberately: a new suite commit can # add checks, which moves every number. CONFORMANCE_REPO: modelcontextprotocol/conformance