-
Notifications
You must be signed in to change notification settings - Fork 115
Open
Labels
known product issueKnown bug raised to Fabric product teamKnown bug raised to Fabric product team
Description
Library Version
0.1.33
What is the problem?
When using fabric-cicd version 0.1.33 to deploy Eventstream items to a Fabric workspace that already contains Eventstream items, the deployment fails if the existing Eventstream has "compatibilityLevel": "1.0" and the new Eventstream being deployed has "compatibilityLevel": "1.1".
Steps to reproduce
- Create an Eventstream item without any configurations (in fabric workspace -> new item -> Eventstream) but verify the following eventstream.json content:
{
"sources": [],
"destinations": [],
"streams": [],
"operators": [],
"compatibilityLevel": "1.1"
}
- Deploy this item to a Fabric workspace that already contains an Eventstream item with "compatibilityLevel": "1.0" using the following code:
from fabric_cicd import FabricWorkspace, publish_all_items
from fabric_cicd import append_feature_flag
append_feature_flag("disable_workspace_folder_publish")
target_workspace = FabricWorkspace(
workspace_id="my_workspace_id",
repository_directory="/sample",
item_type_in_scope=["Eventstream"],
)
publish_all_items(target_workspace)
- Observe the error returned:
[error] 15:52:13 - Unhandled error occurred calling POST on 'https://api.powerbi.com/v1/workspaces/<workspace-id>/items/<item-id>/updateDefinition?updateMetadata=True'.
Message: Upgrading the compatibility level from Compat_1_0 to Compat_1_1 is not allowed.
See /fabric_cicd.error.log for full details.
So for clarification:
- Is this error intended behavior (compatibility level cannot be upgraded)?
- Or should the deployment process handle upgrading the compatibility level automatically?
The key "compatibilityLevel" tells me already that the lower level might not be compatible but I'm not finding anything about this from documentation.
Is there an ideal solution?
No response
Additional context, screenshots, logs, error output, etc
No response
Metadata
Metadata
Assignees
Labels
known product issueKnown bug raised to Fabric product teamKnown bug raised to Fabric product team