Skip to content

Conversation

@tnsardesai
Copy link
Contributor

@tnsardesai tnsardesai commented Feb 11, 2026

Summary

Allow kernel browser-pools create my-pool as shorthand for kernel browser-pools create --name my-pool. The --name flag still works for backward compatibility. added this because I forget to add --name

Testing

Previously we created the pool and ignored the passed name

❯ kernel browser-pools create test --size 1
 SUCCESS  Created browser pool a8e4g5n4doawmwwy7dip8qqz

Now we are creating the pool and the name is set. --name still works

❯ ./bin/kernel browser-pools create test --size 1
 SUCCESS  Created browser pool test (pctp2h92siimy4jxks89g33g)
❯ ./bin/kernel browser-pools create --name test --size 1
  ERROR   Conflict: A pool with this name already exists

Note

Low Risk
Small CLI parsing change limited to browser-pools create; low blast radius aside from potential behavior change when both --name and a positional name are supplied.

Overview
kernel browser-pools create now accepts an optional positional [name] argument as a shorthand for --name.

The command enforces mutual exclusivity between the positional name and --name (returns an error if both are provided) and updates the Cobra command usage/arg validation accordingly.

Written by Cursor Bugbot for commit 46881b1. This will update automatically on new commits. Configure here.

Allow `kernel browser-pools create my-pool` as shorthand for
`kernel browser-pools create --name my-pool`. The --name flag
still works for backward compatibility.

Co-authored-by: Cursor <cursoragent@cursor.com>
@tnsardesai tnsardesai marked this pull request as ready for review February 11, 2026 00:12
@tnsardesai tnsardesai requested review from Sayan- and rgarcia February 11, 2026 00:12
Copy link

@cursor cursor bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cursor Bugbot has reviewed your changes and found 1 potential issue.

Bugbot Autofix is OFF. To automatically fix reported issues with Cloud Agents, enable Autofix in the Cursor dashboard.

Copy link
Contributor

@Sayan- Sayan- left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm! pls resolve bugbot and can approve

Co-authored-by: Cursor <cursoragent@cursor.com>
@tnsardesai tnsardesai requested a review from Sayan- February 11, 2026 00:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants