hello-stephen opened a new pull request, #66194: URL: https://github.com/apache/doris/pull/66194
## What changed - Narrow the `issue_comment` job filter to supported TeamCity commands instead of matching every comment containing `run`. - Serialize the same command for one PR so duplicate comments do not race each other. - Before canceling or triggering a TeamCity pipeline, check queued and running builds for the same PR, pipeline, and revision. - Skip only an exact active duplicate. Preserve the existing cancel-old-revision and trigger-new-revision behavior. - Fail open when the duplicate lookup is unavailable so a legitimate CI request is not blocked. ## Why Performance result comments such as `Total hot run time` matched the generic `contains(..., 'run')` condition and unnecessarily consumed GitHub-hosted runners. Repeated `run buildall` comments for the same PR revision could also cancel and recreate identical TeamCity builds. This reduces false GitHub Actions queue pressure and avoids duplicate TeamCity fan-out without changing valid command semantics. ## Validation - `actionlint .github/workflows/comment-to-trigger-teamcity.yml` - `bash -n regression-test/pipeline/common/teamcity-utils.sh` - Filter scenarios covering performance reports, `run buildall`, numbered pipeline runs, and skip commands - Mocked TeamCity scenarios covering exact-revision dedupe, new-revision trigger flow, and fail-open lookup errors - Read-only verification against active PR #66191 builds: FEUT `1008222`, BEUT `1008223`, CloudUT `1008224`, and Compile `1008225` all matched the same PR HEAD revision -- 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]
