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

Ensure dependencies are traversed in scriptModuleLoader #2987

Open
wants to merge 1 commit into
base: dev
Choose a base branch
from

Conversation

nvmkuruc
Copy link
Collaborator

@nvmkuruc nvmkuruc commented Mar 5, 2024

Description of Change(s)

_HasTransitiveSuccessor iterates over a predecessor's successors with an unused variable j and then attempts to tag the predecessor to be visited when it should be tagging the successors.

This change replaces the TF_FOR_ALL with a range based for loop and changes the logic so that successors are now added to the predecessor stack.

This also ensures that the initial state of the visit tracking TfHashSet matches the initial state of the stack, avoiding unnecessary re-visitation of the initial predecessor.

Fixes Issue(s)

  • I have verified that all unit tests pass with the proposed changes
  • I have submitted a signed Contributor License Agreement

@nvmkuruc nvmkuruc force-pushed the scriptmoduleloader branch from b8a9889 to 689cda0 Compare March 5, 2024 12:05
@jesschimein
Copy link
Collaborator

Filed as internal issue #USD-9388

@jesschimein
Copy link
Collaborator

/AzurePipelines run

Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@nvmkuruc nvmkuruc force-pushed the scriptmoduleloader branch from 689cda0 to 3ecf65c Compare March 11, 2024 12:59
@jesschimein
Copy link
Collaborator

/AzurePipelines run

Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@nvmkuruc nvmkuruc force-pushed the scriptmoduleloader branch from 3ecf65c to 00a9db5 Compare March 28, 2024 15:39
@jesschimein
Copy link
Collaborator

/AzurePipelines run

Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@nvmkuruc nvmkuruc force-pushed the scriptmoduleloader branch from 00a9db5 to 2144dd0 Compare April 1, 2024 14:49
@jesschimein
Copy link
Collaborator

/AzurePipelines run

Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@nvmkuruc nvmkuruc force-pushed the scriptmoduleloader branch from 2144dd0 to 19c5651 Compare June 4, 2024 20:04
@jesschimein
Copy link
Collaborator

/AzurePipelines run

Copy link

Azure Pipelines successfully started running 1 pipeline(s).

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.

2 participants