Skip to content

feat: introduce dedicated transitive preset and more generally account for "required plugins" during resolving#2575

Merged
G-Rath merged 5 commits intogoogle:mainfrom
ackama:feat/transitive-preset
Mar 4, 2026
Merged

feat: introduce dedicated transitive preset and more generally account for "required plugins" during resolving#2575
G-Rath merged 5 commits intogoogle:mainfrom
ackama:feat/transitive-preset

Conversation

@G-Rath
Copy link
Collaborator

@G-Rath G-Rath commented Mar 4, 2026

Resolves #2537

@codecov-commenter
Copy link

codecov-commenter commented Mar 4, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 68.00%. Comparing base (082ab55) to head (803ac52).

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #2575      +/-   ##
==========================================
+ Coverage   67.88%   68.00%   +0.12%     
==========================================
  Files         173      173              
  Lines       13420    13393      -27     
==========================================
- Hits         9110     9108       -2     
+ Misses       3595     3574      -21     
+ Partials      715      711       -4     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

},
want: []string{},
},
//
Copy link
Contributor

Choose a reason for hiding this comment

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

delete this line?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

this kind of line has been used throughout this file to break up blocks of tests, otherwise I find they get very hard to read through especially when having IDEs fold them - in this case the first "block" is focused on one specific enricher, while the second "block" is using the new transitive preset

Copy link
Contributor

Choose a reason for hiding this comment

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

ah I see - maybe add an comment to indicate this is a "separator" between the two types of tests.

@G-Rath G-Rath requested a review from cuixq March 4, 2026 02:16
license/depsdev
---

[TestResolve_Enrichers_Presets/transitive - 1]
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

note this is empty because none of the required plugins are enabled - ideally I'd like to have them here, but for now I've just added the "all presets" snapshot test since we just have the two plugins that require another plugin 🤷

},
want: []string{},
},
//
Copy link
Contributor

Choose a reason for hiding this comment

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

ah I see - maybe add an comment to indicate this is a "separator" between the two types of tests.

@G-Rath G-Rath merged commit 5af151e into google:main Mar 4, 2026
17 checks passed
@G-Rath G-Rath deleted the feat/transitive-preset branch March 4, 2026 03:58
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.

Make it easier to opt into transitive enrichers

3 participants