Repository navigation
Commit 8a6efc5
authored
CI cost controls: timeouts, concurrency cancellation, docs-only push skip (#206)
* Issue #172: add timeout-minutes to every job that lacks one
Jobs without timeout-minutes default to the GitHub 6-hour limit, so a
hung run keeps billing for hours. Add explicit per-job timeouts sized
to the work (10-30 minutes); jobs that already set one are untouched.
Covers all 9 jobs across the 6 workflow files; neither of the two
push-triggered CI workflows nor the tag-release workflow had any.
Verify: git show --stat HEAD; python3 -c import yaml (each file parses).
* Issue #173: cancel superseded runs via concurrency on push-triggered workflows
Add concurrency group ${{ github.workflow }}-${{ github.ref }} with
cancel-in-progress: true to ci.yml and maven.yml, the two push-triggered
workflows that lacked it, so a superseded push stops the previous run
instead of billing two parallel runs.
release-on-tag.yml already sets a deploy-semantics concurrency
(group: release-${{ github.ref }}, cancel-in-progress: false); it is
push-triggered (tags) but is left untouched so a release publish is
never cancelled mid-publish.
Verify: git show HEAD; python3 -c import yaml (both files parse).
* Issue #174: skip docs-only pushes with paths-ignore on release-on-tag
Add paths-ignore (docs/**, **/*.md) to the push trigger of
release-on-tag.yml so docs-only pushes do not start the tag workflow.
Scope per the issue's constraints: the other two push-triggered
workflows, ci.yml and maven.yml, are excluded because they produce the
required status checks (build; Test Core Library (Java 21);
Test with Tooling (Java 25); Build Docker image (Java 25)) and skipping
them on docs-only pushes would leave those checks waiting. No workflow
in this repo uses paths:, and none had existing paths-ignore to merge,
so only release-on-tag.yml qualifies. Branch protection on main is not
enabled (gh api returns 404), so the required checks are inferred from
the PR check rollup.
Verify: git show HEAD; python3 -c import yaml (file parses).1 parent 2e5cf37 commit 8a6efc5
6 files changed
Lines changed: 21 additions & 0 deletions
File tree
- .github/workflows
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
| 13 | + | |
13 | 14 | | |
14 | 15 | | |
15 | 16 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
9 | 13 | | |
10 | 14 | | |
11 | 15 | | |
| 16 | + | |
12 | 17 | | |
13 | 18 | | |
14 | 19 | | |
| |||
50 | 55 | | |
51 | 56 | | |
52 | 57 | | |
| 58 | + | |
53 | 59 | | |
54 | 60 | | |
55 | 61 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
| 16 | + | |
16 | 17 | | |
17 | 18 | | |
18 | 19 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
10 | 14 | | |
11 | 15 | | |
12 | 16 | | |
13 | 17 | | |
| 18 | + | |
14 | 19 | | |
15 | 20 | | |
16 | 21 | | |
| |||
34 | 39 | | |
35 | 40 | | |
36 | 41 | | |
| 42 | + | |
37 | 43 | | |
38 | 44 | | |
39 | 45 | | |
| |||
57 | 63 | | |
58 | 64 | | |
59 | 65 | | |
| 66 | + | |
60 | 67 | | |
61 | 68 | | |
62 | 69 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
7 | 10 | | |
8 | 11 | | |
9 | 12 | | |
| |||
17 | 20 | | |
18 | 21 | | |
19 | 22 | | |
| 23 | + | |
20 | 24 | | |
21 | 25 | | |
22 | 26 | | |
| |||
127 | 131 | | |
128 | 132 | | |
129 | 133 | | |
| 134 | + | |
130 | 135 | | |
131 | 136 | | |
132 | 137 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
| 9 | + | |
9 | 10 | | |
10 | 11 | | |
11 | 12 | | |
| |||
0 commit comments