Skip to content

feat: supports digital twin builder flow item#235

Open
v-alexmoraru wants to merge 5 commits into
microsoft:mainfrom
v-alexmoraru:dev/v-alexmoraru/support-digital-twin-builder-flow-item
Open

feat: supports digital twin builder flow item#235
v-alexmoraru wants to merge 5 commits into
microsoft:mainfrom
v-alexmoraru:dev/v-alexmoraru/support-digital-twin-builder-flow-item

Conversation

@v-alexmoraru
Copy link
Copy Markdown
Member

Onboards Digital Twin Builder Flow item type & records tests for its commands.

@v-alexmoraru v-alexmoraru requested a review from a team as a code owner May 13, 2026 07:53
Copilot AI review requested due to automatic review settings May 13, 2026 07:53
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.

Copilot wasn't able to review this pull request because it exceeds the maximum number of lines (20,000). Try reducing the number of changed lines and requesting a review from Copilot again.

Copilot AI review requested due to automatic review settings May 13, 2026 11:06
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.

Copilot wasn't able to review this pull request because it exceeds the maximum number of lines (20,000). Try reducing the number of changed lines and requesting a review from Copilot again.

_workspace_id = item.workspace.id

if _digital_twin_builder_id:
payload_dict["creationPayload"] = {
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

since both conditions adding the same creationMethod to payload, consider changing the check to
if !digital_twin_builder_id:
create ......

then no need for else, just set the payload_dict["creationPayload"] = ......

@@ -44,136 +44,263 @@

ALL_ITEM_TYPES = [
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

it is very hard to review this page because of all the changes... can you explain what you did? added DIGITAL_TWIN_BUILDER_FLOW type to the functions? I see it was added to only several method.. why?

@@ -18,7 +18,10 @@
from fabric_cli.errors import ErrorMessages
from tests.test_commands.commands_parser import CLIExecutor
from tests.test_commands.conftest import (
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

was something changed here? or only the formating?

@@ -11,12 +11,12 @@ interactions:
Content-Type:
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

recordings for export are missing?

@@ -100,9 +100,7 @@ def test_mkdir_unsupported_item_failure(
workspace = workspace_factory()

# Create unsupported item
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

also here, only formatting was changed?
try use the same formatting so you'll not have those diffs - will be easier to review

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