Skip to content

Expand v1.18 CVE highlight with runtime version inventory - #2272

Merged
nadaverell merged 8 commits into
mainfrom
docs/whats-new-1.18
Oct 22, 2026
Merged

nadaverell merged 8 commits into
mainfrom
docs/whats-new-1.18

Conversation

@nadaverell

Copy link
Copy Markdown
Contributor

Expands the v1.18 CVE highlight to include #2265's MCP inventory of runtime versions declared by running images and supported fixed-release comparisons. The copy distinguishes declarations and unknowns from verified remediation.

Raises the CVE card's importance from 5 to 8. The four v1.18 cards now total 23, below the automatic-open threshold of 25 for upgrades from v1.17.

Follow-up to merged #2271.

Validation: make tsc, all 54 What's New tests, and bash scripts/check-whats-new.sh v1.18.0 passed. Visual-test skipped: copy and importance only in the existing dialog.

@nadaverell
nadaverell requested a review from hisco as a code owner October 22, 2026 13:01
@qodo-free-for-open-source-projects

Copy link
Copy Markdown

PR Summary by Qodo

Add v1.18 release notes and fix previews on development builds

📝 Documentation 🐞 Bug fix 🧪 Tests 🕐 10-20 Minutes

Grey Divider

AI Description

• Add v1.18 highlights and improvements, including CVE search and declared runtime-version
 inventory.
Diagram

graph TD
  Query["Preview query"] --> Lookup["Version lookup"] --> Compose["Notes composer"] --> Dialog["What's New dialog"]
  Catalog["Release catalog"] --> Lookup
  State["Running version"] --> Unread["Unread releases"] --> Compose
  Catalog --> Unread
  Lookup --> Unread
Loading
High-Level Assessment

Using the existing release catalog and composition logic is appropriate. Selecting preview notes independently of the running version fixes development-build previews without changing normal upgrade eligibility.

Files changed (4) +65 / -6

Bug fix (1) +5 / -4
WhatsNew.tsxSelect preview notes independently of the running version +5/-4

Select preview notes independently of the running version

• Defaults '?whats-new' to the newest authored entry and uses the selected entry as the upgrade-preview target. Documents minor-version preview URLs.

web/src/components/whats-new/WhatsNew.tsx

Tests (2) +12 / -0
WhatsNew.test.tsCover minor-version release lookup +2/-0

Cover minor-version release lookup

• Adds assertions that version lookup accepts a minor release line with or without the 'v' prefix.

web/src/components/whats-new/WhatsNew.test.ts

WhatsNewDialog.test.tsxTest v1.18 previews on Git development builds +10/-0

Test v1.18 previews on Git development builds

• Checks unqualified, minor-version, and full-version preview URLs against a development-build running version. Confirms closing a preview does not record the notes as seen.

web/src/components/whats-new/WhatsNewDialog.test.tsx

Documentation (1) +48 / -2
releaseNotes.tsAdd v1.18 notes and support minor-version lookup +48/-2

Add v1.18 notes and support minor-version lookup

• Adds four v1.18 highlights and eight improvements. The lead CVE copy covers Trivy search and MCP inventory of declared runtime versions while distinguishing unknown declarations from verified fixes; its importance is 8, leaving the release's card score at 23, below the automatic-open threshold of 25. Lookup now accepts a catalog entry's minor release line.

web/src/components/whats-new/releaseNotes.ts

@qodo-free-for-open-source-projects

qodo-free-for-open-source-projects Bot commented Oct 22, 2026 •

Copy link
Copy Markdown

Code Review by Qodo

🐞 Bugs (1) 📘 Rule violations (0) 📎 Requirement gaps (0) 🎨 UX issues (0) 🔗 Cross-repo conflicts (0) 📜 Skill insights (0)

Grey Divider


Remediation recommended

1. Agents cannot inventory runtime versions 🐞 Bug ≡ Correctness
Description
The v1.18 CVE highlight says MCP agents can inventory runtime versions declared by running images
and compare them with a fixed release, but the available MCP tools implement neither operation.
Users relying on this release note will find only Trivy finding search and a package inventory drawn
from deployment metadata, not the advertised image-runtime inventory.
Code

web/src/components/whats-new/releaseNotes.ts[R57-58]

+        description: 'Search Trivy findings by CVE, package or image. MCP agents can also inventory declared runtime versions that package scans may miss.',
+        leadDescription: 'With Trivy Operator installed, search by CVE, package, failed check ID or image to find affected workloads, installed and fixed package versions, and scans from older rollouts. MCP agents can also inventory runtime versions declared by running images and compare supported versions with a fixed release, covering runtimes that package scans may miss. Missing or unreadable declarations stay unknown; image metadata does not verify a fix.',
Evidence
The MCP search tool describes Trivy matching by CVE, package, or SBOM component, while its Trivy
search implementation indexes finding and package fields rather than image runtime declarations. The
separate package inventory tool draws from deployment sources, not running-image runtime metadata.

web/src/components/whats-new/releaseNotes.ts[53-59]
internal/mcp/tools.go[458-467]
internal/search/trivy.go[93-145]
internal/mcp/tools.go[371-390]

Agent prompt
The issue below was found during a code review. Follow the provided context and guidance below and implement a solution

## Issue description
The v1.18 highlight advertises an MCP image-runtime inventory and fixed-release comparison that the current implementation does not provide.
## Fix Focus Areas
- web/src/components/whats-new/releaseNotes.ts[57-58]
## Recommended Fix
Remove the runtime inventory and comparison claims from both descriptions until the supporting MCP capability is present in this release.

ⓘ Copy this prompt and use it to remediate the issue with your preferred AI generation tools


Grey Divider

Tip of the day
💡 Did you know, you can ask Qodo to dismiss a finding you disagree with, with your reason on record

More tips ↗ | Customize Qodo ↗ | Qodo docs ↗

Grey Divider

Qodo Logo

Comment on lines +57 to +58
description: 'Search Trivy findings by CVE, package or image. MCP agents can also inventory declared runtime versions that package scans may miss.',
leadDescription: 'With Trivy Operator installed, search by CVE, package, failed check ID or image to find affected workloads, installed and fixed package versions, and scans from older rollouts. MCP agents can also inventory runtime versions declared by running images and compare supported versions with a fixed release, covering runtimes that package scans may miss. Missing or unreadable declarations stay unknown; image metadata does not verify a fix.',

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Remediation recommended

1. Agents cannot inventory runtime versions 🐞 Bug ≡ Correctness

The v1.18 CVE highlight says MCP agents can inventory runtime versions declared by running images
and compare them with a fixed release, but the available MCP tools implement neither operation.
Users relying on this release note will find only Trivy finding search and a package inventory drawn
from deployment metadata, not the advertised image-runtime inventory.
Agent Prompt
## Issue description
The v1.18 highlight advertises an MCP image-runtime inventory and fixed-release comparison that the current implementation does not provide.

## Fix Focus Areas
- web/src/components/whats-new/releaseNotes.ts[57-58]

## Recommended Fix
Remove the runtime inventory and comparison claims from both descriptions until the supporting MCP capability is present in this release.

ⓘ Copy this prompt and use it to remediate the issue with your preferred AI generation tools

@cursor

cursor Bot commented Oct 22, 2026

Copy link
Copy Markdown

Bugbot needs on-demand usage enabled

Bugbot uses usage-based billing for this team and requires on-demand usage to be enabled.

A team admin can enable on-demand usage in the Cursor dashboard.

@nadaverell
nadaverell merged commit bc17499 into main Oct 22, 2026
10 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.

1 participant