Skip to content
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

fix(3234): Always merge parent event meta last #475

Merged
merged 1 commit into from
Oct 30, 2024
Merged

Conversation

tkyi
Copy link
Member

@tkyi tkyi commented Oct 30, 2024

Context

During a restart case, sometimes the metadata from parentEvent is expected but with the current implementation, the metadata from parentBuildId wins over that from a parentEvent, ending in a situation where some metadata is missing.

Objective

This PR always merges parent event meta if it exists. Order of precedence goes: build > parent event > parent build > event

References

Related to screwdriver-cd/screwdriver#3234

License

I confirm that this contribution is made under the terms of the license found in the root directory of this repository's source tree and that I have the authority necessary to make this contribution on behalf of its copyright owner.

@tkyi tkyi force-pushed the mergeParentEventMeta branch from 2616044 to 898ebda Compare October 30, 2024 00:05
@tkyi tkyi merged commit a875f1a into master Oct 30, 2024
1 check passed
@tkyi tkyi deleted the mergeParentEventMeta branch October 30, 2024 17:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants