fix(oauth): coalesce slack token refresh per installation and preserve provider refresh errors#5723
fix(oauth): coalesce slack token refresh per installation and preserve provider refresh errors#5723TheodoreSpeaks wants to merge 6 commits into
Conversation
Greptile SummaryThis PR coordinates Slack OAuth token rotation at the installation level. The main changes are:
Confidence Score: 5/5The latest fixes look safe to merge.
Important Files Changed
Reviews (6): Last reviewed commit: "fix(oauth): clear slack dead flag before..." | Re-trigger Greptile |
|
@cursor review |
|
@cursor review |
|
The latest updates on your projects. Learn more about Vercel for GitHub. |
…e provider refresh errors
…lock budgets past the provider timeout
34f302b to
c60a39b
Compare
PR SummaryHigh Risk Overview Slack installation-scoped refresh: Coalesced refresh now keys locks and terminal dead flags by On connect: After a new Slack OAuth account is created, the hook clears the installation dead flag and fans out the new tokens to sibling rows. Other: Reviewed by Cursor Bugbot for commit a0b4518. Bugbot is set up for automated code reviews on this repo. Configure here. |
|
@cursor review |
|
@cursor review |
|
@cursor review |
There was a problem hiding this comment.
Cursor Bugbot has reviewed your changes using default effort and found 1 potential issue.
❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.
Reviewed by Cursor Bugbot for commit a0b4518. Configure here.

Summary
Type of Change
Testing
Added unit coverage for installation-keyed locking, freshest-chain selection, fan-out writes, legacy row behavior, and installation-scoped dead flags. `bun run lint`, `bun run check:api-validation:strict`, and `tsc --noEmit` pass.
Checklist