Repository navigation
fix(agents): the install hint names the tag a release candidate was cut from - #4868
Conversation
|
Verdict: Approve On a release candidate, the "install or repair this agent" command now names the git tag that actually exists ( The one unchecked test-plan item, running the printed command on a real RC install, can only happen once an RC tag exists. Run it on Real-world evidenceN/A: no evidence bundle was produced for this run. The verdict rests on static review alone. The changed surface is the install command GAIA prints to the CLI, and the PR leaves its end-to-end check unchecked until an RC tag exists. 🔍 Technical detailsIssues found 🟢 Test-module Strengths
|
…ut from The command GAIA prints to install or repair an agent pinned to v<installed core version>. A release candidate installs as X.Y.ZrcN but is tagged vX.Y.Z-rcN, so on an RC the command named a tag that does not exist. The pin now maps the installed version to its release tag; a dev build has no tag and keeps tracking trunk.
ab2c046 to
b9a5cad
Compare
On a release candidate, the command GAIA prints to install or repair an agent names a git tag that doesn't exist, so following it fails. Since #4588 the command pins to
v<installed core version>; an RC installs as0.25.0rc1but is taggedv0.25.0-rc1(#4856). The pin now uses the tag the core was actually released from, and a dev build, which has no tag, keeps tracking trunk. Final releases are unchanged.This needs to be in before the first
v0.25.0-rctag, or every RC tester who needs the chat or flagship agent is handed a command that errors.Test plan
pytest tests/unit/agents/test_install_hints.py— 39 passed; covers final, four-part, RC and dev versions, and checks the RC mapping againstutil/release_tag.pyso the two can't driftpytest tests/unit -k "install_hint or not_installed or source_install or release_tag"— 95 passedgaia chatprints a command ending in@v0.25.0-rc1#subdirectory=…and that command installs