Skip to content

Conversation

@shsms
Copy link
Collaborator

@shsms shsms commented Oct 21, 2024

This PR adds support for configuring the validation requirements of the component graph.

@shsms shsms self-assigned this Oct 21, 2024
@shsms
Copy link
Collaborator Author

shsms commented Oct 21, 2024

Based on #2

shsms added 8 commits January 13, 2025 14:11
A `ComponentGraphConfig` object now needs to be passed when
constructing a `ComponentGraph` instance.

Signed-off-by: Sahas Subramanian <[email protected]>
This would make it easy to test upcoming graph config parameters.

Signed-off-by: Sahas Subramanian <[email protected]>
This means users don't have to fix one issue at a time and recreate
the graph to get the next error, but can instead get all the issues in
the graph at once.

Signed-off-by: Sahas Subramanian <[email protected]>
When true, inverters with `InverterType::Unspecified` are treated as
having `InverterType::Battery`.

This commit also adds "tracing" as a dependency and logs warnings when
inverters with unspecified type are encountered.

Signed-off-by: Sahas Subramanian <[email protected]>
When `true`, the graph will be considered valid even if it has
unconnected components that are not reachable from the root.

Signed-off-by: Sahas Subramanian <[email protected]>
When `true`, the graph will be considered valid even if validation
failed for some of the components.

Signed-off-by: Sahas Subramanian <[email protected]>
When this is `true`, formulas will be generated without considering
fallback components.

Signed-off-by: Sahas Subramanian <[email protected]>
@shsms
Copy link
Collaborator Author

shsms commented Jan 13, 2025

Rebased on latest.

@shsms shsms added the cmd:skip-release-notes It is not necessary to update release notes for this PR label Jan 13, 2025
@shsms
Copy link
Collaborator Author

shsms commented Jan 13, 2025

Will add release notes when we are ready to make the first release.

@shsms shsms added this pull request to the merge queue Jan 14, 2025
Merged via the queue into frequenz-floss:v0.x.x with commit 4c4ee64 Jan 14, 2025
3 of 4 checks passed
@shsms shsms deleted the config branch January 14, 2025 17:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

cmd:skip-release-notes It is not necessary to update release notes for this PR

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants