Commit 1136d5c
committed
ci: address QA — fix skip cascade, add packaging guard, sentinel for release-please bot
Addresses @runpod-Henrik (PASS WITH NITS) and Copilot review on PR #345.
Henrik #3 / Copilot inline ci.yml:50 — skip cascade
- Previously `pre-check.if` skipped on release-please bot PRs, and
`quality-gates needs: [pre-check]` cascaded to skip too, leaving any
release-please PR that touched non-metadata files with zero CI signal.
- Drop the workflow-level `paths-ignore` (it interacted badly with branch
protection's required-check semantics anyway) and instead put explicit
`if: !startsWith(github.head_ref, 'release-please--')` on pre-check,
quality-gates, packaging-guard, and build. Symmetric, auditable.
Henrik #1 + #6 — branch-protection compatibility (release-please bot PRs)
- Add `release-please-sentinel` job with matching matrix + name "Quality
Gates" so it produces the same "Quality Gates (3.10)"…"(3.13)" check
names that branch protection requires, but auto-passes. Branch
protection on main can now require those checks without admins having
to either loosen the rule or hand-craft an external sentinel workflow.
Henrik #2 — PR-time wheel build is dropped
- Reintroduce build on PRs but gated by `packaging-guard` job that
inspects `git diff` against the PR base. Build runs when:
- pyproject.toml / Makefile / MANIFEST.in / scripts/validate-wheel.sh
changed, OR
- any new non-Python file was added under src/ (data files need
explicit package-data inclusion or they're silently dropped).
- Push to main always builds.
Henrik #4 — `make dev` entry-point sanity check
- Verified locally: `rm -rf .venv && make dev && .venv/bin/flash --version`
prints "Runpod Flash CLI v1.16.0". `uv sync` registers the entry point
for the workspace project; the dropped `uv pip install -e .` was
redundant. No code change needed.
Henrik #5 / Copilot Makefile:108 — misleading "plain output" comment
- Rewrite the comment block above `quality-check`. The aliases do NOT
produce plain output -- local invocations see GitHub Actions
annotation markers (::group::, --output-format=github) which are
cosmetically noisy but functionally inert. Comment now reflects this.
Henrik misc nit — e2e.yml `unit-tests` job removal
- Add a leading comment on the `e2e` job explaining why the duplicate
unit-tests job was dropped, so a future maintainer doesn't re-add it
thinking it was lost by accident.
https://linear.app/runpod/issue/AE-31611 parent 07ad327 commit 1136d5c
3 files changed
Lines changed: 76 additions & 12 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
6 | | - | |
7 | | - | |
8 | | - | |
9 | | - | |
10 | | - | |
11 | 6 | | |
12 | 7 | | |
13 | 8 | | |
| |||
26 | 21 | | |
27 | 22 | | |
28 | 23 | | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
29 | 43 | | |
30 | 44 | | |
31 | 45 | | |
| |||
48 | 62 | | |
49 | 63 | | |
50 | 64 | | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
51 | 70 | | |
52 | 71 | | |
53 | 72 | | |
| |||
82 | 101 | | |
83 | 102 | | |
84 | 103 | | |
85 | | - | |
86 | | - | |
87 | | - | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
| 127 | + | |
| 128 | + | |
| 129 | + | |
| 130 | + | |
| 131 | + | |
| 132 | + | |
| 133 | + | |
| 134 | + | |
| 135 | + | |
| 136 | + | |
| 137 | + | |
| 138 | + | |
| 139 | + | |
| 140 | + | |
| 141 | + | |
| 142 | + | |
| 143 | + | |
| 144 | + | |
88 | 145 | | |
89 | 146 | | |
90 | 147 | | |
91 | | - | |
92 | | - | |
| 148 | + | |
| 149 | + | |
93 | 150 | | |
94 | 151 | | |
95 | 152 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
18 | 23 | | |
19 | 24 | | |
20 | 25 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
101 | 101 | | |
102 | 102 | | |
103 | 103 | | |
104 | | - | |
105 | | - | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
106 | 108 | | |
107 | 109 | | |
108 | 110 | | |
| |||
0 commit comments