Skip to content

make new browser tab focus on address bar - #474

Merged
AmethystLiang merged 2 commits into
mainfrom
make-new-browser-tab-focus-on-address-bar
Apr 11, 2026
Merged

AmethystLiang merged 2 commits into
mainfrom
make-new-browser-tab-focus-on-address-bar

Conversation

@AmethystLiang

Copy link
Copy Markdown
Contributor
  • Fix browser tab focus and grab shortcut behavior
  • fix: resolve focus stealing and iframe grabbing edge cases

- Move post-navigation focus handoff to the start of programmatic navigations to prevent stealing focus if the user clicks the address bar while the page is loading.
- Add IFRAME to the isEditable check in the grab shortcut guest forwarder to prevent stealing native copy from cross-origin iframes.
@AmethystLiang
AmethystLiang merged commit 8ccab25 into main Apr 11, 2026
1 check passed
Jinwoo-H added a commit that referenced this pull request Sep 17, 2026
… instance floor

Two corrections, in opposite directions.

auth was recorded at 2 instances. orca-cloud PR #474 raised auth_max_instances
2 -> 20 on 2026-09-04, after a cap of 2 starved desktop token refresh for hours.
Production has since used it: a 14-day pull shows instance maxima of 21, 16 and
18, with per-database num_backends of 205, 165 and 114 on those days, 9.2-9.8
connections per instance. The cap is not headroom nobody touches, so the honest
figure is 200 and auth is not being cut to make a gate pass.

The rollout overlap was too pessimistic in the other direction. It billed a
candidate revision at its full instance ceiling, on the premise that a tagged
revision escapes the service cap. The auth and API deploy scripts both build the
candidate with --tag and --no-traffic and never pass --min, then promote with an
atomic traffic flip, so each candidate holds only its service floor until the
flip: one instance for auth, and for API a service floor of zero lifted to one
by the smoke run against the tag origin. Those terms become 25 and 20.

The director candidate is the exception and keeps its full term. Its workflow
deliberately omits --min-instances so the candidate inherits the Terraform floor
of five and genuinely dual-serves; pinning it to one previously rebuilt a
per-instance admission shortage. At 30 it is now the widest overlap.

Net: 513 configured, 548 operating, against a usable ceiling of 490. Still over,
by 58. Every option that closes it on paper removes capacity production has
already used, so nothing here lowers a pool, an instance cap, or the reserve.
The gate stays red until the instance itself grows.
enrick-dev pushed a commit to enrick-dev/orca that referenced this pull request Oct 15, 2026
* Fix browser tab focus and grab shortcut behavior

* fix: resolve focus stealing and iframe grabbing edge cases

- Move post-navigation focus handoff to the start of programmatic navigations to prevent stealing focus if the user clicks the address bar while the page is loading.
- Add IFRAME to the isEditable check in the grab shortcut guest forwarder to prevent stealing native copy from cross-origin iframes.
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.

1 participant