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_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 2 times, most recently 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
@jrusso1020 jrusso1020 force-pushed the 07-10-refactor_render_add_execution_context branch from da86e33 to 75ea6e2 Compare July 14, 2026 17:03
@jrusso1020 jrusso1020 force-pushed the 07-10-refactor_engine_add_browser_leases branch from 78ee37c to 263a1a1 Compare July 14, 2026 17:03
@jrusso1020 jrusso1020 force-pushed the 07-10-refactor_render_add_execution_context branch from 75ea6e2 to d60af99 Compare July 14, 2026 17:11
@jrusso1020 jrusso1020 force-pushed the 07-10-refactor_engine_add_browser_leases branch 2 times, most recently from 406ba14 to a53a699 Compare July 14, 2026 17:35
@jrusso1020 jrusso1020 force-pushed the 07-10-refactor_render_add_execution_context branch from d60af99 to 6fa41a0 Compare July 14, 2026 17:35
@jrusso1020 jrusso1020 force-pushed the 07-10-refactor_engine_add_browser_leases branch from a53a699 to ae6769c Compare July 14, 2026 17:57
@jrusso1020 jrusso1020 force-pushed the 07-10-refactor_render_add_execution_context branch from 3e52184 to 703384e Compare July 14, 2026 18:06
@jrusso1020 jrusso1020 force-pushed the 07-10-refactor_engine_add_browser_leases branch from ae6769c to 3335e20 Compare July 14, 2026 18:06
@jrusso1020 jrusso1020 force-pushed the 07-10-refactor_render_add_execution_context branch from 703384e to 83eb853 Compare July 14, 2026 19:37
@jrusso1020 jrusso1020 force-pushed the 07-10-refactor_engine_add_browser_leases branch from 3335e20 to a1743df Compare July 14, 2026 19:37
@jrusso1020 jrusso1020 force-pushed the 07-10-refactor_render_add_execution_context branch from 83eb853 to 46506e3 Compare July 14, 2026 19:42
@jrusso1020 jrusso1020 force-pushed the 07-10-refactor_engine_add_browser_leases branch from a1743df to 446f86f Compare July 14, 2026 19:42
@jrusso1020 jrusso1020 force-pushed the 07-10-refactor_render_add_execution_context branch from 46506e3 to f4c0202 Compare July 14, 2026 19:47
@jrusso1020 jrusso1020 force-pushed the 07-10-refactor_engine_add_browser_leases branch from 446f86f to 248ec97 Compare July 14, 2026 19:47
@jrusso1020 jrusso1020 force-pushed the 07-10-refactor_render_add_execution_context branch from f4c0202 to e1c07c4 Compare July 14, 2026 19:55
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