Agent container image reports version dev #528

Closed
opened 2026-10-27 13:36:40 +00:00 by sam · 0 comments
Owner

The agent Dockerfile hard-codes -X agentworker.version=dev, so containerised agents report 'dev' while native binaries carry the build version (e.g. 1.55.0-318-g...). Done when the image build takes the version as a build arg from the deploy/build tooling and a container agent reports the same version as the host binaries.

Close reason

Done in b036e0b3: the Dockerfile already took the version as a build arg, the callers just never passed one. The Taskfile derives it from git describe for both host and image builds, task image:agent passes it, and the remaining caller (archie-deploy, outside this repo in ~/.local/bin) now passes --build-arg RUNTIME_VERSION. Verified with a probe build: an image built with RUNTIME_VERSION=probe-1.2.3 carries that string in /usr/local/bin/archie-agent. The image loaded on the host predates the fix; rebuild with archie-deploy --agent-image to see it.


Imported from beads archie-core-12h0g · GitHub #1914 · type bug · priority P3 · created 2026-10-25 · closed 2026-10-25

The agent Dockerfile hard-codes -X agentworker.version=dev, so containerised agents report 'dev' while native binaries carry the build version (e.g. 1.55.0-318-g...). Done when the image build takes the version as a build arg from the deploy/build tooling and a container agent reports the same version as the host binaries. ### Close reason Done in b036e0b3: the Dockerfile already took the version as a build arg, the callers just never passed one. The Taskfile derives it from git describe for both host and image builds, task image:agent passes it, and the remaining caller (archie-deploy, outside this repo in ~/.local/bin) now passes --build-arg RUNTIME_VERSION. Verified with a probe build: an image built with RUNTIME_VERSION=probe-1.2.3 carries that string in /usr/local/bin/archie-agent. The image loaded on the host predates the fix; rebuild with archie-deploy --agent-image to see it. --- _Imported from beads `archie-core-12h0g` · GitHub #1914 · type bug · priority P3 · created 2026-10-25 · closed 2026-10-25_
sam added the lowbug labels 2026-10-27 13:36:40 +00:00
sam self-assigned this 2026-10-27 13:36:40 +00:00
sam closed this issue 2026-10-27 13:36:41 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: sam/archie#528