Skip to content

build: prepare litd v0.17.8 with Go 1.27.3 - #1440

Merged
Roasbeef merged 10 commits into
masterfrom
build/legacy-release-deps
Oct 22, 2026
Merged

Roasbeef merged 10 commits into
masterfrom
build/legacy-release-deps

Conversation

@Roasbeef

@Roasbeef Roasbeef commented Oct 21, 2026 •

Copy link
Copy Markdown
Member

In this PR, we prepare litd v0.17.8 and build the release binaries with Go
1.27.3. We pin LND to v0.21.5-beta.rc1 and update the legacy subserver
source pins without applying the broader btcsuite-v2 migration from #1438.

Loop and looprpc both use 333ed1efccdd, so the generated clients match
the upstream deposit and static-address loop-in cost/status fields. Pool
and Faraday use their merged Go-only release branches at 262af739b741
and b547baea0f95. The proto generator resolves Go pseudo-versions to the
selected commit instead of falling back to the preceding tag.

These public commit pins are valid release inputs. Separate official
Loop, Pool, Faraday and tapd releases do not block this litd release.
Taproot Assets remains at v0.8.6 and is compiled with the same Go 1.27.3
toolchain as the rest of the binary. The existing protobuf, migrate,
WebSocket and local patched TLV replacements remain intact.

We also align Docker and CI with Go 1.27.3 and migrate the custom linter
to golangci-lint v2.15.0 without dropping the prior check set. The final
version commit sets litd and litcli to 0.17.8 and moves the unreleased
entries into the 0.17.8 notes, leaving the published 0.17.7 notes intact.

Sub-server shutdown

We keep error consumers alive until sub-server shutdown finishes, and we
clean up initialized sub-servers even after they report a runtime error.
Stopping the consumer first can fill its error channel while a producer's
Stop method waits for that producer to finish. Startup readiness is
published before error monitoring begins so a queued error cannot be
overwritten by a later running-state notification.

Validation

The dependency candidate at 26a170961cdf passed the full CI matrix,
including lint, RPC generation, unit tests, cross-compilation and the
SQLite, Postgres and bbolt integration suites. One bbolt cleanup timeout
passed on a single failed-job retry without source changes or test skips.

On the shutdown-fix candidate, Go 1.27.3 make unit, make go-build
and canonical Docker make lint pass. The shutdown regressions fail on
the old implementation and pass after the fix; both shutdown and startup
ordering tests also pass 100 race-detector repetitions. The local bbolt
integration cases for integrated mode, super-macaroon startup and large
HTTP headers pass with the fix. Both binaries report version 0.17.8.

The full four-tranche bbolt integration suite also passed locally before
the fix, so the CI shutdown failure is intermittent. The lifecycle bugs
are reproduced by the new focused tests; the exact CI hang was not
observed under a local debugger. Full CI, including all three database
backends, is rerunning on 7bb255786075.

In this commit, we pin LND to v0.21.5-beta.rc1 and use the public
Loop release-preparation commit. We select looprpc from the same
commit because the new Loop code requires its on-chain cost fields.

The remaining legacy subservers stay on their published versions
until their Go-only release branches are ready.
In this commit, we remove the old Pool and Faraday checksums left
behind after pinning their merged release-branch revisions. This
keeps the module tidy check clean without changing selected versions.
@Roasbeef
Roasbeef marked this pull request as ready for review October 21, 2026 22:41
In this commit, we bump the litd and litcli version to 0.17.8 while keeping the tested dependency commit pins intact. Standalone dependency releases are separate from this binary release.

We move the unreleased Go update and SQL error notes into the 0.17.8 release notes, leaving the published 0.17.7 notes unchanged.
@Roasbeef Roasbeef changed the title build: update legacy deps and pin LND 0.21.5 RC build: prepare litd v0.17.8 with Go 1.27.3 Oct 21, 2026
In this commit, we keep the sub-server error consumer alive until
producer shutdown finishes. Closing it first can fill the error
channel while Stop waits for the producer, preventing litd from
exiting.

A runtime error changes readiness, not the obligation to clean up a
successfully initialized server. We publish startup readiness before
the error watcher starts so a queued error cannot be overwritten by
a later running-state update.

We add regressions for error bursts during Stop, cleanup after a
runtime error, and buffered startup errors.
@Roasbeef
Roasbeef merged commit b83c2eb into master Oct 22, 2026
22 checks passed
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.

1 participant