Files
git.stella-ops.org/src/Scanner/__Libraries/StellaOps.Scanner.Surface.FS/ISurfaceManifestReader.cs
master 515975edc5
Some checks failed
Docs CI / lint-and-preview (push) Has been cancelled
Implement Advisory Canonicalization and Backfill Migration
- Added AdvisoryCanonicalizer for canonicalizing advisory identifiers.
- Created EnsureAdvisoryCanonicalKeyBackfillMigration to populate advisory_key and links in advisory_raw documents.
- Introduced FileSurfaceManifestStore for managing surface manifests with file system backing.
- Developed ISurfaceManifestReader and ISurfaceManifestWriter interfaces for reading and writing manifests.
- Implemented SurfaceManifestPathBuilder for constructing paths and URIs for surface manifests.
- Added tests for FileSurfaceManifestStore to ensure correct functionality and deterministic behavior.
- Updated documentation for new features and migration steps.
2025-11-07 19:54:02 +02:00

16 lines
452 B
C#

namespace StellaOps.Scanner.Surface.FS;
/// <summary>
/// Provides read access to published surface manifests.
/// </summary>
public interface ISurfaceManifestReader
{
Task<SurfaceManifestDocument?> TryGetByDigestAsync(
string manifestDigest,
CancellationToken cancellationToken = default);
Task<SurfaceManifestDocument?> TryGetByUriAsync(
string manifestUri,
CancellationToken cancellationToken = default);
}