Skip to content

chore(deps): update module github.com/onsi/ginkgo/v2 to v2.34.0 - #69

Merged
ezekiel-alexrod merged 1 commit into
mainfrom
renovate/ginkgo-and-gomega
Nov 16, 2026
Merged

ezekiel-alexrod merged 1 commit into
mainfrom
renovate/ginkgo-and-gomega

Conversation

@scality-renovate

Copy link
Copy Markdown
Contributor

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
github.com/onsi/ginkgo/v2 v2.33.1 → v2.34.0 age adoption passing confidence

This repository is a library. If this PR raises the go directive, every consumer must build with that Go: check the lowest consumer first.


Release Notes

onsi/ginkgo (github.com/onsi/ginkgo/v2)

v2.34.0

Compare Source

Features
  • DeferOnFailure registers a callback that runs only when a spec fails - as soon as the failing node returns and before any teardown (JustAfterEach, AfterEach, AfterAll, DeferCleanup) - so it can capture the state teardown is about to destroy. It takes exactly what DeferCleanup takes and shares its scoping: called in BeforeEach/JustBeforeEach/It it covers the spec, in BeforeAll the ordered container, and in BeforeSuite the whole suite. It is also available on GinkgoT(); note that this adds a method to FullGinkgoTInterface, so hand-written implementations of that interface need to add it. See https://onsi.github.io/ginkgo/#capturing-failure-state-deferonfailure
Fixes
  • Progress reporters (AttachProgressReporter) are no longer called while Ginkgo holds an internal lock, so a reporter that calls CurrentSpecReport() or AddReportEntry() no longer stalls for 5 seconds and has its output dropped.
  • --sleep-on-failure now runs after any DeferOnFailure callbacks, also pauses when a spec times out, and no longer pauses if the suite has already been interrupted.

Configuration

📅 Schedule: (UTC)

  • Branch creation
    • "before 9am on monday"
  • Automerge
    • At any time (no schedule defined)

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

♻ Rebasing: Whenever PR becomes conflicted, 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

This PR has been generated by Mend Renovate CLI.

@github-actions

Copy link
Copy Markdown

Dependency Bump Evaluation

Version change: github.com/onsi/ginkgo/v2 v2.33.1 -> v2.34.0
Semver bump type: minor

Changes:

  • New DeferOnFailure (also on GinkgoT()): a callback that runs only when a spec fails, before teardown. Using it also adds a method to FullGinkgoTInterface.
  • Fix: progress reporters (AttachProgressReporter) are no longer called while Ginkgo holds an internal lock.
  • Fix: --sleep-on-failure now runs after DeferOnFailure, also pauses on timeouts, and skips the pause once the suite is interrupted.

Breaking changes: None for this repo. The only incompatible change is the new method on FullGinkgoTInterface, which breaks hand-written implementations of that interface. This repo has none.

Security concerns: None. No CVEs. Only the ginkgo hashes change in go.sum, so no new transitive dependencies come in.

Impact on codebase: Ginkgo is a test-only dependency (errors_test.go), so library consumers are not affected. The go directive stays at 1.26.0. No uses of FullGinkgoTInterface, GinkgoT(), AttachProgressReporter or --sleep-on-failure were found.

Recommendation: REVIEW REQUIRED

Notes: The code itself is low risk. Two procedural points stop an automatic approval: the PR is authored by scality-renovate[bot] (only pure dependabot PRs are auto-approved), and CI (lint, test / Run on Ubuntu) was still running when this was checked. Once CI is green, a human can merge it.

— Claude Code

@ezekiel-alexrod
ezekiel-alexrod merged commit 0a7da92 into main Nov 16, 2026
16 checks passed
@ezekiel-alexrod
ezekiel-alexrod deleted the renovate/ginkgo-and-gomega branch November 16, 2026 09:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant