Commit 9480f3f
committed
test: cover the commit-null token fallback from review
When commitRefreshedAuth cannot resolve the account after persist it
returns null, and the caller must fall back to the refresh result's
access token (never the stale token on the original account object,
which would 401 downstream and falsely trigger invalidation cooldown).
https://claude.ai/code/session_01XNtnkLbBiXZxfQQYLMpucB1 parent f93ebd3 commit 9480f3f
1 file changed
Lines changed: 24 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
133 | 133 | | |
134 | 134 | | |
135 | 135 | | |
| 136 | + | |
| 137 | + | |
| 138 | + | |
| 139 | + | |
| 140 | + | |
| 141 | + | |
| 142 | + | |
| 143 | + | |
| 144 | + | |
| 145 | + | |
| 146 | + | |
| 147 | + | |
| 148 | + | |
| 149 | + | |
| 150 | + | |
| 151 | + | |
| 152 | + | |
| 153 | + | |
| 154 | + | |
| 155 | + | |
| 156 | + | |
| 157 | + | |
| 158 | + | |
| 159 | + | |
136 | 160 | | |
137 | 161 | | |
138 | 162 | | |
| |||
0 commit comments