-
Notifications
You must be signed in to change notification settings - Fork 18
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
ci/nightly: Compare parsec and parsec-tool dependency versions #116
ci/nightly: Compare parsec and parsec-tool dependency versions #116
Conversation
Triggered Nightly check: Note: This one should fail as parsec is currently using a different version of rustix |
d4a6f85
to
543db89
Compare
543db89
to
d79836c
Compare
utils/dependency_cross_matcher.py
Outdated
if args.compare: | ||
parsec_repo, parsec_tool_repo = args.deps_dir | ||
mismatches_parsec = run_deps_mismatcher(run_cargo_tree(parsec_repo)) | ||
mismatches_parsec_tool = run_deps_mismatcher(run_cargo_tree(parsec_tool_repo)) |
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.
I think the parsec service needs a few additional flags in the cargo tree command right?
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.
Done
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 for noticing! Well spotted
d79836c
to
04e8114
Compare
* Print error information on the dependency mismatch checker instead of doing so in the ci.sh script. This simplifies the logic and reduces maintainability efforts. Signed-off-by: Tomás González <[email protected]>
df3ef09
to
263202d
Compare
parsec and parsec-tool share some dependencies. In those shared dependencies, the used versions should be the same. * Modify utils/dependency_cross_matcher.py to cover the case of comparing parsec and parsec-tool dependencies as well as the previous case of checking mismatches in parsec-tool dependencies. Signed-off-by: Tomás González <[email protected]>
We could easily discover mismatches in a normal CI run instead of in a nightly run. * Update the mismatcher job so that it's run on each PR instead of on a nightly. Signed-off-by: Tomás González <[email protected]>
* Use the newly added --compare option in utils/dependency_cross_matcher.py to compare dependencies between parsec and parsec-tool to spot common dependencies that are being used with different versions. Signed-off-by: Tomás González <[email protected]>
Keep rustix updated and avoid a dependency mismatch with parsec. Please check: parallaxsecond/parsec#741 Signed-off-by: Tomás González <[email protected]>
Signed-off-by: Tomás González <[email protected]>
263202d
to
0d6b9de
Compare
Once this is merged, I will create a PR in https://github.com/parallaxsecond/parsec to keep the tests synced. |
Depends on #115 . Please only review when this one is merged.
Closes parallaxsecond/parsec#360