-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
Stabilized the artifact ordering during the compilation #1097
Stabilized the artifact ordering during the compilation #1097
Conversation
/test kubeflow-pipeline-sample-test |
Could you explain a bit why we need this change? |
As the title indicates, this makes the order of output artifacts stable in Python 3.5. |
The sample tests do not rely on the strict ordering of the artifacts but instead searches for the artifact. pipelines/test/sample-test/utils.py Line 28 in b1e4a56
|
They did until I fixed them on Friday night: pipelines/test/sample-test/utils.py Line 28 in 633e2dd
Also the compiler tests do rely on the ordering. Generally it's a good idea to have stable execution where multiple program runs with the same arguments produce same results. |
I see. Thanks for the explanation. |
/lgtm |
/approve |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: Ark-kun The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: Ark-kun The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
This change makes the order of output artifacts stable in Python 3.5.
The sample test seems to be relying on the artifact ordering (it tries to read the first artifact without looking at the name).
With this change the order is always the preserved and stable.
This change is