You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 78f665f
Browse filesBrowse the repository at this point in the historyBrowse files
improvement(webhooks): resolve the webhook credential once, off the critical path
The worker starts resolveCredentialAccountUserId before the state/webhook
loads and awaits it only where the owner id is first consumed, so its two
serial reads overlap the deployment-state load and provider-config
resolution. The resolved owner rides into formatInput as
credentialOwnerUserId (when the provider config names the same credential),
letting the Slack handler skip re-running the identical
resolveOAuthAccountId + account owner chain before refreshing the token.
The Slack token resolution is extracted into resolveSlackWebhookBotToken,
shared and behavior-identical when no owner id is provided.
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
0 commit comments