build(deps): bump go.uber.org/mock from 0.4.0 to 0.5.0
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_commentflag to specify whether to includeGenerated by this commandcomment.- #191[]: Add
--build_constraintflag to add//go:builddirectives 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
Condmatcher 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@nbgrahamfor their contributions this release.
Changelog
Sourced from go.uber.org/mock's changelog.
0.5.0 (15 Oct 2024)
Added
- #153[]: Add
--write_command_commentflag to specify whether to includeGenerated by this commandcomment.- #191[]: Add
--build_constraintflag to add//go:builddirectives 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
Condmatcher 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@nbgrahamfor their contributions this release.
Commits
a9c44d9Release v0.5.0 (#213)d164a16Add gob mode to support custom package loading techniques in place of `--exec...d01ed30deprecated reflect mode has been replaced with package mode (#207)6d5eb71Regenerate generated mocks (#206)8adc9defeat:mockgenflag--build_constraintto add//go:builddirectives (#191)c50d83cSupport Go 1.22 and Go 1.23 (#203)33ccc99Avoid stringer-related deadlocks without adding ISGOMOCK (#204)60372e3chore: gofumpt -w . (#202)70a5e8cClarify documentation on Finish (#194)ec32d99Bump goreleaser/goreleaser-action from 4 to 6 (#182)- Additional commits viewable in compare view
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 rebasewill rebase this PR -
@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it -
@dependabot mergewill merge this PR after your CI passes on it -
@dependabot squash and mergewill squash and merge this PR after your CI passes on it -
@dependabot cancel mergewill cancel a previously requested merge and block automerging -
@dependabot reopenwill reopen this PR if it is closed -
@dependabot closewill close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually -
@dependabot show <dependency name> ignore conditionswill show all of the ignore conditions of the specified dependency -
@dependabot ignore this major versionwill 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 versionwill 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 dependencywill close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
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.
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.
/ok-to-test
/hold
@lance6716 May you update the version of your fork mock.
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: |
/unhold
[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.
/assign @Leavrth
[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.
- ~~OWNERS~~ [hawkingrei,lance6716]
- br/OWNERS
- ~~pkg/ddl/OWNERS~~ [lance6716]
- ~~pkg/disttask/OWNERS~~ [lance6716]
Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment
@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.
blocked by https://github.com/uber-go/mock/issues/216
/hold
@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.
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.