Skip to content

The fastest, cheapest, most efficient open-source agent harness. Run more than 500 agents on a $10 VPS.

ci: raise self-hosted lane timeouts to measured budgets

Steven Enamakelcd24fbe2b18b
diff --git a/.github/workflows/ci-lanes.yml b/.github/workflows/ci-lanes.yml
index c82dd9cfc7..4c5663b7fd 100644
--- a/.github/workflows/ci-lanes.yml
+++ b/.github/workflows/ci-lanes.yml
@@ -47,7 +47,9 @@ jobs:
runs-on:
group: openhuman-ex63
labels: [self-hosted, openhuman-ex63]
- timeout-minutes: 120
+ # Sequential diagnostic validation plus cache save already took 118 min
+ # before seven coverage suites could execute; reserve a complete-run budget.
+ timeout-minutes: 180
steps:
- name: Checkout PR merge commit
uses: tinyhumansai/.github/actions/checkout@35fa65b76c80d48779592b111837e55d9d0860d4
@@ -167,8 +169,8 @@ jobs:
- name: Save Tinymold cache
if: ${{ always() && steps.tinymold.outcome == 'success' }}
continue-on-error: true
- # Bound remote cache uploads so lane artifacts still get their turn.
- timeout-minutes: 5
+ # A measured cache push took 8m36s; keep headroom and a finite bound.
+ timeout-minutes: 15
uses: tinyhumansai/tinymold/save@b7c4c26f184acdbf7133487b158062fc610d2f28
- name: Record cache statistics and save time
diff --git a/docs/ci-self-hosted.md b/docs/ci-self-hosted.md
index faed343233..f43b0bf358 100644
--- a/docs/ci-self-hosted.md
+++ b/docs/ci-self-hosted.md
@@ -109,7 +109,8 @@ for any commit without posting it.
## Profiles
- **`ex63`**: one job selects both the `openhuman-ex63` runner group and label.
- Lanes run sequentially, including after an independent check fails. Compatible
+ Lanes run sequentially within a 180-minute job budget, including after an
+ independent check fails. Compatible
uninstrumented outputs share `target/ci-private-build`; coverage uses
`target/ci-private-coverage`. Neither is restored as an Actions artifact cache.
- `scripts/ci/self-hosted/guest-image.txt` pins the guest OCI digest. Before
@@ -122,7 +123,7 @@ for any commit without posting it.
- The pinned Tinymold setup/save actions use the image's binary and signed
remote cache. The supervisor supplies credentials through guest metadata;
the workflow masks them and needs no additional repository secrets. Cache
- save runs after failures, has a five-minute limit, and cannot replace the
+ save runs after failures, has a fifteen-minute limit, and cannot replace the
validation result or indefinitely delay artifact upload.
- Cargo's target linker points at `/usr/local/bin/rust-mold-linker`. It survives
coverage clearing `RUSTFLAGS`. `verify-linkage.mjs` checks `.comment` and LLVM
diff --git a/scripts/__tests__/private-runner-contract.test.mjs b/scripts/__tests__/private-runner-contract.test.mjs
index cb83510163..4b9d100d37 100644
--- a/scripts/__tests__/private-runner-contract.test.mjs
+++ b/scripts/__tests__/private-runner-contract.test.mjs
@@ -167,7 +167,10 @@ test("private validation and cache save have measured budgets without suppressin
const saveEnd = workflow.indexOf("\n - name:", saveStart + 1);
const save = workflow.slice(saveStart, saveEnd);
assert.match(save, /timeout-minutes: 15/);
- const job = workflow.slice(workflow.indexOf(" ex63:"), workflow.indexOf(" steps:"));
+ const job = workflow.slice(
+ workflow.indexOf(" ex63:"),
+ workflow.indexOf(" steps:"),
+ );
assert.match(job, /timeout-minutes: 180/);
assert.match(save, /continue-on-error: true/);
const upload = workflow.slice(