Filter cloudapi composes that are the same as weldrapi composes#190
Merged
Conversation
This will be used to filter the compose list by status and remove weldr api uuids from the list. Related: HMS-10332
This is used to filter the compose list by status. Includes tests. Related: HMS-10332
This filters weldr api compose uuids from the list of cloud api composes. These duplicates happen when a compose is started using the weldrapi. It also depends on a pending osbuild-composer PR: osbuild/osbuild-composer#5110 Related: HMS-10332
This filters weldr api compose uuids from the list of cloud api composes. These duplicates happen when a compose is started using the weldrapi. It also depends on a pending osbuild-composer PR: osbuild/osbuild-composer#5110 Resolves: HMS-10332
Contributor
Author
|
NOTE: Snyk complaint is because the uuid module has MD5 and SHA1 support in it, which is not used so it can be ignored. |
lzap
approved these changes
Apr 24, 2026
supakeen
approved these changes
Apr 26, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
A weldrapi compose request was using a different UUID for the weldr store. This resulted in a compose showing up as two different UUIDs, one from the weldr store and the other from the actual compose job.
osbuild/osbuild-composer#5110 fixes this so that it uses the same UUID as the job, but there are still two of them returned by the api (one from the cloudapi and the other from the weldrapi).
These changes allow us to filter the results shown by
composer-cli compose listandcomposer-cli compose statusso that a compose only shows up once in the list.