Skip to content

Filter cloudapi composes that are the same as weldrapi composes#190

Merged
brlane-rht merged 4 commits into
osbuild:mainfrom
brlane-rht:main-HMS-10332
Apr 27, 2026
Merged

Filter cloudapi composes that are the same as weldrapi composes#190
brlane-rht merged 4 commits into
osbuild:mainfrom
brlane-rht:main-HMS-10332

Conversation

@brlane-rht

Copy link
Copy Markdown
Contributor

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 list and composer-cli compose status so that a compose only shows up once in the list.

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
@brlane-rht

Copy link
Copy Markdown
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.

@brlane-rht brlane-rht requested review from avitova and supakeen April 23, 2026 16:09
@brlane-rht brlane-rht merged commit c5b3a7e into osbuild:main Apr 27, 2026
7 of 8 checks passed
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