Skip to content

feat: Support multiple new items - #300

Merged
ohadedry merged 2 commits into
microsoft:mainfrom
ohadedry:support-multiple-new-items
Oct 25, 2026
Merged

ohadedry merged 2 commits into
microsoft:mainfrom
ohadedry:support-multiple-new-items

Conversation

@ohadedry

Copy link
Copy Markdown
Contributor

📥 Pull Request

✨ Description of new changes

Add support of 8 item types - AppBackend, EventSchemaSet, OrgApp, OrgAppAudience, AnomalyDetector, WarehouseSnapshot, Plan and DataBuildToolJob

  • basic supported commands: Create, remove, get, set, export, import, bulk-export, cp, mv
  • AppBackend and WarehouseSnapshot doesn't support export/import
  • OrgAppAudience doesn't support create
  • WarehouseSnapshot create support required and optional params
  • documentation was updated accordingly
  • Adding e2e tests

@ohadedry
ohadedry requested a review from a team as a code owner October 20, 2026 13:56
Copilot AI balanced review requested due to automatic review settings October 20, 2026 13:56

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟡 Changes recommended

Plan import playback depends on test order, and OrgAppAudience operations lack dedicated test coverage.

1 open issue
What changed in this PR

Extends Fabric CLI support to eight item types, including WarehouseSnapshot creation parameters, documentation and command tests.

Changes:

  • Registers item types, endpoints and supported commands.
  • Adds Plan lifecycle tests and WarehouseSnapshot creation coverage.
  • Updates documentation, playback recordings and release notes.
File Description
tests/​test_commands/​test_rm.py Adds Plan deletion tests.
tests/​test_commands/​test_mkdir.py Tests Plan and WarehouseSnapshot creation.
tests/​test_commands/​test_import.py Adds Plan import coverage.
tests/​test_commands/​test_export.py Adds Plan export and format checks.
tests/​test_commands/​recordings/​test_commands/​test_set/​class_setup.yaml Refreshes set-test setup recording.
tests/​test_commands/​recordings/​test_commands/​test_rm/​test_rm_item_without_force_cancel_operation_success[OrgApp].yaml Records OrgApp deletion cancellation.
tests/​test_commands/​recordings/​test_commands/​test_rm/​test_rm_item_without_force_cancel_operation_success[EventSchemaSet].yaml Records EventSchemaSet deletion cancellation.
tests/​test_commands/​recordings/​test_commands/​test_rm/​test_rm_item_without_force_cancel_operation_success[DataBuildToolJob].yaml Records DataBuildToolJob deletion cancellation.
tests/​test_commands/​recordings/​test_commands/​test_rm/​test_rm_item_without_force_cancel_operation_success[AppBackend].yaml Records AppBackend deletion cancellation.
tests/​test_commands/​recordings/​test_commands/​test_rm/​test_rm_item_without_force_cancel_operation_success[AnomalyDetector].yaml Records AnomalyDetector deletion cancellation.
tests/​test_commands/​recordings/​test_commands/​test_rm/​class_setup.yaml Refreshes deletion-test setup recording.
tests/​test_commands/​recordings/​test_commands/​test_mv/​class_setup.yaml Refreshes move-test setup recording.
tests/​test_commands/​recordings/​test_commands/​test_mkdir/​class_setup.yaml Refreshes creation-test setup recording.
tests/​test_commands/​recordings/​test_commands/​test_ls/​class_setup.yaml Refreshes listing-test setup recording.
tests/​test_commands/​recordings/​test_commands/​test_get/​class_setup.yaml Refreshes get-test setup recording.
tests/​test_commands/​recordings/​test_commands/​test_export/​class_setup.yaml Refreshes export-test setup recording.
tests/​test_commands/​recordings/​test_commands/​test_exists/​test_exists_item_exists_success[EventSchemaSet].yaml Records EventSchemaSet existence checks.
tests/​test_commands/​recordings/​test_commands/​test_exists/​test_exists_item_exists_success[AppBackend].yaml Records AppBackend existence checks.
tests/​test_commands/​recordings/​test_commands/​test_exists/​test_exists_item_exists_success[AnomalyDetector].yaml Records AnomalyDetector existence checks.
tests/​test_commands/​recordings/​test_commands/​test_exists/​class_setup.yaml Refreshes existence-test setup recording.
tests/​test_commands/​recordings/​test_commands/​test_cp/​class_setup.yaml Refreshes copy-test setup recording.
tests/​test_commands/​recordings/​test_commands/​test_cd/​class_setup.yaml Refreshes navigation-test setup recording.
tests/​test_commands/​conftest.py Expands test parameters and adds Plan cleanup.
tests/​test_commands/​api_processors/​capacities_api_processor.py Removes Azure resource IDs from recorded capacity responses.
src/​fabric_cli/​utils/​fab_cmd_mkdir_utils.py Builds WarehouseSnapshot creation payloads.
src/​fabric_cli/​core/​fab_types.py Registers item types and mappings.
src/​fabric_cli/​core/​fab_config/​command_support.yaml Enables supported item operations.
docs/​examples/​item_examples.md Documents snapshot parameters and export types.
docs/​essentials/​resource_types.md Lists newly supported resource types.
docs/​commands/​fs/​mkdir.md Documents WarehouseSnapshot parameters.
docs/​commands/​fs/​bulk_export.md Expands supported export types.
.changes/​unreleased/​new-items-20261020-134959.yaml Announces DataBuildToolJob support.
.changes/​unreleased/​new-items-20261020-134931.yaml Announces AnomalyDetector support.
.changes/​unreleased/​new-items-20261020-134838.yaml Announces WarehouseSnapshot support.
.changes/​unreleased/​new-items-20261020-134753.yaml Announces Plan support.
.changes/​unreleased/​new-items-20261020-134730.yaml Announces OrgAppAudience support.
.changes/​unreleased/​new-items-20261020-134713.yaml Announces OrgApp support.
.changes/​unreleased/​new-items-20261020-134641.yaml Announces EventSchemaSet support.
.changes/​unreleased/​new-items-20261020-134537.yaml Announces AppBackend support.

Review effort: Balanced

Comment thread src/fabric_cli/core/fab_config/command_support.yaml
@ohadedry
ohadedry merged commit 8ad4c70 into microsoft:main Oct 25, 2026
12 checks passed
@ohadedry
ohadedry deleted the support-multiple-new-items branch October 25, 2026 08:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants