Skip to content

Using --name Without --resume No Longer Works As Expected #5044

@wpfleger96

Description

@wpfleger96

Describe the bug

The --name flag for goose session and goose run commands is broken. When used without --resume, it incorrectly searches for an existing session instead of creating a new session with the specified name which used to work and has regressed

This seems to have been introduced in #4648, and I touched on this in #4937 but didn't address the core bug 😅

To Reproduce

  1. Run: goose session --name test-session
  2. Observe error: "No session found with name 'test-session'"

Expected behavior

  1. A new session should be created with description field set to "test-session"
  2. The session ID should be auto-generated in the format YYYYMMDD_X
  3. The user can later resume this session using goose session -r --name test-session

Please provide following information:

  • OS & Arch: Darwin (Sequoia 15.6.1) arm64
  • Interface: CLI
  • Version: unreleased, built off latest main
  • Extensions enabled: computercontroller, developer
  • Provider & Model: Databricks + Claude Sonnet 4

Metadata

Metadata

Assignees

Labels

p2Priority 2 - Medium

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions