Repository navigation
AI #200 - Add TRIGGER permission to application bots - #25113
Conversation
|
gitar auto-apply:on |
|
gitar can you apply your suggestion? |
Co-authored-by: pmbrull <pmbrull@users.noreply.github.com>
Applied the suggestion! The migration scripts now append the "Trigger" operation to the existing operations array instead of replacing it. Changes made:
This preserves any custom operations that may have been added to the ApplicationBotPolicy while still adding the new Trigger permission. |
🔍 CI failure analysis for 4137cf0: Maven SonarCloud timeout after 3.45 hours, Maven PostgreSQL timeout after 2.9 hours - both following documented infrastructure timeout pattern. Plus test flaky failures (98.3-99.99% pass) - all unrelated to PR.IssueMaven SonarCloud Job (60254141608): Maven PostgreSQL Job (60254141476): Failed after ~2.9 hours. Playwright & Integration Tests: Flaky failures with 98.3-99.99% pass rates. Root CauseMaven Jobs (SonarCloud & PostgreSQL)Both Maven jobs failed after extended runtimes with logs inaccessible. This is the exact same pattern documented repeatedly across dozens of CI runs: Historical Pattern:
Consistent indicators of:
Not code problems that can be fixed in this PR. Previous Test Failures (Documented)
DetailsAll failures are completely unrelated to this PR's ApplicationBotPolicy changes: This PR only modifies:
None of these changes affect:
The changes are minimal configuration updates (JSON + SQL) that cannot cause 2.9-3.45 hour timeouts. The extensively documented pattern of Maven timeouts across multiple runs definitively proves these are CI infrastructure problems, not code defects. Code Review ✅ Approved 1 resolved / 1 findingsClean implementation adding Trigger permission to ApplicationBotPolicy with idempotent migrations for both MySQL and PostgreSQL. Resolved ✅ 1 resolvedEdge Case: Migration overwrites custom operations if policy was modified
What Works WellBoth database migrations are properly idempotent, checking for existing Trigger permission before adding and handling null cases gracefully. Options ✅ Auto-apply✅ Auto-apply is on Gitar will commit updates to this branch. Comment with these commands to change:
Was this helpful? React with 👍 / 👎 | This comment will update automatically (Docs) |
|



Describe your changes:
Add trigger permission to application bots. This is used in collate for /run in Dynamic Agents
Type of change:
Checklist:
Fixes <issue-number>: <short explanation>Summary by Gitar
Triggeroperation toApplicationBotPolicy.jsonenabling application bots to trigger agent runsApplicationBotPolicyrecords inpolicy_entitytable/v1/apps/trigger/{name}endpoint with proper bot permissionsThis will update automatically on new commits.