Skip to content

perf: only lint included files, not all project files#216

Merged
Boshen merged 1 commit intomainfrom
c/09-08-perf_only_lint_included_files_not_all_project_files
Sep 8, 2025
Merged

perf: only lint included files, not all project files#216
Boshen merged 1 commit intomainfrom
c/09-08-perf_only_lint_included_files_not_all_project_files

Conversation

@camc314
Copy link
Copy Markdown
Contributor

@camc314 camc314 commented Sep 8, 2025

Program.SourceFiles() includes all source files, including those
from node_modules, builtin libs ect. However we don't need to lint these
files. This PR changes the logic to only lint included files (over
linting all files).

@camc314 camc314 marked this pull request as ready for review September 8, 2025 06:50
Copy link
Copy Markdown
Contributor Author

camc314 commented Sep 8, 2025


How to use the Graphite Merge Queue

Add the label 0-merge to this PR to add it to the merge queue.

You must have a Graphite account in order to use the merge queue. Sign up using this link.

An organization admin has enabled the Graphite Merge Queue in this repository.

Please do not merge from GitHub as this will restart CI on PRs being processed by the merge queue.

This stack of pull requests is managed by Graphite. Learn more about stacking.

@camc314 camc314 requested a review from Boshen September 8, 2025 06:51
@graphite-app graphite-app bot changed the base branch from c/09-08-test_add_test_for_linting_files_outside_a_project to graphite-base/216 September 8, 2025 07:02
@graphite-app graphite-app bot force-pushed the c/09-08-perf_only_lint_included_files_not_all_project_files branch from 53520f0 to f156349 Compare September 8, 2025 07:16
@graphite-app graphite-app bot changed the base branch from graphite-base/216 to main September 8, 2025 07:16
@graphite-app graphite-app bot force-pushed the c/09-08-perf_only_lint_included_files_not_all_project_files branch from f156349 to 38ea8f9 Compare September 8, 2025 07:16
@Boshen Boshen force-pushed the c/09-08-perf_only_lint_included_files_not_all_project_files branch from 38ea8f9 to d22faa2 Compare September 8, 2025 08:06
`Program.SourceFiles()` includes **all** source files, including those
from node_modules, builtin libs ect. However we don't need to lint these
files. This PR changes the logic to only lint included files (over
linting all files).
@Boshen Boshen force-pushed the c/09-08-perf_only_lint_included_files_not_all_project_files branch from f518552 to 247cef7 Compare September 8, 2025 11:03
@Boshen Boshen merged commit d930ada into main Sep 8, 2025
8 checks passed
@Boshen Boshen deleted the c/09-08-perf_only_lint_included_files_not_all_project_files branch September 8, 2025 14:41
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