Skip to content

revert: WebTransport spike + dep off master (restore stdlib+quic-go invariant) - #62

Merged
MSD21091969 merged 1 commit into
masterfrom
feat/t260-wt-revert
Jul 21, 2026
Merged

revert: WebTransport spike + dep off master (restore stdlib+quic-go invariant)#62
MSD21091969 merged 1 commit into
masterfrom
feat/t260-wt-revert

Conversation

@MSD21091969

Copy link
Copy Markdown
Collaborator

P1 from the t260 review — your call, since you merged #59 deliberately.

PR #59 shipped the webtransport-go dep (+ transitive httpsfv) and ~250 LOC into every kernel binary, while the spike'''s own measurement showed it unjustified (reliable path ~61 Hz p95, Phase-5 gate stands). That broke the "stdlib + quic-go family only" invariant for a proven-unneeded pipe, off-by-default flag notwithstanding — a dep in go.mod is compiled in regardless of the flag.

What changed

  • Deleted webtransport.go, devcert.go, webtransport_test.go; removed the --wt-addr flag + startup block.
  • go mod tidy dropped webtransport-go + httpsfvgo.mod back to quic-go + qpack + golang.org/x/*.
  • docs/spike-p9-webtransport.md kept with a REVERTED banner; spike preserved in git history + the feat/webtransport branch (nothing lost).
  • CLAUDE.md flag table + conventions updated.

go build/vet/test ./... green.

If you'd rather keep the spike on master, close this — it'''s cleanly reversible either way. Not auto-merged.

authored-by: agent:claude-cowork.hp-z440 / session:sam.z440-cowork-workspace / t260-security-hardening

🤖 Generated with Claude Code

The spike (PR #59) merged its webtransport-go dependency (+ transitive httpsfv)
and ~250 LOC into every kernel binary while its own measurement showed it
unjustified — the reliable path sustains ~61 Hz p95 and the Phase-5 gate stands.
This broke the "stdlib + quic-go family only" invariant for a proven-unneeded
pipe. Per the t260 hardening review:

- deleted internal/transport/webtransport.go, devcert.go, webtransport_test.go
- removed the --wt-addr flag + startup block from cmd/moos/main.go
- go mod tidy dropped webtransport-go v0.10.0 + httpsfv v1.1.0 (go.mod back to
  quic-go + qpack + golang.org/x/*)
- docs/spike-p9-webtransport.md retained with a REVERTED banner; the spike is
  preserved in git history and on the feat/webtransport branch
- CLAUDE.md flag table + conventions updated

go build/vet/test ./... all green.

authored-by: agent:claude-cowork.hp-z440 / session:sam.z440-cowork-workspace / t260-security-hardening
Copilot AI review requested due to automatic review settings July 19, 2026 15:58

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

Reverts the P9 WebTransport/HTTP-3 datagram spike from master to restore the “stdlib + quic-go family only” dependency invariant for the kernel runtime.

Changes:

  • Removed the WebTransport spike listener implementation, its dev-cert helper, and its associated tests.
  • Removed the --wt-addr flag and startup path from cmd/moos/main.go.
  • Ran go mod tidy to drop webtransport-go and transitive httpsfv; updated docs/CLAUDE.md to record the revert.

Reviewed changes

Copilot reviewed 7 out of 8 changed files in this pull request and generated 1 comment.

Show a summary per file
File Description
internal/transport/webtransport.go Deleted the P9 WebTransport datagram spike server implementation.
internal/transport/webtransport_test.go Deleted spike-specific loopback and isolation tests.
internal/transport/devcert.go Deleted spike-only ephemeral TLS cert helper.
cmd/moos/main.go Removed --wt-addr flag and WebTransport listener startup block.
go.mod Dropped webtransport-go (and direct require block), returning to quic-go only.
go.sum Removed checksums for webtransport-go and transitive httpsfv.
docs/spike-p9-webtransport.md Added “REVERTED off master” banner while retaining spike record.
CLAUDE.md Updated flag table and dependency invariant notes to reflect the revert.

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

Comment on lines +9 to +11
> invariant. This doc is retained as the record; the code lives in git history
> and on the `feat/webtransport` branch. Re-land only behind a real high-rate
> producer and a re-measurement that beats the reliable baseline.
@MSD21091969
MSD21091969 merged commit 35d1f94 into master Jul 21, 2026
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