shuke987 opened a new pull request, #70972: URL: https://github.com/apache/doris/pull/70972
### Background Maintainers request TeamCity checks by commenting on a PR. The GitHub workflow checks permissions and changed files, then sends selected builds directly to TeamCity. Compile dispatches its own downstream regression builds. ### What problem does this PR solve? Issue Number: None Related PR: None PR Type: Build/CI/Chore Problem Summary: The community CI migration needs a way to exercise the private TeamCity queue through Function Compute (FC) against real PR revisions. This adds a parallel comment entry point for the pilot maintainer. For example, `run debugcompile` submits an eligible Compile through FC, while `run compile` uses the existing route. ### Details - **Affected:** The PR comment workflow supports `run debug<lane> [count]` for all ten existing lanes and `run debugall [count]`. The existing file filters select the work. The aggregate command follows the same Compile fanout as `run buildall`. - **Behavior change:** Standard comments use the direct queue. Only explicitly prefixed pilot commands select FC. - **Developer and release impact:** Pilot builds run the production configurations and publish the corresponding PR checks. Other maintainers continue using the ordinary comments. Before the first pilot run, set the repository variable `TEAMCITY_FC_TRIGGER_URL` to the HTTPS /trigger endpoint, enable the requested lanes on FC, and provision a valid project-scoped queue credential. - **CI permissions and secrets:** The workflow checks both the comment author and the event sender against the pilot account, shuke987, and retains the repository write-permission check. Only selected tasks receive a GitHub approval job bound to the PR, head SHA, target branch, lane and repeat count. The submission job has contents read and OIDC write permissions and checks out the workflow revision. - **License and third-party:** Uses the existing checkout action, curl and jq. - **Rollback:** Revert this change to remove the pilot commands. Check any reported request key in the queue ledger before retrying a submission with an uncertain outcome. ### Testing - Ran the 32 TeamCity helper tests locally, including all pilot aliases, edited-comment identity, skip behavior, and HTTP receipt and transport failures. - Ran actionlint on the changed workflow, Bash syntax validation on the helper, and git diff --check. - Ran the 25 tests in the companion FC trigger suite with local service doubles. Live OIDC submission through the default-branch workflow remains an online acceptance step. ### Release note None ### Check List (For Author) - Behavior changed: Yes (see Details) - Does this need documentation: No - Pre-submission status: Partially verified: production end-to-end admission requires the default-branch workflow and FC pilot configuration. ### AI Disclosure - Tool: OpenAI Codex (GPT-6.2 Astra) - Generated: Workflow, shell helper changes, regression tests and PR description. - Human review: The maintainer specified the pilot scope. Code review is 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]
