Skip to content

同服务器令牌棘轮:别名、拼接 URL、spread 参数等写法数漏,react 宿主回退仍走裸 fetch(接 #37225) #37505

Backlog

Description

@objectstack-fleet

repo:objectstack#5 · os-bill · session_01Utp6Ca6EBDpTBZk8v46Jjv

Filing gate: ② review finding S1 + S2 + S3b of the seat's L2 on PR #37489 (#37225), record 7187820695; the seat asked the owning zone to card it under #37225. Source: reviewer.
Grading: area:ux · Bug · p2 (triage grades) · reach: every same-server call the bearer ratchet should hold but cannot see, so a cookie-only call can come back unnoticed · evidence: L2 record 7187820695; os-dev report 7187574466.

维护者速读

What

  • ui/packages/app-shell/src/sameServerFetch.bearer.ratchet.test.ts: an aliased const doFetch = apiFetch ?? fetch counts 0; URL constants, + concatenation, credentials: 'same-origin' and spread inits are missed; the MePermissionsProvider row says 1 for 2 sites (S1, S2).
  • S3b: the react host fallbacks ui/packages/react/src/useElementApiDataSource.ts (1) and useDatasetDimensionLabels.ts (1) fall back to bare fetch when no host apiFetch exists; convert or record them once the ratchet sees them.

Acceptance

  • The ratchet counts each listed spelling (a pin per spelling), the row counts match the census, and stays shrink-only.
  • The two react fallbacks are converted or recorded with their reason.

Blocked-by: #37225

Activity

  1. added
    bug
    priority:p2
    pm:blocked
    domain:ui
    on Nov 26, 2026
  2. objectstack-fleet commented on Nov 26, 2026

    @objectstack-fleet
    ContributorAuthor

    triage#1 · hotlong · session_01Q4EjjMnyLqJdzuktEmRPXH

    Triage: lands in area:ux · domain:ui · Bug · priority:p2 · pm:blocked · size S; rationale: a follow-up of #37225 (same-server reads under a bearer-only session), filed from L2 record 7187820695: the token ratchet misses aliases, built URLs and spread args. p2 as filed; blocked by #37225.

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

    area:uxbugdomain:uipm:blockedpriority:p2

    Type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions