Commit 477c6df
fix: correct log message when releasing browser with reuse=false (#112)
## Summary
- When releasing a browser with `reuse=false`, the CLI now logs "Deleted
browser X from pool Y" instead of the misleading "Released browser X
back to pool Y"
- The original "Released" message is preserved when `reuse` is not set
or is `true`
## Test plan
- [x] Run `kernel browser-pools release <pool> --session-id <id>
--reuse=false` and verify it says "Deleted browser ... from pool ..."
- [x] Run `kernel browser-pools release <pool> --session-id <id>` (no
reuse flag) and verify it says "Released browser ... back to pool ..."
🤖 Generated with [Claude Code](https://claude.com/claude-code)
<!-- CURSOR_SUMMARY -->
---
> [!NOTE]
> **Low Risk**
> Only changes CLI logging text based on an existing flag; no behavior,
API calls, or data handling are modified.
>
> **Overview**
> Adjusts the `browser-pools release` CLI success output to reflect
actual behavior when `--reuse=false`.
>
> When `reuse` is explicitly set to `false`, the command now prints
*"Deleted browser … from pool …"*; otherwise it keeps the existing
*"Released browser … back to pool …"* message.
>
> <sup>Written by [Cursor
Bugbot](https://cursor.com/dashboard?tab=bugbot) for commit
43ab9a8. This will update automatically
on new commits. Configure
[here](https://cursor.com/dashboard?tab=bugbot).</sup>
<!-- /CURSOR_SUMMARY -->
Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>1 parent c730c0c commit 477c6df
1 file changed
+5
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
373 | 373 | | |
374 | 374 | | |
375 | 375 | | |
376 | | - | |
| 376 | + | |
| 377 | + | |
| 378 | + | |
| 379 | + | |
| 380 | + | |
377 | 381 | | |
378 | 382 | | |
379 | 383 | | |
| |||
0 commit comments