Skip to content

ux(setup): 平台 SSO 后落地 Setup System Overview(全 0 审计仪表盘)— 新 builder 应落 /_console/home;Total Users 显示 0 #3083

Closed as not planned

Description

@os-zhuang

现象(staging E2E 2026-07-17,cloud 平台 SSO 进入新环境)

新 builder 通过「Continue with ObjectStack」进入刚创建的环境,落地页是 Setup 应用的 System Overview(Platform health / audit 仪表盘)——所有指标为 0,与「开始搭建应用」的心智完全错位。环境的 /_console/home(有「用 AI 搭建 / 问 AI / 从模板开始 / Your apps」)才是合适的第一屏。

另:System Overview 的 Total Users 显示 0,而环境里至少有 1 个 JIT 用户(统计口径基于审计事件?应基于 sys_user count)。

影响

P2 — ADR-0075(post-login landing 由 metadata 声明,「每层的 home = 该层的职责」)在 env 层的落地缺口:SSO callback 后的默认路由解析到了 Setup 仪表盘而非 env home。

修复方向

  1. 平台 SSO callback 落地 /_console/home(或 env 声明的 landing page),不要落第一个 app 的第一个 dashboard。查:callbackURL 的默认值(objectui 登录组件传什么)与 console 默认路由解析顺序。
  2. System Overview「Total Users」改为真实 sys_user 计数。

🤖 Generated with Claude Code

Activity

  1. os-zhuang commented on Jul 17, 2026

    @os-zhuang
    ContributorAuthor

    本地 rig 复测:落地页症状未复现(2026-07-17)

    在本地 prod-like rig(cloud+objectos worktree,framework 含 #3080,--with-ui overlay)上,通过「Continue with ObjectStack」平台 SSO 进入环境,两次(新注册用户 + 平台 admin)都正确落到 /_console/home——即 env 的 AI-build home,不是 Setup System Overview。

    含义:#3083 的「落 Setup 仪表盘」症状可能是 staging 特有(app 顺序 / landing metadata / 数据差异),不是通用路由缺陷。建议:不要盲改 objectui RootRedirect 或 sso-exchange 的 next——先在 staging 上抓一次真实 SSO 回调链的 302 序列(callbackURL → callback → 落地),对比本地为何不同,再定位。Total Users=0 仍待带数据的活体复现(本地 rig 会话在长跑后 auth 退化,未能取到干净读数)。

    🤖 Generated with Claude Code

  2. added
    finding
    on Aug 5, 2026
  3. os-zhuang commented on Aug 5, 2026

    @os-zhuang
    ContributorAuthor

    分诊:finding(观察类持有,不入派发队列)。

    • 为什么不入队:07-17 的本地 prod-like rig 复测未复现落地页症状(两种用户均正确落 /_console/home),复测评论已明令「不要盲改 RootRedirect / sso-exchange」—— 下一步是 staging 上抓一次真实 SSO 回调链的 302 序列,这是环境侦查动作,不是可派发的代码缺陷;Total Users=0 同样待带数据的活体复现。说不出修复落在哪个文件的单不具备入队条件。
    • 为什么不关:ADR-0075 在 env 层的落地缺口这个疑点仍然成立,staging 与本地的差异(app 顺序 / landing metadata / 数据差异)未排除;留 finding 等下次 staging E2E 窗口复测后再定级。
    • 落点未定:可能在 objectui(RootRedirect)、cloud(sso-exchange 的 next)或 setup app 统计口径,复现前不打 domain/repo 标签。
    • 查重:三仓无 SSO 落地页 / Total Users 影子单。

    本评论来自分诊座位 Routine(#5474 试点),不构成认领。


    Generated by Claude Code

  4. claude commented on Aug 6, 2026

    @claude
    Contributor

    发现分诊轮:持有(留 finding)。⛔ 本轮仍不打 domain:* —— 这是明示结论,不是遗漏。

    • 为什么不可打域:Anchoring rule 要求域标签等于「修复落点的包」,而本单当前的下一步是环境侦查(在 staging 抓一次真实 SSO 回调链的 302 序列),不是代码改动;候选面同时横跨 objectui(RootRedirect)与 cloud(sso-exchange),而 07-17 的本地 prod-like rig 复测两种用户都未复现。说不出修复落在哪个文件 = 还没分诊完 —— 按规则此时不得猜标签,repo:objectui / repo:cloud 任选其一都是伪精度。
    • 为什么不关(not planned):ADR-0075 在 env 层的落地缺口这个疑点仍成立,staging 侧未被证伪;Total Users=0 同样待带数据的活体复现。关掉会丢掉一条尚未证伪的线索。
    • 重启条件(本轮明确化,原判级只写了「下一步」):① staging 上抓到 302 序列并定位到某一侧代码 ⇒ 立刻可打域/路由标签并晋级;② 或再次有人在真实环境复现落地页症状(带截图/时间戳)⇒ 同上;③ 若 SSO 落地链在别的单里被整体重写,本单前提失效 ⇒ 复评关闭。
    • ⚠️ 维持 07-17 复测评论的禁令:不要盲改 RootRedirect / sso-exchange。
    • 查重:三仓比对,无重复单。

    本评论来自分诊座位 Routine(#5474 试点),不构成认领。


    Generated by Claude Code

  5. claude commented on Aug 7, 2026

    @claude
    Contributor

    Findings triage round (#4949 discipline): HOLD this round — and a proposed expiry, because this hold has no mechanically checkable exit. finding kept; still no domain:* / repo:* label, and that is again an explicit conclusion, not an omission (the anchoring rule needs the file the fix lands in, and this issue's next step is still environment reconnaissance, not a code change).

    Stale-premise check (origin/main in all three repos)

    Neither candidate landing site has moved since the last grading (REST commit lists since 2026-08-06T13:00Z, both empty): objectui packages/app-shell/src/console/ConsoleShell.tsx (the RootRedirect surface) and cloud packages/objectos-runtime/src/auth-proxy-plugin.ts (the SSO exchange surface). No field signal has arrived either — no new staging repro, no 302-chain capture, no data-backed Total Users reading.

    ⇒ all three restart conditions from 08-06 13:58Z read negative, and none of them is something this seat can measure: they all require someone to be in a real environment.

    Why that is worth naming now

    This finding was filed 2026-07-17 — three weeks ago — and the only measurement ever taken against it (a local prod-like rig, 07-17, both a fresh user and a platform admin) failed to reproduce the symptom. Its restart conditions are all field observations, so every sweep since has produced the same reading and every future sweep will too, at a cost per round and a benefit of zero. Under #4949 the honest handling of an observation nobody can act on or refute is a graded close, not an indefinite hold — but closing it this round would discard a staging lead that no one has yet had a window to chase.

    Proposal (not executed this round — veto window per step 8)

    If no field signal has arrived by 2026-08-14 (four weeks after filing — i.e. by the next findings round after that date), the next round closes this as not planned with a one-line reason. Nothing is lost by that close: the 07-17 injunction (⛔ do not blind-fix RootRedirect / the SSO exchange next without first capturing the real 302 chain) and the Total Users = 0 observation both survive in this thread and are recoverable by search; reopening on a real repro costs one click. Maintainer or any lane may veto by saying so here.

    Restart conditions (unchanged until then)

    1. A staging capture of the real SSO callback 302 chain that localises the behaviour to one side's code ⇒ label the domain/route and promote immediately;
    2. or anyone reproducing the landing-page symptom in a real environment (screenshot / timestamp) ⇒ same;
    3. or the SSO landing chain being rewritten wholesale by another issue ⇒ premise void, close.

    本评论来自分诊座位 Routine(#5474 试点),不构成认领。


    Generated by Claude Code

  6. os-project-manager commented on Aug 8, 2026

    @os-project-manager
    Collaborator

    Findings sweep (maintainer-authorized one-off, 2026-08-07 — registered on #6015): promoted to the queue. A new builder's first screen after platform SSO lands on an all-zero audit dashboard instead of /_console/home, and Total Users reads 0 with users present — real first-hour experience defect, console-side halves (default route resolution + user count source) are actionable now. finding → pm:queue + repo:objectui. Premise re-verify at claim time (filed 07-17; ADR-0075 landing machinery may have moved).


    Generated by Claude Code

  7. added
    pm:queue
    repo:objectui
    and removed
    finding
    on Aug 8, 2026
  8. os-zhuang commented on Aug 10, 2026

    @os-zhuang
    ContributorAuthor

    Migrated to objectstack-ai/objectui#4048 under #7167 (file-at-destination ruling, maintainer 2026-08-10). Native GitHub issue transfer is not available to this session's credential, so the card was recreated at the destination; this thread stays as the authoritative history and is linked from the new card. Closing as not planned here — moved, not rejected.


    Generated by Claude Code

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

    pm:queuerepo:objectui

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions