Skip to content

feat: show build identity in About screens#103595

Merged
steipete merged 3 commits into
mainfrom
codex/about-build-info
Jul 10, 2026
Merged

feat: show build identity in About screens#103595
steipete merged 3 commits into
mainfrom
codex/about-build-info

Conversation

@steipete

Copy link
Copy Markdown
Contributor

Closes #103517

What Problem This Solves

OpenClaw's About surfaces showed only partial version information, which made it difficult to identify the exact source revision and build time of an installed app or Control UI artifact.

Why This Change Was Made

This adds one responsive Version / Commit / Built identity strip to the Control UI, Android, iOS, and macOS About surfaces. Build and release paths now pin one validated full Git SHA and UTC timestamp across the artifacts they produce; the UI keeps the compact SHA visible while exposing the full values for copying and diagnostics.

User Impact

Users and support engineers can identify an exact OpenClaw build from any supported About screen. The strip stays in one row when space permits, stacks cleanly on narrow or accessibility layouts, localizes the displayed UTC date, and preserves the full immutable values behind copy and accessibility actions.

Evidence

  • Final rebased head: 237/237 focused routing and release-workflow tests passed on Testbox tbx_01kx5jv4anc0frr14ensghp2p6; git diff --check clean.
  • Exact feature tree: full changed-surface gate passed, including TypeScript build, oxlint, import-cycle and policy checks; consolidated focused suites passed 518 tests with 2 platform-only skips.
  • Control UI: i18n check, 71 targeted UI/Chromium tests, dedicated About E2E, and desktop/mobile visual verification passed (hosted run).
  • Android: ktlint, Play debug unit tests, debug/release metadata embedding, deterministic timestamp normalization, and missing-release-metadata rejection passed (hosted run).
  • Apple: shared build-identity model tests, strict provenance/source guards, release-wrapper and package tests, Swift parsing/typechecking, SwiftFormat, Ruby syntax, and shell syntax checks passed. Native iOS/macOS compilation remains delegated to required PR CI.
  • Independent pre-ship autoreview reported no accepted or actionable findings.

@openclaw-barnacle openclaw-barnacle Bot added docs Improvements or additions to documentation app: android App: android app: ios App: ios app: macos App: macos app: web-ui App: web-ui scripts Repository scripts docker Docker and sandbox tooling size: XL maintainer Maintainer-authored PR labels Jul 10, 2026
@steipete steipete self-assigned this Jul 10, 2026

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: aeca34f491

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment on lines +119 to +123
? html`<time
dir="auto"
datetime=${props.buildInfo.builtAt}
title=${props.buildInfo.builtAt}
>${buildDate}</time

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Badge Add a copy path for the build timestamp

When Control UI is the surface support uses to identify a build, this renders the exact ISO timestamp only in datetime/title while the page wires a copy action only for the commit. Users can copy the full commit, but the visible/copyable Built field is just the localized date, so the exact build timestamp added for diagnostics is not practically copyable from the About page; add a timestamp or full build-info copy action here too.

Useful? React with 👍 / 👎.

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: a30b81730f

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread scripts/podman/setup.sh
Comment on lines +377 to +379
BUILD_GIT_COMMIT="$(openclaw_resolve_git_commit "$REPO_PATH")"
BUILD_TIMESTAMP="$(openclaw_resolve_build_timestamp)"
BUILD_ARGS+=(--build-arg "OPENCLAW_BUILD_TIMESTAMP=${BUILD_TIMESTAMP}")

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Badge Limit Podman build provenance to local image builds

When OPENCLAW_IMAGE/OPENCLAW_PODMAN_IMAGE points at a prebuilt image, this still resolves source build metadata before the script reaches the local-build vs pull branch. In environments that export a short or otherwise non-canonical GIT_COMMIT/GIT_SHA, or an invalid OPENCLAW_BUILD_TIMESTAMP, openclaw_resolve_* exits even though Podman setup only needs to pull/use the remote image; move this provenance block into the openclaw:local branch so remote-image installs do not depend on local source-build metadata.

Useful? React with 👍 / 👎.

@steipete

Copy link
Copy Markdown
Contributor Author

Land-ready at a30b81730fb50013d6e8028f7fb5abfa074f29c6.

What changed:

  • Added responsive Version / Commit / Built identity strips across Control UI, Android, iOS, and macOS.
  • Pinned one validated full Git SHA and UTC timestamp through web, mobile, macOS, Docker, and package build paths.
  • Added full-value copy/accessibility behavior, localized date presentation, strict release-source guards, docs, and regression coverage.
  • Corrected the initial Control UI English-fallback metadata found by hosted CI; all 20 shipped locales now have translated About copy and zero recorded fallbacks.

Proof:

  • node --import tsx scripts/control-ui-i18n.ts check — 20/20 locales clean, zero fallbacks.
  • Testbox tbx_01kx5jv4anc0frr14ensghp2p6: corepack pnpm ui:i18n:check && corepack pnpm test test/scripts/control-ui-i18n.test.ts — 7/7 passed; exact previously failing policy is green.
  • Same Testbox: focused routing/release-workflow tests — 237/237 passed.
  • Consolidated provenance/platform suites — 518 passed, 2 platform-only skips; changed-surface build, lint, import-cycle, and policy gates passed.
  • Control UI Chromium/About E2E and responsive visual proof passed; Android ktlint/unit/release metadata proof passed.
  • Required exact-head hosted workflows passed: CI, Blacksmith Testbox, ARM Testbox, Build Artifacts, and Workflow Sanity. The CI run includes green iOS build, macOS Swift/Node, and Android build/test lanes.
  • OPENCLAW_TESTBOX=1 scripts/pr prepare-run 103595 — hosted exact-head gates passed and prepared head matches PR head.
  • Independent autoreviews for the feature and localization follow-up: no accepted/actionable findings.

Known proof gaps: none.

@steipete
steipete merged commit 7fe004d into main Jul 10, 2026
106 checks passed
@steipete
steipete deleted the codex/about-build-info branch July 10, 2026 09:42
@steipete

Copy link
Copy Markdown
Contributor Author

Merged via squash.

github-actions Bot pushed a commit to Desicool/openclaw that referenced this pull request Jul 11, 2026
* feat: show build identity in About screens

* chore: leave root changelog to release automation

* fix: translate Control UI About build details
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

app: android App: android app: ios App: ios app: macos App: macos app: web-ui App: web-ui docker Docker and sandbox tooling docs Improvements or additions to documentation maintainer Maintainer-authored PR scripts Repository scripts size: XL

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Feature]: Show commit and build date in app About screens

1 participant