fix(crossseed): avoid webhook notification spam on pending matches - #1496
Merged
Conversation
Contributor
|
No actionable comments were generated in the recent review. 🎉 WalkthroughModified cross-seed webhook notification behavior to emit notifications only when complete matches exist, preventing notifications for partial/pending matches. Added test coverage with a recording notifier mechanism to validate notification emission logic. Changes
Estimated code review effort🎯 2 (Simple) | ⏱️ ~12 minutes Suggested labels
Poem
🚥 Pre-merge checks | ✅ 2 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (2 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches
🧪 Generate unit tests (beta)
Comment |
alexlebens
pushed a commit
to alexlebens/infrastructure
that referenced
this pull request
Feb 24, 2026
This PR contains the following updates: | Package | Update | Change | |---|---|---| | [ghcr.io/autobrr/qui](https://github.com/autobrr/qui) | patch | `v1.14.0` → `v1.14.1` | --- ### Release Notes <details> <summary>autobrr/qui (ghcr.io/autobrr/qui)</summary> ### [`v1.14.1`](https://github.com/autobrr/qui/releases/tag/v1.14.1) [Compare Source](autobrr/qui@v1.14.0...v1.14.1) #### Changelog ##### Bug Fixes - [`6f3171c`](autobrr/qui@6f3171c): fix(auth): avoid chromium basic auth resets on expired qui sessions ([#​1495](autobrr/qui#1495)) ([@​s0up4200](https://github.com/s0up4200)) - [`d5acab7`](autobrr/qui@d5acab7): fix(automations): make managed full tag sync idempotent ([#​1494](autobrr/qui#1494)) ([@​s0up4200](https://github.com/s0up4200)) - [`9fdc949`](autobrr/qui@9fdc949): fix(crossseed): avoid webhook notification spam on pending matches ([#​1496](autobrr/qui#1496)) ([@​s0up4200](https://github.com/s0up4200)) - [`350edb3`](autobrr/qui@350edb3): fix(notifications): improve torrent and automation event samples ([#​1501](autobrr/qui#1501)) ([@​s0up4200](https://github.com/s0up4200)) - [`e2c032c`](autobrr/qui@e2c032c): fix(qbittorrent): ignore pseudo tracker labels in domain parsing ([#​1489](autobrr/qui#1489)) ([@​s0up4200](https://github.com/s0up4200)) - [`e00c70d`](autobrr/qui@e00c70d): fix(qbittorrent): repair unified torrent sorting ([#​1490](autobrr/qui#1490)) ([@​s0up4200](https://github.com/s0up4200)) - [`4d95325`](autobrr/qui@4d95325): fix(themes): clarify crypto donation discount flow ([#​1503](autobrr/qui#1503)) ([@​s0up4200](https://github.com/s0up4200)) - [`579ea8d`](autobrr/qui@579ea8d): fix(themes): clarify premium checkout and crypto flow ([@​s0up4200](https://github.com/s0up4200)) - [`ece956a`](autobrr/qui@ece956a): fix(torrents): scope instance column to unified cross-instance data ([#​1502](autobrr/qui#1502)) ([@​s0up4200](https://github.com/s0up4200)) - [`27cf6d2`](autobrr/qui@27cf6d2): fix(ui): hide unified entry when one instance is active ([#​1493](autobrr/qui#1493)) ([@​s0up4200](https://github.com/s0up4200)) - [`80d911f`](autobrr/qui@80d911f): fix(ui): remove single-instance indent in header menu ([@​s0up4200](https://github.com/s0up4200)) - [`6ae7625`](autobrr/qui@6ae7625): fix(ui): restore instances header in menu ([@​s0up4200](https://github.com/s0up4200)) ##### Other Changes - [`336dc9a`](autobrr/qui@336dc9a): docs: update payment info ([#​1424](autobrr/qui#1424)) ([@​s0up4200](https://github.com/s0up4200)) **Full Changelog**: <autobrr/qui@v1.14.0...v1.14.1> #### Docker images - `docker pull ghcr.io/autobrr/qui:v1.14.1` - `docker pull ghcr.io/autobrr/qui:latest` #### What to do next? - Join our [Discord server](https://discord.autobrr.com/qui) Thank you for using qui! </details> --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), 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. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0My4yNS43IiwidXBkYXRlZEluVmVyIjoiNDMuMjUuNyIsInRhcmdldEJyYW5jaCI6Im1haW4iLCJsYWJlbHMiOlsiYXV0b21lcmdlIiwiaW1hZ2UiXX0=--> Reviewed-on: https://gitea.alexlebens.dev/alexlebens/infrastructure/pulls/4187 Co-authored-by: Renovate Bot <renovate-bot@alexlebens.net> Co-committed-by: Renovate Bot <renovate-bot@alexlebens.net>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Validation run: go test -race -count=3 ./internal/services/crossseed -run 'TestCheckWebhook_(AutobrrPayload|NotificationRequiresCompleteMatch)$'; make test; make lint (backend lint passed, frontend lint blocked in this env because web/node_modules is missing and eslint is unavailable).
Summary by CodeRabbit
Bug Fixes
Tests