background tests: ci.yml runs the CI and the acceptance matrix on every push again but nothing waits for them (the gate no longer waits for the parent's run, which a release's own bump push cancels; the record job needs only the installers); tools/ci-status.ts reports main's newest test run and release.ts prints a red one as a warning
This commit is contained in:
parent
b84538e4cb
commit
9059b2b32a
5 changed files with 69 additions and 10 deletions
|
|
@ -50,15 +50,15 @@ jobs:
|
|||
EVENT: ${{ github.event_name }}
|
||||
SHA: ${{ github.sha }}
|
||||
run: |
|
||||
if [ "$EVENT" = pull_request ]; then echo "reuse=false" >> "$GITHUB_OUTPUT"; echo "pull request: everything runs"; exit 0; fi
|
||||
curl -fsSL https://bun.sh/install | bash -s "bun-v${BUN_VERSION}" >/dev/null
|
||||
export PATH="$HOME/.bun/bin:$PATH"
|
||||
bun tools/release-candidate.ts gate --sha "$SHA" --wait 40
|
||||
# tests never gate a release (the owner's decision 2026-10-16): no waiting on the parent's run, which the
|
||||
# release's own bump push cancels; every commit builds its installers and runs the tests in the background
|
||||
echo "reuse=false" >> "$GITHUB_OUTPUT"; echo "from=" >> "$GITHUB_OUTPUT"; echo "tests run in the background; installers build for this commit"
|
||||
|
||||
# off by the owner's decision (2026-10-15: no CI, no acceptance runs); the jobs stay for a manual comeback
|
||||
# background tests (the owner's decision 2026-10-16): they run on every push and report, but the record job (the
|
||||
# release candidate) never waits for them; `bun tools/release.ts` and `bun tools/ci-status.ts` print a red result
|
||||
ci:
|
||||
needs: gate
|
||||
if: false
|
||||
if: github.event_name != 'pull_request' || true
|
||||
# runner label: ubuntu-22.04:docker://ghcr.io/catthehacker/ubuntu:act-22.04
|
||||
runs-on: ubuntu-22.04
|
||||
timeout-minutes: 60
|
||||
|
|
@ -78,7 +78,7 @@ jobs:
|
|||
# (tools/release.ts, cached per CLI key).
|
||||
acceptance:
|
||||
needs: gate
|
||||
if: false
|
||||
if: github.event_name != 'pull_request' || true
|
||||
strategy:
|
||||
fail-fast: false
|
||||
matrix:
|
||||
|
|
@ -288,7 +288,7 @@ jobs:
|
|||
retention-days: 7
|
||||
|
||||
record:
|
||||
needs: [gate, ci, acceptance, linux, windows]
|
||||
needs: [gate, linux, windows]
|
||||
if: ${{ always() && github.event_name != 'pull_request' && needs.gate.result == 'success' && needs.linux.result == 'success' && needs.windows.result == 'success' }}
|
||||
runs-on: ubuntu-22.04
|
||||
timeout-minutes: 30
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue