mirror of
https://github.com/logos-storage/logos-storage-nim-cs-dist-tests.git
synced 2026-07-11 01:29:32 +00:00
The openapi.yaml driving NSwag client generation is no longer committed. A build-time target in LogosStorageClient.csproj extracts it byte-for-byte from the Logos Storage image (STORAGEDOCKERIMAGE, default latest-dist-tests) via 'docker cp' whenever a Docker daemon is reachable, always overwriting so the generated client matches the container under test. Where no daemon is reachable (the CI runner pod) the spec must be pre-placed on disk by the job's initContainer, else the build fails loudly. Because StoragePlugin's PreBuildEvent runs before project references are built, the old hash-injection prebuild read the spec before it could be materialized and baked a stale hash. Materialization and the ApiChecker hash check are therefore mutually exclusive, so ApiChecker and the LogosStoragePluginPrebuild project are removed here. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> # Conflicts: # ProjectPlugins/LogosStorageClient/openapi.yaml # ProjectPlugins/StoragePlugin/ApiChecker.cs # Conflicts: # ProjectPlugins/LogosStorageClient/openapi.yaml # ProjectPlugins/StoragePlugin/ApiChecker.cs