bitwarden / bitwarden/clients

bw list items needs 1s to finish process after output given

Open
#14,976 3 comments 0 reactions 0 assignees View on GitHub
bug cli
Dominant language
TypeScript
Stars
13.8k
Forks
2k
Avg merge
3d 9h
Merged PRs (30d)
397

Description

### Steps To Reproduce

1. Install bw cli
2. Login
3. Unlock
4. Run `bw list` items

### Expected Result

I want bw cli to finish process straight after output is given

### Actual Result

There is around 1 second lag between output and process finish.
I attached screenshot from XCode to show this.

### Screenshots or Videos

![Image](https://github.com/user-attachments/assets/80ede74d-6341-456e-a542-c0319a46aa2f)

![Image](https://github.com/user-attachments/assets/d2361740-e570-45ab-bbec-6b622eb3ec84)

### Additional Context

_No response_

### Operating System

macOS

### Operating System Version

15.5

### Shell

Zsh

### Build Version

2025.2.0

### Issue Tracking Info

- [x] I understand that work is tracked outside of Github. A PR will be linked to this issue should one be opened to address it, but Bitwarden doesn't use fields like "assigned", "milestone", or "project" to track progress.

Contributor guide

Open the contributing guide

Research direction

Reproduce `bw list items` on macOS 15.5 with build 2025.2.0 and measure the time between final output and process exit. Done means the CLI exits immediately after producing its output, without the reported one-second delay.

Written by the indexing model from the issue text.

Assessment

Tech stack
macos, nodejs, typescript, zsh
Domain
cli, performance
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.