Skip to content

test: harden coverage and tidy post-v2 patrol findings - #164

Open
kooksee wants to merge 3 commits into
v2from
chore/patrol-coverage-deps-docs
Open

test: harden coverage and tidy post-v2 patrol findings#164
kooksee wants to merge 3 commits into
v2from
chore/patrol-coverage-deps-docs

Conversation

@kooksee

@kooksee kooksee commented Aug 4, 2026

Copy link
Copy Markdown
Contributor

Summary

  • Add unit tests for tunnelgateway (builder/auth/HTTP routing/register/P2P/link rewrite) plus foundation coverage for pkg/lava, pkg/netutil, gatewayutils, and resty helpers.
  • Log and skip failed binary metadata header decoding in pkg/gateway instead of silently inserting empty values; scrub leftover grpc_passthrough wording from architecture docs.
  • Bump fiber to v3.4 and funk to v2.0.5 (hold quic-go / pion/ice for now due to flaky ICE connectivity tests).

Test plan

  • go test ./core/tunnel/tunnelgateway/ ./clients/resty/ ./pkg/gateway/gatewayutils/ ./pkg/netutil/ ./pkg/lava/ ./pkg/gateway/ -count=1
  • CI lint + race tests on PR
  • Spot-check gateway binary-header warning path with an invalid -bin header

Made with Cursor

kooksee and others added 3 commits August 4, 2026 23:28
Add tunnelgateway/unit foundation tests, fix silent binary header drops,
scrub grpc_passthrough doc drift, and bump fiber/funk safely.

Co-authored-by: Cursor <cursoragent@cursor.com>
Extend tunnelgateway unit coverage for Forward/gRPC early exits and
status JSON, make debug metric snapshots JSON-friendly, and bump the
OpenTelemetry/prometheus stack.

Co-authored-by: Cursor <cursoragent@cursor.com>
Remove unused resty helpers/cookie jar, tidy wsbuilder dead Filter and
commented stubs, fix errcheck in gateway pipe tests, and cover tunnelagent
routing/merge plus zrpcs config lifecycle.

Co-authored-by: Cursor <cursoragent@cursor.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.

1 participant