Repository navigation
Conversation
… turned-down sign-in instead of leaving The request the API turned down waits, and so does every later one, while the sign-in is renewed without a reload. Then they go, so an AutoMatch run carries on with every result it had. Only a 401 is sent again, only to OCL's own services, and only as the same account. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01AaZ4qXAMRFx7hxhuoQgUf7
…ne dialog covers the project and signs in from a new tab The tab signs the person in and closes itself, and the project goes on. If someone else is signed in, they are signed out first. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01AaZ4qXAMRFx7hxhuoQgUf7
…per waits the same way Until now it sent every other tab to the home page, work and all. A page with nothing to lose still goes there. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01AaZ4qXAMRFx7hxhuoQgUf7
…its also hold while a page waits for a sign-in - A row of a run that was stopped meanwhile isn't sent afterwards. - Requests to other services wait too, with their own key. - A lookup's and ScispaCy's time limits don't run while the page waits. - The sign-in counts only with the token that was checked, and a request that is turned down again waits again. - Someone else is signed out with their own session. - The tab's title stays hidden whatever the page sets. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01AaZ4qXAMRFx7hxhuoQgUf7
…eck is kept too, and nothing uses the browser's token while a page waits - A 401 on an idle page no longer reloads or signs out over work that started while the sign-in was being checked. - While a page waits, no request of its own reads the browser's token, which can be dead or someone else's. Another tab's sign-in as someone else asks at once. - A blocked sign-in tab leaves the browser's token alone. - A lookup's time limit can't start or end during a wait, and ScispaCy's counts the service's own time again. - A run that was stopped before it was recorded isn't recorded afterwards. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01AaZ4qXAMRFx7hxhuoQgUf7
…gn-in - A request goes only with a token that was checked, also right after a wait. - An automatic sign-out looks for new work once more, just before it happens. - Only the dialog's button can sign someone else out, not an address, and an earlier forced sign-out doesn't keep that tab from the sign-in page. - The account check is tried once more after a network or gateway error. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01AaZ4qXAMRFx7hxhuoQgUf7
…, and only the dialog's own tab can sign someone else out Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01AaZ4qXAMRFx7hxhuoQgUf7
…earched, copied or reached by a shortcut A sign-in the browser can't store asks again, instead of leaving the page waiting. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01AaZ4qXAMRFx7hxhuoQgUf7
|
Codex review, pass 1 (codex-cli 0.171.0, commit 95a6d6b) Five P1 and four P2 findings, all fixed in e9d5902.
findings.json{
"reviewer": "codex-cli 0.171.0",
"perspective": "defects",
"mode": "full",
"commit": "95a6d6b",
"verdict": "findings",
"prior": [],
"findings": [
{
"id": "F1.1",
"severity": "P1",
"tag": null,
"file": "src/common/signInWait.js",
"line": 127,
"claim": "Stopping AutoMatch does not cancel requests held for sign-in.",
"scenario": "An AI row receives a 401 and the user clicks Stop while silent renewal is in progress. The AI loop stops waiting, but once renewal succeeds, the held request is still sent and can charge for the stopped row.",
"action": "Carry the run's cancellation signal into the sign-in gate and check it before sending or replaying a held row. Keep save and run-closing requests independent of row cancellation.",
"lines_delta": null,
"confidence": "high"
},
{
"id": "F1.2",
"severity": "P1",
"tag": null,
"file": "src/common/signInWait.js",
"line": 110,
"claim": "Custom-algorithm requests bypass the sign-in pause.",
"scenario": "A user signs out in another Mapper tab while AutoMatch is running a custom algorithm. The dialog covers the project, but subsequent batches still send spreadsheet rows to the custom host using its configured credential, even if the original user never signs back in.",
"action": "Separate the decision to wait from the decision to replace a token or replay a 401. Gate custom run traffic while preserving its configured credentials. Exempt the requests required to complete sign-in.",
"lines_delta": null,
"confidence": "high"
},
{
"id": "F1.3",
"severity": "P1",
"tag": null,
"file": "src/common/utils.js",
"line": 110,
"claim": "The configured OCL SciSpacy service is excluded from sign-in recovery.",
"scenario": "A run has SciSpacy LOINC enabled on its separate service origin. The OCL session expires during that step. The service rejects the dead token before matching, but the row is marked failed. A later core API request can recover the sign-in, leaving the refused SciSpacy row unprocessed.",
"action": "Include the configured SciSpacy origin in session recovery for its authenticated match requests. Add a test where its 401 is the first auth failure in a run.",
"lines_delta": null,
"confidence": "high"
},
{
"id": "F1.4",
"severity": "P1",
"tag": null,
"file": "src/components/app/SigninRedirect.jsx",
"line": 12,
"claim": "Switching accounts can silently sign the wrong person back in.",
"scenario": "A different person signs in through the new tab, so the project correctly stays locked. Clicking the dialog button again deletes that person's valid ID token and relies on an iframe to obtain another. If iframe sign-in is blocked while top-level Keycloak SSO still works, logout is skipped and the popup signs the same wrong person in again. The original user never gets a credential prompt.",
"action": "Preserve the ID token associated with the verified current session and use it for sign-out. Provide a top-level account-switch path when an ID token cannot be obtained silently.",
"lines_delta": null,
"confidence": "high"
},
{
"id": "F1.5",
"severity": "P1",
"tag": null,
"file": "src/services/APIService.js",
"line": 66,
"claim": "The request gate lets AutoMatch's lookup deadlines expire during interactive sign-in.",
"scenario": "A candidate lookup receives a 401 and the user takes more than 15 seconds to sign back in. The AI step treats the held lookup as stalled and builds its payload from the incomplete candidate definitions. After sign-in, the lookup and the already-built AI request are released together, so the row can be charged for analysis using incomplete input.",
"action": "Suspend lookup deadlines during sign-in recovery and wait for the resumed lookups before constructing dependent rerank or AI payloads. Keep the existing deadlines for actual request stalls.",
"lines_delta": null,
"confidence": "high"
},
{
"id": "F1.6",
"severity": "P2",
"tag": null,
"file": "src/common/signInWait.js",
"line": 59,
"claim": "Recovery can accept a different token from the one whose account UUID was verified.",
"scenario": "The original user's token is being checked by /user/. Another tab replaces the shared token with a different user's token. If the /user/ response is processed before the storage event, recovery accepts the original user's response but records the replacement token as trusted and releases queued requests under the other account.",
"action": "Bind recovery to the exact token verified by /user/. Recheck the shared token before accepting the result, and keep requests held if the token changed.",
"lines_delta": null,
"confidence": "high"
},
{
"id": "F1.7",
"severity": "P2",
"tag": null,
"file": "src/common/signInWait.js",
"line": 131,
"claim": "A valid auth refusal on replay escapes the sign-in gate.",
"scenario": "A row waits through one sign-in and is replayed. The renewed session ends before the replay authenticates, and another-tab sign-out opens the dialog again. The replay's 401 still reaches the caller and fails the row, even if the user signs back in successfully the second time.",
"action": "Route replay through the same 401 handling. Allow another send after a new verified token and surface a 401 that persists with the same valid token.",
"lines_delta": null,
"confidence": "high"
},
{
"id": "F1.8",
"severity": "P2",
"tag": null,
"file": "src/components/app/SignInAgainDialog.jsx",
"line": 36,
"claim": "The project can overwrite the private tab title while the dialog is open.",
"scenario": "A first project save is authenticated before the user signs out in another tab, but its response arrives after the dialog opens. The save changes the route and MapProject writes the project name into the tab title. The dialog's title effect does not rerun because it is already open.",
"action": "Make the normal title writers honor the sign-in dialog state so route and project updates keep the title at OCL Mapper while the project is covered.",
"lines_delta": null,
"confidence": "high"
},
{
"id": "F1.9",
"severity": "P2",
"tag": null,
"file": "src/common/utils.js",
"line": 698,
"claim": "A stalled account check can hold the project indefinitely without showing the sign-in dialog.",
"scenario": "A match receives a 401, then the recovery request to /user/ never answers. The probe has no timeout. Recovery never reaches silent renewal or the dialog, and every queued OCL request remains blocked.",
"action": "Bound the recovery account check and silent code exchange. Advance to interactive sign-in when recovery cannot establish a valid session within those bounds.",
"lines_delta": null,
"confidence": "high"
}
]
} |
|
Codex review, pass 2 (codex-cli 0.171.0, commit e9d5902) Two P1 and four P2 findings, all fixed in 3ec3c03.
findings.json{
"reviewer": "codex-cli 0.171.0",
"perspective": "defects",
"mode": "verify",
"commit": "e9d5902",
"verdict": "findings",
"prior": [
{"id": "F1.1", "status": "unresolved"},
{"id": "F1.2", "status": "resolved"},
{"id": "F1.3", "status": "resolved"},
{"id": "F1.4", "status": "resolved"},
{"id": "F1.5", "status": "regressed"},
{"id": "F1.6", "status": "resolved"},
{"id": "F1.7", "status": "resolved"},
{"id": "F1.8", "status": "resolved"},
{"id": "F1.9", "status": "resolved"}
],
"findings": [
{
"id": "F2.1",
"severity": "P1",
"tag": null,
"file": "src/common/utils.js",
"line": 719,
"claim": "A 401 handled while the project is idle can still reload or sign out after the project has work to lose.",
"scenario": "A background read gets a 401 on a clean project. The user edits a row or starts AutoMatch while the silent renewal is pending. The legacy recovery then calls window.location.reload() or starts sign-out without checking again. The user can lose the intervening work even if the protected recovery has already started.",
"action": "Recheck the work guard before committing to a reload or forced sign-out. If work appeared during recovery, hand the result to the in-page recovery flow.",
"lines_delta": null,
"confidence": "high"
},
{
"id": "F2.2",
"severity": "P1",
"tag": null,
"file": "src/common/utils.js",
"line": 305,
"claim": "The AI usage refresh can run during the pause and cache one account's usage under another account.",
"scenario": "Alice has unsaved work and an AI request already in flight. The project pauses, Bob signs in, and Alice's earlier request finishes and triggers a usage refresh. The refresh reads Alice's username from the held project and Bob's token from shared storage, then sends the request directly through Axios. If it succeeds, Bob's usage is cached under Alice's username.",
"action": "Send usage requests through the sign-in gate while preserving their existing error handling. Use the verified account and token together when starting the request.",
"lines_delta": null,
"confidence": "high"
},
{
"id": "F2.3",
"severity": "P2",
"tag": null,
"file": "src/components/app/SignInAgainDialog.jsx",
"line": 55,
"claim": "A blocked sign-in tab clears the shared Mapper token.",
"scenario": "Alice's paused project identifies Bob as the current account. She clicks Sign in and the browser blocks the new tab. The handler has already removed Bob's valid token, so his other Mapper tabs react as if he signed out even though the account switch never started.",
"action": "Open the sign-in tab successfully before changing shared authentication state. Keep the current token when the browser blocks the tab.",
"lines_delta": null,
"confidence": "high"
},
{
"id": "F2.4",
"severity": "P2",
"tag": null,
"file": "src/components/map-projects/autoMatchRows.js",
"line": 238,
"claim": "A lookup can time out while the project is waiting for sign-in.",
"scenario": "Rerank starts waiting for a pending lookup, and a concurrent 401 starts the sign-in pause after ready() resolves but before its continuation runs. The timer records the new wait count and later sees it unchanged. It marks the lookup stuck while sign-in is still pending, so rerank or AI can resume with that candidate data missing.",
"action": "Check whether the sign-in gate is still open before starting or expiring the timer. Add a test where the pause starts between ready() resolving and the timer being armed.",
"lines_delta": null,
"confidence": "high"
},
{
"id": "F2.5",
"severity": "P2",
"tag": null,
"file": "src/components/map-projects/MapProject.jsx",
"line": 4720,
"claim": "ScispaCy's ten-minute warm-up limit now excludes time spent waiting for the server.",
"scenario": "With a healthy sign-in, ScispaCy returns warming_up and then takes a minute apiece to return gateway errors. The old limit ends the attempt around ten minutes. The new counter allows ten minutes of retry sleeps plus the response times, holding the run for several extra minutes.",
"action": "Count request and retry time toward the warm-up limit and subtract only the time spent waiting for sign-in.",
"lines_delta": null,
"confidence": "high"
},
{
"id": "F2.6",
"severity": "P2",
"tag": null,
"file": "src/components/map-projects/MapProject.jsx",
"line": 2242,
"claim": "Stopping a run can leave its held creation request queued for replay.",
"scenario": "The run creation POST gets a 401. The user presses Stop during silent recovery, before the sign-in dialog opens. Once sign-in returns, the held POST still creates a run and the late-response handler marks it cancelled. Run history records a start, and the project's declared row total includes that run's intended rows even though it never matched anything.",
"action": "Pass the run's stop check to the creation request. Keep the late-response cleanup for creation requests that were already sent when Stop was pressed.",
"lines_delta": null,
"confidence": "high"
}
]
} |
|
Codex review, pass 3 (codex-cli 0.171.0, commit 3ec3c03) Five P2 findings, all reproduced and fixed in a13da65.
findings.json{
"reviewer": "codex-cli 0.171.0",
"perspective": "defects",
"mode": "verify",
"commit": "3ec3c03",
"verdict": "findings",
"prior": [
{"id": "F1.1", "status": "resolved"},
{"id": "F1.2", "status": "resolved"},
{"id": "F1.3", "status": "resolved"},
{"id": "F1.4", "status": "resolved"},
{"id": "F1.5", "status": "resolved"},
{"id": "F1.6", "status": "resolved"},
{"id": "F1.7", "status": "resolved"},
{"id": "F1.8", "status": "resolved"},
{"id": "F1.9", "status": "resolved"},
{"id": "F2.1", "status": "unresolved"},
{"id": "F2.2", "status": "resolved"},
{"id": "F2.3", "status": "resolved"},
{"id": "F2.4", "status": "resolved"},
{"id": "F2.5", "status": "resolved"},
{"id": "F2.6", "status": "resolved"}
],
"findings": [
{
"id": "F3.1",
"severity": "P2",
"tag": null,
"file": "src/common/signInWait.js",
"line": 146,
"claim": "Resumed requests can use a token whose account UUID was never verified.",
"scenario": "The project verifies Alice's new token and releases a queued AI call. If shared storage switches to Bob's token before that call resumes, it rereads the token and sends Alice's row as Bob, potentially charging his account. The account check before the wait is skipped on this path. [HTML Standard on shared storage](https://html.spec.whatwg.org/multipage/webstorage.html#introduction)",
"action": "Check the exact token used for dispatch against the verified tokens after each wait. Reenter recovery if the shared token has changed to an unverified value.",
"lines_delta": null,
"confidence": "medium"
},
{
"id": "F3.2",
"severity": "P2",
"tag": null,
"file": "src/common/utils.js",
"line": 728,
"claim": "The F2.1 fix still lets automatic sign-out redirect away from work that starts during the ID-token lookup.",
"scenario": "An idle project gets a 401 and silent renewal fails. With no cached ID token, `logoutUser` waits for `ensureIdToken`. The user starts AutoMatch during that wait. When the lookup settles, `signOutUser` clears the session and redirects without checking for the new run.",
"action": "Recheck for work immediately before clearing credentials on the automatic 401 sign-out path. Hand off to `signInWait` if work has started.",
"lines_delta": null,
"confidence": "high"
},
{
"id": "F3.3",
"severity": "P2",
"tag": null,
"file": "src/components/app/SigninRedirect.jsx",
"line": 12,
"claim": "A recent automatic sign-out can prevent the account-switch tab from continuing to sign-in.",
"scenario": "The project tab went through a forced sign-out and signed back in less than ten minutes ago. A different account then signs in while a run is active. The new tab copies the project tab's `sessionStorage`, including the forced-sign-out timestamp. The switch signs out the other account, but the cooldown suppresses the return to sign-in and the run stays paused. [HTML Standard on opener storage](https://html.spec.whatwg.org/multipage/document-sequences.html#creating-a-new-top-level-traversable)",
"action": "Give the explicit account-switch flow its own one-time return to sign-in. Keep the cooldown for automatic 401 sign-outs.",
"lines_delta": null,
"confidence": "high"
},
{
"id": "F3.4",
"severity": "P2",
"tag": null,
"file": "src/common/signInWait.js",
"line": 74,
"claim": "One transient account lookup failure can leave a run paused after successful sign-in.",
"scenario": "The new tab signs Alice in, fetches her profile, and closes. The project tab's separate `/user/` request gets a transient 502, and silent SSO is unavailable. The project tab keeps asking for sign-in even though Alice's token is valid. With no further token change, the run never resumes on its own.",
"action": "Distinguish a rejected token from a transient profile lookup failure. Retry transient failures for the current token with bounded backoff and release requests only after verifying the UUID.",
"lines_delta": null,
"confidence": "high"
},
{
"id": "F3.5",
"severity": "P2",
"tag": null,
"file": "src/components/app/SigninRedirect.jsx",
"line": 8,
"claim": "An ordinary navigation can trigger account-wide sign-out without a confirmed account switch.",
"scenario": "A signed-in user follows an external link to the sign-in route with the switch flag and a valid return path. The route clears the shared Mapper credentials and starts Keycloak logout even though the user never pressed the reauthentication dialog's button.",
"action": "Require a one-time switch authorization created by the reauthentication dialog before the sign-in route can initiate logout.",
"lines_delta": null,
"confidence": "high"
}
]
} |
|
Simplification review (fresh Claude subagent, commit a13da65) Nothing to cut. |
|
Codex check of commits 3ec3c03..a13da65 Two P2 findings, both reproduced and fixed in f8f450f.
findings.json{
"reviewer": "codex-cli 0.171.0",
"perspective": "defects",
"mode": "final",
"commit": "a13da65",
"verdict": "findings",
"prior": [
{"id": "F3.1", "status": "resolved"},
{"id": "F3.2", "status": "regressed"},
{"id": "F3.3", "status": "regressed"},
{"id": "F3.4", "status": "resolved"},
{"id": "F3.5", "status": "resolved"}
],
"findings": [
{
"id": "FC.1",
"severity": "P2",
"tag": null,
"file": "src/common/utils.js",
"line": 680,
"claim": "A pending automatic sign-out can swallow an explicit Sign out click.",
"scenario": "An idle request gets a 401 and automatic sign-out starts fetching a missing ID token. The user makes an unsaved edit and clicks Sign out before the fetch finishes. The click joins the pending automatic operation, whose work check then cancels sign-out. The explicit click leaves the session intact.",
"action": "Give explicit sign-out priority over a pending automatic sign-out and cover the overlap in a regression test.",
"lines_delta": null,
"confidence": "high"
},
{
"id": "FC.2",
"severity": "P2",
"tag": null,
"file": "src/common/ssoSession.js",
"line": 212,
"claim": "Any Mapper sign-in tab can consume the account-switch permission intended for the dialog's popup.",
"scenario": "A normal sign-in page is already loading in another tab when the user clicks the dialog's account-switch button. If that page reaches /signin first, it consumes the shared permission and starts an unexpected logout. The intended popup then starts normal sign-in and can reuse the other account's Keycloak session before logout finishes, leaving the project paused.",
"action": "Bind the one-time permission to the popup opened by the dialog and consume it only after verifying that association.",
"lines_delta": null,
"confidence": "high"
}
]
} |
|
Adversarial review of the sign-in handling (fresh Claude subagent, commit f8f450f) No P0 or P1. It tried to get one person's work, token or account to another, a token to another service, someone signed out or kept signed in against their will, and the covered project seen.
|
snyaggarwal
left a comment
There was a problem hiding this comment.
Approve: OK to merge. Your Codex passes and the adversarial pass already covered most of the risky paths (Stop during a wait, custom algorithms, ScispaCy, lookup and warm-up timers, binding the token to the checked account, the account-switch tab). I checked the same areas again on 7d47b28 and found no blocking issues. CI (lint and test) is green on this commit. I found no sibling PRs for ocl_issues#3086 in oclapi2 or ocl-ai-assistant.
What I checked, and why it holds:
- No retry storm on 401.
recover()callsbegin()before its firstawait, so rows that hit 401 together share one recovery. A 401 that arrives after the renewal is sent again with the new token, without another recovery. If/user/still accepts the token, a 401 goes back to the caller after one more send. While the dialog is up, nothing polls: only a storage event wakes the page. With nothing to lose, the oldrenewOrSignOutpath and its once-per-window limit are unchanged. - No duplicate or lost rows. A request is sent again only after a 401, and only with a session token.
token === falseand other services' tokens go out once, and a 401 on them goes back to the caller. The stop check runs after any wait or refusal. A{cancelled}error isn't treated as a network error (isTransientNetworkErrorneedsisAxiosError), soretryWithBackoffdoesn't send it again, andrequestWithCapacityRetryreturnscancelled. The capacity gate's slots are held during a wait, which is fine because everything waits. - Run state and storage. The run stays in memory because the page no longer unloads. It isn't written anywhere new. New in the browser's storage:
person_switch_at(a timestamp) and, during an account switch, the other person'sid_token. That's the same key and kind of token the app already keeps, and it's kept only to sign them out. Identity is checked byuuid, which/user/returns. - Open Core: nothing new crosses the line. The new texts are neutral sign-in wording, and
capacity.jshandles load (429), not plan.
Non-blocking:
- The sign-out and renewal race handling in
utils.jshas no automated test (inline comment). - The ticket's acceptance criterion asks for written steps to make a sign-in end during a run. The PR says it was checked against a mock API in Chrome but doesn't give the steps. Please add them to ocl_issues#3086 before closing it, so the fix can be checked on staging. For example: a test realm with a short
ssoSessionMaxLifespan, or signing out in another tab during a run.
| // staysInstead is an automatic sign-out's: called last, it returns true when the page must stay after all. One the | ||
| // person asked for has none, and goes ahead even if an automatic one is under way. | ||
| let askedSignOut = null | ||
| export const logoutUser = (redirectToLogin, forced, staysInstead) => { |
There was a problem hiding this comment.
Nit, non-blocking: logoutUser's staysInstead/askedSignOut and renewOrSignOut's stayForNewWork are the trickiest ordering in this PR (FC.1, F2.1, F3.2), and they're only checked by hand in Chrome. FC.1 asked for a regression test of the overlap. utils.js imports too much for the node test runner. Moving these two into a small dependency-free module, as was done with signInWait.js, would let tests cover an automatic sign-out joined by a pressed one, and work that starts during the ID-token lookup.
Closes OpenConceptLab/ocl_issues#3086
An AutoMatch run survives a lost sign-in. Until now a 401 in the middle of a run reloaded the page or signed the person out. Both unload the page, and a run saves only at its end, so every result was lost.
What happens now, when the page has something to lose (a run going, an unsaved change or a save under way):
With nothing to lose, a 401 does what it did before. If work starts while the page is still renewing the sign-in, the page stays.
Why no row is matched or counted twice: only a 401 is sent again, and the API and the OCL AI Assistant refuse a sign-in before they do any work. An AI call goes again under the same idempotency key. Other refusals, and requests with no answer, go back to the caller as before. A custom algorithm gets only its own key, never a renewed sign-in.
Where: the waiting is in
src/common/signInWait.js, andAPIServicesends its requests through it. The run's loops don't change.MapProject.jsxtells it when there is work to lose, with the check the "leave this page?" warning already uses, and passes the run's stop check with each row's request. Time limits on lookups and on ScispaCy's start don't run while the page waits.Pieces used: the dialog is built like "Auto Match is running": MUI
Dialog, the same text style and a contained button. The texts are in all four languages.Checked:
npm run test:alland ESLint pass. In Chrome against a mock API, I cut the sign-in during a 50-row run in these ways: it can be renewed, it has ended (in the matching and in the AI step), another tab signed out, someone else signed in first, and the browser blocked the new tab. Each time all 50 rows were saved, and none was matched or sent to the AI twice. I also pressed Stop during the renewal, in the matching and in the AI step: no more rows went out. Other cases: work that starts during the renewal of an idle page, the same wrong person signing in twice, and an account check that fails once.Not covered: a tab that is closed or crashes in the middle of a run still loses it.
🤖 Generated with Claude Code
https://claude.ai/code/session_01AaZ4qXAMRFx7hxhuoQgUf7