Skip to content

fix: stellar wave batch — mock data indicator, network guard, parallelization, OAuth hardening - #335

Merged
chonilius merged 2 commits into
MergeFi:mainfrom
devgodfreytem:fix/stellar-wave-batch-1
Aug 25, 2026
Merged

chonilius merged 2 commits into
MergeFi:mainfrom
devgodfreytem:fix/stellar-wave-batch-1

Conversation

@devgodfreytem

Copy link
Copy Markdown
Contributor

Fixes #1,Fixes #2,Fixes #8,Fixes #9

What changed

Why

  • Mock data was indistinguishable from live data on server component pages
  • Users could sign transactions on the wrong network, wasting attention on doomed approvals
  • Sequential independent fetches added unnecessary latency
  • JWT persisted in browser history after OAuth callback

How to test

  • Stop the backend: all pages should show "Sample data" indicator
  • Set Freighter to wrong network: signing actions should be blocked with actionable message
  • Check browser history after OAuth login: JWT should not be present

…e fetches

- Introduce FetchResult<T> return type for all fetchers in api.ts,
  replacing fragile reference-identity mock data detection (MergeFi#1)
- Add structured server-side error logging distinguishing network,
  HTTP, and parse failures (MergeFi#1)
- Fix inverted "Sample data" badge on maintainer dashboard (MergeFi#1)
- Parallelize independent bounties + reputation fetches on contributor
  dashboard via Promise.all (MergeFi#8)
- Parallelize milestones + maintenance pools fetches on milestones
  page (MergeFi#8)
- Add pre-flight network check in connectWallet and WalletContext mount
  reconciliation to block signing when Freighter's network differs from
  the app's configured network (MergeFi#2)
- Expose networkMismatch in WalletContext, block fund/claim/deposit
  actions in IssueActions and MilestoneActions (MergeFi#2)
- Strip JWT from URL via history.replaceState after reading in
  CallbackClient to prevent token persistence in browser history (MergeFi#9)
@vercel

vercel Bot commented Aug 25, 2026

Copy link
Copy Markdown

@devgodfreytem is attempting to deploy a commit to the chonilius' projects Team on Vercel.

A member of the Team first needs to authorize it.

@drips-wave

drips-wave Bot commented Aug 25, 2026

Copy link
Copy Markdown

@devgodfreytem Great news! 🎉 Based on an automated assessment of this PR, the linked Wave issue(s) no longer count against your application limits.

You can now already apply to more issues while waiting for a review of this PR. Keep up the great work! 🚀

Learn more about application limits

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

Labels

None yet

Projects

None yet

2 participants