Skip to content

Reuse the compiler for editor and test iteration - #1326

Merged
Eli Pinkerton (wallstop) merged 1 commit into
mainfrom
task/reuse-iterate-editor-test-compiler
Nov 23, 2026
Merged

Eli Pinkerton (wallstop) merged 1 commit into
mainfrom
task/reuse-iterate-editor-test-compiler

Conversation

@wallstop

Copy link
Copy Markdown
Collaborator

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.

@cursor

cursor Bot commented Nov 23, 2026

Copy link
Copy Markdown

Bugbot needs on-demand usage enabled

Bugbot uses usage-based billing for this team and requires on-demand usage to be enabled.

A team admin can enable on-demand usage in the Cursor dashboard.

@coderabbitai

coderabbitai Bot commented Nov 23, 2026 •

Copy link
Copy Markdown

Explain Change →

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.

Estimated code review effort: 2 (Simple) | ~5 minutes

Possibly related PRs

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: Passed 4

Check name Status Explanation
Title check Passed 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 Passed 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 Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check Passed 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
Recent review details

Context from checks skipped due to timeout: 1

  • GitHub Check: CodeRabbit
Additional context used

Code guidelines: 3

.agents/skills/add-inspector-attribute/SKILL.md — Agent Skill
.agents/skills/honest-gates/SKILL.md — Agent Skill
.claude/skills/test-odin-drawers/SKILL.md — Agent Skill
Path-based instructions: 1

Source excerpt:

@github-actions github-actions Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

DISCLOSURE: LLM-GENERATED TEXT

OpenAI review: 0 findings.

No defects found in the diff.

5882 in, 524 out tokens. Comments only; this review never blocks a merge.

@wallstop
Eli Pinkerton (wallstop) merged commit e2cf32f into main Nov 23, 2026
35 of 38 checks passed
@wallstop
Eli Pinkerton (wallstop) deleted the task/reuse-iterate-editor-test-compiler branch November 23, 2026 11:47
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