Skip to content

Conversation

@wraithgar
Copy link
Member

Smaller version of #8675 without the code rollups.

  • constructor logic was consolidated. It takes place in the main Arborist constructor when possible, allowing us to see all of the constructor at once and find any duplications or problems. It's evident that our approach to options/this.options needs some attention.
  • Some small single-use methods were inlined into the code that called them. In many cases this prevented re-pulling variables from this.
  • remove unused param from call to #linkFromSpec. The function is not expecting a fourth parameter.
  • remove unused private attributes, #dryRun and #savePrefix are not used anymore

@wraithgar wraithgar requested a review from a team as a code owner October 15, 2025 19:57
move everything public to Arborist
move everything "private" and shared to build-ideal-tree
remove #resetQueues in favor of an initial value and explicit reset
@wraithgar wraithgar force-pushed the gar/arborist-cleanup branch from ad64a4a to fe38984 Compare October 15, 2025 20:49
Both times we call this we are already checking this, no need to do it twice
@wraithgar wraithgar force-pushed the gar/arborist-cleanup branch from fe38984 to f66fc62 Compare October 15, 2025 20:52
@wraithgar wraithgar merged commit 05319f0 into latest Oct 16, 2025
16 checks passed
@wraithgar wraithgar deleted the gar/arborist-cleanup branch October 16, 2025 01:30
@github-actions github-actions bot mentioned this pull request Oct 15, 2025
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