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
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
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