Repository navigation
Conversation
CI Checks Failed — Action NeededThe continuous integration checks on this pull request are failing. I can't merge until all required checks pass. Failing checks:
What to do: review the failing checks in the "Checks" tab above, fix the issues in your code, and push the changes. |
Fix AppliedFix malformed YAML / bash script step in .github/workflows/ci.yml causing syntax errors during CI run. |
CI Checks Failed — Action NeededThe continuous integration checks on this pull request are failing. I can't merge until all required checks pass. Failing checks:
What to do: review the failing checks in the "Checks" tab above, fix the issues in your code, and push the changes. |
Fix AppliedFix the workflow configuration in .github/workflows/ci.yml where an unterminated build/env step block was causing YAML/syntax interpretation issues and ensure packages/sdk coverage output path is correct for action upload. |
CI Checks Failed — Action NeededThe continuous integration checks on this pull request are failing. I can't merge until all required checks pass. Failing checks:
What to do: review the failing checks in the "Checks" tab above, fix the issues in your code, and push the changes. |
Fix AppliedUpdate GitHub actions in .github/workflows/ci.yml to use actions/checkout@v5, actions/setup-node@v5, actions/upload-artifact@v4 (Node 22 support or modern runner setup), and fix any malformed lines/unterminated regex syntax in ci.yml workflow steps. |
CI Checks Failed — Action NeededThe continuous integration checks on this pull request are failing. I can't merge until all required checks pass. What to do: review the failing checks in the "Checks" tab above, fix the issues in your code, and push the changes. |
CI Checks Failed — Action NeededThe continuous integration checks on this pull request are failing. I can't merge until all required checks pass. Failing checks:
What to do: review the failing checks in the "Checks" tab above, fix the issues in your code, and push the changes. |
f6deb00 to
0fb9f88
Compare
Fix AppliedFix the syntax error in .github/workflows/ci.yml where an unterminated regular expression literal or bad character occurred around line 20-22, updating actions/setup-node to use node-version 22 to resolve deprecation warnings and parse errors. |
CI Checks Failed — Action NeededThe continuous integration checks on this pull request are failing. I can't merge until all required checks pass. What to do: review the failing checks in the "Checks" tab above, fix the issues in your code, and push the changes. |
Fix AppliedFix unterminated syntax or workflow file issue reported in CI by correcting or preserving the workflow structure if needed, or fixing any TypeScript/build error. |
CI Checks Failed — Action NeededThe continuous integration checks on this pull request are failing. I can't merge until all required checks pass. What to do: review the failing checks in the "Checks" tab above, fix the issues in your code, and push the changes. |
After a reload the wallet store rehydrates as disconnected, but the address-keyed queries gated on `!!address` alone, so background financial data queries could fire while the UI rendered as disconnected. Gate every address-keyed query on `connected` as well, matching the existing `useBalances` pattern, and add a regression test covering rehydration from a persisted-but-stale store. Refs TrusTrove#636 Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
`login` is async, so a `logout` landing mid-flight was followed by the abandoned attempt's `setToken(jwt)`, re-authenticating a session the user had ended. A session generation counter now lets only the attempt that still owns the session write auth state back. Also locks in the surrounding hygiene: no Authorization header after logout, the token is never persisted to localStorage, and no credential value reaches a console sink. Refs TrusTrove#637 Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Neither `apiFetch` nor `apiClient.fetch` passed an AbortSignal, so a hung backend left requests pending forever while polling hooks stacked more on top. Every request now carries a bounded, configurable timeout (20s default) and composes the caller's own signal with it, so a cancelled or unmounted query aborts the underlying fetch. A caller cancellation surfaces as `kind: "aborted"` and is never reported as a timeout or a server error. Timers and abort listeners are torn down on every path. Refs TrusTrove#638 Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
…uards Bounded exponential backoff for transient failures, applied to side-effect-free reads only. Automatic retry is deliberately NOT enabled for any mutation. The money-moving mutations submit signed Stellar transactions, so a timeout or network error is ambiguous: it proves the response was lost, not that the transaction failed, and replaying it can double a deposit, withdrawal or repayment. The one HTTP mutation, POST /invoices, has no backend idempotency key, so a replay would create a duplicate invoice. `MUTATION_RETRY_DISABLED` makes that decision explicit and greppable, and a regression test drives the real hooks through an ambiguous post-submit failure to assert exactly one on-chain submission per user action. Refs TrusTrove#639 Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Integrates the four changes: - Thread react-query's own `signal` from every apiFetch-backed queryFn into the API layer, so unmounting or refetching a query cancels the in-flight request (TrusTrove#638). - Wire the transient read retry policy once in the QueryClient, and state `mutations.retry: MUTATION_RETRY_DISABLED` explicitly so the no-auto-retry-on-money-movement guarantee cannot be lost by accident (TrusTrove#639). useStats' blind `retry: 3` becomes transient-only, so permanent 4xx responses now surface immediately. - Make lib/api.ts source its transient status list from lib/retry.ts instead of keeping a second copy. - Add an integration regression test for the seams between the four fixes: that the ApiError shapes TrusTrove#638 throws are classified as TrusTrove#639 expects, that the retry loop re-reads the Bearer token per attempt so a logout cannot be undone by a retry (TrusTrove#637 x TrusTrove#638), and that method safety outranks error classification for a POST. Refs TrusTrove#636, TrusTrove#637, TrusTrove#638, TrusTrove#639 Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
`useInvoice` returns react-query's `refetch`, which resolves a promise, but
the type assertion in InvoiceDetailClient declared it `() => void`. That
made `pnpm typecheck` and `pnpm build` fail with TS2345 where the value is
passed to `useInvoiceDetailActions(invoiceId, refetch)`, which correctly
expects `() => Promise<unknown>`.
The assertion was simply wrong, so this corrects it rather than wrapping
the call site: wrapping in `async () => { refetch(); }` would discard the
promise and stop `await refetch()` inside the hook from actually awaiting
the refresh. A type assertion is erased at compile time, so there is no
runtime behaviour change. No `any` is added and no error is suppressed.
This break is pre-existing and unrelated to TrusTrove#636-TrusTrove#639: it arrived with
6801236 (TrusTrove#1311) on main and fails CI there too. It is included here only
because Typecheck is the first CI step, so while it fails every later
step - unit tests, lint and formatting - is skipped and none of this PR's
work can be validated by CI.
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
…et-api-reliability fix(web): improve wallet state, auth lifecycle and API reliability
… indexer: add cursor pagination to invoice listing (+3 more)
41aba81 to
5dcb499
Compare
CI Checks Failed — Action NeededThe continuous integration checks on this pull request are failing. I can't merge until all required checks pass. What to do: review the failing checks in the "Checks" tab above, fix the issues in your code, and push the changes. |
DripTide opened this PR inside your fork only to run the repository's CI on the change before opening the real PR upstream. It is closed automatically.