Add unit tests and logging infrastructure for InMemory and RabbitMQ transports
Some checks failed
Docs CI / lint-and-preview (push) Has been cancelled

- Implemented RecordingLogger and RecordingLoggerFactory for capturing log entries in tests.
- Added unit tests for InMemoryChannel, covering constructor behavior, property assignments, channel communication, and disposal.
- Created InMemoryTransportOptionsTests to validate default values and customizable options for InMemory transport.
- Developed RabbitMqFrameProtocolTests to ensure correct parsing and property creation for RabbitMQ frames.
- Added RabbitMqTransportOptionsTests to verify default settings and customization options for RabbitMQ transport.
- Updated project files for testing libraries and dependencies.
This commit is contained in:
StellaOps Bot
2025-12-05 09:38:45 +02:00
parent 6a299d231f
commit 53508ceccb
98 changed files with 10868 additions and 663 deletions

View File

@@ -9,6 +9,7 @@ Status: COMPLETE
- Policy — Postgres-only; packs migrated and verified
- Concelier/Vulnerability — Postgres-only; fresh-start feed ingest; verification: `docs/db/reports/vuln-verification-2025-12-05.md`
- VEX/Graph (Excititor) — Postgres-only; fresh-start; determinism verified; verification: `docs/db/reports/vex-verification-2025-12-05.md`
- Issuer Directory — Postgres-only; fresh-start (CSAF seed); verification in sprint 3409 log
## Foundations
- Postgres infra library, migrations, CI Testcontainers: DONE
@@ -16,14 +17,13 @@ Status: COMPLETE
## Schemas
- Exported: authority, scheduler, notify, policy, vuln, vex
- Drafts: issuer, shared audit (not yet active)
- Exported: issuer, shared audit (approved; issuer migration executed)
## Strategy Notes
- Fresh-start applied to Scheduler, Vuln, VEX/Graph (no Mongo backfill); data populated via feeds/runtime.
- Fresh-start applied to Scheduler, Vuln, VEX/Graph, Issuer (no Mongo backfill); data populated via feeds/runtime/CSAF seed.
- Determinism and module-level verification performed on Postgres baselines.
## Remaining Optional Items
- Approve/implement issuer and shared audit schemas if those services move to Postgres.
- Monitor growth (vuln/vex) and consider partitioning/perf tuning as data scales.
## Sign-off