Skip to content

Finalize OS type sbom component name migration

Oscar Tovar requested to merge otovar/finalize-sbom-component-migrations-2 into master

What does this MR do and why?

The RemoveNamespaceFromOsTypeSbomComponents migration depends on a very specific unique index name to capture known errors. If the schema changes to add a superset of this unique index, then the migration will run into not unique record errors as well, but will not handle them, and eventually cause the specs to fail. This change prevents a regression, and makes the test stable by ensuring we don't run the migrations past this finalized by migration.

Split from Finalize PEP503 sbom component batched backgrou... (!164246)

MR acceptance checklist

Please evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.

Screenshots or screen recordings

Screenshots are required for UI changes, and strongly recommended for all other merge requests.

Before After

How to set up and validate locally

Numbered steps to set up and validate the change are strongly suggested.

Merge request reports