Skip to content

deps(radar-app): require k8s-ui 1.13.0 for the new policy and backup types - #1462

Merged
hisco merged 1 commit into
mainfrom
deps/raise-k8s-ui-peer-floor
Aug 19, 2026
Merged

deps(radar-app): require k8s-ui 1.13.0 for the new policy and backup types#1462
hisco merged 1 commit into
mainfrom
deps/raise-k8s-ui-peer-floor

Conversation

@hisco

@hisco hisco commented Aug 19, 2026

Copy link
Copy Markdown
Contributor

Release prerequisite for radar 1.11.0 / radar-app 1.11.0. Blocks the radar-app-v1.11.0 tag.

The problem

web/src/api/policy.ts type-imports six symbols from @skyhook-io/k8s-ui, while web/package.json still declares a floor of >=1.12.0.

Five of the six do not exist in the published 1.12.0 tarball. Checked against the artifact, not the version number:

npm pack @skyhook-io/k8s-ui@1.12.0 && tar -xzf *.tgz && grep -r <type> package/
Type In published 1.12.0?
PolicyResourceResponse yes
PolicyCoverageResponse no
PolicyQueuedResponse no
CNPGCatalogUsersResponse no
VeleroStoredBackupsResponse no
VeleroRunMessagesResponse no

All five arrive in k8s-ui 1.13.0, alongside the per-policy coverage, CloudNativePG backup destination and Velero work.

Why it matters

publish-radar-app.yml publishes web/package.json's peerDependencies verbatim. Shipped as-is, radar-app 1.11.0 would declare a peer range it does not compile against — a consumer resolving that range literally gets a build failure, not a version-number nit. npm versions are immutable, so this is not fixable after publish.

Change

One line: >=1.12.0 -> >=1.13.0.

Same shape as #1427 last cycle.

Ordering

Must merge before k8s-ui-v1.13.0 and radar-app-v1.11.0 are tagged. Both tags should land on the same commit as v1.11.0 and pkg/v1.12.0.


Note

Low Risk
Single dependency version floor change with no runtime logic; aligns package metadata with existing type imports before release.

Overview
Raises the @skyhook-io/k8s-ui peer dependency floor in web/package.json from >=1.12.0 to >=1.13.0.

This matches what web/src/api/policy.ts already imports (PolicyCoverageResponse, PolicyQueuedResponse, CNPG and Velero response types, etc.), which are not in the published 1.12.0 package. Without the bump, consumers resolving peers at 1.12.x would hit TypeScript/build failures, and the published radar-app peer range would be wrong for an immutable npm release.

Reviewed by Cursor Bugbot for commit b5b93c3. Bugbot is set up for automated code reviews on this repo. Configure here.

…types

web/src/api/policy.ts type-imports six symbols from @skyhook-io/k8s-ui. Five of
them do not exist in the published 1.12.0 tarball, checked with npm pack rather
than by reading version numbers: PolicyCoverageResponse, PolicyQueuedResponse,
CNPGCatalogUsersResponse, VeleroStoredBackupsResponse and VeleroRunMessagesResponse.
Only PolicyResourceResponse is present.

Published against the old floor, radar-app declares a peer range it does not
compile against, and a consumer resolving that range literally gets a build
failure rather than a version-number nit.
@hisco
hisco requested a review from nadaverell as a code owner August 19, 2026 17:03
@hisco
hisco merged commit 7ffa6e2 into main Aug 19, 2026
9 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