Skip to content

feat(notifications): show why a notification was skipped - #1429

Closed
scttbnsn wants to merge 2 commits into
dev/v1.8from
feat/v1.8-notification-skip-reasons
Closed

scttbnsn wants to merge 2 commits into
dev/v1.8from
feat/v1.8-notification-skip-reasons

Conversation

@scttbnsn

Copy link
Copy Markdown
Contributor

Adds the last skip reason per notification trigger and container, so a missing notification can be explained without DEBUG logging (DR-85, from #302).

Reasons: rule-disabled, threshold-not-met, trigger-excluded, once-already-sent, recently-applied, digest-buffered. They show in the container detail Actions tab, as notificationSkips on GET /api/v1/containers/{id} and /triggers, and in the debug dump. In memory only, capped at 1000, cleared on send.

Held for 1.8.1.

Notification triggers now remember the last skip reason per container
(rule-disabled, threshold-not-met, trigger-excluded, once-already-sent,
recently-applied, digest-buffered) instead of leaving it in a DEBUG log
line. The reason clears when a notification is sent and the store is
capped at 1000 entries. It shows in the debug dump, on the container
detail and triggers API responses, and in the container detail Actions
tab.
@vercel

vercel Bot commented Oct 20, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
drydock-website Ready Ready Preview Oct 20, 2026 1:51am UTC
drydockdemo-website Ready Ready Preview Oct 20, 2026 1:51am UTC

@coderabbitai

coderabbitai Bot commented Oct 20, 2026

Copy link
Copy Markdown

Important

Draft PR not reviewed

Draft PRs are not automatically reviewed by default.

  • Trigger a manual review

To automatically review draft PRs, update your CodeRabbit configuration:

reviews:
  auto_review:
    drafts: true
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@codecov

codecov Bot commented Oct 20, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

scttbnsn added a commit that referenced this pull request Oct 20, 2026
* fix(agent): detect half-open agent event streams (#1405)

* fix(compose): fill the operation record like the Docker action (#1406)

* fix(watcher): don't hold update results for release notes (#1409)

* perf(store): use the stats projection for counts (#1411)

* fix(store): keep a retained policy with the replacement on local renames (#1412)

* fix(api): build the dependency graph from the listed containers (#1419)

* fix(agent): tell Portwing timeouts apart from unreachable agents (#1422)

* feat(api): include versions in update-operation-changed events (#1427)

* feat(notifications): show why a notification was skipped (#1429)

* docs(changelog): sort the batch B entries into their sections
@scttbnsn

Copy link
Copy Markdown
Contributor Author

Landed in #1433 as part of folding the reviewed 1.8 work into 1.8.0.

@scttbnsn scttbnsn closed this Oct 20, 2026
@scttbnsn
scttbnsn deleted the feat/v1.8-notification-skip-reasons branch October 20, 2026 13:28

This branch was successfully deployed

2 active deployments
Preview – drydock-website — 1bcccff5 Deployed Oct 20, 2026 by vercel[bot]
Preview – drydockdemo-website — 1bcccff5 Deployed Oct 20, 2026 by vercel[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant