Skip to content

test(web): 用 HTTPS dev proxy 提升 __Host-gocell_rt e2e 保真度 #77

Description

@ghbvf

Source

From PR #65 review follow-up: #65 (comment)

Context

Cx3 legacy item: PR #65 e2e uses a plain gocell_rt cookie because localhost over plain HTTP cannot set the real __Host-gocell_rt cookie (Secure + __Host- constraints). The test comment documents the limitation, but fidelity is lower than production cookie behavior.

Desired direction

Introduce an HTTPS-capable dev/e2e proxy or equivalent test harness so auth e2e can exercise the real __Host-gocell_rt cookie shape.

Acceptance

  • Auth cold-start e2e can run against HTTPS locally/CI.
  • The test uses __Host-gocell_rt with Secure-compatible behavior instead of the plain fallback name.
  • Existing no-cookie and cookie-refresh scenarios remain covered.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    frontend前端 gocell-webpkg/webapps/web 装配层priority/p3低优先级 / backlog

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions