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 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
@jrusso1020 jrusso1020 force-pushed the 07-10-refactor_render_add_execution_context branch from d6188b9 to c3614df Compare July 13, 2026 15:52
@jrusso1020 jrusso1020 force-pushed the 07-10-refactor_engine_add_browser_leases branch from 0243086 to d3228f6 Compare July 13, 2026 15:52
@jrusso1020 jrusso1020 force-pushed the 07-10-refactor_render_add_execution_context branch from c3614df to d9d5892 Compare July 13, 2026 17:29
@jrusso1020 jrusso1020 force-pushed the 07-10-refactor_engine_add_browser_leases branch 2 times, most recently from bd95455 to 7a244a3 Compare July 13, 2026 18:09
@jrusso1020 jrusso1020 force-pushed the 07-10-refactor_render_add_execution_context branch 2 times, most recently from 82a2f69 to ebdc7d4 Compare July 13, 2026 18:35
@jrusso1020 jrusso1020 force-pushed the 07-10-refactor_engine_add_browser_leases branch from 7a244a3 to 246c941 Compare July 13, 2026 18:35
@jrusso1020 jrusso1020 force-pushed the 07-10-refactor_render_add_execution_context branch from ebdc7d4 to b53c113 Compare July 13, 2026 20:27
@jrusso1020 jrusso1020 force-pushed the 07-10-refactor_engine_add_browser_leases branch 2 times, most recently from fa435fb to e9734f0 Compare July 13, 2026 20:33
@jrusso1020 jrusso1020 force-pushed the 07-10-refactor_render_add_execution_context branch from 2479ac9 to d830b03 Compare July 13, 2026 22:09
@jrusso1020 jrusso1020 force-pushed the 07-10-refactor_engine_add_browser_leases branch from e9734f0 to 1dd7199 Compare July 13, 2026 22:09
@jrusso1020 jrusso1020 force-pushed the 07-10-refactor_render_add_execution_context branch from d830b03 to a9e5a31 Compare July 13, 2026 22:18
@jrusso1020 jrusso1020 force-pushed the 07-10-refactor_engine_add_browser_leases branch from 1dd7199 to 82cdfe7 Compare July 13, 2026 22:18
@jrusso1020 jrusso1020 force-pushed the 07-10-refactor_render_add_execution_context branch from a9e5a31 to 8233fbc Compare July 13, 2026 23:08
@jrusso1020 jrusso1020 force-pushed the 07-10-refactor_engine_add_browser_leases branch 2 times, most recently from 5f2aacb to 489aa3c Compare July 14, 2026 00:03
@jrusso1020 jrusso1020 force-pushed the 07-10-refactor_render_add_execution_context branch from 8233fbc to 164a96f Compare July 14, 2026 00:03
@jrusso1020 jrusso1020 force-pushed the 07-10-refactor_render_add_execution_context branch from 164a96f to da86e33 Compare July 14, 2026 03:20
@jrusso1020 jrusso1020 force-pushed the 07-10-refactor_engine_add_browser_leases branch from 489aa3c to 78ee37c Compare July 14, 2026 03:20
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