Skip to content

feat: add webhook failure strategy (backport: 6.7.8.x)#15546

Merged
Aydin Hassan (AydinHassan) merged 1 commit into6.7.8.xfrom
feat/webhook-fail-strategy-backport-6.7.8.x
Mar 12, 2026
Merged

feat: add webhook failure strategy (backport: 6.7.8.x)#15546
Aydin Hassan (AydinHassan) merged 1 commit into6.7.8.xfrom
feat/webhook-fail-strategy-backport-6.7.8.x

Conversation

@shopware-octo-sts-app
Copy link
Copy Markdown
Contributor

Backport: #15488


1. Why is this change necessary?

Webhooks get deactivated after 10 failures with no simple way for consumers to reactivate them. Without a more advanced circuit breaker implementation, a short network outage could pose a serious threat to integrations.

2. What does this change do, exactly?

We implement a simple strategy configuration: shopware.webhook.failure_strategy

The default value is: disable_on_threshold - which is the current behaviour (to disable on 10 failures).
Also, we introduce the ignore strategy - which never disables webhooks.

3. Describe each step to reproduce the issue or behaviour.

Create a webhook, point it to a URL which returns an error and fire it 10 times. The webhook is disabled.

4. Please link to the relevant issues (if any).

#13262
#14013
#14014

@shopware-octo-sts-app shopware-octo-sts-app bot added the domain/service-enablement Responsible for supporting Shopware services label Mar 12, 2026
@shopware-octo-sts-app shopware-octo-sts-app bot added the domain/service-enablement Responsible for supporting Shopware services label Mar 12, 2026
@github-actions github-actions bot added external-contribution A PR contributed by a community member. milestone/6.7.8.2 labels Mar 12, 2026
@github-actions
Copy link
Copy Markdown

Warnings
⚠️ The Pull Request doesn't contain any release info, if your changes are relevant for external developers please add an entry to the release info file, including the consequences of the change and how it affects external developers. For detailed infos please refer to the [release documentation guide](https://github.com/shopware/shopware/blob/trunk/delivery-process/documenting-a-release.md).
⚠️ You updated the shopware.yaml, please consider to update the config-schema.json

@explore-openapi
Copy link
Copy Markdown

explore-openapi bot commented Mar 12, 2026

OpenAPI Snapshot

ℹ️ shopware/store-api — schema identical to base trunk

📋 Additional Information

⚠️ Changes are matching an older version of the schema. Update the branch to make sure that the schema diff is correct.

⚠️ shopware/admin-api — base 6.7.8.x — 27 changes (9 removals · 18 modifications)

Diff: https://explore-openapi.dev/diff#...

@codecov
Copy link
Copy Markdown

codecov bot commented Mar 12, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
⚠️ Please upload report for BASE (6.7.8.x@71a6373). Learn more about missing BASE report.
✅ All tests successful. No failed tests found.

Additional details and impacted files
@@            Coverage Diff             @@
##             6.7.8.x   #15546   +/-   ##
==========================================
  Coverage           ?   56.60%           
==========================================
  Files              ?     3001           
  Lines              ?    92465           
  Branches           ?        0           
==========================================
  Hits               ?    52341           
  Misses             ?    40124           
  Partials           ?        0           
Flag Coverage Δ
phpunit-migration 91.81% <ø> (?)
phpunit-unit 54.02% <100.00%> (?)

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

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@AydinHassan Aydin Hassan (AydinHassan) merged commit 0387dab into 6.7.8.x Mar 12, 2026
87 checks passed
@AydinHassan Aydin Hassan (AydinHassan) deleted the feat/webhook-fail-strategy-backport-6.7.8.x branch March 12, 2026 16:32
@github-actions github-actions bot added this to the 6.7.8.2 milestone Mar 12, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

domain/service-enablement Responsible for supporting Shopware services external-contribution A PR contributed by a community member. milestone/6.7.8.2

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants