Generated compose emits FORGE_BOT_USER_LLAMA — legacy name, should derive from forge_user #849
Labels
No labels
action
backlog
blocked
bug-report
cannot-reproduce
in-progress
in-triage
needs-triage
prediction/actioned
prediction/dismissed
prediction/unreviewed
priority
rejected
reproduced
tech-debt
underspecified
vision
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: disinto-admin/disinto#849
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Problem
The TOML-driven compose generator emits the line:
in the
agents-llamaservice block (see/home/johba/disinto/docker-compose.ymlline 353, generated fromlib/generators.sh). The suffix_LLAMAis a hardcoded legacy name from theENABLE_LLAMA_AGENT=1era.This clashes with the naming convention used for every other per-agent env var, which is
<BASE>_<FORGE_USER_UPPER>(dashes → underscores, uppercased). SeeFORGE_TOKEN_DEV_QWEN,FORGE_PASS_DEV_QWENfor examples. The canonical form would beFORGE_BOT_USER_DEV_QWEN.Why fix
[agents.X]blocks exist (e.g.dev-qwen,review-qwen) since they would all emit_LLAMAregardless of forge user.Fix
In
lib/generators.sh, derive the suffix fromforge_userthe same wayFORGE_TOKEN_*/FORGE_PASS_*are derived:Update any consumer (entrypoint, bin/disinto helpers) to prefer the new form and fall back to the legacy form during one deprecation window, then drop the fallback.
Acceptance
docker-compose.ymlemitted fordev-qwencontainsFORGE_BOT_USER_DEV_QWEN(not_LLAMA).lib/generators.shfor this field.Related: #846, #847.