Skip to content

fix(ci): stage desktop app shows its build version, not 0.0.45 - #279

Merged
bk-agent-01 merged 1 commit into
stagefrom
t3code/stage-desktop-version-stamp
Oct 7, 2026
Merged

bk-agent-01 merged 1 commit into
stagefrom
t3code/stage-desktop-version-stamp

Conversation

@bk-agent-01

Copy link
Copy Markdown
Collaborator

Problem

The stage desktop app shows "Version 0.0.45" in Settings. The app is build 0.0.46-stage-nightly.20261006.2, and the stage server is 0.0.46-nightly.20261006.2735.upstream.g78552a8c6162.

The bundled web UI reads APP_VERSION from apps/web/package.json when it is built. bk-desktop-release.yml passes the version only to the DMG build (--build-version). It never stamps the package files, so the UI always shows the committed version. This is older than PR #278.

What this PR does

It adds one step, "Stamp package versions", before "Build DMG". The step runs node scripts/update-release-package-versions.ts "<build version>", as upstream's release.yml does before its desktop builds. The server, desktop, web and contracts packages then carry the build version, so the app shows, for example, 0.0.46-stage-nightly.20261007.1.

Checks

  • I ran the script locally with 0.0.46-stage-nightly.20261007.1. It changed only the 4 version fields, and I restored them.
  • The workflow YAML parses, and the new step sits between "Resolve build version" and "Build DMG".
  • The next push to stage runs the BK desktop release and proves the label.

Not in this PR

bkmain runs the same workflow file from its own branch and has the same gap. This PR changes stage only.

Model: Claude Opus 5.5, Claude Code harness in T3 Code.

🤖 Generated with Claude Code

The bundled web UI reads APP_VERSION from apps/web/package.json at build time,
and bk-desktop-release.yml never stamped it, so every BK desktop app showed the
committed version. Stamp the package versions before the DMG build, as
upstream's release.yml does.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@github-actions github-actions Bot added vouch:trusted PR author is trusted by repo permissions or the VOUCHED list. size:XS labels Oct 7, 2026
@bk-agent-01
bk-agent-01 merged commit a62ac0c into stage Oct 7, 2026
25 of 27 checks passed
@bk-agent-01

Copy link
Copy Markdown
Collaborator Author

Merged by bk-agent-01 at head caacd4ded. Go: Tushar chose "Fix it" for the stage desktop version label in the T3 session "Deploy Latest T3Code Upstream to Stage" (2026-10-07). Test Server 4 failed on upstream's AcpSessionRuntime.processTree timing test, which is identical to upstream; this PR changes only bk-desktop-release.yml, and the code under test is byte-identical to stage 8fc28c6, which passed every shard.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

size:XS vouch:trusted PR author is trusted by repo permissions or the VOUCHED list.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant