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

   ### Background
   
   The Linux thirdparty check builds the native libraries used by Doris. GitHub 
Actions currently selects PRs by changed paths and keeps a hosted runner until 
compilation and the two post-build tests finish.
   
   ### What problem does this PR solve?
   
   Issue Number: None
   Related PR: None
   PR Type: Build/CI/Chore
   
   Problem Summary:
   
   The Linux check occupies a GitHub runner throughout a multi-hour build. This 
change keeps the existing path decision in GitHub Actions, submits the selected 
PR merge revision to TeamCity, and releases the runner once it has a build 
receipt. TeamCity publishes the result under the existing required check name.
   
   ### Details
   
   - **Change map:** Four workflow files account for all 350 added and removed 
lines. The original workflow gives up the Linux job, the reusable workflow 
contains the original path detector, and two small workflows select and submit 
the Linux build.
   - **Affected:** Linux x86_64 thirdparty PR builds. The selector runs 
independently of UI, CDC, and script tests so those jobs cannot delay 
submission. Both component workflows use the same path-filter implementation.
   - **Behavior change:** TeamCity posts the final check to the PR head. The 
Linux check is skipped when the path filter excludes the PR.
   - **Developer and release impact:** Contributors can open the build link in 
the Actions summary immediately after submission. Release artifacts are 
unaffected.
   - **License and third-party:** None.
   - **Rollback:** Revert the workflow change to restore Linux compilation on 
GitHub-hosted runners.
   - **CI permissions and secrets:** Only the default-branch relay can request 
an OIDC token. It reads the source run's job metadata, uses the existing 
TeamCity FC URL and shared /trigger endpoint, and runs no PR code. Fork 
contributors need no credentials.
   
   ### Testing
   
   - Ran `actionlint` on all four workflow files. Compared the shared path 
detector, UI, CDC, script-test and macOS job definitions with the original 
workflow.
   - Ran 69 dispatch-service unit tests. Verified that both packaged handlers 
route all 11 pipelines through /trigger and reject cross-workflow credentials 
using signed test tokens. Tested the Actions relay with successful, superseded 
and invalid queue receipts. A TeamCity build previously compiled the merge 
revision of #70808 successfully. The first end-to-end check, including status 
publication, requires the new relay to be available on the default branch.
   
   ### Release note
   
   None
   
   ### Check List (For Author)
   
   - Behavior changed: Yes (see Details)
   - Does this need documentation: No
   - Pre-submission status: Partially verified: the first live PR dispatch and 
its final status remain to be verified.
   
   ### AI Disclosure
   
   - Tool: OpenAI Codex (GPT-6).
   - Generated: Workflow changes, dispatch-service tests, and this 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