fix(copilot): align principal lifetime with orchestration - #6649
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub. |
PR SummaryMedium Risk Overview Tests were tightened to assert the exact delegation span ( Reviewed by Cursor Bugbot for commit b9eaa95. Bugbot is set up for automated code reviews on this repo. Configure here. |
Greptile SummaryThe PR aligns Copilot delegated-principal validity with the shared 60-minute orchestration timeout.
Confidence Score: 5/5The PR appears safe to merge. No blocking failure remains.
|
| Filename | Overview |
|---|---|
| apps/sim/lib/copilot/auth/application-delegation.ts | Replaces the five-minute delegation TTL with the shared orchestration timeout without introducing a new import-cycle or runtime-boundary issue. |
| apps/sim/lib/copilot/application/execute-workflow-use-case.test.ts | Updates the expected delegated-principal expiry under the suite’s frozen clock. |
| apps/sim/lib/copilot/auth/file-delegation.test.ts | Adds an exact assertion that delegated-principal lifetime equals the orchestration timeout. |
Reviews (2): Last reviewed commit: "fix(copilot): align workflow lifetime ex..." | Re-trigger Greptile
|
@cursor review |
There was a problem hiding this comment.
✅ Bugbot reviewed your changes and found no new issues!
Comment @cursor review or bugbot run to trigger another review on this PR
Reviewed by Cursor Bugbot for commit b9eaa95. Configure here.
Summary
Type of Change
Testing
Checklist