Skip to content

chore: release 0.7.0-rc.82 - #142

Open
ovitrif wants to merge 3 commits into
mainfrom
chore/release-0.7.0-rc.82
Open

ovitrif wants to merge 3 commits into
mainfrom
chore/release-0.7.0-rc.82

Conversation

@ovitrif

@ovitrif ovitrif commented Nov 23, 2026 •

Copy link
Copy Markdown
Collaborator

Description

Out of Scope

  • A test for Node::start refusing a replaced store before it waits on detached work: it needs a node whose detached work is stuck in a VSS write. vss_replaced_node_refuses_to_start covers the refusal itself.

QA Notes

  • io::vss_store tests, vss_test included, passed against a local VSS server built without auth.
  • ./bindgen.sh built the Android libraries and the Swift xcframework; shasum -a 256 of LDKNodeFFI.xcframework.zip matches the checksum in Package.swift.

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)

Release

An unpolled write or removal future keeps its store current until it is dropped, so a write waiting behind another of its key is counted.

Verified: RUSTFLAGS="--cfg vss_test" cargo build --lib --tests
Verified: ./bindgen.sh built the Android libraries and the Swift xcframework; shasum -a 256 of LDKNodeFFI.xcframework.zip matches Package.swift
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 23, 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-23T22:01:44.554721Z 7af8c7e 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.

@talosmachina talosmachina 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.

No findings. Bumps the fork to 0.7.0-rc.82 to ship the VSS write fence from #140, and adds vss_a_write_counts_from_its_call. Reviewed 7af8c7e, full tier, static: the build helper could not verify the author's permission on this repo and fails closed, so I did not compile or run anything.

What I checked, and 4 candidates I ruled out

Read in full: the diff; in src/io/vss_store.rs, StoreFences, WriteGuard, StoreFence, VssStore::new, KVStore::write/remove, write_internal/remove_internal and the vss_test module.

Version checklist (AGENTS.md): Cargo.toml, Cargo.lock, both gradle.properties, pyproject.toml, Package.swift tag and checksum, and the CHANGELOG.md heading all move from rc.81 to rc.82. No rc.81 is left outside the changelog.

CI: no checks ran on this head. Every workflow here is workflow_dispatch only, so the vss-integration job did not run the new test.

Ruled out

  • The test passes without exercising the guard: KVStore::write and remove call begin_write() before they return the boxed future, and the guard moves into the async move. A future that is never polled still holds the guard until it is dropped, so the 20 ms start_generation times out while remove is alive and succeeds after it is dropped. The assertions match that.
  • Leak between tests through the global STORE_FENCES: the test uses a random store id, so its fence entry is its own.
  • block_in_place in VssStore::new under a plain #[test]: outside a runtime it runs the closure inline. The neighbouring vss_test tests already build stores the same way.
  • Runtime shutdown while a future is alive: both futures are dropped before store, so VssStore::drop shuts down a runtime with nothing pending from this test.

Not verified here: the tag v0.7.0-rc.82 and its release do not exist yet, so I could not check the Package.swift checksum against the uploaded LDKNodeFFI.xcframework.zip.

Merge confidence: 4/5, the new test was not built or run on this head (no CI on PRs here, and not built here).

@coreyphillips coreyphillips left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Two independent reviews.

worth doing, does not block

  • New test passes even if KVStore::write stops counting from its call site (src/io/vss_store.rs:1613-1622)
  • The regression test misses delayed write accounting (src/io/vss_store.rs:1616)
  • The new test fails the formatting check (src/io/vss_store.rs:1608-1610)

the reviewers disagree, your call

  • Package.swift points at a v0.7.0-rc.82 release that does not exist (Package.swift:6-8)

Comment thread Package.swift Resolved
Comment thread src/io/vss_store.rs Resolved
Comment thread src/io/vss_store.rs Resolved
Comment thread src/io/vss_store.rs Resolved
The write was dropped before the first check, so only the removal was asserted. Each now holds the fence on its own. Also formats the test.

Verified: RUSTFLAGS="--cfg vss_test" cargo test --lib io::vss_store against a local VSS server

@coreyphillips coreyphillips left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Rechecked after 1 new commit (1dd2f42). 1 blocking finding the reviewers disagree about.

addressed

  • New test passes even if KVStore::write stops counting from its call site (src/io/vss_store.rs:1613-1622). Fixed: At src/io/vss_store.rs:1613-1618 the test now checks start_generation times out while only write is alive, then again while only remove is alive. I confirmed this by mutation in a scratch copy with the schema I/O bypassed. HEAD passes. Moving KVStore::write's begin_write() into the returned future fails at the first unwrap_err (line 1614). The same change in KVStore::remove fails at the second (line 1618).
  • The regression test misses delayed write accounting (src/io/vss_store.rs:1616). Fixed: Same change and same check as point 2. The write is now checked on its own at src/io/vss_store.rs:1613-1615, before it is dropped. Delaying the write's begin_write() until the future is polled now makes the test fail at line 1614.
  • The new test fails the formatting check (src/io/vss_store.rs:1608-1610). Fixed: The constructor call at src/io/vss_store.rs:1608-1609 is reformatted, and cargo fmt --all -- --check now exits 0 on this checkout.

still open

  • Package.swift points at a v0.7.0-rc.82 release that does not exist (Package.swift:6-8). Package.swift now downloads https://github.com/synonymdev/ldk-node/releases/download/v0.7.0-rc.82/LDKNodeFFI.xcframework.zip, but that URL returns 404. If this merges as is, SwiftPM fails to resolve any checkout of main that includes this commit. What I checked: - gh release view v0.7.0-rc.82 returns release not found. - git ls-remote --tags origin 'v0.7.0-rc.8*' lists no v0.7.0-rc.82 tag. - curl -sIL on the URL above returns 404. The repo's release workflow says to tag and publish the release on the PR branch before merge, and to end the PR body with a ### Release link. The rc.81 PR (#139) did this: its release was published 10 minutes before the merge. This PR's body has no Release section. Until the zip is uploaded, nobody else can confirm that the checksum abb06ea3... in Package.swift matches the artifact. Publish the release from the final head commit with the zip whose shasum -a 256 matches, then add the link to the PR body. Nothing has changed for this yet. gh release view v0.7.0-rc.82 still says release not found, and git ls-remote --tags origin lists no rc.82 tag. The zip URL from Package.swift:6-8 returns 404, while the same request for rc.81 succeeds. The PR body still has no ### Release section. Your reply says the release will be published from the approved head before merge, which is the fix itself, not a reason the point is wrong. It closes once that release exists with a zip matching abb06ea3.... 1dd2f42 only touches a cfg(vss_test) test, so the zip built at 7af8c7e is still the right artifact for a tag on 1dd2f42.

@coreyphillips coreyphillips left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Rechecked after replies, with no new commit since 1dd2f42. 1 blocking finding the reviewers disagree about.

still open

  • Package.swift points at a v0.7.0-rc.82 release that does not exist (Package.swift:6-8). Package.swift now downloads https://github.com/synonymdev/ldk-node/releases/download/v0.7.0-rc.82/LDKNodeFFI.xcframework.zip, but that URL returns 404. If this merges as is, SwiftPM fails to resolve any checkout of main that includes this commit. What I checked: - gh release view v0.7.0-rc.82 returns release not found. - git ls-remote --tags origin 'v0.7.0-rc.8*' lists no v0.7.0-rc.82 tag. - curl -sIL on the URL above returns 404. The repo's release workflow says to tag and publish the release on the PR branch before merge, and to end the PR body with a ### Release link. The rc.81 PR (#139) did this: its release was published 10 minutes before the merge. This PR's body has no Release section. Until the zip is uploaded, nobody else can confirm that the checksum abb06ea3... in Package.swift matches the artifact. Publish the release from the final head commit with the zip whose shasum -a 256 matches, then add the link to the PR body. Codex still sees it: The local v0.7.0-rc.82 tag resolves to 1dd2f42e, and the supplied description contains the release link. I could not verify the archive required by Package.swift:6-8 or its checksum because GitHub was unreachable.

@piotr-iohk piotr-iohk 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.

QA review

Scope: full PR diff against its merge base, at 1dd2f42.

No new actionable code findings.

No actionable code findings. The PR releases 0.7.0-rc.82 (shipping the VSS write fence from #140) and adds the cfg(vss_test) test vss_a_write_counts_from_its_call.

  • Release: every file in the AGENTS.md version checklist moves from rc.81 to rc.82. The changelog keeps its single combined section and only the heading changes, which is the fork's documented convention. The v0.7.0-rc.82 release is published and its annotated tag resolves to the reviewed head. GitHub reports the LDKNodeFFI.xcframework.zip digest as sha256:abb06ea3…, which matches Package.swift.
  • New test: KVStore::write and KVStore::remove call fence.begin_write() before they return the boxed future. The guard moves into that future, so a future that has never been polled blocks start_generation until it is dropped. The test now checks the write and the removal separately (each 20 ms start_generation times out), then confirms the store is replaced once both are dropped. Moving either begin_write() into the deferred part would fail it. It uses a random store id, so it is isolated from other users of the global STORE_FENCES.

Earlier review threads: all four are marked resolved, and each fix holds at this head. The missing-release concern is fixed (the release exists with a matching zip). The write half of the test is now checked on its own. cargo fmt --all -- --check exits 0.

Validation: cargo fmt --all -- --check and rustfmt --check on src/io/vss_store.rs pass at the head. I could not compile or run the vss_test module: the sandbox proxy blocked the crates.io registry (403). No build, test or Rust CI workflow ran on this head; rust.yml and vss-integration.yml only run when started by hand. The only check on the head is the release-triggered Android Publish run, which does not compile cfg(vss_test) code. The author reports the io::vss_store tests passed against a local VSS server built without auth. That is their result, not one I observed. The remaining check is to run RUSTFLAGS="--cfg vss_test" cargo test io::vss_store against a VSS server, for example through the vss-integration workflow on this head.

Reviewer model: claude-opus-5-5
Reasoning effort: high

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.

4 participants