Skip to content

refactor(estree/tokens): combine collect_token_context into to_estree_tokens_json#19534

Merged
graphite-app[bot] merged 1 commit intomainfrom
om/02-18-refactor_estree_tokens_combine_collect_token_context_into_to_estree_tokens_json_
Feb 24, 2026
Merged

refactor(estree/tokens): combine collect_token_context into to_estree_tokens_json#19534
graphite-app[bot] merged 1 commit intomainfrom
om/02-18-refactor_estree_tokens_combine_collect_token_context_into_to_estree_tokens_json_

Conversation

@overlookmotel
Copy link
Member

@overlookmotel overlookmotel commented Feb 19, 2026

Refactor. We had pointlessly complex logic where caller would call collect_token_context and then pass the result back into some other tokens code to_estree_tokens_json. Combine the 2 functions to make the call sites simpler.

Copy link
Member Author

overlookmotel commented Feb 19, 2026


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.

@codspeed-hq
Copy link

codspeed-hq bot commented Feb 19, 2026

Merging this PR will not alter performance

✅ 52 untouched benchmarks
⏩ 3 skipped benchmarks1


Comparing om/02-18-refactor_estree_tokens_combine_collect_token_context_into_to_estree_tokens_json_ (9f05f4b) with main (44cfb7b)

Open in CodSpeed

Footnotes

  1. 3 benchmarks were skipped, so the baseline results were used instead. If they were deleted from the codebase, click here and archive them to remove them from the performance reports.

@overlookmotel overlookmotel force-pushed the om/02-18-refactor_estree_reorder_tokens_code branch from 6eeb6f3 to 799095c Compare February 20, 2026 10:09
@overlookmotel overlookmotel force-pushed the om/02-18-refactor_estree_tokens_combine_collect_token_context_into_to_estree_tokens_json_ branch 2 times, most recently from 96294ca to a4a8f76 Compare February 20, 2026 11:43
@overlookmotel overlookmotel force-pushed the om/02-18-refactor_estree_reorder_tokens_code branch from 799095c to 71675be Compare February 20, 2026 11:43
@overlookmotel overlookmotel force-pushed the om/02-18-refactor_estree_tokens_combine_collect_token_context_into_to_estree_tokens_json_ branch from a4a8f76 to bd885e6 Compare February 23, 2026 16:11
@overlookmotel overlookmotel force-pushed the om/02-18-refactor_estree_reorder_tokens_code branch from 71675be to 7ba87da Compare February 23, 2026 16:11
@overlookmotel overlookmotel changed the base branch from om/02-18-refactor_estree_reorder_tokens_code to graphite-base/19534 February 23, 2026 22:35
@overlookmotel overlookmotel force-pushed the om/02-18-refactor_estree_tokens_combine_collect_token_context_into_to_estree_tokens_json_ branch from bd885e6 to cdd7a32 Compare February 23, 2026 22:49
This was referenced Feb 25, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

A-cli Area - CLI A-linter Area - Linter A-linter-plugins Area - Linter JS plugins A-parser Area - Parser 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.

2 participants