Uh oh!
There was an error while loading. Please reload this page.
Handle revisioned API deletion in --delete-unmatched and add integration coverage - #178
Draft
Elizabeth Maher (EMaher) with Copilot wants to merge 7 commits into
Draft
Handle revisioned API deletion in --delete-unmatched and add integration coverage#178Elizabeth Maher (EMaher) with Copilot wants to merge 7 commits into
--delete-unmatched and add integration coverage#178Elizabeth Maher (EMaher) with Copilot wants to merge 7 commits into
Conversation
CopilotAI
changed the title
[WIP] Fix deletion of unmatched APIs with revisionsHandle revisioned API deletion in Jun 22, 2026
--delete-unmatched and add integration coverageElizabeth Maher (EMaher)
suggested changes
Jun 22, 2026
Uh oh!
There was an error while loading. Please reload this page.
Elizabeth Maher (EMaher)force-pushed
the
copilot/delete-unmatched-parameter-fix
branch
from
July 1, 2026 22:53
f4e93d9 to
590a88fCompare- Updated PowerShell scripts in the integration tests to improve readability and maintainability. - Replaced the use of `Invoke-MaskedApiopsCommand` and `Invoke-MaskedAzCommand` with direct calls to the `apiops` CLI and `az` commands, enhancing error handling and output masking. - Introduced a new teardown phase script to handle resource group deletions and soft-deletion purging of APIM instances. - Removed the phase for validating delete-unmatched behavior and integrated its functionality into the publish phase. - Added support for a `--delete-unmatched` switch in the publish phase to manage unmatched resources during deployment. - Enhanced secret redaction in logs by implementing a `Protect-Secret` function for better handling of sensitive information. - Updated documentation and comments for clarity and consistency across scripts.
…ic in redaction guard tests
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for freeto join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
apiops publish --delete-unmatchedcould fail to remove APIs with revisions because root and revision deletes were executed in an order APIM rejects (Cannot delete the current revision of an API). This left dependent resources undeletable in the same run.Delete orchestration fix (publish path)
publish-service, API deletes are now processed separately from other resources.Unit coverage for regression and ordering
orders-api;rev=2is deleted beforeorders-api.Integration coverage for
--delete-unmatchedrun-phase7-delete-unmatched.ps1) that:--delete-unmatched,run-phase8-teardown.ps1).integration-test.yml.