shuke987 opened a new pull request, #71452:
URL: https://github.com/apache/doris/pull/71452

   ### Background
   
   The merge rule requires `Build Third Party Libraries (Linux)` on each PR. 
When a PR touches `thirdparty/` or `env.sh`, GitHub Actions emits a request for 
the PR's merge commit and TeamCity reports the build result under that required 
name.
   
   ### What problem does this PR solve?
   
   Issue Number: None
   Related PR: #71436 (introduced the selector), #71446 (affected PR)
   PR Type: Build/CI/Chore
   
   Problem Summary:
   
   On #71446, all 35 files fell outside the build paths. GitHub skipped the 
selector job before evaluating its name, recorded the literal expression, and 
left the required check pending. Let the job run after path detection so GitHub 
resolves its name and the log records the decision. [Skipped job on 
#71446](https://github.com/apache/doris/actions/runs/47457437221/job/145477108926)
   
   ### Details
   
   - **Affected:** The Linux thirdparty selector in GitHub Actions.
   - **Developer and release impact:** An unrelated PR uses one short 
`ubuntu-slim` job to satisfy the merge rule. For a selected PR the job name 
carries the PR number and merge SHA to the relay, and TeamCity supplies the 
required result after compilation.
   - **License and third-party:** None.
   - **Rollback:** Revert the workflow edit.
   
   ### Testing
   
   - Ran the path filter on local Git fixtures, evaluated the job condition and 
name with `@actions/expressions`, and checked the relay's `jq` predicate. A BE 
test edit skipped the job on the baseline. With the fix, BE test and workflow 
edits produced the required name and the relay declined both.
   - Edits to `thirdparty/vars.sh` and `env.sh`, plus a missing filter output, 
produced requests with the expected PR number and merge SHA. The relay accepted 
successful requests and rejected failed, skipped and cancelled jobs.
   - Ran `actionlint` on the detector, selector and submit workflows, and `git 
diff --check`. Both passed.
   
   ### Release note
   
   None
   
   ### Check List (For Author)
   
   - Behavior changed: No
   - Does this need documentation: No
   - Pre-submission status: Partially verified: GitHub will exercise the 
unrelated-path case on this PR. Selected builds were checked locally through 
the relay predicate.
   
   ### AI Disclosure
   
   - Tool: OpenAI Codex (GPT-6)
   - Generated: Workflow edit, local verification and PR description.
   - Human review: Pending.
   


-- 
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]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to