Observal icon indicating copy to clipboard operation
Observal copied to clipboard

Bug: observal pull resolves agent name to stale UUID instead of querying by name

Open naraen-ram opened this issue 7 months ago • 0 comments

Checked for duplicates?

  • [x] This issue is not a duplicate

What are the steps to reproduce this bug?

observal pull <agent-name> fails with 404 after a database reset because the CLI resolves the agent name to a locally cached UUID from the previous database. The agent exists in the current database under a new UUID and shows up fine in observal agent list. The CLI should resolve names against the server, not reuse a locally cached UUID.

Reproduction Steps:

  1. Create an agent and pull it (observal pull <name> --ide <ide>)
  2. Rebuild Docker with fresh volumes (make reset or docker compose down -v && docker compose up --build -d)
  3. Re-login and recreate the agent with the same name
  4. Run observal pull <name> --ide <ide> again — fails with 404 on the old UUID
Image

Expected behaviour

observal pull <name> should always resolve the agent name via the server API, not from a locally cached UUID.

(Optional) Anything else you want to share?

No response

naraen-ram avatar May 01 '26 13:05 naraen-ram