Skip to content

Docs/audit logging system spec#522

Open
vicajohn wants to merge 3 commits into
Core-Foundry:mainfrom
vicajohn:docs/audit-logging-system-spec
Open

Docs/audit logging system spec#522
vicajohn wants to merge 3 commits into
Core-Foundry:mainfrom
vicajohn:docs/audit-logging-system-spec

Conversation

@vicajohn

Copy link
Copy Markdown
Contributor

closes #374

vicajohn added 3 commits July 25, 2026 06:14
- Add ExpirationConfig interface with configurable default and per-event-type expiration
- Create NotificationExpirationService with core expiration checking logic
- Integrate expiration checks into EventSubscriber to prevent processing of expired events
- Add comprehensive test suite with 38+ tests covering all methods and edge cases
- Update configuration schema with EXPIRATION_* environment variables
- Update .env.example with expiration settings examples
- Log expired events with full context for audit trail

Fixes expired notifications being processed and delivered
Supports 24-hour default expiration with configurable per-event-type overrides
Expiration checking can be disabled via config for backward compatibility
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.

Replace Revert Strings with Custom Errors

1 participant