Skip to content

fix(superset): Exclude cypress-base from the frontend SBOM - #1616

Merged
dervoeti merged 1 commit into
mainfrom
fix/superset-frontend-sbom-cypress-base
Aug 24, 2026
Merged

fix(superset): Exclude cypress-base from the frontend SBOM#1616
dervoeti merged 1 commit into
mainfrom
fix/superset-frontend-sbom-cypress-base

Conversation

@dervoeti

@dervoeti dervoeti commented Aug 24, 2026

Copy link
Copy Markdown
Member

Description

All Superset builds have been failing since #1600, for every version and both architectures.

cdxgen treats superset-frontend/cypress-base as an independent npm project, because it has its own package-lock.json. The resulting component is then rejected by cdxgen's own schema validation, which is a bug in cdxgen. It is already fixed in their master branch, but there is no new release yet.
We can work around it though: cypress-base only holds the end-to-end tests, so its dependencies are never installed and never shipped, so excluding it both fixes the build and keeps test-only dependencies out of the SBOM.

Definition of Done Checklist

Note

Not all of these items are applicable to all PRs, the author should update this template to only leave the boxes in that are relevant.

Please make sure all these things are done and tick the boxes

  • Changes are OpenShift compatible
  • All added packages (via microdnf or otherwise) have a comment on why they are added
  • Things not downloaded from Red Hat repositories should be mirrored in the Stackable repository and downloaded from there
  • All packages should have (if available) signatures/hashes verified
  • Add an entry to the CHANGELOG.md file
  • Integration tests ran successfully
TIP: Running integration tests with a new product image

The image can be built and uploaded to the kind cluster with the following commands:

boil build <IMAGE> --image-version <RELEASE_VERSION> --strip-architecture --load
kind load docker-image <MANIFEST_URI> --name=<name-of-your-test-cluster>

See the output of boil to retrieve the image manifest URI for <MANIFEST_URI>.

@dervoeti
dervoeti added this pull request to the merge queue Aug 24, 2026
Merged via the queue into main with commit 1707ebc Aug 24, 2026
3 checks passed
@dervoeti
dervoeti deleted the fix/superset-frontend-sbom-cypress-base branch August 24, 2026 10:59
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.

2 participants