Repository navigation
build: prepare litd v0.17.8 with Go 1.27.3 - #1440
Merged
Merged
Conversation
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
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.
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.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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.rc1and update the legacy subserversource pins without applying the broader btcsuite-v2 migration from #1438.
Loop and
looprpcboth use333ed1efccdd, so the generated clients matchthe upstream deposit and static-address loop-in cost/status fields. Pool
and Faraday use their merged Go-only release branches at
262af739b741and
b547baea0f95. The proto generator resolves Go pseudo-versions to theselected 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
26a170961cdfpassed 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-buildand canonical Docker
make lintpass. The shutdown regressions fail onthe 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.