Commit a9dd057
committed
Merge main into the OAuth refresh gate branch
Reconciles the shared refresh gate with the refresh work that landed since
this branch was opened: rotated-token-first persistence with jittered retry,
dead-grant classification, provider timeouts, single-flight tool production,
and the pre-refresh credential-store writability probe. All of those
behaviors are preserved; the gate is the only thing that changes.
The gate now hangs off the root database handle rather than a single
execution stack, and its grant runs on a detached fiber that callers await,
using the same Deferred and forkDetach shape the tool-production single
flight already uses.
Drops the eight-session stress scenario in favor of the two-session one,
which reproduces the reported failure and runs in seconds.598 files changed
Lines changed: 44921 additions & 3587 deletions
File tree
- .changeset
- .claude/skills/prod-telemetry
- .github/workflows
- apps
- cli
- src
- cloud
- scripts
- src
- account
- admin
- analytics
- api
- auth
- db
- edge
- engine
- extensions/billing
- mcp
- observability
- routes
- app
- bare
- test-fixtures/test-globalsetup-exit
- desktop
- scripts
- src
- main
- host-cloudflare
- src
- db
- mcp
- test-stubs
- host-selfhost
- src
- mcp
- local
- src
- db
- marketing/src
- assets
- layouts
- pages
- assets
- e2e
- cloud
- local
- fixtures
- scenarios
- scripts
- selfhost
- setup
- src
- surfaces
- examples
- all-plugins
- docs-sdk-quickstart
- packages
- app
- src
- routes
- web
- core
- analytics
- src
- api
- src
- admin
- handlers
- integrations
- oauth
- server
- cli
- config
- execution
- src
- integrations-registry/src
- sdk
- src
- testing
- vite-plugin
- hosts
- cloudflare
- src/mcp
- mcp-apps-shell
- src
- shell
- mcp
- src
- kernel
- core
- src
- runtime-dynamic-worker/src
- runtime-quickjs
- runtime-workerd-subprocess
- plugins
- desktop-settings
- encrypted-secrets
- example
- file-secrets
- graphql
- src/sdk
- keychain
- mcp
- scripts
- src
- api
- react
- sdk
- testing
- onepassword
- src/sdk
- openapi
- scripts
- src
- api
- providers
- google
- __snapshots__
- microsoft
- react
- sdk
- provider-service-split
- src
- toolkits
- src
- workos-vault/src/sdk
- react
- src
- api
- components
- lib
- pages
- plugins
- patches
- scripts
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
This file was deleted.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
0 commit comments