Skip to content

Conversation

@aszady
Copy link
Contributor

@aszady aszady commented Jan 23, 2026

[ A small extract from a larger change #153 ]


As the Resolve function just divides the input set of *api.Package in three different classes (installed, excluded, ignored), there is no need to use VarContext as a key in intermediary structs.
The refactored logic more clearly implements this intention. Also, this enables removing the VarContext in the future.

@aszady aszady marked this pull request as ready for review January 23, 2026 16:42
As the `Resolve` function just divides the input set of `*api.Package` in three different classes
(installed, excluded, ignored), there is no need to use `VarContext` as a key
in intermediary structs.
The refactored logic more clearly implements this intention.
Also, this enables removing the `VarContext` in the future.
@aszady aszady force-pushed the collapse.installSet branch from b700fb9 to 151a020 Compare January 24, 2026 12:38
@github-actions
Copy link

⚠️ Optional job e2e-bzlmod-toolchain-circular-dependencies failed ⚠️

  • exit status: 1

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.

1 participant