perf(engine): prioritize pre-review scheduling for critical-path specs (fixes #476)#494
Open
perf(engine): prioritize pre-review scheduling for critical-path specs (fixes #476)#494
Conversation
fixes #476) Two changes to surface blocking issues earlier: 1. Exempt reviewer:pre-review nodes from cross-spec dependency propagation in the graph builder. Pre-reviews validate spec content, not upstream implementation, so they can run before upstream specs complete. 2. Add two-tier priority scheduling in _interleave_by_spec: auto_pre nodes (group 0) run before coder nodes, sorted by spec fan-out descending so high-impact specs surface blockers first.
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.
Summary
reviewer:pre-reviewnodes from cross-spec dependency propagation so they run immediately at start rather than waiting for upstream specs to complete_compute_spec_fan_out()to GraphSync for fan-out-weighted orderingCloses #476
Changes
agent_fox/graph/builder.pyreviewer:pre-reviewnodesagent_fox/engine/graph_sync.py_is_auto_pre,_spec_round_robin,_compute_spec_fan_outtests/unit/engine/test_spec_fair_scheduling.pytests/unit/graph/test_builder.pytests/property/engine/test_spec_fair_scheduling_props.pyTests
_is_auto_predetection, spec fan-out computation, ready_tasks integrationVerification
Auto-generated by
af-fix.