Yicong-Huang opened a new issue, #4625:
URL: https://github.com/apache/texera/issues/4625

   ### Task Summary
   
   Skip non-frontend stacks (`scala`, `python`, `agent-service`) when a PR is 
labelled as touching only the frontend (and optionally `docs` / `dev`). Mirror 
of the existing "skip frontend if no `frontend` label" rule introduced in #4622.
   
   ### Context
   
   Today's `precheck` decision table from #4622:
   
   | 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 |
   
   The third row is over-broad: a pure frontend change (only the `frontend` 
label, plus optionally `docs` / `dev`) still triggers the full scala / python / 
agent-service matrix. That is ~30 minutes of CI for code paths that are 
guaranteed unaffected.
   
   ### Proposed rule
   
   If the PR's labels are a subset of `{frontend, docs, dev}` and `frontend` is 
present, skip `scala`, `python`, and `agent-service`; only run frontend. 
Combined table:
   
   | PR labels | frontend | scala | python | agent-service |
   |---|---|---|---|---|
   | only `docs` and/or `dev` | skip | skip | skip | skip |
   | `frontend` only (with any of `docs`, `dev`) | **run** | **skip** | 
**skip** | **skip** |
   | no `frontend` label | skip | run | run | run |
   | any other combination | run | run | run | run |
   
   ### Priority
   
   P2 – Medium
   
   ### Task Type
   
   - [x] Code Implementation
   - [x] DevOps / Deployment
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to