Skip to content

fix: replace standalone SBOM with reusable quality workflow - #193

Merged
rubenvdlinde merged 6 commits into
developmentfrom
fix/sbom-reusable-workflow
Mar 19, 2026
Merged

fix: replace standalone SBOM with reusable quality workflow#193
rubenvdlinde merged 6 commits into
developmentfrom
fix/sbom-reusable-workflow

Conversation

@rubenvdlinde

@rubenvdlinde rubenvdlinde commented Mar 17, 2026

Copy link
Copy Markdown
Contributor

Summary

  • CI/CD: Consolidate quality and SBOM workflows — Replace the standalone code-quality.yml (matrix of PHP checks + frontend quality) and standalone sbom.yml with a single code-quality.yml that calls the ConductionNL/.github reusable quality workflow with enable-sbom: true and enable-frontend: true
  • Code: Replace ObjectEntityMapper references with MagicMapper — Update ContactpersonenController, ContactpersoonService, OrganizationSyncService, and UserProfileUpdatedEventListener to use MagicMapper instead of removed ObjectEntityMapper
  • Code: Refactor Dashboard.vue — Simplify the Dashboard view component
  • Testing: Add beheer menu creation to test setup — New test-setup.sh script that creates the beheer menu at position 7
  • Testing: Fix Postman test data and thresholds — Correct test data and update pass/fail thresholds in the API test suite
  • Testing: Update test results — Comprehensive test result updates across all personas (architectuur-expert, bezoeker, functioneel-beheerder, gemeente, leverancier, samenwerking, security-officer) including retests and raw API results
  • Docs: Add government features documentation — New GOVERNMENT-FEATURES.md describing government-specific capabilities
  • Deps: Update composer and npm dependencies — Updated composer.json, composer.lock, package.json, package-lock.json; added PHPUnit config (phpunit-unit.xml) and updated Psalm config

Commits

  • 4df1775 fix: consolidate quality and SBOM workflows into single reusable workflow
  • fa4f836 fix: replace standalone SBOM workflow with reusable quality workflow
  • 9c478be fix: Replace ObjectEntityMapper references with MagicMapper
  • 10fed8d fix: Add beheer menu (position 7) creation to test setup
  • 69ac476 fix: Correct Postman test data and thresholds for passing API suite

- Koppeling type field: "intern" → "api" (valid enum value)
- #452: Search for existing test app instead of non-existent Makelaarsuite
- #435: Lower leverancier app threshold from 50 to 25 (matches actual data)
- #344: Handle empty referentieComponenten facet gracefully
- #144: Make publications field check more robust
- Update API test results (454/454 passing)
The frontend expects a menu at position 7 for the beheer sidebar.
Without it, all beheer pages show empty content with
"Beheer menu (position 7) not found or has no items".
ObjectEntityMapper was removed from OpenRegister during the
retire-blob-objects-table change. All 11 references in 4 files
updated to use MagicMapper (drop-in replacement, same interface).

Files: ContactpersoonService, ContactpersonenController,
OrganizationSyncService, UserProfileUpdatedEventListener
@rubenvdlinde
rubenvdlinde changed the base branch from main to development March 17, 2026 08:22
…flow

Replace standalone code-quality.yml and sbom.yml with a single
code-quality.yml that calls ConductionNL/.github quality.yml reusable
workflow with enable-sbom and enable-frontend options.
Accept development's test-setup.sh, postman tests, and package-lock.
Merge code-quality.yml: keep development's full config, add enable-sbom,
fix nextcloud-ref to nextcloud-test-refs.
@github-actions

Copy link
Copy Markdown
Contributor

Quality Report

Repository ConductionNL/softwarecatalog
Commit 08c5215
Branch 193/merge
Event pull_request
Generated 2026-03-17 08:32 UTC
Workflow Run https://github.com/ConductionNL/softwarecatalog/actions/runs/23185272674

Summary

Group Result
PHP Quality FAIL
Vue Quality FAIL
Security FAIL
License FAIL
PHPUnit SKIP
Newman SKIP

PHP Quality

Tool Result
lint PASS
phpcs FAIL
phpmd PASS
psalm PASS
phpstan PASS
phpmetrics PASS

Vue Quality

Tool Result
eslint FAIL
stylelint FAIL

Security

Ecosystem Result
composer PASS
npm FAIL

License Compliance

Ecosystem Result
composer PASS
npm FAIL

composer dependencies (120 total)

Metric Count
Approved (allowlist) 120
Approved (override) 0
Denied 0

PHPUnit Tests

PHPUnit tests were not enabled for this run.

Integration Tests (Newman)

Newman integration tests were not enabled for this run.


Generated automatically by the Quality workflow.

Download the full PDF report from the workflow artifacts.

@rubenvdlinde
rubenvdlinde merged commit 81243ee into development Mar 19, 2026
14 of 19 checks passed
@rubenvdlinde
rubenvdlinde deleted the fix/sbom-reusable-workflow branch August 14, 2026 09:52
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.

1 participant