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

   ### Background
   
   Maintainers use PR comments to request TeamCity builds. The GitHub Actions 
workflow selects the requested checks, records authorization for a specific PR 
head and base branch, and sends the request to the queue worker.
   
   ### What problem does this PR solve?
   
   Issue Number: None
   Related PR: #70984
   PR Type: Build/CI/Chore
   
   Problem Summary:
   
   Allow maintainers to request any enabled TeamCity check on an open PR 
targeting any branch. Previously the comment parser and selection helper 
allowed three target branches, and Performance required master. For example, a 
maintainer can now request `run performance` on a PR into a release or topic 
branch. The existing file filters still determine which checks need to run.
   
   ### Details
   
   - **Affected** — The GitHub Actions comment workflow, its Bash helper and 
their Python tests. The workflow passes the target branch through a quoted 
shell environment variable.
   - **Behavior change:** Existing commands work on additional branches.
   - **Developer and release impact:** Repository write access and per-run, 
per-commit approval are still required. The separate `skip buildall` command 
retains its current authorization and branch scope. Individual TeamCity jobs 
apply their own checkout and build preconditions after admission.
   - **License and third-party** — None.
   - **Rollback** — Revert this PR to restore the previous branch filters for 
comment-triggered submissions.
   
   ### Testing
   
   - Ran the workflow and Bash helper suite on macOS. All 19 tests passed, 
including Performance on a release branch, a slash-containing Unicode branch, 
denial for a read-only commenter, and lane selection for `run buildall`.
   - Checked the workflow with actionlint (external shellcheck and pyflakes 
integrations disabled) and ran `git diff --check`.
   
   ### Release note
   
   None.
   
   ### Check List (For Author)
   
   - Behavior changed: Yes (TeamCity build requests accept all PR target 
branches)
   - Does this need documentation: No
   - Pre-submission status: Partially verified. Exercising a real comment on a 
newly admitted branch requires the default-branch workflow after merge.
   
   ### AI Disclosure
   
   - Tool: OpenAI Codex
   - Generated: Workflow changes, shell helper, tests 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