Skip to content

feat: add configurable notification system#8

Merged
yunhai-dev merged 8 commits into
mainfrom
feature/configurable-notifications
Jul 19, 2026
Merged

feat: add configurable notification system#8
yunhai-dev merged 8 commits into
mainfrom
feature/configurable-notifications

Conversation

@yunhai-dev

Copy link
Copy Markdown
Owner

Summary

  • add durable PostgreSQL notification state and transactional outbox delivery
  • add configurable ServerChan administrator alerts and SMTP user quota alerts
  • notify on channel/proxy incident lifecycles and user/API-key quota thresholds
  • add protected notification worker, settings UI, secret masking, and focused tests

Validation

  • bun test lib/notifications.test.ts
  • bun test lib/channel-health.test.ts
  • bun test lib/proxy-lifecycle.test.ts
  • bun test lib/log-generator.test.ts
  • bunx tsc --noEmit
  • bun run build

Notes

  • PostgreSQL schema initialization was not run locally because DATABASE_URL was not configured.
  • All notification switches default to disabled.

@yunhai-dev
yunhai-dev merged commit 2873b1a into main Jul 19, 2026
2 checks passed
@yunhai-dev
yunhai-dev deleted the feature/configurable-notifications branch July 19, 2026 13:26
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