Skip to content

SG-43459 Migrate Build scene/template workflows#145

Open
carlos-villavicencio-adsk wants to merge 35 commits into
ticket/SG-43456_migration_1from
ticket/SG-43459_migration_phase2
Open

SG-43459 Migrate Build scene/template workflows#145
carlos-villavicencio-adsk wants to merge 35 commits into
ticket/SG-43456_migration_1from
ticket/SG-43459_migration_phase2

Conversation

@carlos-villavicencio-adsk

@carlos-villavicencio-adsk carlos-villavicencio-adsk commented Jun 15, 2026

Copy link
Copy Markdown
Contributor

Base branch #137

Requirements

Description

This will prevent having these workflows dependant from tk-framework-flowam.

TODO

  • Remove references for framework-flowam on flowam_actions.py
  • Remove references for framework-flowam on entity, latest publish, and publish history models.
  • Remove requirement on info.yml
  • Tested on Maya
  • Tested on Desktop
  • Remove tk_core_ref from azure-pipelines.yml

@codecov

codecov Bot commented Jun 17, 2026

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 26.06742% with 329 lines in your changes missing coverage. Please review.
⚠️ Please upload report for BASE (ticket/SG-43456_migration_1@777b988). Learn more about missing BASE report.

Files with missing lines Patch % Lines
python/tk_multi_loader/flowam/create.py 22.28% 143 Missing ⚠️
python/tk_multi_loader/flowam/reference.py 12.30% 57 Missing ⚠️
python/tk_multi_loader/flowam/file.py 12.69% 55 Missing ⚠️
python/tk_multi_loader/flowam/flowam_actions.py 13.63% 38 Missing ⚠️
python/tk_multi_loader/build_asset_dialog.py 45.45% 6 Missing ⚠️
python/tk_multi_loader/flowam/entity_model.py 53.84% 6 Missing ⚠️
...thon/tk_multi_loader/flowam/latestpublish_model.py 62.50% 6 Missing ⚠️
python/tk_multi_loader/flowam/template_queries.py 60.00% 4 Missing ⚠️
python/tk_multi_loader/build_template_dialog.py 57.14% 3 Missing ⚠️
python/tk_multi_loader/dialog.py 25.00% 3 Missing ⚠️
... and 4 more
Additional details and impacted files
@@                      Coverage Diff                       @@
##             ticket/SG-43456_migration_1     #145   +/-   ##
==============================================================
  Coverage                               ?   19.16%           
==============================================================
  Files                                  ?       51           
  Lines                                  ?     4841           
  Branches                               ?        0           
==============================================================
  Hits                                   ?      928           
  Misses                                 ?     3913           
  Partials                               ?        0           
Flag Coverage Δ
Linux 19.16% <26.06%> (?)
Python-3.10 19.16% <26.06%> (?)
Python-3.11 19.16% <26.06%> (?)
Python-3.13 19.16% <26.06%> (?)
Python-3.9 19.16% <26.06%> (?)
Windows 19.16% <26.06%> (?)
macOS 19.16% <26.06%> (?)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@carlos-villavicencio-adsk carlos-villavicencio-adsk marked this pull request as ready for review June 18, 2026 15:22
Comment thread hooks/tk-houdini_actions.py Outdated

@chenm1adsk chenm1adsk left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Left some question of improvement that I am not sure if we should aim for in the scope of this ticket.

Comment on lines 105 to 106
if len(actions) == 0:
actions.extend(list(mappings.get("All", [])))

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Not introduced by this PR but as I mentioned in phase1 PR, this will change the behaviour of when to append actions in "All", we shouldn't introduce to tk-multi-loader2.

Comment thread python/tk_multi_loader/flowam/flowam_actions.py Outdated
Comment thread python/tk_multi_loader/flowam/reference.py
Comment thread python/tk_multi_loader/flowam/__init__.py
Comment thread python/tk_multi_loader/flowam/create.py Outdated
Comment thread hooks/tk-desktop_actions.py Outdated
enable_flowam = app.get_setting("enable_flowam", False)
if enable_flowam:
am_base_obj = kwargs.get("am_base_obj")
if self.parent.context.flow_project_id:

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

I feel like it is better to just create a function to group flow logic.
For example create a _flow_execute_action and called it when flow project id exists

Comment thread hooks/tk-maya_actions.py
Comment thread python/tk_multi_loader/flowam/latestpublish_model.py
Comment thread python/tk_multi_loader/flowam/file.py Outdated
Comment thread python/tk_multi_loader/flowam/flowam_actions.py Outdated
Comment thread python/tk_multi_loader/flowam/flowam_actions.py Outdated
Comment thread python/tk_multi_loader/flowam/reference.py Outdated
Comment thread python/tk_multi_loader/flowam/reference.py
Comment thread python/tk_multi_loader/flowam/reference.py
Comment thread python/tk_multi_loader/flowam/reference.py Outdated
Comment thread python/tk_multi_loader/flowam/reference.py Outdated
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