Skip to content

Conversation

@ctron
Copy link
Contributor

@ctron ctron commented Feb 6, 2026

  • chore: ensure groups can't be deleted if they have child groups
  • feat: implement SBOM group assignments
  • test: ensure the etag changes (or doesn't)
  • fix: add an SBOM revision field
  • refactor: split off tests into groups
  • chore: cleanup tests
  • feat: implement SBOM group assignments during upload
  • chore: change docs

Copy link
Contributor

@sourcery-ai sourcery-ai bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sorry @ctron, your pull request is larger than the review limit of 150000 diff characters

@codecov
Copy link

codecov bot commented Feb 6, 2026

Codecov Report

❌ Patch coverage is 84.24528% with 167 lines in your changes missing coverage. Please review.
✅ Project coverage is 70.17%. Comparing base (58d085d) to head (7f75a46).
⚠️ Report is 8 commits behind head on main.

Files with missing lines Patch % Lines
...mporter/src/runner/clearly_defined_curation/mod.rs 0.00% 17 Missing ⚠️
modules/importer/src/runner/csaf/storage.rs 0.00% 17 Missing ⚠️
modules/importer/src/runner/cve/mod.rs 0.00% 17 Missing ⚠️
modules/importer/src/runner/osv/mod.rs 0.00% 17 Missing ⚠️
modules/importer/src/runner/sbom/storage.rs 0.00% 17 Missing ⚠️
modules/importer/src/runner/cwe/walker.rs 0.00% 16 Missing ⚠️
modules/fundamental/src/common/test.rs 94.95% 0 Missing and 11 partials ⚠️
modules/fundamental/src/sbom_group/service.rs 89.71% 2 Missing and 9 partials ⚠️
xtask/src/dataset.rs 0.00% 7 Missing ⚠️
.../fundamental/src/sbom_group/endpoints/test/list.rs 96.00% 0 Missing and 6 partials ⚠️
... and 13 more
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #2238      +/-   ##
==========================================
+ Coverage   69.23%   70.17%   +0.94%     
==========================================
  Files         405      408       +3     
  Lines       23048    23534     +486     
  Branches    23048    23534     +486     
==========================================
+ Hits        15957    16516     +559     
+ Misses       6187     6094      -93     
- Partials      904      924      +20     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@ctron ctron force-pushed the feature/groups_2 branch 2 times, most recently from 91ce44c to ca187fb Compare February 9, 2026 09:40
@ctron ctron added enhancement New feature or request SBOMs labels Feb 9, 2026
@ctron
Copy link
Contributor Author

ctron commented Feb 9, 2026

/scale-test

@github-actions
Copy link

github-actions bot commented Feb 9, 2026

🛠️ Scale test has started! Follow the progress here: Workflow Run

ctron added 15 commits February 9, 2026 16:16
Assisted-by: Claude Code
Also, change the data migration to use plain keys. Rather than full
models, so that we can migrate the structure of the models.

Assisted-By: Claude Code
This required some major refactoring, as there was no way to cover the
upload in a transaction. The group assignment, correctly, is part of the
fundamental module, so the ingestion can't do it.

However, the ingestion can't accept a transaction. Therefore, the
ingestion had to be refactored to accept a connection/transaction, like
all the other calls.

Also, did the "load" methods return an `Id` struct, which could be an
internal ID, or one of the digest types. This made it tricky to deal
with in a follow up call. As, except for one case, only the internal ID
was returned, this was refactored as well. This one case returns a
synthetic value anyway.
Also, increase test coverage.

Assisted-by: Claude Code
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request SBOMs

Projects

Status: No status

Development

Successfully merging this pull request may close these issues.

1 participant