Skip to content

deps: Integration only: pin matching lnd root and kvdb - #1641

Open
sputn1ck wants to merge 1 commit into
kon/ark-channel-lifecyclefrom
kon/ark-channel-runtime-dependencies
Open

sputn1ck wants to merge 1 commit into
kon/ark-channel-lifecyclefrom
kon/ark-channel-runtime-dependencies

Conversation

@sputn1ck

Copy link
Copy Markdown
Member

Integration only: do not merge on the personal lnd replacements.

This is a separately reviewable dependency base for #1191, not a supported release dependency. Against #1190 the only files changed are go.mod, go.sum and the corresponding module lint allow-list. Both personal replacements select the same revision, 0cc0299da78b6deb35d6d0c338982a0cb25d1576; mixing the root and kvdb revisions does not validate the integration.

Exit condition: first land the required recovery and idle-worker behavior upstream, select official versions of both github.com/lightningnetwork/lnd and github.com/lightningnetwork/lnd/kvdb, and remove both personal replacements and their temporary lint allowances. Verify the selected graph from an external main module with GOWORK=off and no replacements. Build native, mobile and WASM, and run both mixed-version default directions and the enabled daemon suite against those official versions. A fork-pinned test pass is not a release clearance.

Current fork versions: root v0.4.2-beta.0.20261124151740-0cc0299da78b, kvdb v0.0.0-20261124151740-0cc0299da78b. Go origin verification, module tidy and focused channel tests passed. The independently reviewable parser and general PRs do not depend on this branch.

Copilot AI balanced review requested due to automatic review settings November 24, 2026 16:24

Copilot AI 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.

Copilot was unable to review this pull request because the user who requested the review has insufficient remaining quota. Try requesting a review at a lower effort level.

An organization owner can choose the repository organization as the billing source for reviews requested by members with a paid Copilot license. Learn about Copilot code review billing.

@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-24T16:26:37.016715Z ce071a5 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.

@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: ce071a57df

ℹ️ 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".

Comment thread go.mod
github.com/btcsuite/btcd/wire/v2 v2.0.0
github.com/btcsuite/btclog/v2 v2.0.1-0.20250728225537-6090e87c6c5b
github.com/btcsuite/btcwallet v0.18.1-0.20261020173225-6bc3e2a4e6fc
github.com/btcsuite/btcwallet v0.18.1

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

P1 Badge Restore the btcwallet reorg-fix revision

When the embedded Esplora or Neutrino wallet encounters a reorg while its history is ahead of the sync cursor, downgrading the root btcwallet module to v0.18.1 removes the disconnect-during-sync handling deliberately pinned in f211b75. Keeping the newer wtxmgr module preserves the store-side check but not the wallet-side matching-disconnect fix, so orphaned records can remain in persistent wallet history; retain v0.18.1-0.20261020173225-6bc3e2a4e6fc while testing the lnd fork.

Useful? React with 👍 / 👎.

Keep the root runtime and portable database on the same recovery and
idle-worker revision for integration tests. Do not merge on these
personal replacements. Replace both with verified official upstream
versions before supporting a downstream release.
@sputn1ck
sputn1ck force-pushed the kon/ark-channel-runtime-dependencies branch from ce071a5 to 9955ff6 Compare November 24, 2026 17:11
@sputn1ck
sputn1ck force-pushed the kon/ark-channel-lifecycle branch from 3aa3937 to 7d2b7d5 Compare November 24, 2026 17:11
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.

2 participants