Skip to content

Update module github.com/stretchr/testify to v1.12.1 - #2317

Merged
red-hat-konflux[bot] merged 1 commit into
masterfrom
konflux/mintmaker/master/github.com-stretchr-testify-1.x
Aug 24, 2026
Merged

Update module github.com/stretchr/testify to v1.12.1#2317
red-hat-konflux[bot] merged 1 commit into
masterfrom
konflux/mintmaker/master/github.com-stretchr-testify-1.x

Conversation

@red-hat-konflux

@red-hat-konflux red-hat-konflux Bot commented Aug 24, 2026

Copy link
Copy Markdown
Contributor

This PR contains the following updates:

Package Change Age Confidence
github.com/stretchr/testify v1.12.0v1.12.1 age confidence

Release Notes

stretchr/testify (github.com/stretchr/testify)

v1.12.1

Compare Source

This is the first release which has the minimum dependencies practical in testify v1. The last remaining dependencies are github.com/stretchr/objx which itself has no dependencies, and go.yaml.in/yaml/v3. Removing objx would require v2, it cannot be vendored. Removing YAML would require vendoring the yaml library, which would do more harm than good. It's better to become aware of vulnerabilities in the official yaml package than to attempt to maintain our own.

What's Changed

New Contributors

Full Changelog: stretchr/testify@v1.12.0...v1.12.1

What's Changed

New Contributors

Full Changelog: stretchr/testify@v1.12.0...v1.12.1


Configuration

📅 Schedule: (in timezone Europe/Prague)

  • Branch creation
    • Between 03:00 AM and 10:59 AM, only on Monday (* 3-10 * * 1)
  • Automerge
    • At any time (no schedule defined)

🚦 Automerge: Enabled.

Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

To execute skipped test pipelines write comment /ok-to-test.


Documentation

Find out how to configure dependency updates in MintMaker documentation or see all available configuration options in Renovate documentation.

Summary by Sourcery

Enhancements:

  • Update github.com/stretchr/testify to v1.12.1, including its YAML dependency migration to go.yaml.in/yaml/v3 and removal of the legacy gopkg.in/yaml.v3 dependency.

Signed-off-by: red-hat-konflux <126015336+red-hat-konflux[bot]@users.noreply.github.com>
@red-hat-konflux
red-hat-konflux Bot enabled auto-merge (squash) August 24, 2026 05:34
@red-hat-konflux
red-hat-konflux Bot requested a review from a team as a code owner August 24, 2026 05:34
@red-hat-konflux

Copy link
Copy Markdown
Contributor Author

ℹ️ Artifact update notice

File name: go.mod

In order to perform the update(s) described in the table above, Renovate ran the go get command, which resulted in the following additional change(s):

  • 1 additional dependency was updated

Details:

Package Change
go.yaml.in/yaml/v3 v3.0.4 -> v3.0.5

@sourcery-ai

sourcery-ai Bot commented Aug 24, 2026

Copy link
Copy Markdown
Reviewer's guide (collapsed on small PRs)

Reviewer's Guide

This PR updates the testing dependency github.com/stretchr/testify from v1.12.0 to v1.12.1 and aligns YAML-related indirect dependencies accordingly in go.mod (and go.sum).

File-Level Changes

Change Details Files
Update testify and YAML-related dependencies in go.mod (and corresponding go.sum entries).
  • Bump github.com/stretchr/testify from v1.12.0 to v1.12.1 in the main require block.
  • Update indirect dependency go.yaml.in/yaml/v3 from v3.0.4 to v3.0.5 to match testify’s new transitive requirements.
  • Remove now-unneeded indirect dependency gopkg.in/yaml.v3 from the go.mod require list.
  • Refresh go.sum entries to reflect the new versions and removed YAML module.
go.mod
go.sum

Tips and commands

Interacting with Sourcery

  • Trigger a new review: Comment @sourcery-ai review on the pull request.
  • Continue discussions: Reply directly to Sourcery's review comments.
  • Generate a GitHub issue from a review comment: Ask Sourcery to create an
    issue from a review comment by replying to it. You can also reply to a
    review comment with @sourcery-ai issue to create an issue from it.
  • Generate a pull request title: Write @sourcery-ai anywhere in the pull
    request title to generate a title at any time. You can also comment
    @sourcery-ai title on the pull request to (re-)generate the title at any time.
  • Generate a pull request summary: Write @sourcery-ai summary anywhere in
    the pull request body to generate a PR summary at any time exactly where you
    want it. You can also comment @sourcery-ai summary on the pull request to
    (re-)generate the summary at any time.
  • Generate reviewer's guide: Comment @sourcery-ai guide on the pull
    request to (re-)generate the reviewer's guide at any time.
  • Resolve all Sourcery comments: Comment @sourcery-ai resolve on the
    pull request to resolve all Sourcery comments. Useful if you've already
    addressed all the comments and don't want to see them anymore.
  • Dismiss all Sourcery reviews: Comment @sourcery-ai dismiss on the pull
    request to dismiss all existing Sourcery reviews. Especially useful if you
    want to start fresh with a new review - don't forget to comment
    @sourcery-ai review to trigger a new review!

Customizing Your Experience

Access your dashboard to:

  • Enable or disable review features such as the Sourcery-generated pull request
    summary, the reviewer's guide, and others.
  • Change the review language.
  • Add, remove or edit custom review instructions.
  • Adjust other review settings.

Getting Help

@red-hat-konflux
red-hat-konflux Bot merged commit 1560d1d into master Aug 24, 2026
7 of 8 checks passed

@sourcery-ai sourcery-ai Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Hey - I've reviewed your changes and they look great!

Sourcery assessment

Approved.


Sourcery is free for open source - if you like our reviews please consider sharing them ✨
Help me be more useful! Please click 👍 or 👎 on each comment and I'll use the feedback to improve your reviews.

@codecov-commenter

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 59.07%. Comparing base (62ee819) to head (531e3e5).
⚠️ Report is 4 commits behind head on master.

Additional details and impacted files
@@           Coverage Diff           @@
##           master    #2317   +/-   ##
=======================================
  Coverage   59.07%   59.07%           
=======================================
  Files         150      150           
  Lines        9614     9614           
=======================================
  Hits         5679     5679           
  Misses       3341     3341           
  Partials      594      594           
Flag Coverage Δ
unittests 59.07% <ø> (ø)

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

☔ View full report in Codecov by Harness.
📢 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.

@red-hat-konflux
red-hat-konflux Bot deleted the konflux/mintmaker/master/github.com-stretchr-testify-1.x branch August 24, 2026 05:57
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