tidb icon indicating copy to clipboard operation
tidb copied to clipboard

build(deps): bump go.uber.org/mock from 0.4.0 to 0.5.0

Open dependabot[bot] opened this issue 1 year ago • 5 comments

Bumps go.uber.org/mock from 0.4.0 to 0.5.0.

Release notes

Sourced from go.uber.org/mock's releases.

v0.5.0

0.5.0 (15 Oct 2024)

Added

  • #153[]: Add --write_command_comment flag to specify whether to include Generated by this command comment.
  • #191[]: Add --build_constraint flag to add //go:build directives to generated mocks
  • #214[]: Add gob mode to support custom package loading techniques in place of --exec_only

Changed

  • #181[]: Made mockgen faster by changing flags passed to go list.
  • #183[]: Made Cond matcher generic.
  • #204[]: Removed ISGOMOCK() from generated mocks.
  • #207[]: Deprecated reflect mode and replaced it with the new package mode.

Fixed

  • #144[]: Fix a deadlock that can happen when mocking an interface that matches fmt.Stringer.
  • #168[]: Fix an issue where the "generated by" comment was being included in the package comment of generated mocks.

#144: uber-go/mock#144 #153: uber-go/mock#153 #168: uber-go/mock#168 #181: uber-go/mock#181 #183: uber-go/mock#183 #191: uber-go/mock#191 #204: uber-go/mock#204 #207: uber-go/mock#207 #214: uber-go/mock#214

Thanks to @​tulzke @​JacobOaks @​ARR4N @​sashamelentyev @​sywhang @​fasmat @​eyasy1217 @​ghouscht @​tie @​Neo2308 @​carson-brill @​alexandear @​sodul @​nbgraham for their contributions this release.

Changelog

Sourced from go.uber.org/mock's changelog.

0.5.0 (15 Oct 2024)

Added

  • #153[]: Add --write_command_comment flag to specify whether to include Generated by this command comment.
  • #191[]: Add --build_constraint flag to add //go:build directives to generated mocks
  • #214[]: Add gob mode to support custom package loading techniques in place of --exec_only

Changed

  • #181[]: Made mockgen faster by changing flags passed to go list.
  • #183[]: Made Cond matcher generic.
  • #204[]: Removed ISGOMOCK() from generated mocks.
  • #207[]: Deprecated reflect mode and replaced it with the new package mode.

Fixed

  • #144[]: Fix a deadlock that can happen when mocking an interface that matches fmt.Stringer.
  • #168[]: Fix an issue where the "generated by" comment was being included in the package comment of generated mocks.

#144: uber-go/mock#144 #153: uber-go/mock#153 #168: uber-go/mock#168 #181: uber-go/mock#181 #183: uber-go/mock#183 #191: uber-go/mock#191 #204: uber-go/mock#204 #207: uber-go/mock#207 #214: uber-go/mock#214

Thanks to @​tulzke @​JacobOaks @​ARR4N @​sashamelentyev @​sywhang @​fasmat @​eyasy1217 @​ghouscht @​tie @​Neo2308 @​carson-brill @​alexandear @​sodul @​nbgraham for their contributions this release.

Commits
  • a9c44d9 Release v0.5.0 (#213)
  • d164a16 Add gob mode to support custom package loading techniques in place of `--exec...
  • d01ed30 deprecated reflect mode has been replaced with package mode (#207)
  • 6d5eb71 Regenerate generated mocks (#206)
  • 8adc9de feat: mockgen flag --build_constraint to add //go:build directives (#191)
  • c50d83c Support Go 1.22 and Go 1.23 (#203)
  • 33ccc99 Avoid stringer-related deadlocks without adding ISGOMOCK (#204)
  • 60372e3 chore: gofumpt -w . (#202)
  • 70a5e8c Clarify documentation on Finish (#194)
  • ec32d99 Bump goreleaser/goreleaser-action from 4 to 6 (#182)
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

dependabot[bot] avatar Oct 18 '24 04:10 dependabot[bot]

Hi @dependabot[bot]. Thanks for your PR.

I'm waiting for a pingcap member to verify that this patch is reasonable to test. If it is, they should reply with /ok-to-test on its own line. Until that is done, I will not automatically test new commits in this PR, but the usual testing commands by org members will still work. Regular contributors should join the org to skip this step.

Once the patch is verified, the new status will be reflected by the ok-to-test label.

I understand the commands that are listed here.

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

ti-chi-bot[bot] avatar Oct 18 '24 04:10 ti-chi-bot[bot]

Hi @dependabot[bot]. Thanks for your PR.

PRs from untrusted users cannot be marked as trusted with /ok-to-test in this repo meaning untrusted PR authors can never trigger tests themselves. Collaborators can still trigger tests on the PR using /test all.

I understand the commands that are listed here.

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository.

tiprow[bot] avatar Oct 18 '24 04:10 tiprow[bot]

/ok-to-test

hawkingrei avatar Oct 21 '24 03:10 hawkingrei

/hold

@lance6716 May you update the version of your fork mock.

hawkingrei avatar Oct 21 '24 03:10 hawkingrei

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 74.6577%. Comparing base (602f980) to head (08b1c61). Report is 70 commits behind head on master.

Additional details and impacted files
@@               Coverage Diff                @@
##             master     #56720        +/-   ##
================================================
+ Coverage   73.3197%   74.6577%   +1.3379%     
================================================
  Files          1630       1675        +45     
  Lines        450236     458751      +8515     
================================================
+ Hits         330112     342493     +12381     
+ Misses        99850      94506      -5344     
- Partials      20274      21752      +1478     
Flag Coverage Δ
integration 48.0001% <ø> (?)

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

Components Coverage Δ
dumpling 52.9478% <ø> (ø)
parser ∅ <ø> (∅)
br 62.1409% <ø> (+16.5913%) :arrow_up:

codecov[bot] avatar Oct 21 '24 03:10 codecov[bot]

/unhold

lance6716 avatar Oct 21 '24 05:10 lance6716

[LGTM Timeline notifier]

Timeline:

  • 2024-10-21 03:25:33.284990793 +0000 UTC m=+235133.981781400: :ballot_box_with_check: agreed by hawkingrei.
  • 2024-10-21 05:25:03.459866109 +0000 UTC m=+242304.156656720: :ballot_box_with_check: agreed by lance6716.

ti-chi-bot[bot] avatar Oct 21 '24 05:10 ti-chi-bot[bot]

/assign @Leavrth

lance6716 avatar Oct 21 '24 05:10 lance6716

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by: hawkingrei, lance6716 Once this PR has been reviewed and has the lgtm label, please ask for approval from leavrth, ensuring that each of them provides their approval before proceeding. For more information see the Code Review Process.

The full list of commands accepted by this bot can be found here.

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment Approvers can cancel approval by writing /approve cancel in a comment

ti-chi-bot[bot] avatar Oct 21 '24 05:10 ti-chi-bot[bot]

@dependabot[bot]: The following test failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name Commit Details Required Rerun command
fast_test_tiprow 08b1c612813430b0ed09be89e57b86f022d6a65f link true /test fast_test_tiprow

Full PR test history. Your PR dashboard.

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. I understand the commands that are listed here.

tiprow[bot] avatar Oct 21 '24 05:10 tiprow[bot]

blocked by https://github.com/uber-go/mock/issues/216

lance6716 avatar Oct 21 '24 05:10 lance6716

/hold

lance6716 avatar Oct 21 '24 05:10 lance6716

@dependabot[bot]: The following tests failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name Commit Details Required Rerun command
idc-jenkins-ci-tidb/build 08b1c612813430b0ed09be89e57b86f022d6a65f link true /test build
pull-unit-test-ddlv1 08b1c612813430b0ed09be89e57b86f022d6a65f link true /test pull-unit-test-ddlv1
idc-jenkins-ci-tidb/unit-test 08b1c612813430b0ed09be89e57b86f022d6a65f link true /test unit-test
idc-jenkins-ci-tidb/check_dev 08b1c612813430b0ed09be89e57b86f022d6a65f link true /test check-dev
idc-jenkins-ci-tidb/check_dev_2 08b1c612813430b0ed09be89e57b86f022d6a65f link true /test check-dev2

Full PR test history. Your PR dashboard.

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

ti-chi-bot[bot] avatar Oct 21 '24 05:10 ti-chi-bot[bot]

OK, I won't notify you again about this release, but will get in touch when a new version is available. If you'd rather skip all updates until the next major or minor version, let me know by commenting @dependabot ignore this major version or @dependabot ignore this minor version. You can also ignore all major, minor, or patch releases for a dependency by adding an ignore condition with the desired update_types to your config file.

If you change your mind, just re-open this PR and I'll resolve any conflicts on it.

dependabot[bot] avatar Oct 30 '24 01:10 dependabot[bot]