Skip to content

refactor(engine): add fingerprinted browser leases#2159

Open
jrusso1020 wants to merge 1 commit into
07-10-refactor_render_add_execution_contextfrom
07-10-refactor_engine_add_browser_leases
Open

refactor(engine): add fingerprinted browser leases#2159
jrusso1020 wants to merge 1 commit into
07-10-refactor_render_add_execution_contextfrom
07-10-refactor_engine_add_browser_leases

Conversation

@jrusso1020

@jrusso1020 jrusso1020 commented Jul 10, 2026

Copy link
Copy Markdown
Collaborator

What

Replace partial browser pooling with immutable, fingerprinted browser leases.

Why

Acquisition could observe the wrong launch configuration or race a browser that was already closing, and construction failure could leak ownership.

How

Model launching/ready/closing entries, remove closing instances from availability, return idempotent leases, and roll back partial sessions.

Test plan

  • browser lease pool, browser manager race, and frame-capture construction tests
  • Stack-wide lint, format, build, typecheck, and relevant integration gates

jrusso1020 commented Jul 10, 2026

Copy link
Copy Markdown
Collaborator Author

Warning

This pull request is not mergeable via GitHub because a downstack PR is open. Once all requirements are satisfied, merge this PR as a stack on Graphite.
Learn more

This stack of pull requests is managed by Graphite. Learn more about stacking.

@jrusso1020 jrusso1020 force-pushed the 07-10-refactor_engine_add_browser_leases branch 2 times, most recently from ffd0d53 to f144ac5 Compare July 11, 2026 08:17
@jrusso1020 jrusso1020 force-pushed the 07-10-refactor_render_add_execution_context branch 2 times, most recently from b108d4f to 96c989c Compare July 11, 2026 08:21
@jrusso1020 jrusso1020 force-pushed the 07-10-refactor_engine_add_browser_leases branch from f144ac5 to 9b98f59 Compare July 11, 2026 08:21
@jrusso1020 jrusso1020 force-pushed the 07-10-refactor_render_add_execution_context branch from 96c989c to 99bec1e Compare July 11, 2026 08:53
@jrusso1020 jrusso1020 force-pushed the 07-10-refactor_engine_add_browser_leases branch 2 times, most recently from 3b41c64 to 94127a5 Compare July 11, 2026 17:05
@jrusso1020 jrusso1020 force-pushed the 07-10-refactor_render_add_execution_context branch from 1878b29 to efd1c86 Compare July 11, 2026 17:30
@jrusso1020 jrusso1020 force-pushed the 07-10-refactor_engine_add_browser_leases branch from 94127a5 to dfa70a0 Compare July 11, 2026 17:30
@jrusso1020 jrusso1020 force-pushed the 07-10-refactor_render_add_execution_context branch from efd1c86 to b75de2d Compare July 11, 2026 17:38
@jrusso1020 jrusso1020 force-pushed the 07-10-refactor_engine_add_browser_leases branch from dfa70a0 to 51b07de Compare July 11, 2026 17:38
@jrusso1020 jrusso1020 force-pushed the 07-10-refactor_render_add_execution_context branch from b75de2d to 98358c3 Compare July 11, 2026 18:04
@jrusso1020 jrusso1020 force-pushed the 07-10-refactor_engine_add_browser_leases branch from 51b07de to 46deb84 Compare July 11, 2026 18:04
@jrusso1020 jrusso1020 force-pushed the 07-10-refactor_render_add_execution_context branch from 98358c3 to cf33ce4 Compare July 11, 2026 18:11
@jrusso1020 jrusso1020 force-pushed the 07-10-refactor_engine_add_browser_leases branch from 46deb84 to 4906846 Compare July 11, 2026 18:11
@jrusso1020 jrusso1020 force-pushed the 07-10-refactor_render_add_execution_context branch from cf33ce4 to 5686104 Compare July 11, 2026 18:16
@jrusso1020 jrusso1020 force-pushed the 07-10-refactor_engine_add_browser_leases branch 2 times, most recently from 5c2c5da to 13a4f11 Compare July 11, 2026 18:21
@jrusso1020 jrusso1020 force-pushed the 07-10-refactor_render_add_execution_context branch 2 times, most recently from 04cdfef to e2b7c9d Compare July 12, 2026 04:01
@jrusso1020 jrusso1020 force-pushed the 07-10-refactor_engine_add_browser_leases branch from 13a4f11 to bad4059 Compare July 12, 2026 04:01
@jrusso1020 jrusso1020 force-pushed the 07-10-refactor_render_add_execution_context branch from e2b7c9d to 8c537d2 Compare July 12, 2026 04:32
@jrusso1020 jrusso1020 force-pushed the 07-10-refactor_engine_add_browser_leases branch 2 times, most recently from 40abcdc to d93f968 Compare July 12, 2026 04:58
@jrusso1020 jrusso1020 force-pushed the 07-10-refactor_render_add_execution_context branch from 77f7246 to c65c003 Compare July 12, 2026 08:54
@jrusso1020 jrusso1020 force-pushed the 07-10-refactor_engine_add_browser_leases branch from d93f968 to d069da3 Compare July 12, 2026 08:54
@jrusso1020 jrusso1020 force-pushed the 07-10-refactor_render_add_execution_context branch from c65c003 to d6188b9 Compare July 12, 2026 09:11
@jrusso1020 jrusso1020 force-pushed the 07-10-refactor_engine_add_browser_leases branch from d069da3 to 0243086 Compare July 12, 2026 09:11
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