amazon-q-developer-cli icon indicating copy to clipboard operation
amazon-q-developer-cli copied to clipboard

bug: q chat -r resumes with profile you switched out of

Open omursalo opened this issue 1 year ago • 0 comments

Checks

Operating system

Linux

Expected behaviour

When I switch from some profile test to default, quit the chat, and then resume, I expect the chat to start off with the default profile. Similarly, if I switch from test to default, delete the test profile, quit the chat, and then use q chat -r to resume, I expect to start in the default profile.

Actual behaviour

The actual behavior is the chat resumes with the test profile both when you just switch away from it and when you delete it.

Image Image

Steps to reproduce

  1. q chat
  2. /profile create test
  3. /profile set default
  4. /quit
  5. q chat -r

Environment

[q-details]
version = "1.12.7"
hash = "ed77799a52644ba49a3ed76b15c25cd9334c4b8d"
date = "2025-07-22T17:42:51.034216Z (7d ago)"
variant = "full"

[system-info]
chip = "12th Gen Intel(R) Core(TM) i7-1265U"
total-cores = 6
memory = "15.44 GB"

[system-info.os.linux]
kernel_version = "6.6.87.2-microsoft-standard-WSL2"
id = "ubuntu"
name = "Ubuntu"
pretty_name = "Ubuntu 24.04.2 LTS"
version_id = "24.04"
version = "24.04.2 LTS (Noble Numbat)"

[environment]
cwd = "/mnt/c/Users/USER"
cli-path = "/mnt/c/Users/USER"
os = "Linux"
shell-path = "/usr/bin/bash"
shell-version = "5.2.21"
install-method = "unknown"
in-wsl = true

omursalo avatar Jul 29 '25 17:07 omursalo