Fix import planning order for action-scoped variables
requested to merge fix/octopus-import-planning-order-variable-scope into feature/squid-import-project
Summary
- Reordered Octopus import planning so deployment processes, steps, and actions are created before project variable sets, ensuring action destination IDs exist before scope mapping.
- Synchronized
OctopusImportPreviewPlannerordering and added unit coverage to prevent dependency and preview rank drift. - Extended the real archive integration scenario with Action and Process-scoped variables, verifying persisted scope values against the actual destination IDs.
- Updated
OCTOPUS_IMPORT_API_REVIEW_MEMORY.mdwith the C8 resolution, rationale, modified files, verification results, and remaining machine/tenant product-scope limitations.
Test plan
-
Squid.UnitTestsRelease build completed with 0 errors. -
Squid.IntegrationTestsRelease build completed with 0 errors. -
git diff --checkpassed.