Skip to content

deps: bump radiance to f59e3fe (Share My Connection peer core) - #8987

Merged
myleshorton merged 1 commit into
mainfrom
fisk/bump-radiance-smc
Aug 15, 2026
Merged

deps: bump radiance to f59e3fe (Share My Connection peer core)#8987
myleshorton merged 1 commit into
mainfrom
fisk/bump-radiance-smc

Conversation

@myleshorton

@myleshorton myleshorton commented Aug 15, 2026

Copy link
Copy Markdown
Contributor

Moves lantern main's radiance pin onto a main commit for the first time since the Share My Connection work started.

5559a407f59e3fe (v0.0.0-20260814212003-f59e3fe0a53b)

Why now

radiance#589 merged the peer-core stack into radiance main, so there's no longer a feature branch to trail.

The consequential part is what rides along: radiance#600, the client-side load report. The server-side per-peer client cap (lantern-cloud#3157, #3174) is already deployed, but it reads active_clients from the peer's heartbeat — and no released client sends it. Until this pin ships, lantern-cloud only ever sees the provisional counter it maintains itself, which is reset on every heartbeat. That bounds assignment rate (~N per 150s) rather than concurrency. This is the half that makes the cap mean what it says.

Risk

Low, and the peer code ships dormant:

Verification

  • go mod tidy produced zero transitive churn — only the two radiance lines in go.mod and their four in go.sum
  • go build -tags with_gvisor,with_quic,with_wireguard,with_utls,with_grpc,with_conntrack ./... → exit 0
  • Before merging radiance#589 I trial-merged main into it and ran the SmC packages (peer, unbounded, portforward, events, ipc, settings) — all green; re-ran against the real merge commit on radiance main, also green

Summary by CodeRabbit

  • Chores
    • Updated an internal dependency to a newer version for improved maintenance and compatibility.

radiance#589 merged the peer-core stack into radiance main, so main can now
pin a main commit instead of trailing it. This also brings in #600, which is
what makes the server-side per-peer client cap real: the peer reports the
number of distinct clients it is carrying on each heartbeat, and without that
report lantern-cloud only ever sees the provisional counter it maintains
itself, so the cap bounds assignment rate rather than concurrency.

The peer code ships dormant. applyPeerShare only runs when the peer_share
toggle appears in a settings diff and the setting reads false until the user
opts in, so nothing here turns a client into a peer.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Copilot AI lite review requested due to automatic review settings August 15, 2026 21:09
@coderabbitai

coderabbitai Bot commented Aug 15, 2026

Copy link
Copy Markdown

Review Change Stack

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro Plus

Run ID: 4af98a41-b27a-4711-8f57-487a6a52d2da

📥 Commits

Reviewing files that changed from the base of the PR and between ef9397b and 7b4f2f9.

⛔ Files ignored due to path filters (1)
  • go.sum is excluded by !**/*.sum
📒 Files selected for processing (1)
  • go.mod

📝 Walkthrough

Walkthrough

The direct github.com/getlantern/radiance dependency changes to a newer pseudo-version in go.mod.

Changes

Radiance dependency update

Layer / File(s) Summary
Update radiance module version
go.mod
The direct github.com/getlantern/radiance dependency changes from v0.0.0-20260814190822-5559a4073bf3 to v0.0.0-20260814212003-f59e3fe0a53b.

Estimated code review effort: 1 (Trivial) | ~2 minutes

Merge Risk: ⚪ Minimal · up to 7b4f2

This is a localized dependency-pin update with no actionable merge-blocking risk remaining after normal checks and review.

Possibly related PRs

Suggested reviewers: garmr-ulfr, jigar-f, wendelhime

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title clearly and concisely identifies the main change: updating the radiance dependency to commit f59e3fe.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch fisk/bump-radiance-smc

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

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

Updates the pinned github.com/getlantern/radiance dependency to a newer commit on radiance/main, enabling the peer-core stack (including client-side active_clients reporting) to ship from lantern main.

Changes:

  • Bump github.com/getlantern/radiance from v0.0.0-20260814190822-5559a4073bf3 to v0.0.0-20260814212003-f59e3fe0a53b.
  • Update go.sum checksums accordingly (no other module entries changed in the reviewed hunk).

Reviewed changes

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

File Description
go.mod Updates the required github.com/getlantern/radiance pseudo-version to the new main commit.
go.sum Replaces the old radiance checksums with the new version’s checksums.

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

@myleshorton
myleshorton merged commit 6afdb70 into main Aug 15, 2026
11 checks passed
@myleshorton
myleshorton deleted the fisk/bump-radiance-smc branch August 15, 2026 21:28
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