Skip to content

Show "default" as the source of a region default - #716

Merged
tnsardesai merged 1 commit into
mainfrom
hypeship/location-source-default
Oct 21, 2026
Merged

tnsardesai merged 1 commit into
mainfrom
hypeship/location-source-default

Conversation

@tnsardesai

@tnsardesai tnsardesai commented Oct 20, 2026 •

Copy link
Copy Markdown
Contributor

Warning

Merge after kernel/kernel#4926 deploys. Until then the API still returns metro.

What

The response example on the browser location page now shows "locale_source": "default" instead of "metro".

Why

kernel/kernel#4926 renames the source value for a field that comes from the browser's region from metro, an internal term, to default.

Breaking change, safe to ship now

The page documents a value kernel/kernel#4926 renames, which breaks anyone who checks for metro. Nobody does yet:

  • The location field has been in production since 2026-10-19 22:59 UTC. Setting a location is limited by feature flag to Kernel's internal orgs and three opted-in orgs.
  • Since then, 3 browsers in production have had a location set, all in Kernel's internal org (one was the rollout smoke test). The three opted-in orgs created about 8.2k browsers and set no location.
  • The SDKs gained the field in 0.128.0, released 2026-10-19 23:39 UTC, and the docs page (Document browser location controls #602) published 2026-10-20 21:47 UTC.

Testing

Example-only change; no links or headings change.


Note

Low Risk
Single documentation example string; no runtime or API code in this repo.

Overview
Updates the Read effective location JSON example so locale_source is "default" instead of "metro", matching the public API after kernel/kernel#4926 renames the region-default source label.

Docs-only; no behavior, links, or headings change. Should ship after that kernel deploy so the example matches live responses.

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

@mintlify

mintlify Bot commented Oct 20, 2026 •

Copy link
Copy Markdown
Contributor

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

Project Status Preview Updated
Kernel 🟢 Ready View Preview Oct 20, 2026, 9:56 PM

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

@Sayan- Sayan- left a comment

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.

Looks good. Please merge after kernel/kernel#4926 deploys so the example matches the live response.

@Sayan- Sayan- left a comment

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.

Looks good. Merge after kernel/kernel#4926 deploys.

@tnsardesai
tnsardesai marked this pull request as ready for review October 21, 2026 01:00
@tnsardesai
tnsardesai merged commit 0615bf8 into main Oct 21, 2026
3 checks passed
@tnsardesai
tnsardesai deleted the hypeship/location-source-default branch October 21, 2026 01:01

This branch was successfully deployed

1 active deployment
staging — 1f9592fa Deployed Oct 20, 2026 by mintlify[bot]
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