Skip to content

Recover from failure to create Ibex Account #90

Description

@brh28

Upon deploying to production, we were unable to create Ibex accounts. From this issue, we discovered that Ibex createAccount failures put our backend in a partial state that it is unable to heal from. A user who has this problem will continue to see failures.

Purpose of this task is to detect when a failure has occurred and re-initialize the Ibex account.

Testing:

  • - Create integration tests (mock Ibex failure) to verify account is created successfully on second attempt
  • - Verify happy path account creation still works in tests env

Activity

  1. brh28 commented on Dec 30, 2024

    @brh28
    ContributorAuthor

    Possible approaches:

    • Either call Ibex first to ensure we get a successful response
    • or, add checks in the account creation to check if a user is already in the system
  2. self-assigned this
    on Dec 30, 2024
  3. islandbitcoin commented on Jun 9, 2025

    @islandbitcoin
    Contributor

    Work on this after Admin Panel is implemented.

  4. islandbitcoin commented on Apr 17, 2026

    @islandbitcoin
    Contributor

    Admin Panel is implemented. Bumping priority

  5. added
    ibex / reliabilityBug subgroup for IBEX and reliability issues
    and removed
    bugSomething isn't working
    on Apr 17, 2026
  6. added
    bugSomething isn't working
    and removed on Oct 10, 2026
  7. islandbitcoin commented on Oct 10, 2026

    @islandbitcoin
    Contributor

    Priority pass 2026-10-10: rank 5 of 13. Partially fixed: #493 self-heals a missing USDT wallet on first touch. Still open: create-account.ts persists the account before wallet creation and returns an error on other failures, so an IBEX outage during signup leaves wallet-less accounts. Needs the integration test in the original checklist.

  8. nul-quill commented on Oct 11, 2026

    @nul-quill

    Handle: nul-quill. Payout wallets: Solana USDC BdznDjc4xwt5Y6WJT5UnrFQzDptka8YnC9oqmmkKpwkd, TRC20 TNEHCVwR2aPMrj5AKfWCQ2rFL3bEDQmsg7. Shipped in #522: ensureCashWallets() gap-fills missing cash wallets and repairs defaultWalletId, so an account left half-built by an IBEX createAccount failure heals on the next read instead of failing forever. Mocked IBEX failure plus second-attempt success covered in test/flash/unit/app/accounts/ensure-account-wallets.spec.ts; happy-path creation still asserted by create-account.spec.ts. 118 suites / 1431 tests pass.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

HighbugSomething isn't workingibex / reliabilityBug subgroup for IBEX and reliability issues

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions