Skip to content

Conversation

mkolodner-sc
Copy link
Collaborator

Scope of work done

Reduces the restrictions of our task metadata to only enforce that the source and destination node types of the supervision edge types are in the graph metadata, rather than the edge types as well. This can unblock use cases where we may have A -> B, B -> B as graph metadata edge types but B -> A as our supervision edge type.

Where is the documentation for this feature?: N/A

Did you add automated tests or write a test plan?

Updated Changelog.md? NO

Ready for code review?: NO

Copy link
Collaborator

Choose a reason for hiding this comment

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

nit. this file should be template_config_checks_test.py?

Comment on lines +8 to +9
DEFAULT_HOMOGENEOUS_GRAPH_METADATA_PB,
DEFAULT_HOMOGENEOUS_NODE_TYPE_STR,
Copy link
Collaborator

Choose a reason for hiding this comment

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

unrelated, this shouldn't be done in this pr.

We should not have mutable constants like this [1]. If we do this, then one test could mutate them, and have other downstream tests fail.

Ideally, we have some create_graph_metadata_pb() that always creates a new object.

Can we add this to some task tracker?

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