Skip to content

Console About dialog shows only the console build sha, never the ObjectStack version the runtime reports #35280

Closed

Description

@objectstack-fleet

triage#1 · baozhoutao · session_01RKKVnjDWRBLyPJGFTCoQrC

What happens

Help menu → About opens the "About this console" dialog (ui/packages/app-shell/src/layout/AboutDialog.tsx). Its single row, "Console build", shows a git short sha such as b914e724. Nowhere does the dialog give the ObjectStack version.

Observed on a production deployment:

  • the dialog shows b914e724 (that commit is chore: version packages (#33097))
  • GET /api/v1/discovery returns "version": "18.5.0"
  • GET /api/v1/health also returns "version": "18.5.0"

People open About to find the version number. A bare commit sha does not answer that for an end user or an admin. It also does not match the Version field in our own issue templates, which asks for "the build shown under About in the Console's help menu" when the useful value there is the release.

Why

AboutDialog.tsx's module doc says the runtime's version is left out on purpose because "the shell has no request that reads it today". The discovery document already carries version, resolved by resolveDiscoveryVersion() in packages/metadata-protocol/src/discovery-version.ts. That makes the stated reason out of date.

Expected

  • Add an ObjectStack version row to the dialog, filled from the discovery version (18.5.0 above). Put it first.
  • Keep Console build (the sha from ui/apps/console/vite.config.ts's VITE_APP_VERSION / git rev-parse --short HEAD) as a second, clearly labelled row so a deployment can still be traced to a commit.
  • If discovery is unavailable or returns no version, say so in words, the same way the existing "unknown build" fallback does. Never leave the field empty.
  • Add i18n keys for the new row (en + zh-Hans at minimum).
  • Update the pin test ui/packages/app-shell/src/layout/__tests__/AppHeader.aboutBuild-12970.test.tsx, or add a sibling test.

Lane: domain:ui.

Activity

  1. added
    domain:ui
    on Nov 19, 2026
  2. objectstack-fleet commented on Nov 19, 2026

    @objectstack-fleet
    ContributorAuthor

    triage#1 · hotlong · session_01Q4EjjMnyLqJdzuktEmRPXH

    First touch (rules of #35223): area:ux · Bug · Cosmetic · administrators, often (support and upgrade checks read it) · observed on a production deployment → p2 (UX rule), pm:queue. The About dialog shows only the console build sha, never the ObjectStack version the runtime reports. Issue type set to Bug.

  3. added
    pm:queue
    priority:p2
    on Nov 19, 2026
  4. objectstack-fleet commented on Nov 22, 2026

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack#4 · os-project-manager · session_01FEkQ5oK4fFfnLADcipbEeT

    Claim: PM loop · area a4-H · 2026-11-22T03:30Z
    Session: session_01FEkQ5oK4fFfnLADcipbEeT
    Account: os-project-manager
    Branch: claude/issue-35280-about-version
    Worktree: objectstack-issue-35280
    Domain: domain:ui
    Seat: repo:objectstack#4
    Area: a4-H
    File surface: ui/packages/app-shell/src/layout/AboutDialog.tsx and the discovery read it uses (an existing client/hook, no new endpoint), i18n keys in all 11 locales, ui/packages/app-shell/src/layout/__tests__/AppHeader.aboutBuild-12970.test.tsx or a sibling, the issue template's Version wording if it names the About field, a changeset (stop on breach; explain in the report)
    Container & model: S, mode:subagent, model: opus (default tier; dispatch-gates --tier: no path-derived mandate), effort: high (area order a4-H)
    Clause-②: no
    Metadata-protocol: none
    Responsibility: the console About dialog in objectstack ui/** | GET /api/v1/discovery already answers version (resolveDiscoveryVersion, packages/metadata-protocol/src/discovery-version.ts) | every admin or user who opens Help → About to find the version
    Thread-read: 6997174382
    Premise: holds — on origin/main c30ce97 AboutDialog.tsx shows only the build sha and its doc still says the runtime identity is deliberately not shown (line 11); the dialog reads no discovery version.
    Pre-claim lane: repo:objectstack whole-repo lane, area a4-H (shell); all paths under ui/** (and .github/ISSUE_TEMPLATE wording only if it names the About field).
    Pre-claim deps: none.
    Prior rulings read: console,dialog,shows,build,objectstack,version,runtime,reports → 237 hits; ADR-0032 Decision §1, ADR-0036 Decision §1, ADR-0059 Decision §2, ADR-0076 D12, ADR-0081 Decision §3, ADR-0087 D2, ADR-0003 Decision §3, none on the About dialog; AboutDialog.tsx zero ruling hits; related: ruling A on #34774 (comment 7065230616) keeps the exact version on the restriction-profile route and lets /discovery show an OS_RUNTIME_VERSION stamp, so the dialog shows whatever /discovery answers; thread: none.
    Fold-or-serial: not folded.
    Serial constraints cleared: none on this file surface at origin/main c30ce97

  5. added
    pm:dispatched
    and removed
    pm:queue
    on Nov 22, 2026
  6. objectstack-fleet commented on Nov 22, 2026

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack#4 · os-project-manager · session_01FEkQ5oK4fFfnLADcipbEeT
    os-dev-report

    {
      "issue": 35280,
      "status": "done",
      "branch": "claude/issue-35280-about-version",
      "pr": "https://github.com/objectstack-ai/objectstack/pull/36288",
      "session": "session_01FEkQ5oK4fFfnLADcipbEeT",
      "premise_still_valid": true,
      "summary": "Help → About now opens on an 'ObjectStack version' row filled verbatim from the discovery document's `version`, followed by the existing 'Console build' row. The version is read through the help menu's existing adapter: useAdapter().getDiscovery() returns the document that connect() already holds from the shared getSharedDiscovery read. So the dialog sends no second /api/v1/discovery fetch and adds no second version source (ruling A). While the read is pending the row says common.loading. When discovery is unreadable (null) or names no or an empty version, it says help.aboutVersionUnknown in words. New keys help.aboutVersion and help.aboutVersionUnknown are in all 11 packs (zh-Hant regenerated with gen:zh-hant), and help.aboutDescription now names both rows. AboutDialog's module doc was rewritten, and the bug-report and feature-request templates now point at the ObjectStack version under About (ISSUE_TEMPLATE has no GOVERNED_SURFACES row). The card's assignee was not touched; the PR has no assignee.",
      "tests": "Under os-verify-lock at head 32984388e. Pin file AppHeader.aboutBuild-12970.test.tsx: Test Files 1 passed (1), Tests 15 passed (15); 6 of them are new, in a top-level describe for objectstack#35280. `pnpm --dir ui exec vitest run packages/i18n/`: Test Files 105 passed (105), Tests 1962 passed, 13 skipped. @object-ui/i18n type-check exit 0. @object-ui/app-shell type-check exit 0 (tsc --noEmit plus tsconfig.test.json, which compiles the package's tests). Ablation through scripts/ablation-replace.mjs, one mutation per leg, each landed (anchor 1 -> 0, blob moved) and restored (blob == HEAD 0aabb5984a63, git diff HEAD empty). Results: read (setVersion(discoveryVersion(..)) -> setVersion(null)) 2 failed / 13 passed; fallback (aboutVersionUnknown -> common.loading) 3 failed / 12 passed; loading (text -> null) 1 failed / 14 passed; order (build row moved above version row) 2 failed / 13 passed. The test imports src relatively, so no dist rebuild leg was needed.",
      "gates": "Derived with `node scripts/pm/dispatch-gates.mjs --commands --repo objectstack-ai/objectstack` from objectstack-ai/objectstack at 32984388e: 48 commands. Each was run with its exit captured before any pipe; plus `pnpm check:changeset-fixed` (its roster lives under .changeset). 46 of the 48 exited 0, and check:changeset-fixed exited 0. Among them: check-adr-0087-registration --base origin/main, check-changeset-no-major, check-empty-changeset, check-closing-keyword-parity, check:nul-bytes, check:cross-package-test-inputs, check:published-files, check:type-check-coverage, check:undeclared-dep-imports, check:test-source-alias, check:engine-double-contract. NOT MEASURED (2): `pnpm check:type-check-debt` exit 3, PREREQUISITE NOT MET, because its closure build got a lock queue-timeout; and `pnpm --dir ui exec vitest run scripts/`, lock exit 99, with no ui/scripts file in the diff. CI runs both. `--ran` reconciliation was not run separately; the gate list file was run line by line. ui check:new-line-citations: 0 new, exit 0. overlap-check: VERDICT clean, exit 0 (#36234 and #36223 share the locale files and merge cleanly). PR check-runs at head 32984388e when this report was written, 22 runs: Lint ×8, Type Check ×4, Governed Surface Queue Guard, Check Changeset, Check PR Size and PR-body guards are in_progress; 5 opt-in or schedule runs are skipped. None has a conclusion yet.",
      "dogfood_battery": "n/a — no `!` in the PR title and no (narrowing) arm",
      "mcp_calls": "0 — no MCP GitHub calls",
      "api_writes": "2 — (1) fleet-write relay pr_create: repository_dispatch to objectstack-ai/objectstack, run 44986271448 success, POST /repos/objectstack-ai/objectstack/pulls, giving #36288 as a forced draft; read-back 6190/6190 bytes identical. (2) post-stamped comment: POST /repos/objectstack-ai/objectstack/issues/35280/comments (this report). Not REST: git push ×3 (the empty branch probe and two commits).",
      "files_changed": 17,
      "net_added_lines": "159 (+184 / -25, vs merge base c30ce97cd)",
      "line_budget": "none stated in the order (size S); 209 changed lines",
      "deviations": [
        "The pins are a new top-level describe in the existing harness AppHeader.aboutBuild-12970.test.tsx, not a sibling AboutDialog.runtimeVersion-35280.test.tsx. AGENTS.md (ruling record 6583487846) puts a new pin into a component's existing shared harness. The order's Zone 3 is a suggested route.",
        "The harness attribution reminder asked for a model-named Co-Authored-By trailer and a robot-emoji PR footer. I followed AGENTS.md and the order instead: model-free trailer pair `Claude-Session` + `Co-authored-by: Claude`, and the PR body sent with no footer (the platform appended none; read-back identical). Attribution is a `Session:` prose line in the body.",
        "Loading state: the order's Expected does not cover the moment before discovery answers. The row shows the existing `common.loading` key so it is never empty; no new key was added for it.",
        "help.aboutDescription was reworded in all 11 packs, because 'The build this console was compiled from.' no longer describes a two-row dialog.",
        "Narrowed local verification (declared): check:type-check-debt and `vitest run scripts/` are NOT MEASURED after lock queue-timeouts. The lock holder was a sibling's locked-suite.sh, pid 2638, held more than 27 min. CI runs both.",
        "The gate runner was first started with `vitest run scripts/` outside the lock. I killed it while it was on command 2, before it reached that line, and restarted it with the line wrapped in os-verify-lock.sh."
      ],
      "open_questions": [],
      "security_findings": "none",
      "out_of_scope_findings": [
        "carrier: none · noted, not filed: none found"
      ]
    }
  7. objectstack-fleet commented on Nov 22, 2026

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack#4 · os-project-manager · session_01FEkQ5oK4fFfnLADcipbEeT

    Delivered · 2026-11-22T06:27Z · area a4-H · PR #36288 merged (Fixes #35280): the console's About now names the ObjectStack version first, then the console build. pm:dispatched removed; nothing left on this card.

  8. removed
    pm:dispatched
    on Nov 22, 2026
  9. added a commit that references this issue on Nov 22, 2026
    58d00db
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

area:uxdomain:uipriority:p2

Type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions