Set a time limit on the canonical check job (closes #120)
check / check (push) Canceled after 0s
check / check (push) Canceled after 0s
The canonical check workflow gave its job no time limit, so a hung script/cibuild held the shared runner until the runner's own default. The check job now sets timeout-minutes: 20. script/cibuild runs three Docker builds (the test phase, the lint phase, then the image, which runs both again), each held to the 5-minute build limit, plus the bootstrap. REPO_POLICIES.md and both checklists name the limit among what the workflow sets. Model: opus-5-5
This commit was merged in pull request #121.
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
---
|
||||
title: Existing Repo Checklist
|
||||
last_modified: 2026-10-06
|
||||
last_modified: 2026-10-07
|
||||
---
|
||||
|
||||
Use this checklist when beginning work in a repo that may not yet conform to our
|
||||
@@ -102,9 +102,10 @@ with your task.
|
||||
build finds the tag too.
|
||||
- [ ] Gitea Actions workflow in `.gitea/workflows/` runs `script/cibuild` on
|
||||
push, checks out with `persist-credentials: false` and with
|
||||
`fetch-depth: 0` (which fetches the tags `git describe` needs), and
|
||||
carries the `concurrency` block that lets a new push cancel only the same
|
||||
branch's older run — reference
|
||||
`fetch-depth: 0` (which fetches the tags `git describe` needs), carries
|
||||
the `concurrency` block that lets a new push cancel only the same branch's
|
||||
older run, and sets `timeout-minutes: 20` on the `check` job so a hung
|
||||
build frees the shared runner — reference
|
||||
`https://git.eeqj.de/sneak/prompts/raw/branch/main/.gitea/workflows/check.yml`
|
||||
- [ ] Language-specific config:
|
||||
- [ ] Go: `go.mod`, `go.sum`, `.golangci.yml` (fetch from
|
||||
|
||||
Reference in New Issue
Block a user