Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
27 commits
Select commit Hold shift + click to select a range
30c7b43
deps: bump broflake and lantern-box for pairing attribution
Oct 30, 2026
872f3f0
helper: in-memory LiveTracker for per-friend connected status
Oct 30, 2026
72c662f
peer: attribute connections to helper pairings
Oct 30, 2026
9ed5c77
unbounded: carry each slot's helper pairing
Oct 30, 2026
11e5bc7
ipc: GET /helper/live for the volunteer's per-friend status
Oct 30, 2026
82b9159
helper: sample live traffic when it moves, not when it is read
Oct 30, 2026
9c5ddb5
peer: order live tracking against the session's end
Oct 30, 2026
8b89ee5
helper: start the linger when the window crossed the threshold
Oct 30, 2026
8fb2bdb
peer: attribute streams accepted before their pairing's groups
Oct 30, 2026
01790b8
peer: relabel an IP late only for its latest stream
Oct 30, 2026
058db6f
comments: tighten and correct the live-status documentation
Oct 30, 2026
d32fa42
peer: say which events trackPairing leaves untracked
Oct 30, 2026
cec72d6
helper: date a disconnect at the linger's end
Oct 30, 2026
adc8739
peer: report a stream's own pairing on its close
Oct 30, 2026
09697a4
peer: replace the pairing map only once the inbound holds the set
Oct 30, 2026
f8e3131
peer: say the pairing map follows the set the inbound holds
Oct 30, 2026
6207dee
peer: correct the pairing map, conns and commit docs
Oct 30, 2026
a63d8f3
deps: pin lantern-box v0.0.184 and broflake to their merges
Oct 31, 2026
9584430
peer: publish pairing groups before the inbound accepts their IDs
Oct 31, 2026
65085ae
helper: settle state before new bytes, skip sleep gaps, keep monotoni…
Oct 31, 2026
aabb94d
helper: measure the sampling gap on the wall clock
Oct 31, 2026
443c55c
peer: correct the listener registration and rollback comments
Oct 31, 2026
836c902
helper: give the tracker a wall clock of its own
Oct 31, 2026
46929cf
helper: trim the sleep-gap comments
Oct 31, 2026
0c19375
helper, peer: age live status through sleep; keep groups on a repeate…
Oct 31, 2026
529ab8b
helper, peer: tighten the sleep and repeated-groups comments
Oct 31, 2026
837e8fd
helper: scope the sleep-clock comments to their declarations
Oct 31, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions backend/radiance.go
Original file line number Diff line number Diff line change
Expand Up @@ -2016,6 +2016,12 @@ func (r *LocalBackend) HelperActivity() helper.Activity {
return r.helperActivity.Today()
}

// HelperLive is whether each helper pairing's friend is connected to this
// volunteer now.
func (r *LocalBackend) HelperLive() helper.LiveSnapshot {
return helper.DefaultLive.Snapshot()
}

// SetHelperRelayForTest sets the relayer HelperRelay uses, for tests of the
// IPC route, which cannot build a full backend.
func (r *LocalBackend) SetHelperRelayForTest(rl *helper.Relayer) {
Expand Down
6 changes: 3 additions & 3 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -36,11 +36,11 @@ require (
github.com/Microsoft/go-winio v0.6.2
github.com/alexflint/go-arg v1.6.1
github.com/getlantern/amp v0.0.0-20260606002220-a8629924577c
github.com/getlantern/broflake v0.0.0-20261030194216-3ae437b4c1a6
github.com/getlantern/broflake v0.0.0-20261031023630-d3b5e0b34b68
github.com/getlantern/common v1.2.1-0.20261028190346-77afb53a5b63
github.com/getlantern/domainfront v0.0.0-20261026202828-9727b2f2a34a
github.com/getlantern/kindling v0.0.0-20261026211804-dac6d561f52e
github.com/getlantern/lantern-box v0.0.182
github.com/getlantern/lantern-box v0.0.184
github.com/getlantern/pluriconfig v0.0.0-20251126214241-8cc8bc561535
github.com/getlantern/publicip v0.0.0-20260328175246-2c460fe80c6b
github.com/getlantern/semconv v0.0.0-20261028170058-373fcfda8972
Expand Down Expand Up @@ -127,7 +127,7 @@ require (
github.com/getlantern/algeneva v0.0.0-20260731172949-952f13725b7b // indirect
github.com/getlantern/keepcurrent v0.0.0-20261009194109-22f33eaeac6e // indirect
github.com/getlantern/lantern-water v0.0.0-20260520145825-958775d51395 // indirect
github.com/getlantern/samizdat v0.0.3-0.20261027215106-50f438518169 // indirect
github.com/getlantern/samizdat v0.0.3-0.20261031023545-1248df926631 // indirect
github.com/getlantern/twiddle v0.0.0-20260914204124-f698a0d67d2f // indirect
github.com/go-chi/chi/v5 v5.2.5 // indirect
github.com/go-json-experiment/json v0.0.0-20250813024750-ebf49471dced // indirect
Expand Down
12 changes: 6 additions & 6 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -229,8 +229,8 @@ github.com/getlantern/algeneva v0.0.0-20260731172949-952f13725b7b h1:3wQsYZSl/Uv
github.com/getlantern/algeneva v0.0.0-20260731172949-952f13725b7b/go.mod h1:PrNR8tMXO26YNs8K9653XCUH7u2Kv4OdfFC3Ke1GsX0=
github.com/getlantern/amp v0.0.0-20260606002220-a8629924577c h1:ZzxuhIWO295y4eE6wPYUq8Smntlgg+y39L5OOyMJY+k=
github.com/getlantern/amp v0.0.0-20260606002220-a8629924577c/go.mod h1:b5teAOFT+vpBqc2CHoz74QTEM15iOv1PLdQogwXcfrM=
github.com/getlantern/broflake v0.0.0-20261030194216-3ae437b4c1a6 h1:506tYeA81D+BBSlpKyqVgpYkfoH7CBHUNT/ry7HlrTA=
github.com/getlantern/broflake v0.0.0-20261030194216-3ae437b4c1a6/go.mod h1:wIe3Pq0VMMADBiKdW2MUV0EW6veThHMeKuJFvmcGPc4=
github.com/getlantern/broflake v0.0.0-20261031023630-d3b5e0b34b68 h1:dB9/uchWa2TP0nymr67rY0bMUOx5tMh7ZZl7h4ge1ZY=
github.com/getlantern/broflake v0.0.0-20261031023630-d3b5e0b34b68/go.mod h1:wIe3Pq0VMMADBiKdW2MUV0EW6veThHMeKuJFvmcGPc4=
github.com/getlantern/common v1.2.1-0.20261028190346-77afb53a5b63 h1:wGTbuemnpn7T39NJbRLV69OeaNb08G+4FedAKCD1Yec=
github.com/getlantern/common v1.2.1-0.20261028190346-77afb53a5b63/go.mod h1:9iL78jR5kZqr0E7oPxi38o6gPMhVa5dJBC5ngUgHzdg=
github.com/getlantern/context v0.0.0-20220418194847-3d5e7a086201 h1:oEZYEpZo28Wdx+5FZo4aU7JFXu0WG/4wJWese5reQSA=
Expand All @@ -249,8 +249,8 @@ github.com/getlantern/keepcurrent v0.0.0-20261009194109-22f33eaeac6e h1:iJfNXnhg
github.com/getlantern/keepcurrent v0.0.0-20261009194109-22f33eaeac6e/go.mod h1:ag5g9aWUw2FJcX5RVRpJ9EBQBy5yJuy2WXDouIn/m4w=
github.com/getlantern/kindling v0.0.0-20261026211804-dac6d561f52e h1:gmpp6m6i/qxbOEiirSgeRYf4m3NfSZIlYfNY66MXddU=
github.com/getlantern/kindling v0.0.0-20261026211804-dac6d561f52e/go.mod h1:AQdjYiOX4FQgHP6f6J/GUXgNb++U6ejXgt5JM3UZvaU=
github.com/getlantern/lantern-box v0.0.182 h1:pV6+mQjJT5xQelBOaZ93Jg26AcuOJYTtZfH5NaFx09U=
github.com/getlantern/lantern-box v0.0.182/go.mod h1:uACkGBbcGj9G8RXwKrFGl/kN6FV/ayzCX2nIjciT0oQ=
github.com/getlantern/lantern-box v0.0.184 h1:xslToE04RVt4Z6nohSveeteaV4FkpGl3Tny1XWY7n38=
github.com/getlantern/lantern-box v0.0.184/go.mod h1:zEuBNepQnfk1BTFT2l3pRSgwiOAnoNndXDRMqAdQCvo=
github.com/getlantern/lantern-water v0.0.0-20260520145825-958775d51395 h1:grfGavAUp2E9w9ZoJuM3FyWyQ0sCJ64V4ZMKtZKRqTc=
github.com/getlantern/lantern-water v0.0.0-20260520145825-958775d51395/go.mod h1:3JpJgwi4KEI6rS9loOAvcBp+F2jP65d0tTg2GQcTPBU=
github.com/getlantern/ops v0.0.0-20231025133620-f368ab734534 h1:3BwvWj0JZzFEvNNiMhCu4bf60nqcIuQpTYb00Ezm1ag=
Expand All @@ -261,8 +261,8 @@ github.com/getlantern/pluriconfig v0.0.0-20251126214241-8cc8bc561535 h1:rtDmW8YL
github.com/getlantern/pluriconfig v0.0.0-20251126214241-8cc8bc561535/go.mod h1:WKJEdjMOD4IuTRYwjQHjT4bmqDl5J82RShMLxPAvi0Q=
github.com/getlantern/publicip v0.0.0-20260328175246-2c460fe80c6b h1:gMYJzEhLrmIqQ+JnjiYNm+UyUDalK3WUmVyecFwmV5g=
github.com/getlantern/publicip v0.0.0-20260328175246-2c460fe80c6b/go.mod h1:NpfXdK4ldEKkjQ4P1R+DBF4ua5VFOlxmgHROTnYrApg=
github.com/getlantern/samizdat v0.0.3-0.20261027215106-50f438518169 h1:HdyX8+/hCGO3zYsyN98Hw5I/8ne3c0WLQAFfTzPXtuc=
github.com/getlantern/samizdat v0.0.3-0.20261027215106-50f438518169/go.mod h1:uEeykQSW2/6rTjfPlj3MTTo59poSHXfAHTGgzYDkbr0=
github.com/getlantern/samizdat v0.0.3-0.20261031023545-1248df926631 h1:R26Ya7kJpA5LafZ72FsJGovwQGfzaOMRsk7gF6vy1H0=
github.com/getlantern/samizdat v0.0.3-0.20261031023545-1248df926631/go.mod h1:uEeykQSW2/6rTjfPlj3MTTo59poSHXfAHTGgzYDkbr0=
github.com/getlantern/semconv v0.0.0-20261028170058-373fcfda8972 h1:DSaI15cQZ4MdMnTc70rnE1mxNdzatkJwSvkHuIV+mRs=
github.com/getlantern/semconv v0.0.0-20261028170058-373fcfda8972/go.mod h1:GkPT5P9JoOTIRXRmFWxYgu1hhXgTFFTNc2hoG7WQc3g=
github.com/getlantern/sing-box-minimal v1.13.20-0.20261019115333-624aa48e0252 h1:p6tbxiX1SHqo1FwO9l1uYerSSaMLt/R78QtLIScpP54=
Expand Down
Loading
Loading