fix: resolve dart analyze failures in chaos_monkey_test.dart #458

Merged
guettlibot merged 2 commits from refs/pull/458/head into main 2026-06-06 03:29:42 +00:00
2 Commits
Author SHA1 Message Date
Thomas SharedInboxandClaude Sonnet 4.6 8a314b2e2c fix: resolve dart analyze failures in chaos_monkey_test.dart
Replace print() with stdout.writeln() (avoid_print lint rule), remove
redundant default argument from _env('CHAOS_SEED') (avoid_redundant_argument_values),
and apply dart format fixes (trailing commas, line wrapping).

Closes #456

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-06-05 23:30:56 +02:00
Thomas SharedInboxandClaude Sonnet 4.6 3519be1151 feat: add chaos monkey backend test running daily in CI (#448)
Introduces a headless chaos monkey test that drives the email repository
through 30 rounds of random IMAP/SMTP operations against a live Stalwart
instance to surface crashes and data-corruption bugs.

- test/backend/chaos_monkey_test.dart: random sync, send, flag, delete,
  and flush operations; seed logged for reproducibility (CHAOS_SEED env)
- ci/main.go: ChaosMonkeyBackend Dagger function (same pattern as TestBackend)
- Taskfile.yml: chaos-monkey-backend task
- .forgejo/workflows/chaos-monkey.yml: daily cron at 03:00 UTC + workflow_dispatch

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-06-05 22:40:07 +02:00