Skip to content

refactor(render): centralize execution ownership#2158

Open
jrusso1020 wants to merge 1 commit into
07-10-refactor_core_unify_composition_contractfrom
07-10-refactor_render_add_execution_context
Open

refactor(render): centralize execution ownership#2158
jrusso1020 wants to merge 1 commit into
07-10-refactor_core_unify_composition_contractfrom
07-10-refactor_render_add_execution_context

Conversation

@jrusso1020

@jrusso1020 jrusso1020 commented Jul 10, 2026

Copy link
Copy Markdown
Collaborator

What

Centralize render-scoped cancellation, logging, event publication, and cleanup ownership.

Why

Independent cleanup paths and global logging made failure ordering and resource disposal difficult to reason about.

How

Introduce RenderExecutionContext with immutable request state, disposer stack, scoped logger, ordered publisher, and one outer cleanup path.

Test plan

  • render execution context and cleanup tests; producer orchestrator 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_core_unify_composition_contract branch from d266322 to e1a0e21 Compare July 13, 2026 20:33
@jrusso1020 jrusso1020 force-pushed the 07-10-refactor_render_add_execution_context branch 4 times, most recently from a9e5a31 to 8233fbc Compare July 13, 2026 23:08
@jrusso1020 jrusso1020 force-pushed the 07-10-refactor_core_unify_composition_contract branch 2 times, most recently from 43cf344 to b4a3e92 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_core_unify_composition_contract branch from b4a3e92 to feb7e4c Compare July 14, 2026 03:20
@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_core_unify_composition_contract branch from feb7e4c to 7819054 Compare July 14, 2026 17:03
@jrusso1020 jrusso1020 force-pushed the 07-10-refactor_render_add_execution_context branch 2 times, most recently from 75ea6e2 to d60af99 Compare July 14, 2026 17:11
@jrusso1020 jrusso1020 force-pushed the 07-10-refactor_core_unify_composition_contract branch from 2fc5605 to 899a76f 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_core_unify_composition_contract branch from 899a76f to 3f3ef16 Compare July 14, 2026 17:57
@jrusso1020 jrusso1020 force-pushed the 07-10-refactor_render_add_execution_context branch 2 times, most recently from 3e52184 to 703384e Compare July 14, 2026 18:06
@jrusso1020 jrusso1020 force-pushed the 07-10-refactor_core_unify_composition_contract branch 2 times, most recently from 3ce2250 to aa33190 Compare July 14, 2026 19:37
@jrusso1020 jrusso1020 force-pushed the 07-10-refactor_render_add_execution_context branch 2 times, most recently from 83eb853 to 46506e3 Compare July 14, 2026 19:42
@jrusso1020 jrusso1020 force-pushed the 07-10-refactor_core_unify_composition_contract branch from aa33190 to 5ea629a Compare July 14, 2026 19:42
@jrusso1020 jrusso1020 force-pushed the 07-10-refactor_render_add_execution_context branch 2 times, most recently from f4c0202 to e1c07c4 Compare July 14, 2026 19:55
@jrusso1020 jrusso1020 force-pushed the 07-10-refactor_core_unify_composition_contract branch 2 times, most recently from 64dd81f to 3fd5863 Compare July 14, 2026 23:29
@jrusso1020 jrusso1020 force-pushed the 07-10-refactor_render_add_execution_context branch from e1c07c4 to 09358da Compare July 14, 2026 23:29
@jrusso1020 jrusso1020 force-pushed the 07-10-refactor_core_unify_composition_contract branch from 3fd5863 to ce68bce Compare July 14, 2026 23:41
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