Closes #796 - Add Ontology item type support#906
Merged
shirasassoon merged 13 commits intomainfrom Apr 12, 2026
Merged
Conversation
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
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
Copilot created this pull request from a session on behalf of
shirasassoon
March 26, 2026 10:31
View session
Co-authored-by: shirasassoon <66449905+shirasassoon@users.noreply.github.com> Agent-Logs-Url: https://github.com/microsoft/fabric-cicd/sessions/3f1e728e-3f14-4eb6-95d7-4d8b339c1f28
Contributor
There was a problem hiding this comment.
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.ONTOLOGYand include it in the serial publish/unpublish order. - Introduce
OntologyPublisherand 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. |
ayeshurun
approved these changes
Apr 12, 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.
docs/how_to/item_types.mdto accurately describe automatic resolution for same-workspace items and parameterization only for cross-workspace items🔒 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.