DYN-5901: Player CLI fixes (#13965)#13976
Conversation
* Ignore unknown arguments in CLI. * Enable file logging in cli mode. * Fix missing ConsoleWriter reference in service mode. (cherry picked from commit 82c622f)
| serviceMode = isServiceMode; | ||
|
|
||
| if (!testMode && !isServiceMode) | ||
| if ((!testMode || cliMode) && !isServiceMode) |
There was a problem hiding this comment.
Hi @twastvedt Is the previous check !testMode && !isServiceMode not true before this change?
There was a problem hiding this comment.
Not in my testing. I found that testMode was true when I ran the cli. Here, I think: https://github.com/DynamoDS/Dynamo/blob/master/src/DynamoApplications/StartupUtils.cs#L500. The previous constructor, before this PR, only checked cliMode, not testMode.
|
The reported regression is a flaky one. This is ready to be merged and team will work on release version related changes |
|
Excellent, thanks! Not sure if you were expecting me to merge this. If so, looks like I am not authorized. If not, then disregard this! |
No worries we will merge it for you later |
Please Note:
DynamoRevitrepo will need to be cherry-picked into all the DynamoRevit Release branches that Dynamo supports. Contributors will be responsible for cherry-picking their reviewed commits to the other branches after aLGTMlabel is added to the PR.Purpose
Cherry-pick #13965 to 2.18.1.
Three issues that we've come across when testing the new Player:
(cherry picked from commit 82c622f)
Declarations
Check these if you believe they are true
*.resxfilesRelease Notes
(FILL ME IN) Brief description of the fix / enhancement. Mandatory section
Reviewers
(FILL ME IN) Reviewer 1 (If possible, assign the Reviewer for the PR)
(FILL ME IN, optional) Any additional notes to reviewers or testers.
FYIs
(FILL ME IN, Optional) Names of anyone else you wish to be notified of