Document safe profile writer coordination - #498
Open
IlyaasK wants to merge 1 commit into
Open
Conversation
Contributor
|
Preview deployment for your docs. Learn more about Mintlify Previews.
💡 Tip: Enable Workflows to automatically generate PRs for you. |
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
IlyaasK
marked this pull request as ready for review
August 10, 2026 19:23
There was a problem hiding this comment.
Risk assessment: Very Low
Verdict: Approve
Evidence (from diff only)
- 1 file changed:
auth/profiles.mdx(+63 / −1) - Documentation-only update on the Profiles guide: new “Prevent concurrent profile writes” section, TS/Python/Go examples for listing active writers via
profile_save_changes, and a Notes bullet clarifying last-write-wins overwrite semantics - No application code, API implementation, config, CI, or infrastructure changes
Risk factors
| Factor | Assessment |
|---|---|
| Codepaths / production logic | None modified |
| Blast radius | Docs site content only |
| Complexity | Straightforward guide + examples |
| Infra / security / auth model | Unaffected |
| User-facing surface | Documentation only |
Decision
Fits Very Low criteria (documentation-only, small scoped diff, no runtime or shared-system impact). No CODEOWNERS file requiring additional ownership review. No prior approvals on this PR.
Action: Approved.
Sent by Cursor Automation: Assign PR reviewers
IlyaasK
requested review from
AnnaXWang,
ehfeng and
sjmiller609
and removed request for
AnnaXWang and
sjmiller609
August 10, 2026 19:24
ehfeng
approved these changes
Aug 10, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.


What
GET /browsers?status=active&query=<profileId>andprofile_save_changesprofile.idmatch becausequerysearches multiple browser fieldsWhy
kernel/kernel#3177 exposes
profile_save_changesin browser responses. Customers can now identify active sessions that may overwrite a profile, but the Profiles guide did not explain the overwrite semantics or how to use the new field safely.Customer impact
Customers get a concrete TypeScript, Python, and Go pattern for detecting active profile writers and guidance for preventing two workers from writing the same profile concurrently.
Related
Verification
npx --yes mint@latest broken-linksgit diff --checkThe generated API reference is unchanged and continues to update from the deployed OpenAPI specification.
Note
Low Risk
Documentation-only changes to the Profiles guide with no runtime or API behavior impact.
Overview
Adds a Prevent concurrent profile writes section to the Profiles guide that explains profile saves replace the full stored state (no merge) and that the session that ends last wins when multiple browsers use
save_changes: true.Documents how to detect active writers via
GET /browsers?status=active&query=<profileId>andprofile_save_changes, with TypeScript, Python, and Go examples that also filter on an exactprofile.idbecausequerycan match other fields. Notes that workers still need a lock or lease around the list check and browser creation.The Notes bullet on parallel profile use is tightened to match the same overwrite semantics.
Reviewed by Cursor Bugbot for commit 431755f. Bugbot is set up for automated code reviews on this repo. Configure here.