Import ID mapping DTO and session-tracked mapping store
Summary
- Created
feature/octopus-import-id-mappingfromfeature/squid-import-project. - Added
OctopusImportIdMappingDtoand includedIdMappingsinOctopusImportSessionResultDto. - Added
OctopusImportIdMapfor created/reused source-to-destination ID mappings, deterministic DTO export, session-result restore, duplicate mapping protection, and graph reference lookup. - Added unit tests for created/reused mappings, case-insensitive lookup, reference resolution, session round-trip, duplicate protection, and invalid mapping states.
- Marked OpenSpec task
3.1complete locally;openspec/remains ignored and is not part of the branch diff. - Scope stops before dependency ordering, conflict discovery, preview planning, and validation.
Test plan
-
/usr/local/share/dotnet/dotnet test tests/Squid.UnitTests/Squid.UnitTests.csproj --filter "FullyQualifiedName~Services.OctopusImport"passed: 109 passed, 0 failed. -
/usr/local/share/dotnet/dotnet test tests/Squid.UnitTests/Squid.UnitTests.csprojpassed: 6331 passed, 0 failed. -
git diff --checkpassed. -
No integration tests were added for this branch; current scope is DTO/Core ID mapping plus unit coverage.