Skip to content

fix: build env#469

Merged
chaitanyapotti merged 6 commits into
masterfrom
feat/build-env
Mar 20, 2026
Merged

fix: build env#469
chaitanyapotti merged 6 commits into
masterfrom
feat/build-env

Conversation

@tuna1207

@tuna1207 tuna1207 commented Mar 20, 2026

Copy link
Copy Markdown
Member

Motivation and Context

Jira Link:

Description

Upgrade deps and use build env

How has this been tested?

Screenshots (if appropriate):

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)

Checklist:

  • My code follows the code style of this project. (run lint)
  • My change requires a change to the documentation.
  • I have updated the documentation accordingly.
  • I have added tests to cover my changes.
  • All new and existing tests passed.
  • My code requires a db migration.

Note

Medium Risk
Medium risk due to build/runtime dependency upgrades (notably vite and @toruslabs/*) and a change in how the storage/session server URL is selected and threaded through login/passkey flows, which could affect redirect/session retrieval behavior.

Overview
Build environment support for storage sessions. CustomAuth now accepts buildEnv and derives storageServerUrl from STORAGE_SERVER_MAP (unless explicitly overridden), passing it through handler creation and Torus/node-detail initialization.

Session/passkeys API plumbing tightened. Replaces SessionManager usage with StorageManager, makes fetchDataFromBroadcastServer require an explicit storageServerUrl, and updates PasskeysHandler.getUserInfo (and the ILoginHandler interface/tests) to use params.storageServerUrl rather than an optional method argument.

Dependency + service worker updates. Upgrades multiple dependencies/devDependencies (including vite to 8.x, vitest to 4.1.0, and several @toruslabs/* packages) and bumps the service worker redirect pages’ CDN @toruslabs/broadcast-channel to 13.3.0 with updated SRI.

Written by Cursor Bugbot for commit 584885e. This will update automatically on new commits. Configure here.

@tuna1207
tuna1207 requested a review from a team as a code owner March 20, 2026 08:38

@cursor cursor Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cursor Bugbot has reviewed your changes and found 1 potential issue.

Fix All in Cursor

Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, have a team admin enable autofix in the Cursor dashboard.

Comment thread serviceworker/redirect.html Outdated
@chaitanyapotti
chaitanyapotti merged commit 519baf5 into master Mar 20, 2026
5 checks passed
@chaitanyapotti
chaitanyapotti deleted the feat/build-env branch March 20, 2026 09:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants