Skip to content

fix(wasm): make whole vendored tailscale tree writable before patching#567

Merged
tale merged 1 commit into
tale:mainfrom
eccgecko:fix-ssh-wasm-chmod
Jun 18, 2026
Merged

fix(wasm): make whole vendored tailscale tree writable before patching#567
tale merged 1 commit into
tale:mainfrom
eccgecko:fix-ssh-wasm-chmod

Conversation

@eccgecko

Copy link
Copy Markdown
Contributor

Since c8b1a30 the tailscale-derp-port.patch now also modifies net/netcheck/netcheck.go. Since only vendor/tailscale.com/derp/derphttp was chmod'd writable, the patch was failing again on the read-only vendored file (a regression, since previously fixed by c4ac28f).

This commit changes the chmod to scope entire vendor-tree, so should future-proof patch from potential future regressions.

Since c8b1a30 the tailscale-derp-port.patch now also modifies net/netcheck/netcheck.go. Since only vendor/tailscale.com/derp/derphttp was chmod'd writable, the patch was failing again on the read-only vendored file (a regression since previously fixed by c4ac28f).

This commit changes the chmod to scope entire vendor-tree, so should future-proof patch from potential future regressions.
@eccgecko eccgecko requested a review from tale as a code owner June 18, 2026 02:59

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

✅ No new issues found.

Reviewed changes — broadens the chmod scope in the WASM SSH Nix build from just vendor/tailscale.com/derp/derphttp to the entire vendor/tailscale.com tree, so the tailscale-derp-port.patch can modify files anywhere in the vendored Tailscale sources.

  • Expand chmod writable scope to entire vendored Tailscale tree — the patch now touches net/netcheck/netcheck.go, which is outside the previous derp/derphttp scope. Making the whole vendor tree writable during the build phase is harmless and future-proofs against further patch changes.

Pullfrog  | View workflow run | Using DeepSeek Pro (free via Pullfrog for OSS) | 𝕏

@tale tale merged commit c7822e3 into tale:main Jun 18, 2026
2 of 3 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.

2 participants