Repository navigation
feat: install Helm v4 plugins from .tgz release assets - #648
Merged
yxxhero merged 13 commits intoFeb 18, 2026
Merged
Conversation
Helm v4 requires plugins to be distributed as .tgz packages to register as subcommands. Installing from a repo URL registers them as "legacy" plugins that don't expose subcommands (e.g., "helm secrets" won't work). When Helm v4+ is detected, the action now queries the plugin's GitHub release for .tgz assets with companion .prov (provenance) files and installs those natively. Plugins without v4 packages (e.g., helm-diff) fall back to the existing --verify=false legacy install. Fixes helmfile#604
…ication Helm v4 verifies .tgz plugin signatures against .prov provenance files by default. The runner doesn't have plugin authors' GPG keys, causing "plugin verification failed: open ~/.gnupg/pubring.gpg: no such file" errors. Before installing .tgz assets, the action now fetches the plugin author's GPG public key from https://github.com/<owner>.gpg and imports it via `gpg --import`. If the key import fails, a warning is logged but the install still proceeds.
Helm v4's plugin verification looks for pubring.gpg (GnuPG v1 format), but modern gpg stores imported keys in pubring.kbx (v2 format). After importing the plugin author's GPG key, export the keyring to the legacy format so Helm v4 can find it for signature verification.
There was a problem hiding this comment.
Pull request overview
This PR updates the action’s Helm plugin installation logic to support Helm v4’s new plugin distribution/verification model by preferring signed .tgz release assets (with .prov files) and importing GPG keys needed for verification, while retaining a legacy fallback path.
Changes:
- Add Helm v4 detection and GitHub Releases asset resolution for
.tgz+.provplugin packages. - Import a plugin owner’s GPG public key and export a legacy
pubring.gpgkeyring for Helm v4 verification. - Extend Jest coverage for the new Helm v4 install paths and fallbacks.
Reviewed changes
Copilot reviewed 2 out of 4 changed files in this pull request and generated 3 comments.
| File | Description |
|---|---|
src/helm.ts |
Adds Helm v4 plugin asset discovery + GPG key import/export and updates plugin install strategy. |
dist/index.js |
Updates the bundled action output to include the new logic. |
__tests__/helm.test.ts |
Adds/updates tests to cover Helm v4 asset install behavior and fallbacks. |
Member
|
@saipavan9 please take a look. |
The `~` shorthand doesn't expand on Windows, causing the gpg --export command to fail with "No such file or directory". Use os.homedir() and path.join() for cross-platform path resolution. Also quote the output path to handle spaces in Windows paths.
- Pass GPG arguments as arrays to exec() instead of string interpolation to handle paths with spaces correctly on Windows - Use os.homedir() and path.join() for cross-platform path resolution instead of relying on ~ expansion - Try both vX.Y.Z and X.Y.Z tag formats when querying GitHub releases API, since users may omit the v prefix but repos tag with it
Contributor
Author
|
@yxxhero Fixed all the issues |
When GPG verification fails for a .tgz plugin install (e.g., missing key, wrong signer, gpg not available), retry with --verify=false instead of hard-failing the action. The .tgz still registers as a proper v4 plugin even without verification.
When a user provides a direct .tgz URL (e.g., a specific release download), install it directly instead of querying the GitHub releases API, which could resolve different assets than what was requested.
- Refactor all exec() calls to pass command and arguments separately instead of string interpolation, preventing potential issues with special characters in URLs or paths - Validate HTTP status code from GPG key endpoint before attempting import, avoiding feeding HTML error pages to gpg --import - Remove unused variables from tests
- Replace == with === for exit code comparisons in legacy install path - Pass 'helm plugin list' as argument array instead of command string
Extract GITHUB_REPO_REGEX constant to unify the GitHub URL parsing pattern used in both resolveHelmV4PluginAssets and installHelmPlugins. Add core.debug() message when GITHUB_TOKEN is not set to help users understand potential rate limiting on GitHub API requests.
Replace GITHUB_REPO_REGEX with parseGitHubRepo() that uses new URL() to properly validate hostname and extract clean owner/repo from pathname segments. Only retry with --verify=false when stderr indicates an actual verification failure (verification/pubring/openpgp keywords), not for unrelated errors like 404 or corrupt archives.
Reset lastError after a successful API response so that an expected 404 on an alternate tag format (e.g. v3.15.0 vs 3.15.0) does not produce a spurious warning when the other candidate succeeds.
Reject owners and repos with invalid characters (e.g. user@domain.com) to prevent pointless API calls and confusing warnings for malformed URLs that happen to have github.com as their hostname.
nadaverell
added a commit
to skyhook-io/radar
that referenced
this pull request
Sep 30, 2026
One tested batch replacing this week's soaked, low-risk Dependabot PRs. Dependency-only: no application source changes. **Screening time:** 2026-09-30T08:40:02Z (re-checked 09:12Z, base `0490dd87` unchanged) **72h cutoff:** published at or before 2026-09-27T08:40:02Z. Every resolved version below clears it. ## Included | PR | Dependency | Old → New | Published (UTC) | Soak | Risk conclusion | |---|---|---|---|---|---| | #1932 | k8s.io/{api, apiextensions-apiserver, apimachinery, apiserver, cli-runtime, client-go, component-helpers, component-base, streaming} | v0.37.0 → v0.37.1 | 2026-09-23 20:28–23:27 | ~6.5d | Negligible. Every staging repo's v0.37.0...v0.37.1 compare is a single "Update dependencies to v0.37.1 tag" commit touching only go.mod/go.sum. `streaming` v0.37.1 is the same commit as v0.37.0. | | #1938 | github.com/jackc/pgx/v5 | v5.10.0 → v5.11.0 | 2026-09-07 23:39 | ~22d | Low. Used only by the Postgres timeline store through `stdlib`. See notes. | | #1936 | github.com/klauspost/compress | v1.20.0 → v1.20.1 | 2026-09-25 08:00 | ~5d | Low–moderate. Encoder/decoder performance rewrites plus correctness fixes; no API or default changes. Radar uses it directly only for the HTTP gzip encoder. | | #1934 | modernc.org/sqlite (+ modernc.org/libc) | v1.58.0 → v1.59.0 (libc v1.75.6 → v1.75.7) | sqlite 2026-09-15 07:30; libc 2026-09-01 19:33 | ~15d / ~29d | Low. The transpiled SQLite is unchanged (3.53.4). libc uses native Go mem*/str* routines. The UDF context-pooling change doesn't apply because Radar registers no UDFs. | | #1937 | eslint | 10.10.0 → 10.11.0 | 2026-09-18 20:15 | ~11.5d | Low. A few rule refinements, no breaking changes. Lint gives 0 errors / 441 warnings, the same as main. | | #1935 | vite | 8.2.2 → 8.3.1 | 2026-09-24 12:26 | ~6d | Low. Moves rolldown 1.2.6 → 1.2.11, whose tree-shaking and code-splitting fixes can change bundle output, so I smoke-tested the built binary in a browser (below). | | #1931 | lucide-react | 1.37.0 → 1.48.0 | 2026-09-24 05:53 | ~6d | Low. No exports were removed between the two tarballs (6137 → 6347). All 226 icon names Radar imports exist in 1.48.0. The k8s-ui peer range `>=0.400.0` is unchanged. | ### Movement beyond the Dependabot PRs (reviewed, all soaked) - **k8s alignment:** root `k8s.io/kubectl` and `k8s.io/csi-translation-lib` (indirect, via `./pkg`) and all of `pkg/go.mod`'s k8s.io requirements move to v0.37.1 as well. Without this, #1932 would leave the graph mixing v0.37.0 and v0.37.1. - kubectl was published 2026-09-24 01:06Z and csi-translation-lib 2026-09-24 00:45Z. Both are go.mod-only tag bumps, like the rest of the group. - Module-graph-only entries `k8s.io/{code-generator, kms, metrics}` v0.37.1 were published 2026-09-23 21:22 / 21:45 / 23:18Z. None of them appears in go.sum. - **npm transitives:** - `rolldown` and all 15 `@rolldown/binding-*` 1.2.6 → 1.2.11 (2026-09-24 13:54–14:30Z) - `@oxc-project/types` 0.147.0 → 0.151.0 (2026-09-21) - `picomatch` 4.0.5 → 4.0.7 (2026-08-24) - Nothing else in `package-lock.json` changed. - **Newer releases deliberately not picked up:** - lucide-react 1.49.0 (2026-09-29) is inside the soak window. - modernc.org/sqlite v1.60.x (2026-09-28/29) is inside the window, and it pins libc v1.77.1. libc has an open stack-overflow crash against v1.77.0 (cznic/libc#60). ## Held / excluded (these PRs stay open) | PR | Update | Decision | Reason | |---|---|---|---| | #1933 | vitest 4.1.11 → 5.0.2 (major) | **Hold** | vitest 5 requires Node `^22.12 \|\| ^24 \|\| >=26`, but `ci.yml` pins Node 20 for the Frontend, k8s-ui and Settings jobs. The PR's CI only passed because npm treats the engine mismatch as a warning (`EBADENGINE`), which Bugbot also flagged. **Follow-up:** move CI (and CONTRIBUTING's "Node 20+") to Node 22 first. Note that `web/` runs the hoisted vitest without declaring it. | | #1930 | monaco-editor 0.55.1 → 0.57.0 | **Exclude** | Needs source changes. The deep side-effect imports in `packages/k8s-ui/src/components/ui/monacoRuntime.ts` (`esm/vs/editor/contrib/{find,folding,format,gotoError,hover,suggest}/...`) no longer resolve (TS2882), which fails the Frontend, k8s-ui and Settings jobs. | | #1776 | modelcontextprotocol/go-sdk 1.6.1 → 1.8.0 | **Exclude** | Changes behaviour Radar relies on. `TestInvestigationHandlerAnnotatesRealToolCallWithoutChangingPublicContract` fails: "private mount handshake did not mark the scope connected". Radar's private-mount handling needs adapting first. | | #1939 | helmfile/helmfile-action v2.2.0 → v2.4.8 | **Exclude** | Breaks the Helm chart job. Since v2.3.0 the action installs Helm plugins from `.tgz` release assets ([#648](helmfile/helmfile-action#648)), so helm-unittest ends up installed twice ("two plugins claim the name \"unittest\""). It also moved to the node24 runtime (v2.4.0). Needs a `ci.yml` change to how `helm-plugins` is specified. | ## Radar usage and risk notes - **pgx 5.11** ([release](https://github.com/jackc/pgx/releases/tag/v5.11.0)): - It makes connection-string parsing match libpq exactly, which changes some edge cases: a literal `+` in URI query values, bad percent-encoding now errors, `#` is data, the last repeated parameter wins, bare IPv6 hosts need brackets, and backslashes in keyword/value strings now escape. - That touches user-supplied `RADAR_TIMELINE_POSTGRES_DSN` values with unusual encoding, which is worth a release-note line. - The date/time parser rewrite doesn't reach Radar data: timestamps are stored as int64 nanoseconds. - The new `Rows.TypeMap` interface method doesn't matter because Radar implements no custom `pgx.Rows`. - It also includes security hardening: startup-parameter NUL injection is rejected, DSN passwords are redacted more thoroughly, and decoders are hardened against panics. - The PostgreSQL integration tests skipped locally (no server). CI runs them with `RADAR_REQUIRE_POSTGRES_TESTS=1` against postgres:17. - **klauspost/compress 1.20.1** ([release](https://github.com/klauspost/compress/releases/tag/v1.20.1)): used directly only by `internal/server/compress.go` (`kgzip.NewWriterLevel`); zstd reaches Radar only transitively (helm, go-containerregistry, prometheus). In the smoke test, a live `/api/resources/pods` response came back `Content-Encoding: gzip` and decoded with system `gunzip` to 269 pods. - **modernc sqlite/libc** ([CHANGELOG](https://gitlab.com/cznic/sqlite/-/blob/v1.59.0/CHANGELOG.md)): used by the SQLite timeline store and `ai-runs.db`. libc is exact-pinned to the version sqlite requires. - **k8s 0.37.1** ([CHANGELOG-1.37](https://github.com/kubernetes/kubernetes/blob/master/CHANGELOG/CHANGELOG-1.37.md#v1371)): the library code is identical. The release fixes are in binaries (DRA, kube-proxy on Windows, kubeadm). - **vite 8.3 / rolldown** ([8.3.0](https://github.com/vitejs/vite/releases/tag/v8.3.0), [8.3.1](https://github.com/vitejs/vite/releases/tag/v8.3.1), [rolldown releases](https://github.com/rolldown/rolldown/releases)): - Our `manualChunks` does its own `node_modules/` matching, so vite 8.3.0's path-segment change doesn't affect it. - `@vitejs/plugin-react` 6.1.1 still satisfies its peer range, and vitest 4.1.11's `vite` peer covers ^8. - **eslint 10.11** ([release](https://github.com/eslint/eslint/releases/tag/v10.11.0)) and **lucide-react** ([releases](https://github.com/lucide-icons/lucide/releases)): the lucide range includes the removal of `trash` (Radar uses `Trash2`) and glyph redraws for `Trash2` and `Building2`. That's cosmetic; tests that assert icon class names pass. ## Verification - **Integrity:** `go mod verify` passes in both root and `pkg`. `go.sum` / `pkg/go.sum` were regenerated from main with a clean `go mod tidy`. Each changes 30 / 14 lines each way, only the modules listed above. - **Type-check:** `make tsc` passes. - **Lint:** `cd web && npm run lint` gives 0 errors and 441 warnings (the same as main). - **Frontend tests:** - `packages/k8s-ui` `npm test`: 209 files, 4030 passed, 1 skipped. - `web` `npm run test`: 151 files, 1764 passed. - **Go tests:** - `cd pkg && go test ./...` passes. - Root `go test ./...` passes except `cmd/desktop`. Its `TestGetShellEnv` and `TestEnrichEnvPrecedenceAndDiagnostics` hit their 5s login-shell timeout while the full parallel suite was loading the machine. - That flake already exists on main and doesn't involve any bumped module. Re-run on this branch with `go test ./cmd/desktop/ -count=3`, the tests pass, and they also pass on main. - **Build:** `make build` passes. - **Binary smoke test** (built binary against a live GKE cluster): - All 8 entry assets (index, rolldown-runtime, vendor, ui, monaco JS/CSS) returned 200. - The Pods table rendered with lucide icons. - The pod drawer's YAML → Edit loaded Monaco along with `monacoRuntime`, `yamlMonacoRuntime`, the `monacoYaml.worker` and `editor.worker` chunks, and showed the pod YAML. - The console showed no errors. The edit was cancelled; nothing was applied. - **visual-test:** not run as a full `/visual-test`. The targeted browser smoke test above covers the rendering-relevant bumps (vite/rolldown chunking, Monaco loading, lucide icons). Supersedes #1932, #1938, #1936, #1934, #1937, #1935, #1931 <!-- CURSOR_SUMMARY --> --- > [!NOTE] > **Low Risk** > Patch dependency upgrades with no app code changes; pgx DSN parsing edge cases are the main operational note for unusual Postgres connection strings. > > **Overview** > **Dependency-only batch** — no application source changes. Bumps Go and npm lockfiles after screening several Dependabot PRs. > > **Go:** Aligns all `k8s.io/*` modules to **v0.37.1** in the root module, `./pkg`, and checksums (patch tag bumps only). Also bumps **pgx v5.11.0** (Postgres timeline via `RADAR_TIMELINE_POSTGRES_DSN`), **klauspost/compress v1.20.1** (HTTP gzip in `internal/server/compress.go`), and **modernc.org/sqlite v1.59.0** with **libc v1.75.7** (SQLite timeline / `ai-runs.db`). > > **Frontend:** **vite 8.3.1** (pulls **rolldown 1.2.11** and related `@rolldown/binding-*` / `@oxc-project/types` transitives in `package-lock.json`), **eslint 10.11.0**, and **lucide-react 1.48.0** in `web/` and `packages/k8s-ui`. > > <sup>Reviewed by [Cursor Bugbot](https://cursor.com/bugbot) for commit 7512c17. Bugbot is set up for automated code reviews on this repo. Configure [here](https://www.cursor.com/dashboard/bugbot).</sup> <!-- /CURSOR_SUMMARY -->
nadaverell
added a commit
to skyhook-io/radar
that referenced
this pull request
Oct 7, 2026
One tested batch replacing this week's soaked, low-risk Dependabot PRs. Dependency-only: no application source changes. **Screening time:** 2026-10-07T08:38:20Z (reconciled again at 09:00Z; rebased onto `1f05aee9`, which picked up #2015) **72h cutoff:** published at or before 2026-10-04T08:38:20Z. Every resolved version below clears it. The npm lockfile was regenerated with `npm install --package-lock-only --before=2026-10-04T08:38:20Z`, so the resolver could not float past the cutoff. ## Included | PR | Dependency | Old → New | Published (UTC) | Soak | Risk conclusion | |---|---|---|---|---|---| | #2000 | modernc.org/sqlite (+ modernc.org/libc) | v1.59.0 → v1.60.1 (libc v1.75.7 → v1.77.1) | sqlite 2026-09-29 08:41; libc 2026-09-21 23:07 | ~8d / ~15.4d | Low–moderate. SQLite stays 3.53.4. The libc range is substantial on Linux (see notes), so I ran the sqlite-backed stores' tests in a Linux container. | | #1998 | github.com/prometheus/common | v0.71.0 → v0.72.0 | 2026-09-28 08:33 | ~9d | Low. The only change on Radar's path is a stricter text parser (see notes). Its `go 1.26` requirement matches ours. | | #2001 | github.com/google/go-containerregistry | v0.22.0 → v0.22.1 | 2026-09-04 00:07 | ~33d | Low. SSRF-guard hardening, an authn fix that stops empty credentials overwriting `AuthConfig.Auth`, and sha512 digest support. Radar uses `authn`, `name`, `remote`, `v1/google` for image inspection. | | #2004 | react-virtuoso | 4.18.13 → 4.18.16 | 2026-09-29 16:03 | ~7.7d | Low. 4.18.14 adds custom `ul` List wrappers. 4.18.15 fixes `initialItemCount` clamping, which Radar doesn't use. 4.18.16 stops TableVirtuoso leaking `skipAnimationFrameInResizeObserver` onto the DOM; Radar doesn't pass that prop. I smoke-tested the binary in a browser anyway. | | #2003 | typescript-eslint (+ 10 `@typescript-eslint/*`) | 8.70.0 → **8.71.0** | 2026-09-28 17:12 | ~8.6d | Low. Adds a new rule that's opt-in and not enabled here, plus rule fixes. The set of 444 lint warnings is identical before and after (0 errors). **8.71.1 (2026-10-05) is too fresh and was deliberately not picked up.** | | #2002 | vitest (+ @vitest/mocker, @vitest/spy) | 5.0.2 → 5.0.3 | 2026-09-30 11:30 | ~6.9d | Low. Bug fixes in repeats/retry, cache revalidation, jsdom Blob and the pool. Both test suites pass. | | #1999 | prettier | 3.9.8 → 3.9.9 | 2026-09-23 06:31 | ~14d | Negligible. A Markdown `$`-as-math fix; Radar formats only `.ts/.tsx`. `prettier --check` reports the same 1089 files before and after. | | #2015 | source-map-js | 1.2.1 → 1.2.2 | 2026-09-30 14:08 | ~6.8d | Low. Build/test-time only (postcss, Tailwind, jsdom via css-tree). Fixes a DoS from malicious indexed source maps (CVE-2026-93749) and a crash under a no-`unsafe-eval` CSP. | ### Movement beyond the Dependabot PRs (reviewed, all soaked) - **Go:** `modernc.org/libc` v1.75.7 → v1.77.1 (2026-09-21), the version sqlite pins. - Three `go.sum` entries also changed, `golang.org/x/tools` v0.50.0 (2026-09-08), `modernc.org/cc/v4` v4.29.7 (2026-09-12) and `modernc.org/ccgo/v4` v4.36.1 (2026-09-21). `go mod why` shows each one is reached only through `go-sdk/mcp.test` or `libc.test`, never a Radar binary. - `pkg/go.mod` is untouched. - **npm:** - `ignore` 7.0.9 → 7.0.12 (2026-10-02, ~4.8d), nested under `@typescript-eslint/eslint-plugin`. These are gitignore-semantics fixes plus linear-time perf work (no release notes, so I reviewed the [compare](kaelzhang/node-ignore@7.0.9...7.0.12)). It's lint-time only, and the lint output is identical. - `why-is-node-running` 3.2.2 → 3.2.1, a **downgrade** that vitest 5.0.3 pins on purpose ([vitest#11403](vitest-dev/vitest#11403), avoids `ERR_PNPM_TRUST_DOWNGRADE`). 3.2.1 was published 2024-10-29. - Nothing else in `package-lock.json` changed. - **Too-fresh versions deliberately excluded by the `--before` cutoff:** - typescript-eslint / `@typescript-eslint/*` 8.71.1 (2026-10-05 17:08Z). - `magic-string` 1.4.3 (2026-10-05 04:52Z), which a plain refresh would have pulled under `@vitest/mocker`. It stays at 1.4.2, inside mocker's `^1.2.3`. ## Held / excluded (these PRs stay open) | PR | Update | Decision | Reason | |---|---|---|---| | #1776 | modelcontextprotocol/go-sdk 1.6.1 → 1.8.0 | **Exclude** | I re-tested on today's main and it still fails `TestInvestigationHandlerAnnotatesRealToolCallWithoutChangingPublicContract` ("private mount handshake did not mark the scope connected"). Radar's private-mount handling needs adapting first; that's a source change. | | #1930 | monaco-editor 0.55.1 → 0.57.0 | **Exclude** | Unchanged from last week. The deep side-effect imports in `packages/k8s-ui/src/components/ui/monacoRuntime.ts` don't resolve under 0.57 (TS2882), and that file hasn't changed since. The PR's CI still fails the Frontend, k8s-ui and Settings jobs. Needs a source change. | | #1939 | helmfile/helmfile-action v2.2.0 → v2.4.8 | **Exclude** | Unchanged from last week. Since v2.3.0 the action installs helm-unittest twice ([#648](helmfile/helmfile-action#648)), so the Helm chart job fails. Needs a `ci.yml` change to how `helm-plugins` is specified. | ## Radar usage and risk notes - **modernc sqlite 1.60 / libc 1.77.1** ([sqlite CHANGELOG](https://gitlab.com/cznic/sqlite/-/blob/v1.60.1/CHANGELOG.md), [libc compare](https://gitlab.com/cznic/libc/-/compare/v1.75.7...v1.77.1)): - Radar imports only the `database/sql` driver: the SQLite timeline store and `ai-runs.db`. It uses no `vfs`, no `pcache`, none of the removed `lib` constants and no `_pragma`. `StrictPragmas` is opt-in. - The 1.60.0 change that turns a WAL `-shm` read fault into `SQLITE_IOERR_IN_PAGE` instead of a crash is a strict improvement. - The libc range includes musl atomics translated to Go, stdio locking fixes, and setenv/putenv mirrored into the Go environment on musl. That's why I ran the targeted Linux run below. - **Last week's blocker is resolved.** libc v1.77.0's recursive `Xnanf` stack overflow ([cznic/libc#60](https://gitlab.com/cznic/libc/-/issues/60)) caused us to hold sqlite 1.60. v1.77.0 is now retracted, and v1.77.1 adds the fix and a `TestNaN` regression test. - The issue is still open upstream, so I checked directly: in v1.77.1, Linux `Xnanf` returns `X__builtin_nanf` (`math.NaN()`), and the issue's own reproducer prints `NaN NaN NaN` on linux/arm64 with no stack overflow. - **prometheus/common 0.72** ([release](https://github.com/prometheus/common/releases/tag/v0.72.0)): - Radar uses `expfmt.NewTextParser(model.LegacyValidation)` to parse apiserver metrics in `internal/upgrade/collectors_live.go`, and `model` in the MCP Prometheus tool. - The only text-parser change ([#988](prometheus/common#988)) now rejects a nameless `{}` sample that follows metric metadata. Kubernetes apiserver exposition never emits one. - The rest is OpenMetrics 2.0 encoding, which is experimental and unused here, plus format-constant docs ([#992](prometheus/common#992), backward compatible). - **typescript-eslint 8.71.0** ([release](https://github.com/typescript-eslint/typescript-eslint/releases/tag/v8.71.0)), **vitest 5.0.3** ([release](https://github.com/vitest-dev/vitest/releases/tag/v5.0.3)), **prettier 3.9.9** ([changelog](https://github.com/prettier/prettier/blob/3.9.9/CHANGELOG.md#399)), **react-virtuoso** ([releases](https://github.com/petyosi/react-virtuoso/releases)), **source-map-js 1.2.2** ([compare](7rulnik/source-map-js@v1.2.1...v1.2.2)), **go-containerregistry 0.22.1** ([release](https://github.com/google/go-containerregistry/releases/tag/v0.22.1)). ## Verification All results are on the rebased branch (base `1f05aee9`). - **Integrity:** `npm ci` passes, and `go mod verify` passes for root and `pkg`. - **Type-check:** `make tsc` passes. - **Go tests:** `make test` (root `go test ./...`, 43 packages ok) and `cd pkg && go test ./...` both pass. The first run failed with "package unsafe is not in std" and missing `go-build` cache files because the Go build cache was cleaned during the run; both pass on a clean re-run. - **Frontend tests:** - `packages/k8s-ui` `npm test`: 218 files, 4160 passed, 1 skipped. - `web` `npm run test`: 158 files, 1865 passed. - **Lint:** `cd web && npm run lint` gives 0 errors and 444 warnings, the same warning set as main. I compared the normalized warning lists from a clean `npm ci` of `origin/main`. - **Prettier:** `prettier --check` on `web/src` and `packages/k8s-ui/src` flags 1089 files before and after, so the bump changes no formatting. - **Build:** `make build` passes. - **Linux targeted test:** `go test ./internal/timeline/ ./internal/ai/` passes in `golang:1.26` (go1.26.8, linux/arm64) against libc v1.77.1. Those are the SQLite timeline store and the `ai-runs.db` store. - **Binary smoke test:** I ran the built binary against a live cluster with the Pods table at ~100 pods. - TableVirtuoso virtualized as expected: 5182px of scroll height rendered 29 rows, then 43 after a mid-scroll. - Rows rendered correctly mid-list, and the console showed 0 errors and 0 warnings. - **visual-test:** I didn't run a full `/visual-test`. The only rendering-relevant bump is react-virtuoso, and the targeted smoke test above covers it. Supersedes #2000, #1998, #2001, #2004, #2003, #2002, #1999, #2015 <!-- CURSOR_SUMMARY --> --- > [!NOTE] > **Low Risk** > Dependency-only lockfile and manifest updates with no runtime code changes; bumps are patch/minor and were screened with tests per the PR description. > > **Overview** > This PR **batches soaked Dependabot dependency bumps** with **no application source changes**—only `go.mod`/`go.sum`, root `package-lock.json`, and version pins in `packages/k8s-ui/package.json` and `web/package.json`. > > **Go** updates include `modernc.org/sqlite` (v1.59.0 → v1.60.1) with its `modernc.org/libc` transitive bump, `github.com/prometheus/common` (v0.71.0 → v0.72.0), and `github.com/google/go-containerregistry` (v0.22.0 → v0.22.1), plus related `go.sum` entries for sqlite/libc toolchain deps. > > **npm** updates cover `react-virtuoso` (4.18.13 → 4.18.16) in k8s-ui and web, `typescript-eslint` / `@typescript-eslint/*` (8.70.0 → 8.71.0), `vitest` (5.0.2 → 5.0.3) in k8s-ui, `prettier` (3.9.8 → 3.9.9), and lockfile-only moves such as `source-map-js` 1.2.2 and vitest’s pinned `why-is-node-running` downgrade. > > <sup>Reviewed by [Cursor Bugbot](https://cursor.com/bugbot) for commit 3716b5a. Bugbot is set up for automated code reviews on this repo. Configure [here](https://www.cursor.com/dashboard/bugbot).</sup> <!-- /CURSOR_SUMMARY -->
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
APIVERSION: legacyand don't expose subcommands (e.g.,helm secretsreturns "unknown command").tgzassets with companion.provprovenance files and installs those nativelyhttps://github.com/<owner>.gpgbefore install so Helm v4's signature verification succeedspubring.gpgformat since Helm v4 looks for GnuPG v1 keyring, not the modernpubring.kbx--verify=falselegacy install for plugins without v4 packages (e.g., helm-diff)Problem
Helm v4 overhauled its plugin system. Installing plugins via the repo URL (
helm plugin install https://github.com/jkroepke/helm-secrets) registers them aslegacyplugins:Legacy plugins don't register as subcommands, so
helm secrets decryptfails withError: unknown command "secrets".Helm v4 plugins must be installed from
.tgzrelease archives (per helm-secrets installation docs):Additionally, Helm v4 verifies
.tgzsignatures against.provprovenance files by default. Without the plugin author's GPG public key in the runner's keyring, install fails with:This happens because modern
gpg(v2.x) imports keys intopubring.kbx(new keybox format), but Helm v4's verification code looks forpubring.gpg(old GnuPG v1 format).Solution
The action now automatically handles Helm v4 plugin installation:
helm version --short.tgzassets with companion.provfiles (distinguishes v4 plugin packages from platform-specific binaries)https://github.com/<owner>.gpgfor signature verificationpubring.gpgformat — Helm v4 reads the old GnuPG v1 keyring, but modern gpg stores keys inpubring.kbx;gpg --export --output pubring.gpgcreates the legacy file.tgzpackage natively — plugin registers as a proper v4 subcommand--verify=falselegacy install if no.tgzassets are found (e.g., helm-diff) or if the API call failsNo workflow changes required — existing configs work as-is:
Test plan
npm test)npm run all(build + format + lint + package) succeedshelm secretssubcommand worksFixes #604
🤖 Generated with Claude Code