Repository navigation
chore: bump ldk-node to 0.7.0-rc.80 - #1290
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 dependency changes appear safe to merge; no actionable defect was found. SummaryBumps
Reviews (1) · Last reviewed commit: "chore: bump ldk-node to 0.7.0-rc.80" · Reviewed by Greptile |
talosmachina
left a comment
There was a problem hiding this comment.
No findings. Bumps ldk-node from 0.7.0-rc.79 to 0.7.0-rc.80 (LDK 0.2.8, lightning-invoice 0.34.2). Reviewed 72e915e, full tier (dependency manifest), static: iOS does not build on Linux, so this rests on the upstream diff and CI.
What I checked
- Pin matches the tag:
Package.resolvedrevisionb6335ecd86e9e9dc4e824dcb4b6065273572ca9dis whatv0.7.0-rc.80points to in synonymdev/ldk-node, and the old revisionfaddf6disv0.7.0-rc.79.project.pbxprojandPackage.resolvedagree on the version. - Binary checksum: downloaded
LDKNodeFFI.xcframework.zipfrom the rc.80 release; its SHA-2561090fab1...d4baequals thechecksumin the tag'sPackage.swift. - Upstream delta rc.79..rc.80: 4 commits, touching only
Cargo.toml/Cargo.lock(LDK crates to 0.2.8), version strings and the changelog. No change under the Swift bindings, so no API surface moves for the app.
Merge confidence: 4/5, no findings, but Run Tests, Run Integration Tests and build-local were still pending at review time and the regtest device run the body lists has not reported yet.
jvsena42
left a comment
There was a problem hiding this comment.
Code scan at 72e915ee: no findings. I reviewed this as an LDK dependency bump.
- What rc.80 carries:
v0.7.0-rc.79..v0.7.0-rc.80is LDK 0.2.8 (synonymdev/ldk-node#134, which I reviewed and approved) plus the release commit. The #133 merge in that range has an empty diff against rc.79. - Binary:
Package.swiftat the tag pins checksum1090fab1…d4ba, which matches theLDKNodeFFI.xcframework.ziprelease asset.Package.resolvedmoves only ldk-node, tob6335ecd. - Persisted state:
ChannelMonitorandChannelserialization is unchanged.ChannelManagergains one odd TLV, so upgrade and downgrade are format-safe. - Fixes: 0.2.8 fixes Electrum sync hiding transactions,
ChannelManagerdeserialization failures at startup, and peer-triggered panics.
perf: relevant. LDK 0.2.8's read_all_channel_monitors_with_updates first cleans archived monitor updates: two extra list calls, plus one per archived monitor, each a VSS round trip before the node starts.
Device gate (partial): 72e915ee — not run yet. Node cold start on this build vs master on the simulator, and a Lightning payment, are next.
Reviewer model: Claude Fable 5.2 (claude-fable-5-2), Claude Opus 5.5 (claude-opus-5-5)
Reasoning effort: not exposed
jvsena42
left a comment
There was a problem hiding this comment.
Device gate at 72e915ee: the node starts and upgrades cleanly on rc.80. Approving.
Cold start (iPhone 17 Pro simulator, staging regtest wallet with no channels; builds alternated; host load under 20 for the runs that count):
| run 1 | run 2 | run 3 | mean | |
|---|---|---|---|---|
this PR: launch → Node started |
8.34 s | 8.25 s | 8.68 s | 8.42 s |
master 2f697c14a: launch → Node started |
7.77 s | 7.96 s | 7.86 s | 7.86 s |
All of the 0.56 s difference is in Building node... → LDK node setup (5.57 vs 4.90 s), where 0.2.8 adds its monitor-cleanup reads. start() takes 1.58 s on both. That is about 7% on a wallet with no monitors. A wallet with several closed channels pays one more VSS list per archived monitor, which I couldn't measure here. Neither build logged a new WARN or ERROR, and there were no VSS or read failures.
this PR:
[2026-11-11 16:49:54.839 UTC] DEBUG: Building node...
[2026-11-11 16:50:00.408 UTC] INFOℹ️: LDK node setup
[2026-11-11 16:50:01.983 UTC] INFOℹ️: Node started
master:
[2026-11-11 16:50:33.289 UTC] DEBUG: Building node...
[2026-11-11 16:50:38.152 UTC] INFOℹ️: LDK node setup
[2026-11-11 16:50:39.732 UTC] INFOℹ️: Node started
Upgrade over a master install (no wipe): pass. The node started in 10.9 s with the same node ID and onchain=300000 lightning=0, and no new errors.
POST /channels and /cjit return 404 on staging), and the local LND is on a different regtest chain. The payment paths rest on the e2e lanes (e2e-tests-local - e2e was still running) and on the upstream 0.2.8 tests.
Device gate: 72e915ee — node cold start and upgrade passed; perf: cold start 8.42 s (master 7.86 s, +0.56 s in node build); payment not run (no channel).
Reviewer model: Claude Opus 5.5 (claude-opus-5-5)
Reasoning effort: not exposed
|
QA for 72e915e: 🟢 Open a channel, receive and send Lightning paymentsOpen a channel, receive and send Lightning payments The bitkit-e2e-tests spec
|
coreyphillips
left a comment
There was a problem hiding this comment.
Two independent reviews.
worth doing, does not block
- No security changelog fragment for the LDK 0.2.8 funds-loss fixes (changelog.d/next). The PR adds no
changelog.dfragment, but rc.80 exists to pull in LDK 0.2.8, and that release's Security section fixes several funds-loss vulnerabilities. Examples are #5559 (64-byte nonstandard txs ignored in electrum/esplora sync, enabling HTLC-claim theft), #5557 (a malicious peer hiding relevant on-chain txs during electrum sync) and #5561 (differing commitment txs signed at the same index). The repo already treats LDK security bumps as user-facing release notes. Commit 4f91cf6 addedchangelog.d/next/928.security.md("Updated the Lightning node with upstream security fixes."). The 2.5.1 hotfix lists "Updated LDK Node to 0.7.0-rc.66.1 for the upstream Lightning security fixes. #924". SeeCHANGELOG.md:184-191. CLAUDE.md letschore:PRs skip a fragment unless the change is user-facing. By that precedent this one is. I confirmed the omission by listingchangelog.d/nexton HEAD, which has no 1290 fragment. Suggested: onechangelog.d/next/1290.security.md(orhotfix/if maintainers want it in a patch release), e.g.Updated the Lightning node with upstream security fixes.
the reviewers disagree, your call
- PR body has a Twin placeholder and manual tests without stable IDs (general). Objection: The repository rules support the requested formatting, but I could not retrieve the PR description to verify the cited placeholder or missing IDs. I cannot confirm this finding from the checkout. Answer:
gh pr view 1290shows the body hasTwin: synonymdev/bitkit-android (to follow), which.agents/commands/pr.md:92-94rules out: it says to omit unconfirmed relationships, add no placeholders and useowner/repo#number. The manual tests read- [x] Regtest: open a channel ...with no1./2./3.IDs, which CLAUDE.md's Stable QA case IDs section requires. They are also pre-checked, although pr.md says to leave them unchecked. This is description hygiene only, so it is a nit.
Added
I removed the Twin placeholder (the Android PR will be linked once it is open) and numbered the manual tests |
coreyphillips
left a comment
There was a problem hiding this comment.
Rechecked after 1 new commit (5c223eb). Nothing blocking remains.
addressed
- No security changelog fragment for the LDK 0.2.8 funds-loss fixes (changelog.d/next). Fixed:
changelog.d/next/1290.security.md:1now reads "Updated the Lightning node with upstream security fixes." with a trailing newline. I ranscripts/collect-changelog.sh --target nexton an exported copy of HEAD in a temp directory. It exited 0 and wrote- Updated the Lightning node with upstream security fixes. #1290under Unreleased. The#1290suffix keeps it from being deduped against the older #928 entry.
still open
- PR body has a Twin placeholder and manual tests without stable IDs.
Twin: synonymdev/bitkit-android (to follow)is a placeholder..agents/commands/pr.md:91-94says to omit relationships that are not confirmed and to useowner/repo#number. No Android PR for this bump exists yet; only issue synonymdev/bitkit-android#1870 is open. The three manual tests are written as- [ ] Regtest: .... CLAUDE.md's Stable QA case IDs section wants- [ ] 1. ....pr.md:228also asks each manual step to name the missing capability that keeps it out of a journey. The author's QA comment already covers these flows, so adding IDs now would let that evidence be referenced by ID. Codex still sees it: The supplied body removes the placeholder and adds IDs, but prechecked cases and missing capability explanations still conflict with.agents/commands/pr.md:226-228. The 17:19 response does not rebut those requirements; GitHub connectivity blocked live verification.
The Capabilities table in |
coreyphillips
left a comment
There was a problem hiding this comment.
Rechecked after replies, with no new commit since 5c223eb. Nothing blocking remains.
addressed
- PR body has a Twin placeholder and manual tests without stable IDs. Fixed:
gh pr view 1290now showsTwin: synonymdev/bitkit-android#1872.gh pr view 1872 --repo synonymdev/bitkit-androidconfirms that PR is open and titled "chore: bump ldk-node to 0.7.0-rc.80". Manual Tests is nowN/A, so no IDs or pre-checked boxes are left. The regtest run sits under Automated Checks asran lightning.e2e.ts, which matches thepr.md:228-230rules, since Lightning channels are a listed capability.
|
Merged: approved by @coreyphillips and @jvsena42 on 5c223eb, checks green, regtest Lightning e2e passed (results). |
Closes #1289
Twin: synonymdev/bitkit-android#1872
Updates
ldk-nodeto 0.7.0-rc.80, which bumps LDK to 0.2.8 (synonymdev/ldk-node#134).Description
ldk-nodefrom 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, as earlier LDK bumps did.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 simulator — 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
xcodebuild -resolvePackageDependenciesresolves ldk-node 0.7.0-rc.80 from a clean package cache, binary target included.Gaps
N/A