Skip to content

docs(pools): document per-user profile persistence through pools#453

Merged
dprevoznik merged 8 commits into
mainfrom
hypeship/pooled-per-user-profiles
Jul 21, 2026
Merged

docs(pools): document per-user profile persistence through pools#453
dprevoznik merged 8 commits into
mainfrom
hypeship/pooled-per-user-profiles

Conversation

@dprevoznik

@dprevoznik dprevoznik commented Jul 21, 2026

Copy link
Copy Markdown
Contributor

Summary

Customers who want to load many per-user profiles through a pool's pre-warmed browsers were reading the pools FAQ / profiles docs and concluding that profile write-back is unsupported for pooled browsers entirely. The docs only documented the negative (pool-config profiles are read-only) and never documented the supported pattern.

This clarifies the distinction and documents the recommended pattern:

  1. Create the pool with no profile
  2. Acquire a browser
  3. Attach the per-user profile with save_changes: true via kernel.browsers.update()
  4. Release with reuse: false — destroys the browser, which persists the profile changes and prevents state leaking to the next user

Changes

  • browsers/pools/overview.mdx — new "Per-user profiles with pools" section with the full flow and TS/Python/Go examples.
  • browsers/pools/faq.mdx — rewrote "Can pooled browsers save changes back to a profile?" to separate pool-config (read-only) from per-session (persists), and added a new FAQ for the per-user pattern.
  • auth/profiles.mdx — added a note to "Loading a profile into an existing browser" and refined the save_changes note in Notes to cover update() + reuse: false, all cross-linking the new section.

Docs-only; no code paths changed. Not run locally with mintlify dev; anchor slug and cross-links verified by inspection.


Note

Low Risk
Documentation-only changes with no runtime or API behavior modifications.

Overview
Clarifies that pool-config profiles stay read-only, while per-user profile write-back is supported when you attach a profile after acquire and tear down the session on release.

Adds a Per-user profiles with pools section in browsers/pools/overview.mdx with the four-step flow (profile-free pool → acquire → kernel.browsers.update() with save_changes: truerelease with reuse: false) plus TypeScript, Python, and Go examples, and notes that reuse: false refills the pool.

Rewrites the pools FAQ Can pooled browsers save changes back to a profile? to separate pool-level vs per-session behavior and points to the new overview section.

In auth/profiles.mdx, adds a cross-link from loading profiles into existing browsers and expands the save_changes note to cover browsers.update() and the pool + reuse: false pattern.

Reviewed by Cursor Bugbot for commit d4ebf81. Bugbot is set up for automated code reviews on this repo. Configure here.

Clarify that while a pool-config profile is read-only, attaching a
per-user profile after acquiring a browser and releasing with
reuse:false does persist changes. Adds a dedicated overview section,
a rewritten FAQ answer, a new FAQ, and cross-links from profiles.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@mintlify

mintlify Bot commented Jul 21, 2026

Copy link
Copy Markdown
Contributor

Preview deployment for your docs. Learn more about Mintlify Previews.

Project Status Preview Updated (UTC)
Kernel 🟢 Ready View Preview Jul 21, 2026, 10:39 AM

💡 Tip: Enable Workflows to automatically generate PRs for you.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@mintlify

mintlify Bot commented Jul 21, 2026

Copy link
Copy Markdown
Contributor

Preview deployment for your docs. Learn more about Mintlify Previews.

Project Status Preview Updated (UTC)
Kernel 🟡 Building Jul 21, 2026, 10:38 AM

💡 Tip: Enable Workflows to automatically generate PRs for you.

cursor[bot]
cursor Bot approved these changes Jul 21, 2026
…update

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>

@cursor cursor Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Stale comment

Risk assessment: Very Low

The current diff only updates three MDX documentation pages. It adds explanations and TypeScript, Python, and Go examples for attaching per-user profiles to acquired pooled browsers; it doesn't change production code, API schemas, infrastructure, authentication, permissions, or site configuration. The latest update only reorders existing documentation sections, so risk hasn't increased since the prior approval.

No CODEOWNERS file is present. The PR is already approved, so I haven't submitted another approval or revoked the existing one.

Open in Web View Automation 

Sent by Cursor Automation: Assign PR reviewers

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>

@cursor cursor Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Stale comment

Risk assessment: Very Low

The current diff modifies only three MDX documentation pages. It adds guidance and TypeScript, Python, and Go examples for attaching per-user profiles to acquired pooled browsers; it doesn't change production code, API schemas, infrastructure, authentication, permissions, or site configuration. The latest update changes one sentence to clarify that a pool-level profile can't represent many users in one pool, so the risk hasn't increased since the prior approval.

No CODEOWNERS file is present. The PR is already approved, so I haven't submitted another approval or revoked the existing one.

Open in Web View Automation 

Sent by Cursor Automation: Assign PR reviewers

…n examples

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>

@cursor cursor Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Stale comment

Risk assessment: Very Low

The full diff changes only three MDX documentation pages, adding explanatory text and TypeScript, Python, and Go examples for per-user profiles with browser pools. It doesn't modify production code, API schemas, site configuration, infrastructure, authentication, permissions, or model prompts. The newest commit only clarifies comments in the examples about creating the pool separately from per-user workload execution, so the risk hasn't increased.

No CODEOWNERS file or outstanding review request is present. This PR is already approved, so I haven't submitted another approval or revoked the existing one.

Open in Web View Automation 

Sent by Cursor Automation: Assign PR reviewers

@dprevoznik
dprevoznik marked this pull request as ready for review July 21, 2026 11:11

@cursor cursor Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Stale comment

Risk assessment: Very Low

The full diff modifies only three MDX documentation pages. It adds guidance plus TypeScript, Python, and Go examples for using per-user profiles with browser pools; it doesn't change production code, API schemas, site configuration, infrastructure, authentication, permissions, or model prompts. The latest revision only clarifies example comments about declaring the pool separately from per-user workload execution, so the risk hasn't increased.

No CODEOWNERS file or outstanding review request is present. The PR is already approved, so I haven't submitted another approval or revoked the existing one.

Open in Web View Automation 

Sent by Cursor Automation: Assign PR reviewers

Comment thread browsers/pools/faq.mdx Outdated
@AnnaXWang
AnnaXWang self-requested a review July 21, 2026 14:14
Comment thread auth/profiles.mdx Outdated
</Warning>

<Note>
This is also how you use [browser pools](/browsers/pools/overview#per-user-profiles-with-pools) with per-user profiles: acquire a profile-free browser from the pool, load the user's profile with `save_changes: true`, then release it with `reuse: false` so the changes persist and the browser is destroyed rather than handed to the next user.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

This feels like it comes out of nowhere, maybe we need to say "to use profiles with browser pools, read: "

Covered by the save-changes FAQ answer above and the overview section.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>

@cursor cursor Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Stale comment

Risk assessment: Very Low

The full diff modifies only three MDX documentation pages, adding guidance and TypeScript, Python, and Go examples for using per-user profiles with browser pools. It doesn't change production code, API schemas, site configuration, infrastructure, authentication, permissions, or model prompts. The latest revision only removes a duplicate FAQ entry, so the risk hasn't increased.

No CODEOWNERS file or outstanding review request is present. The PR is already approved, so I haven't submitted another approval or revoked the existing one.

Open in Web View Automation 

Sent by Cursor Automation: Assign PR reviewers

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>

@cursor cursor Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Stale comment

Risk assessment: Very Low

The full diff changes only three MDX documentation pages. It adds guidance and TypeScript, Python, and Go examples for persisting per-user profiles through browser pools; it doesn't modify production code, API schemas, site configuration, infrastructure, authentication, permissions, or model prompts. Since the prior assessment, the only change is a one-sentence clarification in auth/profiles.mdx, so risk hasn't increased.

No CODEOWNERS file or requested reviewer is present. The PR is already approved, so I haven't submitted another approval or revoked the existing one.

Open in Web View Automation 

Sent by Cursor Automation: Assign PR reviewers

@cursor cursor Bot left a comment

Copy link
Copy Markdown

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 using high effort and found 1 potential issue.

Fix All in Cursor

❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.

Reviewed by Cursor Bugbot for commit e1b54a3. Configure here.

Comment thread auth/profiles.mdx
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>

@cursor cursor Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Risk assessment: Very Low

The full diff modifies only three MDX documentation pages, adding profile-persistence guidance and TypeScript, Python, and Go examples for browser pools. It doesn't change production code, API schemas, site configuration, infrastructure, authentication, permissions, or model prompts. The latest update replaces a longer duplicated note with a short link to the relevant FAQ, so risk hasn't increased.

No CODEOWNERS file or requested reviewer is present. The PR is already approved, so I haven't submitted another approval or revoked the existing one.

Open in Web View Automation 

Sent by Cursor Automation: Assign PR reviewers

@dprevoznik
dprevoznik merged commit 068a23a into main Jul 21, 2026
3 checks passed
@dprevoznik
dprevoznik deleted the hypeship/pooled-per-user-profiles branch July 21, 2026 14:46
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