-
Notifications
You must be signed in to change notification settings - Fork 169
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
Inheritance methods of Metadata is not intuitive #3125
Comments
@sagar1312 @tkyi - do you guys have any thoughts on how to solve this issue? Basically this looks like a bug, |
Yeah that sounds like a bug. Should be the more recently finished build that takes precedence. |
@yakanechi - I was able to reproduce this issue. I believe this can be fixed with this implementation below: Will your side be able to make a launcher change on this? |
@VonnyJap |
Only sort parent builds by build endtime not solve below case.
In that case, |
@kumada626 - I got your point now. As such, I think the PR raised here can be put on hold until we make the larger design change. Please let me know what your thoughts are. |
@VonnyJap I agree that large design changes are needed. |
@y-oksaku - The condition requiring isJoin to be true only when parentBuilds is greater than 1, as outlined here, results in external metadata merging being skipped when parentBuilds refers to an external build with only one parent build. Could you please take a look? |
@VonnyJap However, this condition was not introduced by screwdriver-cd/launcher#481 . It has been this way since before this modification. I think that it is supposed to use external flag as |
@y-oksaku - I have attempted to relax the condition with this change, screwdriver-cd/launcher#488. What do you think? If we are in agreement, I will make an additional commit to fix the test. |
@VonnyJap - I agree this change 👍 |
What happened:
If there are multiple trigger sources for the current metadata, the value of the job that completed first takes precedence.
In the following example, the value is set in job1 and then reset in job3, but job2 is completed before job3, so the value of x is 1 in job4.
It seems strange that values set later are not used.
What you expected to happen:
Consider adding a timestamp-like feature for each metadata, with the newly added ones taking precedence.
How to reproduce it:
The text was updated successfully, but these errors were encountered: