persist_control_app_sbom stored a PLC target's CVE alerts but never did what
the code pipeline does at its end: resolve_gone and sync_cve_issues. So a
CVE of a CODESYS runtime or library the project no longer references stayed
open for good, and a PLC project in a managed repository never got CVE
issues.
- The PLC path tracks whether its lookups were complete (OSV without
unchecked components or failure/timeout, the CODESYS NVD match without
unchecked or timeout) and then calls resolve_gone with the target's
alerts (PLC targets run only this path, so these are all its alerts).
- With a code artifact (managed git), sync_cve_issues follows, as for code.
- Docs (PLC guide), test plan check 34.
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01EYKjxacrr6K88DruUmP48p