Skip to content

fix: spark retry follow-ups - #2007

Merged
ovitrif merged 5 commits into
masterfrom
fix/spark-retry-follow-ups
Nov 24, 2026
Merged

ovitrif merged 5 commits into
masterfrom
fix/spark-retry-follow-ups

Conversation

@ovitrif

@ovitrif ovitrif commented Nov 24, 2026 •

Copy link
Copy Markdown
Collaborator

Refs: #1957

Description

  • Fixes Spark retry settlement matching outcomes by failure time, which could read another attempt's failure as a retry's own and release a live retry so the node could pay the same invoice. Each Spark send now passes a fresh idempotency key, which Spark 0.28.3 keeps as the attempt's transfer id and Payment.id on both the Spark and SSP routes. Only a failure with that id ends the hold early; any other failure, from an earlier attempt or another device, leaves the retry pending until a paid listing or the invoice's expiry. The phone clock plays no part, so a phone clock ahead of Spark's no longer holds a send's own failure until expiry. Raised in fix: spark follow-ups #1957 (review) and fix: spark follow-ups #1957 (comment).
  • Keeps the attempt id with the saved hold before the send call, so a send cut off by process death stays bound. A hold saved by an earlier build has no id and waits for a paid attempt or expiry.
  • Removes the Spark history read that dated a send just before it went out. A send is still refused while Spark's synced list can't be read, now checked ahead of the final Paykit permission check, so nothing runs between that check and the send. Raised in fix: spark follow-ups #1957 (review) and fix: spark retry follow-ups #2007 (review).
  • Fixes QuickPay staying pending when Spark reports a send's failure during the send call and then returns it as failed: the returned failure now writes the row and reports the failure once. Raised in fix: spark follow-ups #1957 (review).
  • Fixes the Activity row keeping an earlier attempt's amount, fee and time after a retry fails: the retry's own failure writes its details, while another attempt's failure still only changes the status. Raised in fix: spark follow-ups #1957 (review).
  • Fixes an extra Spark sync about 10 s after every pending send, even one already settled: the poll stops once the hold has ended. Raised in fix: spark follow-ups #1957 (comment).
  • Fixes a send that settled while the app was closed showing its Sent sheet or a "Payment failed" toast at the next launch: holds taken back at the first start of the process update their row without reporting an outcome, and Spark's own event for them after reconnect stays quiet. A send Spark never recorded still reports its failure at expiry, and paying the same invoice again clears the mute. Raised in fix: spark follow-ups #1957 (comment).
  • Reports a paid attempt once when its hold ends, so Spark's own success event can't open a second Sent sheet.
  • Keeps a retry's own failure details when its Activity write fails once, and never writes an earlier attempt's failure over a newer retry's pending row. Raised in fix: spark retry follow-ups #2007 (review).

Same-invoice Spark retries stay.

Out of Scope

  • CacheStore: re-recording an unchanged Spark send row wrote app_cache.json twice (fix: spark follow-ups #1957 (comment)). master no longer has the row-writer fields after the retry redesign, so nothing is left to fix.
  • iOS: the matching changes go to a separate bitkit-ios follow-up.

Design

N/A — no UI changes.

Preview

N/A

QA Notes

Setup

Local Spark stack (bitkit-docker spark profile) with a dev debug build using the local-stack build settings, as in #1957's device gate.

Journeys

N/A — no user-visible behaviour change beyond the cases below, which need a hold invoice and process kills.

Manual Tests

  • 1. Pay a hold invoice over Spark, force-stop while Pending, fail the invoice, relaunch → no "Payment failed" toast; the Activity row shows Failed — process kill mid-send is not in the journey Capabilities
  • 2. Same as 1, but settle the invoice → no Sent sheet at launch; the row shows Sent — process kill mid-send is not in the journey Capabilities
  • 3. Send over Spark, let it settle → one Spark sync after the send, not two — counting operator syncs is not in the journey Capabilities

Automated Checks

  • added SparkRepoTest.kt — a send's own failure ends its hold with the phone clock 30 s ahead of Spark's
  • added SparkRepoTest.kt — a send settled before its poll starts forces no extra wallet sync
  • added SparkRepoTest.kt — a hold that failed while the app was closed updates its row without reporting at launch
  • added SparkRepoTest.kt — a send whose call returns failed reports its failure once
  • added SparkRepoTest.kt — a retry's own failure takes its details over an earlier attempt's failed row
  • added SparkRepoTest.kt — a hold from an older build stays held past a listed failure until its invoice expires
  • updated SparkRepoTest.kt — a retry Spark took stays held past another attempt's failure dated 5 s before it, listed and as an event; the send's own outcomes are listed under the key it passed
  • updated SparkRepoTest.kt — the send is refused while Spark's synced list can't be read
  • added SparkRepoTest.kt — a send Spark never recorded reports its failure at expiry after a restart
  • added SparkRepoTest.kt — a retry's own failure keeps its details through a failed Activity write
  • added SparkRepoTest.kt — a cancelled send restored by a foreground restart reports at expiry
  • updated SparkRepoTest.kt — the launch test sends Spark's callback after the listing; a retry entering during the reread writes no failed row; the poll releases the hold before the success callback
  • updated LightningRepoTest.kt — the node test checks the Spark send with its key

Evidence

  • ran just compile, just test and just lint on 2d68d2f: all pass.

Gaps

  • Manual tests 1–3 not run on a device yet.

Models used

  • Planning/scoping: Claude Opus 5.5 (reasoning: medium)
  • Implementation: Claude Opus 5.5 (reasoning: medium), Claude Sonnet 5.5 (reasoning: high)
  • Review: Claude Sonnet 5.5 (reasoning: high)

Closes #2010

Each Spark send passes a fresh idempotency key, which Spark keeps as the
attempt's payment id, so only that attempt's outcome ends its hold.

Verified: SparkRepoTest and CacheStoreTest pass
Also splits the listed-send report out of the settle step and drops
comments that still described dating failures.

Verified: just compile, just test and just lint pass
@ovitrif ovitrif self-assigned this Nov 24, 2026
@ovitrif
ovitrif requested review from jvsena42 and pwltr November 24, 2026 12:15
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 24, 2026 •

Copy link
Copy Markdown
Codex Review Summary: ✅ Completed

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-11-24T12:18:52.170130Z af7fa26 PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

Verified: none (changelog text only)
@ovitrif ovitrif mentioned this pull request Nov 24, 2026
1 task

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: af7fa265c2

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

@github-actions

github-actions Bot commented Nov 24, 2026 •

Copy link
Copy Markdown
Contributor

Regtest APK

Built from 2d68d2f (run).

Download bitkit-dev-debug universal APK (expires in 30 days).

@pwltr pwltr left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Reviewed 627b6d5.

Medium candidate: A history read failure can let Spark receive a second submission for an invoice already paid by the same wallet. This can happen when another device paid the still-valid invoice and the retrying device has no local hold. SparkRepo.kt:561 can continue to SparkRepo.kt:605 with a fresh key. Please verify whether Spark SDK 0.28.3 rejects the same invoice under two distinct keys on both the direct Spark and SSP routes. The second submission is reachable, and whether it can debit the wallet again depends on the SDK.

Startup recovery uses the saved hold as a proxy for whether someone needs the outcome.

Low: If the app is interrupted before Spark records a send, reopening the same invoice can leave its pending screen stuck. The caller starts tracking it again, but SparkRepo.kt:711 suppresses the expiry failure. An automatic allowance payment can also remain open because its recovery lookup finds no terminal status for the released hash.

Low candidate: Startup can announce a historical payment if the SDK emits its terminal callback after reconnect. SparkRepo.kt:2084 discards the marker before emitting when the callback comes first, and SparkRepo.kt:746 leaves the payment ID unclaimed when listing comes first. Verify whether the pinned SDK can deliver that callback after reconnect.

Activity needs attempt ownership through the write and any retry of the write.

Low: SparkRepo.kt:743 can write an earlier failure over a newer retry's pending Activity row if the retry enters during the history reread. The event guard runs after the write. Assert the row stays pending in the existing retry interleaving fixture.

Low: If saving a retry's own failure hits a transient Activity storage error, the retry queue at SparkRepo.kt:2119 and SparkRepo.kt:2168 keeps the payment ID but loses its ownership for the refresh at SparkRepo.kt:1462. An older failed row can then keep its original fee and timestamp after storage recovers.

Low: Two existing tests can pass without exercising attempt-ID settlement. Use the submitted key in SparkRepoTest.kt:4167 and assert the poll releases the hold before the success callback. In SparkRepoTest.kt:4734, use an unexpired invoice and give the late failure at SparkRepoTest.kt:4746 the submitted key so expiry cannot satisfy the assertion.

Review details

Quick review
Model: Claude Opus 5.5
Reasoning effort: high

General review
Model: GPT-6.2 Sol
Reasoning effort: high

Combined review
Model: GPT-6.2 Sol
Reasoning effort: high

@talosmachina talosmachina left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No findings. Binds each Spark send hold to the idempotency key it passed, so only that attempt's own outcome ends the hold early, and stops reporting outcomes at launch for sends that settled while the app was closed. Reviewed 627b6d5, full tier, static.

What I checked, and 5 candidates I ruled out

Build: not built here. The PR-run gate could not confirm the author's permission and failed closed, so this review is reasoned from the code, the Spark SDK source and CI.
Read: the whole diff of SparkRepo.kt and CacheStore.kt, plus payInvoice, settleUncertainSend, trySettleUncertainSend, takeUncertainSend, restoreUncertainSends, onPayment, recordActivity and SparkService.send around it; the new and changed tests in SparkRepoTest.kt.
SDK contract: checked against breez/spark-sdk at 0.28.3, the version pinned in libs.versions.toml. On the SSP route pay_and_persist_lightning_invoice passes the key as the transfer id and Payment::from_lightning sets Payment.id to it. On the Spark route the same id goes to transfer(...), and the payment is built from that transfer. TransferId::from_str takes a UUID, which UUID.randomUUID() gives.
CI: unit tests, compose UI tests, lint and detekt green. Five e2e shards still running.

Ruled out

  • A start in the middle of the process marks a live hold as restored and mutes its outcome: restoreUncertainSends(atStart = true) marks a hash only when putIfAbsent added it. An in-process hold is already in uncertainSends, and one inside the send call is skipped through sendsInFlight.
  • A retry starts while an earlier attempt's hold is still in memory, so the earlier hold outlives the cache entry: payInvoice throws PaymentPendingException while lightningSend reads the hash as held, so a retry only starts after the hold has ended.
  • A hold saved by an older build, with no attempt id, is released by any failure: hasOwnFailure returns false on a null id, and isHeldFrom treats a null id as different from every failure id. It waits for a paid listing or expiry, as the description says.
  • Own failure reported twice, by the event inside the send call and by the call's result: the event takes the isHeldFrom branch while the send is in flight and returns before it reports anything. The result then reports once through reportedSendIds.
  • wipe leaves restored-at-start state for the next wallet: restoredAtStart.clear() is in wipe.

Merge confidence: 4/5, no findings but not built here, the e2e shards are still running, and the process-kill cases are only covered by unit tests.

@jvsena42 jvsena42 left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code scan at 627b6d5: no HIGH or MEDIUM. One LOW is inline. I reviewed this as a funds change.

What I checked and found clean:

  • Idempotency key in the SDK (breez spark-sdk 0.28.3, pinned at libs.versions.toml:27).
    • The key becomes the transfer id on both the Spark and SSP routes (bolt11.rs:76-80, wallet.rs:688-709).
    • Payment.id is that transfer id on both routes. The SDK's idempotency_tests.rs asserts payment.id == idempotency_key.
    • A send that threw is resumed under the same id, and the in-call leaf retry reuses it.
    • A reused key would return the stored payment, but :587 makes a new UUID per attempt.
  • No double pay. Only a FAILED payment carrying the hold's own attempt id ends the hold early (:1575-1586). While a hold exists, lightningSend reads NotFound, Unavailable and FAILED as PENDING, so no retry starts on either rail.
  • The id is saved with the hold before the send call (:594 before :605), in one updateData. Process death on either side of the call keeps the hold bound to its id.
  • Upgrade. v3.1.1's CacheStore.kt has no Spark fields, so released builds have no id-less holds. sparkSendAttemptIds defaults to an empty map, so old JSON deserialises.
  • Authorization. Between onBeforeSend() and sparkService.send, the history read is gone and nothing replaced it. The amount is fixed in prepared before the check.
  • Reporting. A FAILED return reports once (reportedSendIds). The late SDK event stops at :2092. QuickPay attributes the failure because the op is already dispatched.
  • Cancellation. No new swallowed CancellationException. The runCatching at :597 wraps only non-suspending checks.
  • Nit, not a finding: the payInvoice KDoc at :526-527 still lists "could not … list its payments" as a SendRefused cause. This PR removed that refusal.

Performance-relevant: yes. The poll at :666 now skips syncWallet() once the hold has ended, and the pre-send listPayments() is gone. On device I'll measure:

  • syncWallet / Synced count for 60 s after a send that settles within 10 s (manual test 3; expect 1, not 2);
  • tap-to-dispatch time against master.

CI: e2e-tests-local - lightning_security and lnurl_transfer are red. They fail the same way on the unrelated feat/nfc-payments run 45390985877: the home chrome (TotalBalance) is not found after the SpendingBalanceReadyToast drag. That points to master, not this PR. They need a re-run before merge.

Device gate (partial): 627b6d5 — not run yet; pending manual tests 1-3 on the local Spark stack (hold invoice, force-stop mid-send) and the sync-count measurement. The device result will follow in a second review.
Skipped — covered by CI at 627b6d5: unit tests, lint, detekt, compose UI (green).

Also reports a send Spark never recorded at its expiry after a restart,
keeps a newer retry's row from an old failure, keeps a failure's
ownership through a failed activity write, and keeps Spark's callback
for a hold settled while closed quiet.

Verified: just compile, just test and just lint; SparkRepoTest and lint again after the last one-line change
Verified: just compile, just test and just lint pass
@ovitrif

ovitrif commented Nov 24, 2026

Copy link
Copy Markdown
Collaborator Author

@pwltr

Medium candidate: A history read failure can let Spark receive a second submission for an invoice already paid by the same wallet.

Addressed in fa7c56b: a send is refused while Spark's synced list can't be read, as before this PR, now ahead of the final permission check. A restored wallet still gets its own refusal first. The fix doesn't rely on how the SDK treats one invoice under two keys.

Low: If the app is interrupted before Spark records a send, reopening the same invoice can leave its pending screen stuck.

Addressed in fa7c56b: a send Spark never recorded reports its failure at expiry also after a restart, so the pending screen and an automatic allowance payment both get it. A caller asking for the invoice again also clears the launch mute.

Low candidate: Startup can announce a historical payment if the SDK emits its terminal callback after reconnect.

Addressed in fa7c56b: a muted outcome claims its payment id, and a callback for a hold taken back at start claims it too, so neither order reports it. The launch test now sends the callback after the listing.

Low: SparkRepo.kt:743 can write an earlier failure over a newer retry's pending Activity row if the retry enters during the history reread.

Addressed in fa7c56b: the failure counts as the attempt's own only while no newer attempt holds the invoice. settleWithRetryEntering asserts no failed row is written.

Low: If saving a retry's own failure hits a transient Activity storage error, the retry queue … loses its ownership

Addressed in fa7c56b: a failed write keeps the attempt's ownership until the row saves. Added a test with a failing first write.

Low: Two existing tests can pass without exercising attempt-ID settlement.

Addressed in fa7c56b: both use the submitted key, the first asserts the poll releases the hold before the success callback, and the second uses an unexpired invoice.

@ovitrif
ovitrif requested review from jvsena42 and pwltr November 24, 2026 12:58
@ovitrif

ovitrif commented Nov 24, 2026

Copy link
Copy Markdown
Collaborator Author

@jvsena42

Nit, not a finding: the payInvoice KDoc at :526-527 still lists "could not … list its payments" as a SendRefused cause. This PR removed that refusal.

fa7c56b restores that refusal (a send is refused while Spark's synced list can't be read), so the KDoc is accurate again.

They need a re-run before merge.

I'll re-run them on the current head before merging.

@ovitrif

ovitrif commented Nov 24, 2026

Copy link
Copy Markdown
Collaborator Author

In 3.2.0: it fixes Spark retry settlement from the review of #1957, which ships in 3.2.0.

@ovitrif

ovitrif commented Nov 24, 2026

Copy link
Copy Markdown
Collaborator Author

@jvsena42

CI: e2e-tests-local - lightning_security and lnurl_transfer are red. … They need a re-run before merge.

Re-ran on 2d68d2f: all e2e shards pass. The failures came from the update spending balance modal, which synonymdev/bitkit-e2e-tests#316 now dismisses; the first run had checked out e2e main before it merged.

@pwltr pwltr left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Reviewed 2d68d2f.

Startup recovery uses the restored-hold marker to suppress the same event that send screens and Paykit use to settle.

Low: Reopen a still-pending Spark invoice after relaunch when channels now have enough capacity. The LDK path returns the existing Spark send as pending without clearing the marker. If the send settles after the screen's one-time lookup, either the SDK callback or the synced list can suppress the completion and leave the screen pending. An automatic allowance attempt can also stay open until a later recovery pass if its startup reads see pending. See LightningRepo.kt:1726 and SparkRepo.kt:727, :765, and :2103.

Low: A matching callback can announce an old failure during startup if it arrives after the list removes the marker and before the Activity write returns. Register suppression before the write can suspend. See SparkRepo.kt:727, :761, :765, and :2103.

Low candidate: Before the first sync, the app can hand a still-valid invoice to the SDK even if the old history read would have failed. This requires an invoice already paid elsewhere, no local hold or applicable restore guard, and a pre-sync storage failure. The base used the read to date failures and could also submit when the read succeeded. Whether this newly admitted submission can debit again depends on Breez SDK 0.28.3 handling on the direct Spark and SSP routes. See SparkRepo.kt:592 and :1680.

Low: If the retry's Activity write fails and the process exits before another refresh, the earlier failed row keeps its fee and timestamp because the hold is cleared and the retry's ownership survives only in memory. The recovery test also counts the failed upsert as satisfying the assertion. Extend it to check the successfully saved row after Synced. See SparkRepo.kt:647, :2156, and :2182, and SparkRepoTest.kt:5140.

Low: The foreground restart test goes through expiry for an unlisted send, which always emits failure. It would pass if every start marked restored holds for suppression. Use a listed terminal outcome or a matching SDK callback to exercise the first-start guard. See SparkRepoTest.kt:5167 and SparkRepo.kt:730.

Review details

Quick review
Model: Claude Opus 5.5
Reasoning effort: high

General review
Model: GPT-6.2 Sol
Reasoning effort: high

Combined review
Model: GPT-6.2 Sol
Reasoning effort: high

@ovitrif

ovitrif commented Nov 24, 2026

Copy link
Copy Markdown
Collaborator Author

@pwltr

Thanks. All five go into one follow-up PR, so this approved head stays as is:

Low: Reopen a still-pending Spark invoice after relaunch when channels now have enough capacity. The LDK path returns the existing Spark send as pending without clearing the marker.

Follow-up: the LDK path's pending answer will clear the restored-hold marker as payInvoice does.

Low: A matching callback can announce an old failure during startup if it arrives after the list removes the marker and before the Activity write returns.

Follow-up: the muted outcome's id will be claimed before the write.

Low candidate: Before the first sync, the app can hand a still-valid invoice to the SDK even if the old history read would have failed.

The refusal applies once the synced list is readable; before the first sync, master also sends without a list. The follow-up will check how 0.28.3 treats a paid invoice under a new key on both routes and refuse there too if it can debit again.

Low: If the retry's Activity write fails and the process exits before another refresh, the earlier failed row keeps its fee and timestamp

Follow-up: ownership will persist with the hold until the row saves, and the test will check the saved row after Synced.

Low: The foreground restart test goes through expiry for an unlisted send, which always emits failure.

Follow-up: the test will use a listed outcome so it exercises the first-start guard.

@ovitrif

ovitrif commented Nov 24, 2026

Copy link
Copy Markdown
Collaborator Author

Merging: approved on 2d68d2f and CI is green. pwltr's five Lows go to a follow-up PR; device tests 1–3 results will follow here.

@ovitrif
ovitrif merged commit cc3fde1 into master Nov 24, 2026
29 of 34 checks passed
@ovitrif
ovitrif deleted the fix/spark-retry-follow-ups branch November 24, 2026 13:56
@ovitrif

ovitrif commented Nov 24, 2026 •

Copy link
Copy Markdown
Collaborator Author

Device tests 1–3

Tested 2d68d2f (the merged head), dev debug build against a local Spark stack, Android 16 emulator. Amounts are exact leaf sums, since leaf swaps fail on the local stack; no "calculated R point" error appeared.

  • 1. Pay a 2 200 sat hold invoice over Spark, force-stop while Pending, cancel the invoice, relaunch → the row went from Pending to Failed (-2 210) and the balance came back; no "Payment failed" toast (none in the recording, and no failure event in the log after launch).
  • 2. Same with a 2 300 sat hold invoice, settled while closed → the row went from Pending to Sent (-2 311); no Sent sheet at launch.
  • 3. Send 2 100 sat over Spark, settled at once → no sync around +10 s after the send; the operator log shows only the post-send reads at +1–2 s and Spark's periodic sync every ~31 s. The app logs no sync lines of its own, so this was counted from the operator proxy.
Test 1: failed while closed Test 2: settled while closed Test 3: settled send
case1-hold-fail2x.mp4
case2-hold-settle2x.mp4
case3-normal-send-syncs2x.mp4

Recordings at 2x.

@jvsena42

Copy link
Copy Markdown
Member

Post-merge notes on 2d68d2f, for the follow-up PR.

Device results (emulator, local bitkit-docker spark stack, hold invoices from Alice; base 2c70a74):

  • Manual test 1 (hold, force-stop, fail, relaunch): base shows a "Payment Failed" toast at launch; PR shows no event or toast and one Failed row. PASS.
  • Manual test 2 (hold, force-stop, settle, relaunch): base logs PaymentSuccessful at launch but shows no Sent sheet; PR logs no event and shows one Sent row. PASS.
  • Manual test 3 (sync count, on 627b6d5): base runs a full sync about 13 s after the send, PR does not. In 90 s: base 2, PR 1.
  • Tap-to-dispatch: 1.3–2.7 s on both builds, single samples, about ±0.7 s noise. No regression seen.
  • Not run on 2d68d2f: manual test 3 and the failed-send regression cases (run on 627b6d5 only). The restart-after-cancel case is not driveable on this stack; the unit test covers it.

Delta review of fa7c56b and 2d68d2f: no HIGH or MEDIUM. The restart fix is complete, including wipe().

Out of scope, not introduced here: the node rail has no equivalent of the new refusal. earlierLightningSend (SparkRepo.kt:1721-1731) returns null, so the send proceeds, when Spark's synced list can't be read and no local started send exists. The "paid from another device, hidden by an unreadable list" case that fa7c56b closes on the Spark rail stays open when the same invoice goes over the node.

@ovitrif

ovitrif commented Nov 24, 2026

Copy link
Copy Markdown
Collaborator Author

@pwltr all five Lows from #2007 (review) are fixed in #2014. For the pre-sync case, spark-sdk 0.28.3 pays an invoice again under a new key on the Spark route, so a send before the first sync is refused when the list can't be read and uses the local list's answer when it can.

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.

bug: another attempt's failure can release a live spark retry

4 participants