Skip to content

feat: add per-component remediations type to EolScanComponent#27

Merged
facundo-herodevs merged 1 commit into
mainfrom
890-include-remediations-field
Jun 10, 2026
Merged

feat: add per-component remediations type to EolScanComponent#27
facundo-herodevs merged 1 commit into
mainfrom
890-include-remediations-field

Conversation

@facundo-herodevs

@facundo-herodevs facundo-herodevs commented Jun 10, 2026

Copy link
Copy Markdown
Member

What This Branch Does

Adds a typed, per-component remediations field to the shared EOL scan model. A new
Remediation
type (plus its supporting union and target/action types) is introduced and exposed on
EolScanComponent
as an optional field. Types-only change with no runtime behavior.

Remediations Type

Mirrors the EnrichedRemediationFact shape served by eol-api so consumers get a precise type instead of untyped passthrough.

All types are re-exported from the package root via export type * from './types/eol-scan.js'.

Compatibility

Additive and backward-compatible: the new field is optional, so existing consumers and fixtures compile unchanged. No runtime logic changes.

Known Gaps / Downstream

  • Consumed by the HeroDevs CLI to include remediations per component in its saved JSON report; the CLI bumps its dependency to the tag cut from this PR (v0.1.20).
  • Release coordination: the CLI must not ship until the eol-api prod schema exposes EolComponentScanResult.remediations, or the CLI's GraphQL query selecting remediations fails validation. Depends on the eol-engine prod cutover + API deploy.

@facundo-herodevs facundo-herodevs enabled auto-merge (squash) June 10, 2026 03:04
@facundo-herodevs facundo-herodevs merged commit 42ccdc4 into main Jun 10, 2026
7 checks passed
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