chore(deps): bump @robosystems/client to ^1.13.0 - #348
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Adopt
@robosystems/client1.13.0. It fixes the console's operator queries failing withOperator error: SSE connection failed before open (likely auth/not-found…)once a tab has lived past the session's first JWT refresh (~25 min): the SDK'sclientssingleton captured the JWT at construction, the backend revokes the previous JWT on every refresh, and the stream endpoint authenticates the JWT from the URL — so the RESTPOST /operatorsucceeded (core's interceptor injects a fresh token), the run executed and billed, and the stream attach 401'd with nobody watching. Confirmed in prod API logs on 2026-08-29.In 1.13.0 the SSE-backed clients resolve the credential on every connect through the
tokenProvidercore already registers viasetSDKClientConfig, andOperatorClientfollows a queued run over/v1/operations/{id}/statuswhen the stream cannot open, so the result is never lost. Nothing in this app changes — the fix lives in the package (RoboFinSystems/robosystems-typescript-client#206).Changes
package.json—@robosystems/client^1.12.2→^1.13.0.package-lock.json— resolves to 1.13.0.Deploy Notes
None — no env vars, no CloudFormation, no API version requirement (the API was already correct; this is the client catching up). The fix reaches users with the next app release; until then a console tab open longer than ~25 minutes still hits the error on its first query and a page refresh remains the workaround.
Testing
npm run test:all(test → format → lint:fix → typecheck → cf-lint): 389 tests passed across 47 files, all checks clean.