Skip to content

Conversation

@camc314
Copy link
Contributor

@camc314 camc314 commented Jun 30, 2025

No description provided.

@github-actions github-actions bot added A-linter Area - Linter A-semantic Area - Semantic A-ast Area - AST A-ast-tools Area - AST tools A-formatter Area - Formatter C-cleanup Category - technical debt or refactoring. Solution not expected to change behavior labels Jun 30, 2025
@camc314 camc314 marked this pull request as ready for review June 30, 2025 13:33
Copy link
Contributor Author

camc314 commented Jun 30, 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.

@codspeed-hq
Copy link

codspeed-hq bot commented Jun 30, 2025

CodSpeed Instrumentation Performance Report

Merging #11985 will degrade performances by 13.36%

Comparing c/06-30-refactor_ast_add_astkind_for_assignmenttargetpropertyidentifier_assignmenttargetpropertyproperty_ (f7a2ae4) with main (cfa52c2)

Summary

❌ 1 regressions
✅ 37 untouched benchmarks

⚠️ Please fix the performance issues or acknowledge them on CodSpeed.

Benchmarks breakdown

Benchmark BASE HEAD Change
mangler[cal.com.tsx] 3.1 ms 3.5 ms -13.36%

@graphite-app graphite-app bot changed the base branch from c/06-30-refactor_ast_add_astkind_for_assignmenttargetrest_ to graphite-base/11985 June 30, 2025 13:44
@graphite-app graphite-app bot force-pushed the c/06-30-refactor_ast_add_astkind_for_assignmenttargetpropertyidentifier_assignmenttargetpropertyproperty_ branch from 6f3b53c to 60e1b29 Compare June 30, 2025 13:53
@graphite-app graphite-app bot force-pushed the graphite-base/11985 branch from dda4a58 to cfa52c2 Compare June 30, 2025 13:53
@graphite-app graphite-app bot changed the base branch from graphite-base/11985 to main June 30, 2025 13:53
@graphite-app graphite-app bot force-pushed the c/06-30-refactor_ast_add_astkind_for_assignmenttargetpropertyidentifier_assignmenttargetpropertyproperty_ branch from 60e1b29 to 40a6a8c Compare June 30, 2025 13:53
@camc314 camc314 force-pushed the c/06-30-refactor_ast_add_astkind_for_assignmenttargetpropertyidentifier_assignmenttargetpropertyproperty_ branch from 40a6a8c to 23fd4fb Compare June 30, 2025 14:20
Copy link
Member

@camchenry camchenry left a comment

Choose a reason for hiding this comment

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

Looks good. One general comment I have after looking at these rules is that we should come up with some better abstractions for getting/checking ancestor state. Seems like something that shows up in a lot of rules, and is tricky to implement well. I'm sure there's also some perf opportunities there too.

@camc314
Copy link
Contributor Author

camc314 commented Jun 30, 2025

Looks good. One general comment I have after looking at these rules is that we should come up with some better abstractions for getting/checking ancestor state. Seems like something that shows up in a lot of rules, and is tricky to implement well. I'm sure there's also some perf opportunities there too.

definitly, I think with our codegen, we could also do something like

impl <some node> {
  fn parent(&self, nodes) -> some enum
}

where some enum is correctly narrowed based on the type of the node the fn parent function has

@camc314 camc314 added the 0-merge Merge with Graphite Merge Queue label Jun 30, 2025
Copy link
Contributor Author

camc314 commented Jun 30, 2025

Merge activity

@graphite-app graphite-app bot force-pushed the c/06-30-refactor_ast_add_astkind_for_assignmenttargetpropertyidentifier_assignmenttargetpropertyproperty_ branch from 23fd4fb to f7a2ae4 Compare June 30, 2025 20:28
@graphite-app graphite-app bot merged commit f7a2ae4 into main Jun 30, 2025
24 checks passed
@graphite-app graphite-app bot removed the 0-merge Merge with Graphite Merge Queue label Jun 30, 2025
@graphite-app graphite-app bot deleted the c/06-30-refactor_ast_add_astkind_for_assignmenttargetpropertyidentifier_assignmenttargetpropertyproperty_ branch June 30, 2025 20:36
This was referenced Jul 2, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

A-ast Area - AST A-ast-tools Area - AST tools A-formatter Area - Formatter A-linter Area - Linter A-semantic Area - Semantic 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