Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: onsi/ginkgo
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v2.31.0
Choose a base ref
...
head repository: onsi/ginkgo
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v2.32.0
Choose a head ref
  • 9 commits
  • 15 files changed
  • 3 contributors

Commits on Jun 18, 2026

  1. feat: add --sleep-on-failure to pause a failed spec before teardown

    When a spec fails against a live environment, its teardown
    (AfterEach/JustAfterEach/DeferCleanup) tears down the very state needed
    to debug the failure. --sleep-on-failure=<duration> pauses the suite the
    moment a failure is identified - before any teardown runs - so the live
    system can be inspected.
    
    The pause hooks directly into the suite's existing failure-handling path
    (runNode): when a node finishes with a failure, Ginkgo emits the failure
    and then, if the flag is set, pauses right there. Only failures in setup
    and subject nodes (It, Before*, BeforeSuite...) pause; failures in
    teardown/cleanup or reporting nodes do not, since the system is already
    being torn down at that point.
    
    The pause is interruptible: pressing ^C (or any interrupt) ends the pause
    early and the suite proceeds to run cleanup as usual rather than skipping
    it.
    
    This is a debugging aid for interactive, serial runs. Because Ginkgo's
    parallelism is multi-process, a single failing spec cannot meaningfully
    freeze the whole system, so combining --sleep-on-failure with -p/--procs
    is rejected with a configuration error.
    
    Adds unit (internal_integration) and CLI (integration) tests and docs.
    
    Assisted-By: Claude Opus 4.8 <noreply@anthropic.com>
    Signed-off-by: Enrique Llorente <ellorent@redhat.com>
    qinqon authored and onsi committed Jun 18, 2026
    Configuration menu
    Copy the full SHA
    76a2074 View commit details
    Browse the repository at this point in the history

Commits on Jun 22, 2026

  1. Configuration menu
    Copy the full SHA
    73c59df View commit details
    Browse the repository at this point in the history
  2. Fewer new methods.

    woodie authored and onsi committed Jun 22, 2026
    Configuration menu
    Copy the full SHA
    b83f524 View commit details
    Browse the repository at this point in the history
  3. More integration, fewer changes.

    woodie authored and onsi committed Jun 22, 2026
    Configuration menu
    Copy the full SHA
    5313727 View commit details
    Browse the repository at this point in the history
  4. Break out to two methods.

    woodie authored and onsi committed Jun 22, 2026
    Configuration menu
    Copy the full SHA
    7d281e1 View commit details
    Browse the repository at this point in the history
  5. No need for a new method.

    woodie authored and onsi committed Jun 22, 2026
    Configuration menu
    Copy the full SHA
    21047ce View commit details
    Browse the repository at this point in the history
  6. respect SilenceSkips in fd mode, add test

    woodie authored and onsi committed Jun 22, 2026
    Configuration menu
    Copy the full SHA
    334f74a View commit details
    Browse the repository at this point in the history
  7. Make -fd exclusive of -p/-procs and -randomize-all

    -fd's RSpec-style hierarchical output assumes specs run serially in
    declaration order. Combined with parallelism or randomization it
    produces fragmented, hard-to-read output. Rather than refusing to
    run, Ginkgo now overrides -p/-procs/-randomize-all when -fd is set,
    runs serially in declaration order, and prints a notice explaining
    what was overridden.
    woodie authored and onsi committed Jun 22, 2026
    Configuration menu
    Copy the full SHA
    0491f2a View commit details
    Browse the repository at this point in the history
  8. v2.32.0

    onsi committed Jun 22, 2026
    Configuration menu
    Copy the full SHA
    9ff1646 View commit details
    Browse the repository at this point in the history
Loading