Skip to content

test(notifications): cover critical expiry policy - #11

Closed
rafaself wants to merge 1 commit into
kvnloo:fix/12911-critical-expire-timeoutfrom
rafaself:test/critical-notification-expiry-coverage
Closed

rafaself wants to merge 1 commit into
kvnloo:fix/12911-critical-expire-timeoutfrom
rafaself:test/critical-notification-expiry-coverage

Conversation

@rafaself

@rafaself rafaself commented Sep 24, 2026 •

Copy link
Copy Markdown

Moves timeout parsing into the notification logic module so the critical duration policy is directly testable. Adds coverage for positive, capped, zero, default, and restore-expiry cases, and updates lifecycle documentation.

Factory closeout — 2026-09-25

Closed as a downstream experiment, not an upstream-ready fix.

Origin omacom#13041 now has active review separating three policy questions:

  • direct regression coverage for timed Critical;
  • minimum visible lifetime for short 3–5s critical callers;
  • optional consistency cap at 30s.

This branch chooses the cap policy before maintainers have resolved the minimum-lifetime behavior. Preserve it as evidence/test design, but do not promote this exact branch. A future repair should be cut from the accepted origin policy rather than stacking more changes here.

@kvnloo kvnloo closed this Sep 25, 2026
@rafaself
rafaself deleted the test/critical-notification-expiry-coverage branch September 25, 2026 22:40
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.

2 participants