Skip to content

Conversation

@Sysix
Copy link
Member

@Sysix Sysix commented May 3, 2025

Normally we would just restart the ServerLinter.isolated_linter or the Worker.nested_configs.
I do not see the benefits to store the nested_configs separately and changing them + the isolated_linter when needed.
And I do not want to change isolated_linter from Arc to RwLock / Mutex.

When a .oxlintrc.json file changes, we just set up the linter and searching for all nested configs again.

Copy link
Member Author

Sysix commented May 3, 2025


How to use the Graphite Merge Queue

Add either label to this PR to merge it via the merge queue:

  • 0-merge - adds this PR to the back of the merge queue
  • hotfix - for urgent hot fixes, skip the queue and merge this PR next

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.

@github-actions github-actions bot added A-editor Area - Editor and Language Server C-cleanup Category - technical debt or refactoring. Solution not expected to change behavior labels May 3, 2025
@codspeed-hq
Copy link

codspeed-hq bot commented May 3, 2025

CodSpeed Instrumentation Performance Report

Merging #10775 will not alter performance

Comparing 05-03-refactor_language_server_move_nested_configs_to_serverlinter_ (39e0463) with main (0f7e755)

Summary

✅ 36 untouched benchmarks

@graphite-app graphite-app bot force-pushed the 05-02-refactor_language_server_move_gitignore_glob_to_serverlinter_ branch 2 times, most recently from 5087608 to 8c611a6 Compare May 4, 2025 07:13
@graphite-app graphite-app bot force-pushed the 05-03-refactor_language_server_move_nested_configs_to_serverlinter_ branch from 899c673 to 40f6402 Compare May 4, 2025 07:13
@Sysix Sysix force-pushed the 05-03-refactor_language_server_move_nested_configs_to_serverlinter_ branch from 40f6402 to 141d7e2 Compare May 4, 2025 08:44
@Sysix Sysix force-pushed the 05-02-refactor_language_server_move_gitignore_glob_to_serverlinter_ branch from 8c611a6 to 88072e4 Compare May 4, 2025 08:44
@Sysix Sysix marked this pull request as ready for review May 4, 2025 10:32
@Sysix Sysix force-pushed the 05-02-refactor_language_server_move_gitignore_glob_to_serverlinter_ branch from 88072e4 to fb5a464 Compare May 7, 2025 11:40
@Sysix Sysix requested a review from camc314 as a code owner May 7, 2025 11:40
@Sysix Sysix force-pushed the 05-03-refactor_language_server_move_nested_configs_to_serverlinter_ branch from 141d7e2 to 70ab58d Compare May 7, 2025 11:40
@graphite-app graphite-app bot changed the base branch from 05-02-refactor_language_server_move_gitignore_glob_to_serverlinter_ to graphite-base/10775 May 7, 2025 11:58
@graphite-app graphite-app bot force-pushed the graphite-base/10775 branch from fb5a464 to 9ec13f6 Compare May 7, 2025 12:01
@graphite-app graphite-app bot force-pushed the 05-03-refactor_language_server_move_nested_configs_to_serverlinter_ branch from 70ab58d to 851a12e Compare May 7, 2025 12:01
@graphite-app graphite-app bot changed the base branch from graphite-base/10775 to main May 7, 2025 12:02
@graphite-app graphite-app bot force-pushed the 05-03-refactor_language_server_move_nested_configs_to_serverlinter_ branch from 851a12e to 12f7863 Compare May 7, 2025 12:02
@Sysix Sysix force-pushed the 05-03-refactor_language_server_move_nested_configs_to_serverlinter_ branch from 12f7863 to bb1a31e Compare May 7, 2025 12:38
@Sysix Sysix added the 0-merge Merge with Graphite Merge Queue label May 7, 2025
Copy link
Member Author

Sysix commented May 7, 2025

Merge activity

…10775)

Normally we would just restart the `ServerLinter.isolated_linter` or the `Worker.nested_configs`.
I do not see the benefits to store the `nested_configs` separately and changing them + the `isolated_linter` when needed.
And I do not want to change `isolated_linter` from `Arc` to `RwLock` / `Mutex`.

When a `.oxlintrc.json` file changes, we just set up the linter and searching for all nested configs again.
@graphite-app graphite-app bot force-pushed the 05-03-refactor_language_server_move_nested_configs_to_serverlinter_ branch from bb1a31e to 39e0463 Compare May 7, 2025 14:03
@graphite-app graphite-app bot merged commit 39e0463 into main May 7, 2025
25 checks passed
@graphite-app graphite-app bot removed the 0-merge Merge with Graphite Merge Queue label May 7, 2025
@graphite-app graphite-app bot deleted the 05-03-refactor_language_server_move_nested_configs_to_serverlinter_ branch May 7, 2025 14:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

A-editor Area - Editor and Language Server C-cleanup Category - technical debt or refactoring. Solution not expected to change behavior

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants