[Feat] Add custom routing rules to built-in automations - #2452
Merged
brunobergher merged 4 commits intoSep 10, 2026
Conversation
Contributor
|
No new code issues found. See task
Reviewed 423959f |
brunobergher
marked this pull request as ready for review
September 10, 2026 10:51
brunobergher
requested review from
brunobergher,
daniel-lxs and
mrubens
as code owners
September 10, 2026 10:51
brunobergher
approved these changes
Sep 10, 2026
Contributor
Author
|
Fixed all reviewed routing issues and the failing Test-job regression in e8ca25c and 423959f.
A full local web-server run passed 1,693/1,701; the remaining eight dev-login assertions were affected by the sandbox's preconfigured inference environment and are unrelated to this diff. The visual-proof step timed out; this fixer changed server-side identity and preflight behavior, not rendered UI. |
brunobergher
deleted the
feature/automation-output-routing-0s2jsauqit0zo
branch
September 10, 2026 11:39
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What changed
task_pull_requestsrepository IDs when routing merged-PR summaries, with provider-and-host-scoped fallback only for legacy rows without an ID.Why this change was made
Repository-specific automation output can be relevant to different teams. The text-based routing model previously available only to CI Failure Triage now provides the same flexible configuration without introducing separate repository-group management UI.
Impact
Admins can keep a default automation destination while using optional natural-language rules to narrow repository scope, override destinations for individual repositories, and provide workflow or report-writing guidance. Existing CI rules remain compatible, blank rules retain the shipped defaults, and invalid or stale compiled routing fails closed.
The implementation was exercised with focused types, SDK, web server, web client, and documentation tests, plus the repository's formatting, lint, typecheck, and Knip gates. The exact previously failing web Test-job cases now pass, and the full SDK suite passes.