The GitHub Actions job "Required Checks" on texera.git/release/v1.1.0-incubating has failed. Run started by GitHub user Yicong-Huang (triggered by Yicong-Huang).
Head commit for run: c0bba57887252563b60af02994f95153e963d598 / Yicong Huang <[email protected]> feat(ci): make Build stacks optional based on PR labels (#4622) ### What changes were proposed in this PR? Gate the Build workflow's main stacks on PR labels. `required-checks.yml`'s `precheck` job now waits for the Pull Request Labeler workflow to finish (polls the `labeler` check on the PR head SHA, up to 5 min) and reads the resulting labels to decide which stacks run: | PR labels | frontend | scala | python | agent-service | |---|---|---|---|---| | only `docs` and/or `dev` | skip | skip | skip | skip | | no `frontend` label | skip | run | run | run | | includes `frontend` (or any non-skip label) | run | run | run | run | | `push` / `workflow_dispatch` (no PR) | run | run | run | run | `.github/labeler.yml`: rename the existing `build` label to `dev` so the name matches the role precheck reads. The labeler applies it for `bin/**` changes (the previous `deployment/**` glob is dropped because that directory no longer exists). The backport matrix inherits the same `run_*` decisions: each `release/*` target only re-validates the stacks selected by the table above. A docs-only PR with a `release/*` label still spawns a backport run, but every stack inside it is skipped. ### Any related issues, documentation, discussions? Closes #4621. Picks up the idea from the closed prior attempt #3642. `.asf.yaml` ruleset's required check names are static; skipped stacks now report `skipped` rather than `success`. The `Required Checks` aggregator added in #4624 already treats `skipped` as a pass, so branch protection stays green. ### How was this PR tested? Self-test on this PR: it touches `.github/workflows/**` and `.github/labeler.yml`, so labeler should add `ci` (and not `frontend`). Expected precheck output: `run_frontend=false`, others `true`. Adding/removing the `frontend` label should flip the frontend stack on/off; replacing all labels with `docs` only (or `dev` only) should skip every stack. ### Was this PR authored or co-authored using generative AI tooling? Generated-by: Claude Opus 4.7 Co-authored-by: Claude Opus 4.7 (1M context) <[email protected]> (backported from commit e0547e6d0b206fcec305deca37087fd32053e9ac) Report URL: https://github.com/apache/texera/actions/runs/25238602668 With regards, GitHub Actions via GitBox
