Skip to content

Backport builder fixes v0.21.x - #11464

Merged
ziggie1984 merged 2 commits into
lightningnetwork:v0.21.x-branchfrom
starius:backport-builder-fixes-v0.21.x
Oct 30, 2026
Merged

ziggie1984 merged 2 commits into
lightningnetwork:v0.21.x-branchfrom
starius:backport-builder-fixes-v0.21.x

Conversation

@starius

@starius starius commented Oct 30, 2026

Copy link
Copy Markdown
Collaborator

Change Description

Backport #11066 to a release branch. This fixes build in some cases.

Steps to Test

See #11066

Pull Request Checklist

Testing

  • Your PR passes all CI checks.
  • Tests covering the positive and negative (error paths) are included.
  • Bug fixes contain tests triggering the bug to prevent regressions.

Code Style and Documentation

📝 Please see our Contribution Guidelines for further guidance.

Create and validate host cache directories before Docker bind mounts them.

On a fresh Go installation, Docker otherwise creates missing sources as
root. The release helper runs as the invoking user and cannot write
to those caches.
Mount a linked worktree's shared Git directory into the release helper
at its original path.

Its .git pointer otherwise resolves to a path absent from the container,
preventing tag checks and source archiving.

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

LGTM

@ziggie1984
ziggie1984 merged commit 3f413a6 into lightningnetwork:v0.21.x-branch Oct 30, 2026
40 of 46 checks passed
@starius
starius deleted the backport-builder-fixes-v0.21.x branch October 31, 2026 03:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants