add sandbox sales-demo account - #1334
Open
Sharqiewicz wants to merge 1 commit into
Open
Conversation
✅ Deploy Preview for vrtx-dashboard ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
✅ Deploy Preview for vortexfi ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
✅ Deploy Preview for vortex-sandbox ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
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.
What this adds
state, restorable on OTP login or via
bun run seed:demo. Restore isidempotent: every row it writes carries a fixed demo UUID prefix, so it can
never touch records created during a demo.
re-onboarded endlessly. Off by default (
DEMO_PROVIDER_ENABLED), because asandbox also serves partner integration testing, which must exercise the
real provider.
Networks.PolygonAmoywas missing from the Alchemylookup, so the dashboard funding gate read "balance unavailable" and blocked
registration on every sandbox offramp.
Safety
Both
config/vars.tsandinstallDemoProvidersrefuse to start the processwhen
DEMO_PROVIDER_ENABLED=trueoutsideDEPLOYMENT_ENV=sandbox. The loginhook returns before any DB access unless the deployment is sandbox and the
email matches
DEMO_ACCOUNT_EMAIL; it never creates or elevates an identity,and its errors are swallowed so it can neither grant nor deny a login.