Conversation
Show pool_id in the browser list table for browsers acquired from a pool. Extracts pool_id from SDK ExtraFields until the SDK is regenerated with the new field. Related: kernel/kernel#1286 Co-authored-by: Cursor <[email protected]>
f866b7c to
34d1e41
Compare
There was a problem hiding this comment.
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.
| gopkg.in/yaml.v3 v3.0.1 // indirect | ||
| ) | ||
|
|
||
| replace github.com/kernel/kernel-go-sdk => github.com/stainless-sdks/kernel-go v0.0.0-20260219230517-75bf6df66f0b |
There was a problem hiding this comment.
Development SDK replace directive committed to production
High Severity
The replace directive in go.mod points to a pre-release SDK from the private stainless-sdks/kernel-go repository. The project's own DEVELOPMENT.md documents go-mod-replace-kernel.sh as a development-time workflow for testing against unreleased API changes. This replace directive is a temporary development aid that pins the build to an unstable, pre-release commit and isn't suitable for merging to main or releasing.
|
🔧 CI Fix Available I've pushed a fix for the CI failure. The issue was that the The fix uses the SDK's |
Sayan-
left a comment
There was a problem hiding this comment.
changes lgtm - one suggestion. once we publish the new sdk please re-request review and we'll 🚢
| poolID := "-" | ||
| if browser.PoolID != "" { | ||
| poolID = browser.PoolID | ||
| } |
There was a problem hiding this comment.
should default to pool name over id if available!


Summary
kernel browsers listtable output showing the pool ID for browsers acquired from a pool (or "-" for regular browsers)pool_iduntil the Go SDK is regenerated with the new fieldDepends on kernel/kernel#1286 for the API to return
pool_id.Test plan
kernel browsers listwith pooled browsers shows pool ID in Pool columnkernel browsers listwith regular browsers shows "-" in Pool columnkernel browsers list --output jsonincludespool_idfor pooled browsersMade with Cursor
Note
Medium Risk
UI output change is low impact, but the
go.modreplaceredirects a core SDK dependency to a forked commit, which can affect API compatibility and downstream builds.Overview
Adds a new "Pool" column to
kernel browsers listtable output, populated frombrowser.PoolIDand shown as-when absent.Pins the Kernel Go SDK to a fork via a
go.modreplace(with correspondinggo.sumupdates) to pick up thePoolIDfield before the upstream SDK is regenerated.Written by Cursor Bugbot for commit 34d1e41. This will update automatically on new commits. Configure here.