Tab Name is randomly overwritten when running processes

Open
#4,124 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
45/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Quiet
Tech stack
rust, zsh
Domain
cli

Research direction

Reproduce the issue on macOS with a Warp launch configuration, named tabs, and a server started through yarn and nodemon; observe what happens after a restart or killed process. Trace the tab-name update path and verify that the configured tab name remains unchanged after the process lifecycle events.

Written by the indexing model from the issue text.

Description

area:window-tabs-panes bug needs-info ready-to-implement triaged
Discord username (optional)

No response

Describe the bug

I have a launch configuration with about 8 tabs that are all named according to the repo I am in within them.
Most tabs are running local servers continuously throughout the day through a package.json script using nodemon invoked through yarn.
I find that at some point during the day, the tab gets renamed to yarn, ie losing the name I gave it in the launch configuration.

This seems to happen when the nodemon process errors and requires a restart, or if I kill a running process and start another, but it is not a proven pattern yet.

To reproduce
  1. Create a Launch Configuration with a couple of named tabs pointing to server repos
  2. Run the servers using nodemon
  3. Make a change in a server that causes the build to fail (nodemon needs a restart) or kill the process and run it again.
Expected behavior

No response

Screenshots

No response

Operating system

MacOS

Operating system and version

Sonoma 14.2

Shell Version

zsh 5.9 (x86_64-apple-darwin23.0)

Current Warp version

v0.2024.01.30.16.52.stable_00

Regression

No, this bug or issue has existed throughout my experience using Warp

Recent working Warp date

No response

Additional context

No response

Does this block you from using Warp daily?

No

Is this a Warp specific issue? (i.e. does it happen in Terminal, iTerm, Kitty, etc.)

Yes, this I confirmed this only happens in Warp, not other terminals.

Warp Internal (ignore): linear-label:b9d78064-c89e-4973-b153-5178a31ee54e

None

Dominant language
Rust
Stars
65.1k
Forks
5.6k
PR merge metrics
PR metrics pending

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from warpdotdev/warp

All issues in warpdotdev/warp

Similar issues

More Rust issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.