Skip to content

deps: bump radiance to include the closed-channel crash fix + backstop (amp#18, keepcurrent#8)#8842

Merged
myleshorton merged 1 commit into
mainfrom
fisk/bump-amp-closed-channel-fix
Jun 8, 2026
Merged

deps: bump radiance to include the closed-channel crash fix + backstop (amp#18, keepcurrent#8)#8842
myleshorton merged 1 commit into
mainfrom
fisk/bump-amp-closed-channel-fix

Conversation

@myleshorton

@myleshorton myleshorton commented Jun 7, 2026

Copy link
Copy Markdown
Contributor

What

Final hop of propagating the keepcurrent closed-channel crash fix (and its backstop) to the shipping client. Bumps github.com/getlantern/radiance:

  • 20260603 (a7fe2a28)20260608 (504b83603236)

which transitively pulls in both:

  • amp#18 (amp → a8629924577c) — removes the close(chDB) in amp's keepCurrent that races the keepcurrent Runner's send and crashes the client with panic: send on closed channel. The actual fix (Freshdesk #176970 / lantern-forum-cn Checking for public IP twice immediately on startup #1543, macOS v9 beta).
  • keepcurrent#8 (keepcurrent → 6b50f5857840) — byteChannel.UpdateFrom now recovers that panic and returns it as a sink error. Defense-in-depth backstop so no future consumer can reintroduce the crash.

Propagation chain (complete)

  1. amp#18 — the fix (merged)
  2. keepcurrent#8 — backstop (merged)
  3. kindling#38 — bump amp (merged)
  4. radiance#514 — bump amp+kindling (merged)
  5. radiance#515 — bump keepcurrent (merged)
  6. lantern ← this PR (bump radiance → ships both to the client)

Notes

  • go mod tidy run; go.mod + go.sum committed together. go build ./... passes.
  • Bumping radiance@main also catches lantern up to radiance main's other dep updates since 06-03 (grpc 1.79→1.80, golang.org/x/{text,term,tools}, genproto) — transitive, not from the fix itself.

🤖 Generated with Claude Code

Copilot AI review requested due to automatic review settings June 7, 2026 23:59

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

This PR updates the github.com/getlantern/radiance dependency to a newer revision that transitively includes the amp keepcurrent closed-channel crash fix (panic: send on closed channel), propagating the fix into the Lantern client.

Changes:

  • Bump github.com/getlantern/radiance to v0.0.0-20260607235716-af461fb2e56a.
  • Refresh go.mod / go.sum via go mod tidy, pulling updated transitive deps (e.g., amp/kindling, grpc, otel, x/*).

Reviewed changes

Copilot reviewed 1 out of 2 changed files in this pull request and generated no comments.

File Description
go.mod Updates radiance (and resulting indirect dependency versions) to propagate the crash fix into Lantern.
go.sum Updates module checksums to match the new dependency graph after the radiance bump/tidy.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Bumps github.com/getlantern/radiance 20260603 (a7fe2a28) -> 20260608
(504b836), pulling in transitively:
- amp#18 (amp -> a8629924577c): removes the close(chDB) that races the
  keepcurrent Runner and crashes the client with "send on closed channel"
  (Freshdesk #176970) — the actual fix.
- keepcurrent#8 (keepcurrent -> 6b50f5857840): recovers that panic in
  byteChannel.UpdateFrom as a sink error — defense-in-depth backstop.

Final hop of the propagation chain: kindling#38 -> radiance#514 (amp) +
radiance#515 (keepcurrent) -> here. go mod tidy run; go.mod + go.sum
committed together; go build ./... passes. Also catches lantern up to
radiance main's other dep updates (grpc 1.80, x/text/term/tools, genproto).

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@myleshorton myleshorton force-pushed the fisk/bump-amp-closed-channel-fix branch from 5200def to eb63459 Compare June 8, 2026 00:06
@myleshorton myleshorton changed the title deps: bump radiance to include the closed-channel crash fix (amp#18) deps: bump radiance to include the closed-channel crash fix + backstop (amp#18, keepcurrent#8) Jun 8, 2026
@myleshorton myleshorton merged commit 4e9a3ed into main Jun 8, 2026
10 checks passed
@myleshorton myleshorton deleted the fisk/bump-amp-closed-channel-fix branch June 8, 2026 00:18
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