-
Notifications
You must be signed in to change notification settings - Fork 15
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: allow for debug mode execution #1577
base: main
Are you sure you want to change the base?
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM.
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #1577 +/- ##
==========================================
- Coverage 91.61% 91.60% -0.02%
==========================================
Files 86 86
Lines 7064 7067 +3
==========================================
+ Hits 6472 6474 +2
- Misses 592 593 +1 ☔ View full report in Codecov by Sentry. |
This PR requieres that windows-latest is also windows-25.2 at least. |
if enable_debug_features: | ||
if self.client.backend_version > (25, 1, 0): | ||
request.script_type = RunScriptType.DEBUG | ||
else: # pragma: no cover |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Depending on what Ken tells us about the debug mode, we might need to filter here if we run against DMS.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sounds good!
# Discovery (.dscript) | ||
def test_dscript_simple_script_debug_mode(modeler: Modeler): | ||
# Skip on Linux | ||
skip_if_linux(modeler, test_dscript_simple_script.__name__, "run_discovery_script_file") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Same here, if debug run script won't be available on DMS before it's retired, we'll need to skip that test for DMS
Description
Allow the execution of debug mode in product scripting.
Issue linked
Closes #1576
Checklist
feat: extrude circle to cylinder
)