Repository navigation
Reuse the compiler-owned resolved configuration in source queries - #1029
Merged
Merged
Conversation
trissim
marked this pull request as ready for review
October 6, 2026 07:35
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.
Compilation source and component queries now borrow the configuration already resolved by the compiler, its axis request, or CompilationSession. This removes repeated ObjectState reconstruction during axis filtering, sequential planning, source admission, path planning, and materialization planning. Filtered component queries use the same resolved configuration for their projection query.
Public queries without a supplied compilation configuration still resolve the current saved declaration. Full-plate discovery stays full-plate. The existing compilation owner supplies the configuration; no persistent configuration cache is added.
Closes #1028
Validation: 122 existing path/materialization/filter/compiler controls pass; nine workspace owner controls pass, including held compilation configuration versus a live source-filter edit and reinitialization. One unrelated
test_artifact_managed_regular_pattern_uses_declared_owner_scopeassertion (expected channel 1, actual 2/3) reproduces unchanged on the frozen baseline whose path-planner source is identical to main fc7. Three existing getter stubs were updated for the explicit compiler keyword.Ordinary receiving passed on clean, unchanged head
4184442703a7a796e8811183489f67c80a4855b6: both original single-well cases completed warmup plus three measured repetitions, with all five science/output comparison gates reporting zero differences for every observation. The original source/pipeline identity checks and strict retained native-reference guards passed. These are ordinary timings with catalog/server startup excluded, not profiler timings or fresh native reruns.Values are medians of three measured repetitions.
SERVER_COMPILATION_JOBis the complete server compilation lifecycle; the earlier 0.171/0.247 s numbers were nested compilation-progress windows and are not used here. OpenHCS total covers client compilation and execution submission/wait scopes. Total decreased by approximately 39% and 19.6% respectively against v14.The v14 baseline is source
b235; candidate418444270also includes intervening main changes, including #1025 and #981. This is a cross-head ordinary comparison, not an isolated same-head A/B claim. The genuine saved-input compiler replay independently established 13/11 redundantget_effective_configcalls for the 3/10-step declarations, and plain baseline plans/bundle compilation took 157/221 ms with readiness excluded. The patch removes those repeated pipeline configuration queries while retaining per-step declaration resolution. Inclusive profiler times are not claimed as runtime savings; the first replay's cold StorageRegistry constructor is also excluded from compilation pricing.Receiving evidence:
/home/ts/.local/state/openhcs-maintenance/20261006/compiler-config-snapshot-receiving-v1(terminal return code 0, source head unchanged and clean). Saved compiler evidence:/home/ts/.local/state/openhcs-maintenance/20261006/short-pipeline-compiler-pricing-v1. Main synchronization was verified through3dbd24e96360a3f50f6d8d1f2f46adc18f7ef7eeafter qualification.