Add unit and integration tests for VexCandidateEmitter and SmartDiff repositories
- Implemented comprehensive unit tests for VexCandidateEmitter to validate candidate emission logic based on various scenarios including absent and present APIs, confidence thresholds, and rate limiting. - Added integration tests for SmartDiff PostgreSQL repositories, covering snapshot storage and retrieval, candidate storage, and material risk change handling. - Ensured tests validate correct behavior for storing, retrieving, and querying snapshots and candidates, including edge cases and expected outcomes.
This commit is contained in:
@@ -75,7 +75,7 @@ Derivers live in `IPlatformKeyDeriver` implementations.
|
||||
* Uploads blobs to MinIO/S3 using deterministic prefixes: `symbols/{tenant}/{os}/{arch}/{debugId}/…`.
|
||||
* Calls `POST /v1/symbols/upload` with the signed manifest and metadata.
|
||||
* Submits manifest DSSE to Rekor (optional but recommended).
|
||||
3. Symbols.Server validates DSSE, stores manifest metadata in MongoDB (`symbol_index` collection), and publishes gRPC/REST lookup availability.
|
||||
3. Symbols.Server validates DSSE, stores manifest metadata in PostgreSQL (`symbol_index` table), and publishes gRPC/REST lookup availability.
|
||||
|
||||
## 5. Resolve APIs (`SYMS-SERVER-401-011`)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user