-
Notifications
You must be signed in to change notification settings - Fork 5.5k
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
Tech Insights: When multiple fact retrivers are used for a check and only one returns a given fact #16929
Tech Insights: When multiple fact retrivers are used for a check and only one returns a given fact #16929
Conversation
Changed Packages
|
Uffizzi Preview |
9132189
to
1f2698d
Compare
Could you add a test case and documentation about the order of facts that are used when two of them with the same identifier are passed in. Other than that it looks like test cases cover failure cases already so this should be good to go |
This PR has been automatically marked as stale because it has not had recent activity from the author. It will be closed if no further activity occurs. If the PR was closed and you want it re-opened, let us know and we'll re-open the PR so that you can continue the contribution! |
Aaahh!!! no no no. I was just going to get back to it today. Shoo away stale bot!! |
…k, allow for cases where only one returns a given fact Signed-off-by: Mark David Avery <mark@webark.cc>
1f2698d
to
9cb1db6
Compare
@Xantier Let me know if this behavior, documentation, and test coverage fits with what you expect. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks!
Thank you for contributing to Backstage! The changes in this pull request will be part of the |
Hey, I just made a Pull Request!
This is to address the comment raised in #8516 (comment) and support the use case of
RetrieverA pulls facts and integrates with SystemA, RetrieverB pulls facts and integrates with SystemB. Both output myFact, but RetrieverA only ones that involve SystemA, and RetrieverB SystemB.
Then we can run a check like
And it will pass even though RetrieverA and RetrieverB do not have the same facts
pinging @Xantier and @wejendorp
✔️ Checklist
Signed-off-by
line in the message. (more info)