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

@@ -0,0 +1,140 @@
# BLOCKED Tasks Dependency Tree — Resolved Items Archive
> **Archive Date:** 2025-12-05
> **Purpose:** Historical record of blockers resolved during Wave C unblocking work
---
## Resolved Blockers Summary
### Specification Contracts Created (2025-12-04)
| Schema File | Unblocked Tasks | Description |
|------------|-----------------|-------------|
| `vex-normalization.schema.json` | 11 tasks (VEX Lens 30-00x) | Normalized VEX format |
| `timeline-event.schema.json` | 10+ tasks (Task Runner OBS) | Timeline event + evidence pointer |
| `mirror-bundle.schema.json` | 8 tasks (CLI AirGap) | Air-gap mirror bundle format |
| `provenance-feed.schema.json` | 6 tasks (SGSI0101 Signals) | Runtime facts ingestion |
| `attestor-transport.schema.json` | 4 tasks (CLI Attestor) | Attestor SDK transport |
| `api-baseline.schema.json` | 6 tasks (APIG0101 DevPortal) | API governance baseline |
| `ledger-airgap-staleness.schema.json` | 5 tasks (LEDGER-AIRGAP) | Staleness tracking |
| `graph-platform.schema.json` | 2 tasks (CAGR0101 Bench) | Graph platform contract |
| `php-analyzer-bootstrap.schema.json` | 1 task | PHP analyzer bootstrap |
| `scanner-surface.schema.json` | 1 task | Scanner task contract |
**Total tasks unblocked by specifications: ~61**
---
### CLI Compile Failures (Resolved 2025-12-04)
All CLI compilation issues were resolved. Key changes:
- Created `StellaOpsTokenClientExtensions.cs` compatibility shims
- Updated 8 service files for new Auth.Client API
- Fixed CommandFactory.cs argument order
- Updated PolicyDiagnostic model
**Build Result:** 0 errors, 8 warnings (non-blocking)
---
### Policy Studio Wave C (Resolved 2025-12-05)
Infrastructure created:
- 11 policy scopes in `scopes.ts`
- 7 policy guards in `auth.guard.ts`
- Monaco language definition (`stella-dsl.language.ts`)
- Policy API client (`policy-api.service.ts`)
- 30+ TypeScript domain models
**10 tasks unblocked:** UI-POLICY-20-001 through UI-POLICY-23-006
---
### VEX Lens Chain (Resolved 2025-12-04)
Root blocker `VEX normalization + issuer directory specs` resolved.
**11 tasks unblocked:** VEXLENS-30-001 through VEXLENS-30-011
---
### Task Runner Observability Chain (Resolved 2025-12-04)
Root blocker `Timeline event schema` resolved.
**Tasks unblocked:**
- TASKRUN-OBS-52-001, 53-001 (Sprint 0157)
- TASKRUN-OBS-54-001, 55-001 (Sprint 0158)
- ORCH-OBS-52-001, 54-001 (Sprint 0151)
---
### LEDGER-AIRGAP Chain (Resolved 2025-12-04)
Root blocker `ledger-airgap-staleness.schema.json` resolved.
**Tasks unblocked:**
- LEDGER-AIRGAP-56-002, 57-001, 58-001 (Sprint 0120)
- ORCH-AIRGAP-56-002 (Sprint 0151)
---
### Build Verification (2025-12-04)
**Confirmed:**
- CLI builds: ✅ 0 errors
- Scanner analyzers (PHP/Java/Ruby/Node/Python): ✅ All build
- Disk space: ✅ 54GB available (not a blocker)
---
### Other Resolved Blockers
| Blocker | Resolution Date | Notes |
|---------|-----------------|-------|
| POLICY-20-001 | 2025-11-25 | Linkset APIs implemented |
| AUTH-TEN-47-001 | 2025-11-19 | Tenant scope contract created |
| WEB-POLICY-20-004 | 2025-12-04 | Rate limiting added |
| CAGR0101 Graph platform | 2025-12-04 | Schema created |
| Shared signals library | 2025-12-04 | StellaOps.Signals.Contracts created |
| VERSION_MATRIX.md | 2025-12-04 | Service version matrix created |
---
### Object Storage Contract (Resolved 2025-12-05)
Root blocker `Object storage contract for raw payloads` resolved.
**Infrastructure created:**
- `docs/schemas/object-storage.schema.json` - S3-compatible object storage contract
- Defines `ObjectPointer`, `ProvenanceMetadata`, `MigrationRecord`, `PayloadReference`
- Supports MinIO/S3 endpoints, deterministic pointers, GridFS migration tracking
**Tasks unblocked:**
- CONCELIER-LNM-21-103-DEV (object storage migration)
- Downstream chain: 21-201, 21-202, 21-203
---
### Concelier LNM Chain Status Sync (2025-12-05)
Fixed `tasks-all.md` sync issue - following tasks were already DONE but marked BLOCKED/TODO:
- CONCELIER-LNM-21-003: DONE (2025-11-22)
- CONCELIER-LNM-21-004: DONE (2025-11-27)
- CONCELIER-LNM-21-005: DONE (2025-11-27)
- CONCELIER-LNM-21-101: DONE (2025-11-27)
- CONCELIER-LNM-21-102: DONE (2025-11-28)
---
## Cross-Reference
This archive supersedes resolved sections from:
- Section 8.1 CLI Compile Failures
- Section 8.2 Build Verification
- Section 8.3 Specification Contracts Created
- Section 8.4 Policy Studio Wave C
- VEX Lens Chain (Section 3)
- Task Runner Observability (Section 7.3)
- LEDGER-AIRGAP staleness (Section 13)