Released version v0.5.0 still displays v0.4.7 in-app due to stale csproj Version
Problem
The latest GitHub release is v0.5.0 (tagged Apr 23), but the built software still reports 0.4.7 in the UI and assembly metadata.
Evidence:
src/OpenClaw.Tray.WinUI/OpenClaw.Tray.WinUI.csprojline 12:<Version>0.4.7</Version>src/OpenClaw.Shared/AppVersionInfo.cscomments and logic reference0.4.7as the canonical example.tests/OpenClaw.Tray.UITests/A2UIDashboardScaleTest.cshardcodesLit("v0.4.7")for version text assertions.docs/VERSIONING.mdalso documents0.4.7as the current version string.
Meanwhile git tag shows:
v0.5.0β released Apr 23v0.6.0-alpha.1β more recent pre-release
Impact
- Users downloading the v0.5.0 release see "v0.4.7" in About dialogs, tray tooltips, and logs.
- Support/debugging is confusing because reported version doesn't match release notes.
- The v0.6.0-alpha.1 tag suggests work has moved on, but the project file wasn't bumped for either release.
Root cause
The <Version> property in the main .csproj is hardcoded and wasn't updated when the v0.5.0 tag was created. AppVersionInfo reads from this at build time.
Suggested fixes
- Immediate: Bump
OpenClaw.Tray.WinUI.csproj<Version>to0.5.0(or0.6.0-alpha.1if that reflects reality). - Process: Tie versioning to Git tags automatically using a tool like GitVersion (already configured via
GitVersion.ymlin the repo root) orMinVer, so the assembly version is derived fromgit describeand can't drift from releases. - Tests: Update
A2UIDashboardScaleTest.csto assert againstAppVersionInfo.DisplayVersioninstead of a hardcoded literal.
Files to update
src/OpenClaw.Tray.WinUI/OpenClaw.Tray.WinUI.csprojsrc/OpenClaw.Shared/AppVersionInfo.cs(comment examples)tests/OpenClaw.Tray.UITests/A2UIDashboardScaleTest.csdocs/VERSIONING.md
Codex review: keeping this open for maintainer follow-up; there is still a little grit to resolve. Reviewed May 28, 2026, 5:40 AM ET / 09:40 UTC.
Summary Keep open, but not as a confirmed v0.5.0 release-artifact bug: the downloaded v0.5.0 x64 release metadata reports 0.5.0, while current main still has a 0.4.7 fallback and one hardcoded test literal that merit maintainer review.
Reproducibility: no. high-confidence reproduction for the v0.5.0 shipped artifact: metadata in the downloaded x64 release reports 0.5.0. The stale local fallback is source-reproducible because current main still has
Ways to help us reproduce this
- Add a screenshot or short recording showing the behavior.
- Add expected vs actual behavior.
Next step A maintainer should decide whether to close the release-specific claim based on artifact evidence or accept a narrow cleanup, because manually bumping the csproj conflicts with the documented tag-driven release policy.
Review details
Best possible solution:
Keep tag-driven CI release versioning, then either close this as a release-artifact non-repro or land a narrow docs/test/local-fallback cleanup that avoids hardcoded stale user-visible version values without changing the routine release policy.
Do we have a high-confidence way to reproduce the issue?
No high-confidence reproduction for the v0.5.0 shipped artifact: metadata in the downloaded x64 release reports 0.5.0. The stale local fallback is source-reproducible because current main still has
Is this the best way to solve the issue?
No for the suggested immediate manual bump as the only fix; RELEASING.md says routine release versions should come from tags and CI. The safer path is a maintainer decision on whether to treat this as docs/test/local fallback cleanup, plus any guard that proves release artifacts carry the tag version.
AGENTS.md: found and applied where relevant.
Remaining risk / open question:
- I could inspect release artifact metadata from Linux, but did not run the Windows UI About dialog/tray tooltip path from the v0.5.0 build.
- A source build that does not pass /p:Version still appears able to surface the 0.4.7 fallback, while the documented release process says routine releases should not manually bump the csproj fallback.
Codex review notes: model gpt-5.5, reasoning high; reviewed against 2d1cfb7773d8.
Label changes
Label changes:
- add
P3: The confirmed remaining work is low-risk versioning/docs/test cleanup rather than a proven broken shipped release. - add
impact:other: The issue concerns version diagnostics and support clarity, which is maintainer-visible but outside the more specific impact labels. - add
issue-rating: π platinum hermit: Current issue advisory state selects this label. - add
clawsweeper:needs-live-repro: Current issue advisory state selects this label. - add
clawsweeper:no-new-fix-pr: Current issue advisory state selects this label. - add
clawsweeper:needs-maintainer-review: Current issue advisory state selects this label. - add
clawsweeper:needs-product-decision: Current issue advisory state selects this label.
Label justifications:
P3: The confirmed remaining work is low-risk versioning/docs/test cleanup rather than a proven broken shipped release.impact:other: The issue concerns version diagnostics and support clarity, which is maintainer-visible but outside the more specific impact labels.
Evidence reviewed
Acceptance criteria:
- ./build.ps1
- dotnet test ./tests/OpenClaw.Shared.Tests/OpenClaw.Shared.Tests.csproj --no-restore
- dotnet test ./tests/OpenClaw.Tray.Tests/OpenClaw.Tray.Tests.csproj --no-restore
What I checked:
- Repository policy read: AGENTS.md was read in full; its validation rules apply to any future code change, but this review stayed read-only. (
AGENTS.md:1, 2d1cfb7773d8) - Current fallback version is stale: Current main still has the WinUI project fallback version set to 0.4.7. (
src/OpenClaw.Tray.WinUI/OpenClaw.Tray.WinUI.csproj:12, 2d1cfb7773d8) - User-visible version path: AppVersionInfo exposes Version and DisplayVersion from assembly metadata, so a build without a CI /p:Version override would surface the fallback value. (
src/OpenClaw.Shared/AppVersionInfo.cs:32, 2d1cfb7773d8) - Hardcoded UI-test literal remains: The A2UI dashboard scale test still uses a hardcoded v0.4.7 footer string instead of deriving from AppVersionInfo. (
tests/OpenClaw.Tray.UITests/A2UIDashboardScaleTest.cs:323, 2d1cfb7773d8) - Release flow overrides project fallback: Current CI passes the GitVersion output into release build and publish commands with -p:Version, and MSIX packaging passes the tag-derived major/minor/patch version. (
.github/workflows/ci.yml:329, 2d1cfb7773d8) - Release docs discourage manual routine bumps: RELEASING.md says CI computes versions from tags and explicitly treats csproj Version as a local fallback for dev builds. (
docs/RELEASING.md:32, 2d1cfb7773d8)
Likely related people:
- Regis Brid: Commit f3d3fd added AppVersionInfo, set the current 0.4.7 fallback, and changed the A2UI dashboard footer literal. (role: introduced current version fallback and AppVersionInfo path; confidence: high; commits: f3d3fd2772f3; files:
src/OpenClaw.Tray.WinUI/OpenClaw.Tray.WinUI.csproj,src/OpenClaw.Shared/AppVersionInfo.cs,tests/OpenClaw.Tray.UITests/A2UIDashboardScaleTest.cs) - Scott Hanselman: History shows the v0.5.0 release/tag commit and later release-flow docs/workflow ownership around tag-driven versioning. (role: release/versioning flow contributor; confidence: high; commits: 1960a436e0d0, 6711591b5c14, 0aebcc24f221; files:
.github/workflows/ci.yml,docs/RELEASING.md,docs/VERSIONING.md) - Chris Anderson: Commit 9fa43f introduced the native WinUI A2UI renderer area exercised by the dashboard scale test that now contains the version literal. (role: adjacent A2UI feature owner; confidence: medium; commits: 9fa43f347703; files:
tests/OpenClaw.Tray.UITests/A2UIDashboardScaleTest.cs)
How this review workflow works
- ClawSweeper keeps one durable marker-backed review comment per issue or PR.
- Re-runs edit this comment so the latest verdict, findings, and automation markers stay together instead of adding duplicate bot comments.
- A fresh review can be triggered by eligible
@clawsweeper re-reviewcomments, exact-item GitHub events, scheduled/background review runs, or manual workflow dispatch. - PR/issue authors and users with repository write access can comment
@clawsweeper re-reviewor@clawsweeper re-runon an open PR or issue to request a fresh review only. - Maintainers can also comment
@clawsweeper reviewto request a fresh review only. - Fresh-review commands do not start repair, autofix, rebase, CI repair, or automerge.
- Maintainer-only repair and merge flows require explicit commands such as
@clawsweeper autofix,@clawsweeper automerge,@clawsweeper fix ci, or@clawsweeper address review. - Maintainers can comment
@clawsweeper explainto ask for more context, or@clawsweeper stopto stop active automation.
Thanks @clawsweeper for the detailed review β I overstated the release impact.
You're right: the v0.5.0 artifact is fine because CI overrides the version via GitVersion. The remaining problem is narrow:
- Dev builds without
/p:Versionfall back to0.4.7(source-reproducible). - A2UI test still hardcodes
v0.4.7instead of deriving fromAppVersionInfo.
I agree with downgrading to a docs/test/local-fallback cleanup. Happy to open a narrow PR to:
- Update the
.csprojfallback to0.6.0-alpha.1(or whatever reflects current main) - Replace the hardcoded test literal with
AppVersionInfo.DisplayVersion - Update
docs/VERSIONING.mdexamples
β¦or the maintainers can close this and handle it as part of the next release prep. Either way works for me.
π€ This is an automated response from Repo Assist.
I've created a draft PR to fix this: it bumps <Version> in OpenClaw.Tray.WinUI.csproj from 0.4.7 to 0.5.0 (matching the latest stable release tag), and replaces the hardcoded Lit("v0.4.7") in A2UIDashboardScaleTest with Lit(AppVersionInfo.DisplayVersion) so the test stays correct across future bumps.
Note: Since CI already overrides the version via GitVersion (-p:Version=...), this only affects local builds and fallback paths β but it's still worth keeping in sync with the release tag for accuracy and test reliability.
Generated by π Repo Assist, see workflow run. Learn more.
To install this agentic workflow, run
gh aw add githubnext/agentics/workflows/repo-assist.md@97143ac59cb3a13ef2a77581f929f06719c7402a