Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 5 additions & 2 deletions codex-rs/cli/tests/daemon_startup.rs
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,7 @@ async fn daemon_startup(command: &str) -> Result<()> {
notice.model_migrations.\"gpt-5.6-terra\" = \"gpt-6-sol\"\n\
[projects.{}]\ntrust_level = \"trusted\"\n",
if command == "discovered" {
"tui.status_line=[\"model\",\"thread-id\"]"
"tui.status_line=[\"model\",\"thread-id\",\"thread-name\"]"
} else {
""
},
Expand Down Expand Up @@ -275,7 +275,10 @@ async fn daemon_startup(command: &str) -> Result<()> {
"Restartbackgroundserver?"
} else if command == "discovered" {
args.extend(["--disable".into(), "daemon_auto_start".into()]);
steps.push_back(("GPT-5.6-Terra", b"/daemon\r"));
// Empty drafts need not survive a daemon restart. Renaming materializes the
// thread; wait for the confirmed footer name, not the echoed command.
steps.push_back(("GPT-5.6-Terra", b"/rename daemon-restart-test\r"));
steps.push_back(("·daemon-restart-test", b"/daemon\r"));
steps.push_back(("Restartbackgroundserver", b"2"));
steps.push_back(("Restartbackgroundserver?", b"2\r"));
steps.push_back(("GPT-5.6-Terra", b"/status\r"));
Expand Down
Loading