phase 4: drop stale gRPC nomenclature from integration tests
Phase 4 replaced the gateway's authenticated edge listener with a Connect-Go HTTP/h2c bootstrap that natively serves Connect, gRPC, and gRPC-Web. Sweep the integration suite so test names, comments, and helper docs match the new transport posture: rename TestUserAccount_GetThroughGatewayGRPC to TestUserAccount_GetThroughGatewayEdge, flip "authenticated gRPC" / "signed gRPC" / "gateway gRPC" comments to "authenticated edge", and align testenv doc strings. Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
This commit is contained in:
@@ -171,8 +171,8 @@ func (c *BackendInternalClient) Do(ctx context.Context, method, path string, bod
|
||||
// BackendUserClient hits backend's `/api/v1/user/*` endpoints
|
||||
// directly with `X-User-ID` set, mirroring what gateway does after
|
||||
// authenticated traffic verification. Used by scenarios whose
|
||||
// message_type is not registered in gateway's gRPC router (lobby
|
||||
// create, soft delete, etc.).
|
||||
// message_type is not registered in gateway's downstream router
|
||||
// (lobby create, soft delete, etc.).
|
||||
type BackendUserClient struct {
|
||||
BaseURL string
|
||||
UserID string
|
||||
|
||||
@@ -10,7 +10,7 @@ import (
|
||||
|
||||
// Platform aggregates a fully booted Galaxy stack: shared Docker
|
||||
// network, Postgres, Redis, mailpit, backend and gateway. Tests use
|
||||
// this struct to access HTTP/gRPC endpoints, mailpit and backend
|
||||
// this struct to access HTTP and authenticated-edge endpoints, mailpit and backend
|
||||
// admin without touching testcontainers directly.
|
||||
type Platform struct {
|
||||
Network string
|
||||
|
||||
@@ -12,7 +12,7 @@ import (
|
||||
)
|
||||
|
||||
// Session is a registered device session ready to drive the
|
||||
// authenticated gRPC surface.
|
||||
// authenticated edge surface.
|
||||
type Session struct {
|
||||
Email string
|
||||
DeviceSessionID string
|
||||
|
||||
Reference in New Issue
Block a user