Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PMM-12429 Use a configuration file for mockery (v2) #2839

Merged
merged 7 commits into from
Feb 26, 2024

Conversation

ademidoff
Copy link
Member

@ademidoff ademidoff commented Feb 22, 2024

PMM-12429

SUBMODULES-3561

It's cherry-picked from v3 to v2.

The motivation was born out of the fact that dependabot would continue to make PRs to upgrade mockery; without migration the interfaces continue to bear the mockery version, which conflicts with v3, where the interface files are already unversioned.

Based on the above, this PR should make it less challenging to merge upgrades.

This PR also bumps up Go to v1.22 as mockery v2.42.0 doesn't compile w/o it.

It should close #2836.

Copy link

codecov bot commented Feb 22, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 42.03%. Comparing base (f8d5049) to head (2ba926a).

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #2839      +/-   ##
==========================================
- Coverage   42.22%   42.03%   -0.20%     
==========================================
  Files         396      399       +3     
  Lines       50120    50316     +196     
==========================================
- Hits        21165    21149      -16     
- Misses      26951    27163     +212     
  Partials     2004     2004              
Flag Coverage Δ
admin 11.55% <ø> (-0.06%) ⬇️
agent 52.23% <ø> (-0.96%) ⬇️
managed 42.74% <ø> (-0.04%) ⬇️
vmproxy 68.57% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

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

@ademidoff ademidoff marked this pull request as ready for review February 23, 2024 08:04
@ademidoff ademidoff requested review from JiriCtvrtka and removed request for a team February 23, 2024 08:04
@BupycHuk
Copy link
Member

@ademidoff since it's upgrade to Go 1.22.0, could you please create FB?

@ademidoff
Copy link
Member Author

ademidoff commented Feb 26, 2024

@ademidoff since it's upgrade to Go 1.22.0, could you please create FB?

Sure! Just launched the FB, will update here once I'm able to test it.

Update: the instance seems to work OK, and the API tests pass as well.

@ademidoff ademidoff merged commit c8b4c11 into main Feb 26, 2024
30 of 33 checks passed
@ademidoff ademidoff deleted the PMM-12429-mockery-use-config-file-v2 branch February 26, 2024 15:21
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.

3 participants