Repository navigation
chore: bump ldk-node to 0.7.0-rc.80 - #1872
Conversation
Codex Review Summary: ✅ CompletedThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
[Medium impact] The supplied changes appear safe to merge; no blocking issue was found. SummaryUpdates
Reviews (1) · Last reviewed commit: "chore: bump ldk-node to 0.7.0-rc.80" · Reviewed by Greptile |
Regtest APKDownload bitkit-dev-debug universal APK (expires in 30 days). |
talosmachina
left a comment
There was a problem hiding this comment.
No findings. Bumps com.synonym:ldk-node-android from 0.7.0-rc.79 to 0.7.0-rc.80 (LDK 0.2.8, lightning-invoice 0.34.2) and adds one security changelog fragment. Reviewed cce0cfe, full tier (dependency manifest).
What I checked, and 3 candidates I ruled out
Upstream delta: synonymdev/ldk-node v0.7.0-rc.79...v0.7.0-rc.80 is three commits (synonymdev/ldk-node#134, a changelog line, the release commit); #134 touches only Cargo.toml, Cargo.lock and CHANGELOG.md, so the bindings surface is unchanged, matching the release note.
LDK 0.2.8 behaviour changes read against the app:
- Zero-conf splice acceptance on outbound channels removed: the app starts no splices and ignores
Event.SplicePending/Event.SpliceFailed(AppViewModel.kt:2471), andtrustedPeers0confis empty (LightningService.kt:134), so nothing here relied on it. RouteHop::maybe_announced_channelnow false for unknown route-hint hops: no reference inapp/src/main.- Changelog fragment: one fragment,
<issue>.security.mdinchangelog.d/next/, single sentence, as the repo's changelog rules ask; the 0.2.8 notes do list fixes for counterparty-triggered panics, invalid co-op close broadcast and LSPS2 DoS, so thesecuritycategory is accurate.
Build: not built here; per the Bitkit review policy an auto review does not run Gradle on a PR branch. Reasoned from the code, the upstream diff and CI.
CI at review time: build-and-test green (resolves and compiles against the published rc.80 artifact); lint, compose-ui / ui-tests and E2E build-local still running. Author's regtest device run (cases 1 to 3) is pending per the PR body.
Merge confidence: 4/5, a dependency bump of the Lightning node with lint, UI tests, E2E and the regtest device cases still outstanding at this head.
Reviewer model: claude-opus-5-5
Reasoning effort: Not exposed (the run metadata available to this reviewer reports the model but no effort setting)
jvsena42
left a comment
There was a problem hiding this comment.
Code scan at cce0cfe27: no findings. This is the Android side of synonymdev/bitkit-ios#1290, which I approved.
- The bump: only
ldk-node-androidmoves,0.7.0-rc.79→0.7.0-rc.80. rc.80 is LDK 0.2.8 on top of rc.79 (synonymdev/ldk-node#134 and #135, both reviewed). Persisted state is upgrade- and downgrade-safe:ChannelMonitorandChannelserialization is unchanged, andChannelManagergains one odd TLV. - Fixes: 0.2.8 fixes Electrum sync hiding transactions,
ChannelManagerdeserialization failures at startup, and peer-triggered panics, including one inMonitorUpdatingPersister. - Changelog: the
1870.security.mdfragment reads fine.
perf: relevant. On iOS, cold start was 8.42 s vs 7.86 s on master (+0.56 s, all of it in node build, where 0.2.8 adds the monitor-cleanup reads).
Device gate (partial): cce0cfe27 — not run yet. Node cold start against master on the emulator, plus an upgrade over a master install, are next. CI's Lightning e2e lanes cover channel open, receive and send.
Reviewer model: Claude Fable 5.2 (claude-fable-5-2), Claude Opus 5.5 (claude-opus-5-5)
Reasoning effort: not exposed
|
QA for cce0cfe: 🟢 Open a channel, receive and send Lightning paymentsOpen a channel, receive and send Lightning payments The bitkit-e2e-tests spec
|
pwltr
left a comment
There was a problem hiding this comment.
No findings at cce0cfe.
The only change is ldk-node-android 0.7.0-rc.79 → 0.7.0-rc.80. In synonymdev/ldk-node, rc.80 bumps lightning, lightning-liquidity, lightning-persister and lightning-transaction-sync to 0.2.8 and lightning-invoice to 0.34.2. It has no ldk-node API changes, so no Kotlin call sites need to change. The changelog.d/next/1870.security.md fragment matches.
I did not read the upstream LDK 0.2.8 changes line by line. CI is green at cce0cfe, including build-and-test, lint, detekt and the local e2e suites.
Review details
General review
Model: Claude Opus 5.5
Reasoning effort: high
jvsena42
left a comment
There was a problem hiding this comment.
Device gate at cce0cfe27: the node starts and upgrades cleanly on rc.80. Approving.
Cold start (Gate_Throwaway emulator, staging; a new wallet with no channels; builds alternated; host load 2–5):
| median | launch → Node started |
node build (Building node with → LDK node setup) |
start() |
|---|---|---|---|
| this PR (4 runs) | 8.84 s | 5.84 s | 1.58 s |
master 831c4d2a6 (5 runs) |
8.78 s | 5.82 s | 1.59 s |
No measurable difference on Android: the node-build segment differs by about 15 ms. The APKs' libldk_node.so differ, so the bump is in the build. With no channel monitors on this wallet, the archived-monitor cleanup had little to read. iOS measured +0.56 s in the same segment, so a wallet with several closed channels may still pay a little more. Both builds log the same WARN/ERROR set, with no VSS or read failures.
this PR:
18:16:25.366 VERBOSE [LightningService.kt:387] Building node with vssUrl: 'https://bitkit.stag0.blocktank.to/vss_rs_auth' ...
18:16:31.142 INFO [LightningService.kt:324] LDK node setup - LightningService
18:16:32.721 INFO [LightningService.kt:487] Node started - LightningService
master:
18:15:46.525 VERBOSE [LightningService.kt:387] Building node with vssUrl: 'https://bitkit.stag0.blocktank.to/vss_rs_auth' ...
18:15:52.342 INFO [LightningService.kt:324] LDK node setup - LightningService
18:15:53.919 INFO [LightningService.kt:487] Node started - LightningService
Upgrade over a master install (no wipe): pass. The node started with the same node ID and no new errors. Going back to master also started cleanly, 4 times.
Device gate: cce0cfe27 — node cold start and upgrade passed; perf: cold start 8.84 s (master 8.78 s); payment not run (no channel); iOS: synonymdev/bitkit-ios#1290 approved (+0.56 s there).
Reviewer model: Claude Opus 5.5 (claude-opus-5-5)
Reasoning effort: not exposed
Closes #1870
Twin: synonymdev/bitkit-ios#1290
Updates
ldk-node-androidto 0.7.0-rc.80, which bumps LDK to 0.2.8 (synonymdev/ldk-node#134).Description
com.synonym:ldk-node-androidfrom 0.7.0-rc.79 to 0.7.0-rc.80, a dependency-update release with no API changes.changelog.dfragment for the upstream security fixes.Design
N/A — no UI changes.
Preview
N/A
QA Notes
Setup
Regtest build.
Journeys
N/A — no user-visible behaviour change.
Manual Tests
N/A
Automated Checks
lightning.e2e.ts(@lightning_1) on a regtest emulator — a channel opens, the app receives 10,000 and 111 sats, sends two payments, restores from the recovery phrase and closes the channel (results).Evidence
./gradlew compileDevDebugKotlinpasses against the publishedcom.synonym:ldk-node-android:0.7.0-rc.80.Gaps
N/A