bug: agents-llama entrypoint writes to dev-poll log path before creating parent directory #533
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#533
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?
Description
On
disinto-agents-llamacontainer startup, the entrypoint redirects dev-poll output to a log path that doesn't exist yet, producing an error on every poll iteration:The polling loop still runs, but log output is lost.
Evidence
Observed on harb-dev-box after a fresh rebuild of
disinto/agents-llama:latestagainst v0.2.0 (commitaeaef88). The container isUpand processingprojects/harb.toml, but every dev-poll iteration emits the error.Relevant log excerpt:
The path
/home/agent/disinto/../data/logs/resolves to/home/agent/data/logs/— which IS a mounted volume (./data/llama:/home/agent/datain compose), but thelogs/subdirectory hasn't been created by the entrypoint.Fix
In
docker/agents/entrypoint.sharound line 174, add amkdir -pbefore the first log redirect:Or normalize the log path to drop the
../traversal (/home/agent/data/logs/dev-poll.logdirectly) for clarity.