Skip to content
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

DYN-7409 Execution session preference file path #15511

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

twastvedt
Copy link
Contributor

@twastvedt twastvedt commented Sep 26, 2024

Purpose

Add the current preference file path to Execution Session to make it available to nodes.

We'd like this for the GraphEngine node in particular, to allow us to match the current preferences in the Dynamo instance that we spin up.

Declarations

Check these if you believe they are true

  • The codebase is in a better state after this PR
  • Is documented according to the standards
  • The level of testing this PR includes is appropriate
  • User facing strings, if any, are extracted into *.resx files
  • All tests pass using the self-service CI.
  • Snapshot of UI changes, if any.
  • Changes to the API follow Semantic Versioning and are documented in the API Changes document.
  • This PR modifies some build requirements and the readme is updated
  • This PR contains no files larger than 50 MB

Release Notes

Added file path to the current preferences file (PreferenceFilePath) to Dynamo.Configuration.ExecutionSession.

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

@twastvedt twastvedt changed the title Execution session preference file path DYN-7409 Execution session preference file path Sep 26, 2024
Copy link

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

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

See the ticket for this pull request: https://jira.autodesk.com/browse/DYN-7409

Copy link

UI Smoke Tests

Test: success. 11 passed, 0 failed.
TestComplete Test Result
Workflow Run: UI Smoke Tests
Check: UI Smoke Tests

@QilongTang QilongTang added this to the 3.4 milestone Sep 26, 2024
Copy link
Member

@mjkkirschner mjkkirschner left a comment

Choose a reason for hiding this comment

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

So thinking about it a bit more- is there any reason not to make the entire path manager available?
Or maybe a readonly copy of the paths in the path manager?

@QilongTang
Copy link
Contributor

@twastvedt Is this required in Dynamo 3.4? This never made in, just FYI

@twastvedt
Copy link
Contributor Author

Not required. I never got to it. Will try to get to it for 3.5. Do you have any thoughts about Mike's question, @QilongTang ? Makes sense to me, but I don't think I have the experience to say definitively.

@QilongTang QilongTang modified the milestones: 3.4, 3.5 Nov 11, 2024
/// <summary>
/// The path to the preference file that is being used by Dynamo.
/// </summary>
public static readonly string PreferenceFilePath = nameof(PreferenceFilePath);
Copy link
Contributor

@QilongTang QilongTang Nov 11, 2024

Choose a reason for hiding this comment

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

Hi @twastvedt I think @mjkkirschner was asking here if we want to make the entire PathManager available and readonly instead of just the PreferenceFilePath.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Yes, I'm aware of what he's asking. I'm not sure how to answer. Are you?

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