Skip to content

Closes #796 - Add Ontology item type support#906

Merged
shirasassoon merged 13 commits intomainfrom
copilot/onboard-ontology-item-type
Apr 12, 2026
Merged

Closes #796 - Add Ontology item type support#906
shirasassoon merged 13 commits intomainfrom
copilot/onboard-ontology-item-type

Conversation

Copy link
Copy Markdown
Contributor

Copilot AI commented Mar 26, 2026

  • Analyze how Ontology data binding files reference other items (logical ID + default workspace ID)
  • Compare with Data Pipeline documentation pattern for automatic same-workspace resolution
  • Update Ontology documentation in docs/how_to/item_types.md to accurately describe automatic resolution for same-workspace items and parameterization only for cross-workspace items
  • Validate: docs build, ruff format, ruff check, pytest (837 passed)

🔒 GitHub Advanced Security automatically protects Copilot coding agent pull requests. You can protect all pull requests by enabling Advanced Security for your repositories. Learn more about Advanced Security.

Copilot AI and others added 3 commits March 26, 2026 10:21
Co-authored-by: shirasassoon <66449905+shirasassoon@users.noreply.github.com>
Agent-Logs-Url: https://github.com/microsoft/fabric-cicd/sessions/7a2dfc63-befd-427d-a3b6-fb3c507369e6
Co-authored-by: shirasassoon <66449905+shirasassoon@users.noreply.github.com>
Agent-Logs-Url: https://github.com/microsoft/fabric-cicd/sessions/7a2dfc63-befd-427d-a3b6-fb3c507369e6
@shirasassoon shirasassoon changed the title Closes #XXX - Add Ontology item type support Closes #796 - Add Ontology item type support Mar 26, 2026
Copilot AI requested a review from shirasassoon March 26, 2026 10:52
@shirasassoon shirasassoon marked this pull request as ready for review April 12, 2026 08:28
Copilot AI review requested due to automatic review settings April 12, 2026 08:28
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Adds Microsoft Fabric Ontology as a first-class item type in fabric-cicd, wiring it into the item-type enum + publisher factory so publish_all_items() can deploy Ontology items like other supported types.

Changes:

  • Add ItemType.ONTOLOGY and include it in the serial publish/unpublish order.
  • Introduce OntologyPublisher and register it in the publisher factory.
  • Update docs/tests/devtools and add sample workspace artifacts that include an Ontology item.

Reviewed changes

Copilot reviewed 33 out of 36 changed files in this pull request and generated no comments.

Show a summary per file
File Description
src/fabric_cicd/constants.py Adds ONTOLOGY to ItemType and SERIAL_ITEM_PUBLISH_ORDER so it’s in scope for publish/unpublish workflows.
src/fabric_cicd/_items/_ontology.py New OntologyPublisher using the default ItemPublisher behavior.
src/fabric_cicd/_items/_base_publisher.py Registers OntologyPublisher in ItemPublisher.create() mapping.
tests/test_publish.py Adds a unit test asserting Ontology items trigger the Ontology publisher during publish_all_items().
tests/test_integration_publish.py Extends integration deployment scope list to include Ontology.
docs/how_to/item_types.md Documents Ontology parameterization/rebinding behavior expectations.
devtools/debug_trace_deployment.py Adds Ontology to the debug trace deployment item list.
devtools/debug_local.py Adds Ontology to local debug item list.
sample/workspace/** Adds sample Ontology + supporting artifacts (Lakehouse/Eventhouse/KQL DB) for realistic repository structure coverage.
.changes/unreleased/new-items-20260326-132648.yaml Adds changelog entry for Ontology support.

@shirasassoon shirasassoon merged commit 9501621 into main Apr 12, 2026
22 checks passed
@shirasassoon shirasassoon deleted the copilot/onboard-ontology-item-type branch April 12, 2026 12:22
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.

4 participants