You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Reuse the compiler for editor and test iteration - #1326
Use the existing keyed compiler server for Editor, runtime-test and Editor-test iteration. Shared test edits use it in both test projects. Extend the planner assertions while preserving the original frozen plan data.
Five alternating warm pairs on the same Windows-backed scratch checkout measured Editor edits at 34.15 vs 23.99 seconds, runtime fixture edits at 15.27 vs 8.75, Editor fixture edits at 23.06 vs 12.90 and shared test edits at 64.23 vs 31.11. The timer covered the full iterate invocation. Both arms rejected malformed C# in each class. The scratch source revision was aca920d and the planner revision was eb44d13. All project and compiler entry files matched between the scratch and authoring checkouts.
Seven focused planner cases initially failed on the missing server argument. The production change passed 285 focused tests, all 87 selected lints and all 141 selected contracts.
No actionable comments were generated in the recent review.
Walkthrough
The scoped Unity typecheck command now adds --server for the runtime, editor, tests, and editor-tests scopes. The frozen-plan test checks the flag for each scope before comparing plans with fixtures.
Changes: Scoped typecheck server flag
Layer / File(s)
Summary
Apply and verify scoped server flag scripts/agent_check.py, scripts/tests/test_agent_check.py
The command adds --server for all four scopes. The test checks that each matching command includes the flag, then removes it before comparing the plan with its fixture.
Ambiguous-Interactive/unity-helpers#1321: Updates runtime edit-feedback planning to select typecheck:iterate -- runtime --server, which overlaps with the runtime scope behavior in this change.
Merge Risk: Minimal · up to e66f1
This change makes editor and test typecheck iteration use the existing compiler server, as it already did for runtime. No concrete defect was found, and the updated planner test covers the new flag for each scope. Merge risk is minimal.
Pre-merge checks: 4
Check name
Status
Explanation
Title check
The title "Reuse the compiler for editor and test iteration" matches the main change: the scoped Unity typecheck command now appends --server for the runtime, editor, tests, and editor-tests scopes,…
Description check
The description follows the template's main parts. It has a purpose statement, a what-section describing the change, and a Refs-style closing, but it has no Why sentence, no bullet list under What, an…
Linked Issues check
Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check
Check skipped because no linked issues were found for this pull request.
Full details: Title check
Explanation
The title "Reuse the compiler for editor and test iteration" matches the main change: the scoped Unity typecheck command now appends --server for the runtime, editor, tests, and editor-tests scopes, reusing the existing keyed compiler server. It is specific and concise, and it does not describe anything outside the changeset.
Full details: Description check
Explanation
The description follows the template's main parts. It has a purpose statement, a what-section describing the change, and a Refs-style closing, but it has no Why sentence, no bullet list under What, and no linked issue reference. The benchmark data, test results, and disclosure are extra detail that the template places in a linked issue. The description is mostly complete, so it passes, although the template's Why and What sections are not labeled or formatted as specified.
Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts
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
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.
DISCLOSURE: LLM-GENERATED TEXT
Use the existing keyed compiler server for Editor, runtime-test and Editor-test iteration. Shared test edits use it in both test projects. Extend the planner assertions while preserving the original frozen plan data.
Five alternating warm pairs on the same Windows-backed scratch checkout measured Editor edits at 34.15 vs 23.99 seconds, runtime fixture edits at 15.27 vs 8.75, Editor fixture edits at 23.06 vs 12.90 and shared test edits at 64.23 vs 31.11. The timer covered the full iterate invocation. Both arms rejected malformed C# in each class. The scratch source revision was aca920d and the planner revision was eb44d13. All project and compiler entry files matched between the scratch and authoring checkouts.
Seven focused planner cases initially failed on the missing server argument. The production change passed 285 focused tests, all 87 selected lints and all 141 selected contracts.