Skip to content

Conversation

@samholmes
Copy link
Contributor

@samholmes samholmes commented Oct 28, 2025

CHANGELOG

Does this branch warrant an entry to the CHANGELOG?

  • Yes
  • No

Dependencies

none

Requirements

If you have made any visual changes to the GUI. Make sure you have:

  • Tested on iOS device
  • Tested on Android device
  • Tested on small-screen device (iPod Touch)
  • Tested on large-screen device (tablet)

Note

Adjust Infinite dummy TOS/status handling and add customer PENDING status; EdgeVault now safely returns undefined on invalid records.

  • Ramps/Infinite:
    • TOS Dummy Response: getTos now randomly returns status as accepted or pending instead of always pending in src/plugins/ramps/infinite/infiniteApi.ts.
    • Customer Status Types: Add PENDING to asInfiniteCustomerStatus in src/plugins/ramps/infinite/infiniteApiTypes.ts.
  • Vault:
    • Record Parsing Robustness: getExistingRecord in src/util/vault/edgeVault.ts now catches parse errors and may return undefined, updating its return type accordingly.

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


@samholmes samholmes force-pushed the sam/unexpected-error branch from 493f1a7 to bba0718 Compare October 28, 2025 18:16
@samholmes
Copy link
Contributor Author

Approved the last two commits OTS with @Jon-edge

This relax on whether existing records follow the valid shape defined
by the cleaners is only because during development, the underlying
types change and cause a permanently broken state for the account.

In the future, we can harden this API to throw an error to not risk
losing data if we desire to.
@samholmes samholmes force-pushed the sam/unexpected-error branch from 6c06dd4 to adcdbe6 Compare October 28, 2025 22:44
@samholmes samholmes enabled auto-merge October 28, 2025 22:44
@samholmes samholmes merged commit 62225b1 into develop Oct 28, 2025
3 checks passed
@samholmes samholmes deleted the sam/unexpected-error branch October 28, 2025 23:11
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