Skip to content

fix(superset): Exclude superset-ui-switchboard from the frontend SBOM - #1621

Merged
dervoeti merged 2 commits into
mainfrom
fix/superset-414-frontend-sbom
Aug 26, 2026
Merged

fix(superset): Exclude superset-ui-switchboard from the frontend SBOM#1621
dervoeti merged 2 commits into
mainfrom
fix/superset-414-frontend-sbom

Conversation

@dervoeti

Copy link
Copy Markdown
Member

Description

Follow-up to #1616, which fixed 6.0.0 and 6.1.0 but not 4.1.4: https://github.com/stackabletech/docker-images/actions/runs/32719556743

Superset 4.1.4 has a second nested npm project, superset-frontend/packages/superset-ui-switchboard, which ships its own (dependency-less) package-lock.json. cdxgen treats it as an independent project and copies the license string from its package.json verbatim instead of emitting a CycloneDX licenses array, so it rejects its own document and writes no SBOM at all.

Excluding the directory is fine, as the package is a workspace member and stays in the SBOM through the top-level lock file. 6.0.0 and 6.1.0 have no such lock file, so the additional --exclude is a no-op there.

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 requested a review from Techassi August 25, 2026 17:27
@dervoeti dervoeti moved this to Development: Waiting for Review in Stackable Engineering Aug 25, 2026
@dervoeti dervoeti self-assigned this Aug 25, 2026
@Techassi Techassi moved this from Development: Waiting for Review to Development: In Review in Stackable Engineering Aug 26, 2026
@dervoeti
dervoeti added this pull request to the merge queue Aug 26, 2026
Merged via the queue into main with commit 0b1e2fc Aug 26, 2026
3 checks passed
@dervoeti
dervoeti deleted the fix/superset-414-frontend-sbom branch August 26, 2026 12:51
@dervoeti dervoeti moved this from Development: In Review to Development: Done in Stackable Engineering Aug 26, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Development: Done

Development

Successfully merging this pull request may close these issues.

2 participants