Skip to content

deps: bump domainfront (h2-capable) and kindling#536

Merged
myleshorton merged 1 commit into
mainfrom
fisk/bump-domainfront-h2
Jun 24, 2026
Merged

deps: bump domainfront (h2-capable) and kindling#536
myleshorton merged 1 commit into
mainfrom
fisk/bump-domainfront-h2

Conversation

@myleshorton

@myleshorton myleshorton commented Jun 24, 2026

Copy link
Copy Markdown
Contributor

Propagates the HTTP/2 fronting fix down the dependency chain (domainfront#9 →
kindling#40 → here).

What

  • github.com/getlantern/domainfrontv0.0.0-20260624004218-93591749d736
    (domainfront#9)
  • github.com/getlantern/kindlingv0.0.0-20260624005117-737fcffe2860
    (kindling#40)

Why

domainfront#9 makes the fronted round trip ALPN-aware: when a CDN edge
negotiates HTTP/2 (CloudFront, Aliyun, …) the request is now framed as HTTP/2
instead of sending HTTP/1.1 over the h2 connection and failing with
malformed HTTP response "\x00\x00\x12\x04...". radiance fronts through both
domainfront (directly) and kindling, so this fixes h2 edges across the board.
It also carries domainfront's utls v1.7.1 → v1.8.2 bump, already the version
radiance resolves (go 1.26 satisfies its Go-1.24-native ML-KEM requirement).

Compatibility

domainfront's public API (New, Config, Provider, Masquerade,
ParseConfig, WithConfigURL) is unchanged — the h2 work was internal to the
round-trip path — so this is a transparent dependency update. The go.mod/go.sum
change is limited to these two modules.

Verified: all packages build (cmd/lantern via -tags standalone, everything
else via -tags with_clash_api), go vet clean, and the kindling package
tests pass.

🤖 Generated with Claude Code

Summary by CodeRabbit

  • Chores
    • Updated internal dependency versions.

- domainfront -> v0.0.0-20260624004218-93591749d736 (getlantern/domainfront#9):
  makes the fronted round trip ALPN-aware, framing requests as HTTP/2 when
  the CDN edge negotiates h2 (CloudFront, Aliyun, ...) instead of speaking
  HTTP/1.1 over the h2 connection and failing with a malformed response.
- kindling -> v0.0.0-20260624005117-737fcffe2860 (getlantern/kindling#40):
  the matching kindling bump, which also carries domainfront#9.

domainfront's public API is unchanged, so this is a transparent dependency
update. The kindling/* and config consumer packages build under both build
tag sets and the kindling tests pass.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Copilot AI review requested due to automatic review settings June 24, 2026 00:58
@coderabbitai

coderabbitai Bot commented Jun 24, 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: d94f6dd3-29d0-4412-961f-feeb2f24b567

📥 Commits

Reviewing files that changed from the base of the PR and between a5465aa and 342ddef.

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

📝 Walkthrough

Walkthrough

Two direct Go module dependencies in go.mod are bumped to newer pseudo-versions: github.com/getlantern/domainfront and github.com/getlantern/kindling. No other directives, Go version, or replace rules are modified.

Changes

Dependency Version Bumps

Layer / File(s) Summary
Bump domainfront and kindling versions
go.mod
github.com/getlantern/domainfront and github.com/getlantern/kindling are updated to new pseudo-versions; github.com/getlantern/keepcurrent remains at its current version.

Estimated code review effort

🎯 1 (Trivial) | ⏱️ ~2 minutes

Poem

🐇 Hippity-hop, new versions arrive,
Two modules updated, ready to thrive!
domainfront and kindling leap to the fore,
A bump in go.mod — nothing less, nothing more.
This bunny approves with a wiggle and cheer! 🎉

🚥 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 specifically describes the main change: bumping two Go dependencies (domainfront and kindling) with a focus on the h2-capable fix.
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.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch fisk/bump-domainfront-h2

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 Radiance’s dependency chain to pick up the HTTP/2 (ALPN-aware) fronting fix by bumping domainfront and kindling to the referenced June 24, 2026 pseudo-versions.

Changes:

  • Bump github.com/getlantern/domainfront to v0.0.0-20260624004218-93591749d736.
  • Bump github.com/getlantern/kindling to v0.0.0-20260624005117-737fcffe2860.
  • Refresh go.sum checksums accordingly.

Reviewed changes

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

File Description
go.mod Updates required versions for domainfront and kindling to the new pseudo-versions.
go.sum Updates module and go.mod hashes for the bumped dependencies.

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

@myleshorton myleshorton merged commit 955f5cb into main Jun 24, 2026
4 checks passed
@myleshorton myleshorton deleted the fisk/bump-domainfront-h2 branch June 24, 2026 01:04
myleshorton added a commit to getlantern/lantern that referenced this pull request Jun 24, 2026
Propagates the HTTP/2 fronting fix down to the client:
- radiance    -> v0.0.0-20260624010426-955f5cbfe595 (getlantern/radiance#536)
- domainfront -> v0.0.0-20260624004218-93591749d736 (getlantern/domainfront#9, indirect)
- kindling    -> v0.0.0-20260624005117-737fcffe2860 (getlantern/kindling#40, indirect)
- lantern-box -> v0.0.95 (transitive; now required by radiance#536)

domainfront#9 makes the fronted round trip ALPN-aware — it frames requests
as HTTP/2 when the CDN edge negotiates h2 (CloudFront, Aliyun, ...) instead
of speaking HTTP/1.1 over the h2 connection and failing with a malformed
response. API-compatible. Ran go mod tidy and committed go.mod+go.sum
together so gomobile resolves lantern-box v0.0.95 (not a stale pin).

Verified: full Go build under the CI tag set (CGO_ENABLED=1, with_gvisor/
with_quic/with_wireguard/with_utls/with_grpc/with_conntrack), go vet, and
lantern-core tests all pass.

Co-authored-by: Claude Opus 4.8 <noreply@anthropic.com>
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