Skip to content

~/.pi/agent/ filling up with commandcode-models.json.*.tmp files #130

Description

@draxxris
$ pwd && echo "----" && ls -1 *.tmp
~/.pi/agent
----
commandcode-models.json.245267.tmp
commandcode-models.json.245343.tmp
commandcode-models.json.298849.tmp
commandcode-models.json.298965.tmp
commandcode-models.json.299001.tmp
commandcode-models.json.300756.tmp
commandcode-models.json.300974.tmp
commandcode-models.json.301029.tmp
commandcode-models.json.301172.tmp
commandcode-models.json.301382.tmp

Activity

  1. pierreraby commented on Oct 1, 2026

    @pierreraby
    Collaborator

    Thanks for the report — confirmed the mechanism: the catalog refresh runs in the background (fire-and-forget), so quitting the host between the temp-file write and the rename leaves that .tmp behind with nothing cleaning it up on the next start. Opened #131 with a fix (unique temp name per attempt + sweep of temp files older than 1h on the next successful refresh).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions