Operation runtime hardening - #45
Merged
Merged
Conversation
Centralize bounded operation execution, resource-specific limits, outcome collection, and interruption-aware scheduling behind one runtime.
Route optimization and conversion through the shared runtime, replace module-level options and lifecycle state with per-invocation dependencies, and consolidate progress and summary reporting. BREAKING CHANGE: operation execution now uses invocation-scoped runtime, lifecycle, and reporting contracts.
Dispatch from detected image metadata, serialize Guetzli work independently of file extensions, preserve bounded stderr diagnostics, and distinguish spawn, stream, exit, and signal failures.
343dev
force-pushed
the
improvement/operation-runtime-hardening
branch
from
September 25, 2026 11:43
8de1922 to
1f9409c
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR adds a shared runtime for image operations and removes invocation state from global modules.
Optimization and conversion now use the same execution flow. Each invocation owns its options, lifecycle, reporting, and signal handlers.
User-visible changes
Implementation
Breaking change
The internal execution contract now requires invocation-specific options, lifecycle, and reporting objects.