Repository navigation
feat: Support Deploymentplan item type - #313
Merged
aviatco merged 12 commits intoNov 25, 2026
Merged
Conversation
Updated the description and argument hint for the Implementer agent.
…emAgent Improve onboarding item agent
…oardingItemAgent Revert "Improve onboarding item agent"
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Contributor
There was a problem hiding this comment.
🟡 Changes recommended
DeploymentPlan shifts cassette IDs and order-dependent import names, breaking existing test playback, and lacks the browser route needed for a valid fab open URL.
3 open issues
What changed in this PR
Adds DeploymentPlan to Fabric CLI’s item model and command support, with documentation and tests for managing deployment plans.
Changes:
- Registers the item type, REST endpoint, definition format, and export/import/copy/move support.
- Adds test parameterizations, export/import unit checks, and recorded command interactions.
- Documents the new resource type and adds an unreleased changelog entry.
| File | Description |
|---|---|
tests/test_utils/test_fab_item_util.py |
Tests export/import round trips and invalid formats. |
tests/test_commands/test_export.py |
Adds the expected invalid-format error. |
tests/test_commands/recordings/test_commands/test_rm/test_rm_item_without_force_success[DeploymentPlan].yaml |
Records confirmed deletion. |
tests/test_commands/recordings/test_commands/test_rm/test_rm_item_without_force_cancel_operation_success[DeploymentPlan].yaml |
Records cancellation of deletion. |
tests/test_commands/recordings/test_commands/test_rm/test_rm_item_with_hard_delete_without_force_success[DeploymentPlan].yaml |
Records confirmed hard deletion. |
tests/test_commands/recordings/test_commands/test_rm/test_rm_item_with_hard_delete_success[DeploymentPlan].yaml |
Records forced hard deletion. |
tests/test_commands/recordings/test_commands/test_rm/test_rm_item_success[DeploymentPlan].yaml |
Records standard deletion. |
tests/test_commands/recordings/test_commands/test_mkdir/test_mkdir_item_name_already_exists_failure[DeploymentPlan].yaml |
Records duplicate-name handling. |
tests/test_commands/recordings/test_commands/test_export/test_export_item_success[DeploymentPlan-.yml].yaml |
Records YAML definition export. |
tests/test_commands/recordings/test_commands/test_export/test_export_item_invalid_output_path_failure[DeploymentPlan].yaml |
Supports invalid-output-path testing. |
tests/test_commands/recordings/test_commands/test_export/test_export_item_invalid_format_failure[DeploymentPlan-.txt].yaml |
Supports invalid-format testing. |
tests/test_commands/recordings/test_commands/test_export/test_export_item_format_success[DeploymentPlan-DeploymentPlanFormat-expected_file_extensions0-expected_folders0].yaml |
Records explicit-format export. |
tests/test_commands/recordings/test_commands/test_export/test_export_item_default_format_success[DeploymentPlan-2].yaml |
Records default-format export. |
tests/test_commands/recordings/test_commands/test_exists/test_exists_item_exists_success[DeploymentPlan].yaml |
Records an existing-item check. |
tests/test_commands/recordings/test_commands/test_exists/test_exists_item_doesnt_exist_success[DeploymentPlan].yaml |
Records a missing-item check. |
tests/test_commands/recordings/test_commands/test_cd/test_cd_item_all_types_success[DeploymentPlan].yaml |
Records item navigation. |
tests/test_commands/conftest.py |
Includes DeploymentPlan in command test cases. |
src/fabric_cli/core/fab_types.py |
Registers the type, REST collection, and definition format. |
src/fabric_cli/core/fab_config/command_support.yaml |
Enables export, import, copy, and move. |
docs/examples/item_examples.md |
Lists DeploymentPlan in supported command examples. |
docs/essentials/resource_types.md |
Describes the new resource type. |
.changes/unreleased/new-items-20261123-132500.yaml |
Announces DeploymentPlan support. |
Review effort: Balanced
Alon Yeshurun (ayeshurun)
previously approved these changes
Nov 24, 2026
Contributor
There was a problem hiding this comment.
🔵 Needs a closer look
Prepending the new parameter case changes all six existing pytest IDs, breaking their VCR cassette lookups and causing playback tests to fail because the renamed recordings do not exist.
2 open issues
1 resolved since last review
Review effort: Balanced
Alon Yeshurun (ayeshurun)
approved these changes
Nov 24, 2026
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 free
to 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.


📥 Pull Request
✨ Description of new changes
issue #310
This pull request adds support for a new item type,
DeploymentPlan, across the Fabric CLI and documentation. The changes ensure thatDeploymentPlanis recognized as a first-class item type in the CLI, is documented for users, and is included in all relevant commands and tests.Core CLI and Item Type Support:
DeploymentPlanto theItemTypeenum and mapped it to its corresponding folder and definition format infab_types.py, enabling core CLI recognition and correct handling of this new item type. [1] [2] [3]command_support.yamlto includedeployment_planas a supported item for key commands such as export, import, and copy, allowing users to manage deployment plans using the CLI. [1] [2] [3] [4]Documentation Updates:
.DeploymentPlanin both the resource types overview and relevant command usage examples, making users aware of the new item type and its capabilities. [1] [2] [3]Test Coverage:
DeploymentPlanto all relevant test parameterizations inconftest.py, ensuring the new item type is covered by tests for commands such as export, import, move, copy, and metadata setting. [1] [2] [3] [4] [5] [6] [7] [8] [9] [10] [11] [12] [13] [14]Changelog:
DeploymentPlanitem type.