ci: drop the stale source-pr.yml; fold its checks into fast-pr
source-pr / source (pull_request) Successful in 2m26s

main replaced source-pr.yml with fast-pr.yml (same workflow name, same
concurrency group, newer runner image); the merge kept both, so every PR ran
two "source-pr / source" jobs that cancelled each other, and fast-pr's
runner-image check failed on the stale pin in source-pr.yml. Remove
source-pr.yml and carry its checks into fast-pr for non-documentation changes:
the patch-whitespace check (vendored trees excluded) and the CI/evidence tool
tests. Locally: runner-image pins PASS, ci tests pass, cargo test --locked 250
passed.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01B1W6qKwKxq3oUPDKWicM6i
This commit is contained in:
2026-11-12 15:10:28 -06:00
co-authored by Claude Opus 5.5
parent abb6bfd35d
commit a34cf20628
2 changed files with 18 additions and 57 deletions
+18
View File
@@ -47,6 +47,24 @@ jobs:
status=$?
[ "$status" -eq 1 ]
fi
- name: Check patch whitespace
if: steps.surface.outputs.surface != 'documentation'
run: |
# Vendored crates (vendor/) and the flare-ui source (third-party/) keep
# their upstream bytes (cargo vendor checksums, byte-exact fixtures).
if [ "$GITHUB_EVENT_NAME" = pull_request ]; then
base="$(git merge-base HEAD "origin/$GITHUB_BASE_REF")"
git diff --check "$base" HEAD -- . ':(exclude)vendor' ':(exclude)third-party'
else
git diff --check HEAD^ HEAD -- . ':(exclude)vendor' ':(exclude)third-party'
fi
- name: Check CI and evidence tools
if: steps.surface.outputs.surface != 'documentation'
run: |
python3 -m compileall -q ci
for test in ci/test-*.py; do python3 "$test"; done
python3 ci/evidence_status.py
python3 ci/experiment_priority.py
- name: Check source
if: steps.surface.outputs.surface != 'documentation'
run: |
-57
View File
@@ -1,57 +0,0 @@
name: source-pr
on:
pull_request:
branches: [next, main]
workflow_dispatch:
concurrency:
group: alkane-os-source-pr-${{ github.ref }}
cancel-in-progress: true
jobs:
source:
runs-on: alkane-fast
container:
image: gitea.bluefla.re/blueflare/alkane-ci@sha256:9d2a992bbcb91014af3c85d2e1ec8c5990701cecf83fd06c8d46f9ef13dbd948
env:
CARGO_TARGET_DIR: target
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Detect changed surface
id: surface
run: python3 ci/pr_surface.py >> "$GITHUB_OUTPUT"
- name: Check patch whitespace
run: |
if [ "${GITHUB_EVENT_NAME:-}" = pull_request ]; then
base="$(git merge-base HEAD "origin/$GITHUB_BASE_REF")"
git diff --check "$base" HEAD -- . ':(exclude)vendor' ':(exclude)third-party'
else
git diff --check HEAD^ HEAD -- . ':(exclude)vendor' ':(exclude)third-party'
fi
- name: Check CI and evidence tools
if: steps.surface.outputs.surface != 'documentation'
run: |
python3 -m compileall -q ci
for test in ci/test-*.py; do python3 "$test"; done
python3 ci/evidence_status.py
python3 ci/experiment_priority.py
- name: Install source formatter
if: steps.surface.outputs.surface == 'rust'
run: rustup component add rustfmt
- name: Check source formatting
if: steps.surface.outputs.surface == 'rust'
run: cargo fmt --check
- name: Check changed Rust source
if: steps.surface.outputs.surface == 'rust'
run: |
if [ "${GITHUB_BASE_REF:-}" = main ]; then
cargo build --release --offline --locked
else
cargo check --offline --locked
fi
- name: Clean generated build
if: always()
run: python3 ci/cleanup-generated.py