Skip to content

ci: run type-aware checks after compile bundling - #342114

Closed
Bryan Chen (bryanchen-d) wants to merge 1 commit into
mainfrom
bryanchen-d/split-compile-hygiene-memory
Closed

Bryan Chen (bryanchen-d) wants to merge 1 commit into
mainfrom
bryanchen-d/split-compile-hygiene-memory

Conversation

@bryanchen-d

Copy link
Copy Markdown
Collaborator

Summary

Follow-up to #339153 for #341818. Splits the remaining seven-way Compile & Hygiene step into two steps, so the checks that each build a TypeScript program no longer overlap with core-ci's minified bundling.

  • Compile & Hygiene: core-ci, hygiene, vscode-dts-compile-check, test-build-scripts
  • ESLint & Type-Aware Checks: eslint, tsec-compile-check, define-class-fields-check, valid-layers-check

Draft: this PR temporarily contains a memory sampler and a baseline job that measures the current layout. Both are removed before review.

Authored with Copilot

TEMP: includes a memory sampler and a baseline job for measurement; both are removed before review.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Copilot AI balanced review requested due to automatic review settings October 16, 2026 16:52

Copilot AI 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.

🔵 Needs a closer look

Temporary draft instrumentation remains, and the revised scheduling needs memory validation on the CI runner before final approval.

0 open findings

What changed in this PR

Reduces overlapping memory demand in Code OSS CI by moving type-aware checks after compilation and bundling, following #339153 and addressing #341818.

Changes:

  • Separates compilation/hygiene from ESLint and type-aware checks while retaining existing checks.
  • Adds temporary memory sampling and a baseline job to compare scheduling.
File Description
.github/​workflows/​pr.yml Splits check groups and adds temporary baseline measurement.
.github/​tmp-mem-sampler.sh Records peak observed runner memory and command duration while preserving exit status.

🧠 Review effort: Balanced


💡 Configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

@bryanchen-d

Copy link
Copy Markdown
Collaborator Author

Closing: the measurements below show the split doesn't help. It lowers the worst peak by only 0.8 GB and makes the job 27 s slower. Details are on #341818.

Co-authored with Copilot

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.

2 participants