• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

pact-foundation / pact-go / 30863867384
29%

Build:
DEFAULT BRANCH: master
Ran 03 Aug 2026 11:56PM UTC
Jobs 0
Files 0
Run time –
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

pending completion
30863867384

push

github

web-flow
feat(provider): add SoftFail mode for downstream-gated verification (#580)

Callers that have a downstream authoritative gate (e.g. a Pact Broker
can-i-merge / can-i-deploy check) want verification mismatches to be
recorded to the broker and reported in the test framework, but NOT to
fail CI locally — the downstream gate makes the real decision.

Previously the only way to suppress local failure was at the shell
layer (turning off pipefail around `go test`), which also silenced
verifier panics, broker auth failures, and any other infrastructure
problem. That made "tests didn't actually run but CI is green" a
common failure mode.

New behavior — `VerifyRequest.SoftFail` (default false, preserves
existing behavior):

  - SoftFail = false (default):
      err == nil           → subtest PASS
      err != nil           → subtest FAIL (t.Error)
  - SoftFail = true:
      err == nil           → subtest PASS
      ErrVerifierFailed    → subtest SKIP (t.Skipf, message preserved)
      any other err        → subtest FAIL (t.Error)

Infrastructure errors (ErrVerifierFailedToRun, panics, broker auth)
always fail the subtest, regardless of SoftFail — they signal the
verifier could not produce a result for the downstream gate to act on.

The discrimination uses `errors.Is(err, native.ErrVerifierFailed)`,
which leverages the mutual-exclusivity invariant of the two verifier
sentinels documented in #579.
Source Files on build 30863867384
Detailed source file information is not available for this build.
  • Back to Repo
  • 5f12bb95 on github
  • Prev Build on master (#26436730043)
  • Next Build on master (#30908822197)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc