Skip to content

Conversation

@Sayan-
Copy link
Contributor

@Sayan- Sayan- commented Nov 26, 2025

Overview

Adds full CLI support for browser pools - collections of pre-configured browsers that can be quickly acquired and released for high-performance automation.

  • Complete CRUD operations for browser pools (list, create, get, update, delete)
  • Pool lifecycle management (acquire, release, flush)
  • Integration with kernel browsers create - can now acquire directly from pools

Testing

Created and ran the script

@mesa-dot-dev
Copy link

mesa-dot-dev bot commented Dec 1, 2025

Mesa Description

Overview

Adds full CLI support for browser pools - collections of pre-configured browsers that can be quickly acquired and released for high-performance automation.

  • Complete CRUD operations for browser pools (list, create, get, update, delete)
  • Pool lifecycle management (acquire, release, flush)
  • Integration with kernel browsers create - can now acquire directly from pools

Testing

Created and ran the script

Description generated by Mesa. Update settings

@Sayan- Sayan- changed the title [wip] Introducing browser pools Dec 2, 2025
@Sayan- Sayan- marked this pull request as ready for review December 3, 2025 18:14
Copy link

@mesa-dot-dev mesa-dot-dev bot left a comment

Choose a reason for hiding this comment

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

Performed full review of 5d277a1...de04522

Analysis

  1. Type Inconsistency: The new code uses kernel.String(), kernel.Int(), and kernel.Bool() for optional fields while existing code uses kernel.Opt(), creating inconsistency in SDK conventions.

  2. Problematic Default Values: Several flags have potentially destructive or limiting defaults including --discard-all-idle=true in update commands, --reuse=true in release commands, and --timeout=5 seconds for acquire operations.

  3. Error Handling Issues: Validation errors return nil after printing to console rather than propagating errors to the CLI framework, creating inconsistent error handling behavior.

  4. Mixing UI and Logic: Error messages are printed directly to the console within validation functions instead of returning structured errors to be handled by the caller, violating separation of concerns.

Tip

Help

Slash Commands:

  • /review - Request a full code review
  • /review latest - Review only changes since the last review
  • /describe - Generate PR description. This will update the PR body or issue comment depending on your configuration
  • /help - Get help with Mesa commands and configuration options

6 files reviewed | 0 comments | Edit Agent SettingsRead Docs

@Sayan-
Copy link
Contributor Author

Sayan- commented Dec 3, 2025

Hmm I'm not sure I follow mesa's feedback. I'm pretty sure everything is consistent with how we've implemented other commands (modulo [1] but that's a no-op since everything is mapped to a Opt under the hood)

@Sayan- Sayan- requested review from hiroTamada and rgarcia December 3, 2025 18:46
@Sayan- Sayan- requested a review from rgarcia December 4, 2025 00:02
@Sayan- Sayan- merged commit 81c29c0 into main Dec 4, 2025
2 checks passed
@Sayan- Sayan- deleted the sayan/kernel-569-browser-pools-cli-integration branch December 4, 2025 18:34
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.

3 participants