Skip to content

test(web): 评估 e2e sessionData stub 与 refresh 契约对齐 #78

Description

@ghbvf

Source

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

Context

Cx3 legacy item: auth e2e sessionData() currently returns Record<string, unknown> instead of binding to the generated refresh contract. PR #65 intentionally did not change this because the stub is meant to stay lightweight and the e2e file currently avoids any @gocell/* imports.

Desired direction

Keep this as a low-priority tracking item. Revisit only if e2e helpers start importing workspace packages anyway, or if auth contract drift repeatedly escapes unit/type coverage.

Acceptance

  • Decision is documented in the e2e helper/test if it remains intentionally untyped.
  • If changed, the helper aligns with the generated auth refresh response shape without adding brittle cross-package coupling.
  • Existing auth cold-start e2e coverage remains readable and stable.

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