Skip to content

Regression: gcloud filter support (fixed in v0.30.0, #183) is absent again in v0.45.0 #3485

Closed as duplicate

Description

@nitrocode

Summary

gcloud support appears to have regressed. Issue #183 tracked adding a gcloud filter and was closed as completed on 2026-03-16 with the comment:

Fixed in v0.30.0 — gcloud.toml TOML filter. Tested locally: rtk gcloud compute instances list strips blank lines, keeps results.
— @pszymkowiak, #183

On rtk v0.45.0 (15 minor versions later), gcloud is not a recognized subcommand and rtk rewrite refuses to rewrite gcloud ... invocations. Either the v0.30.0 fix was reverted, or it never shipped in a released binary that reached users. Same pattern as the parallel helm regression (#182, see #3484) filed alongside this issue.

Version

$ rtk --version
rtk 0.45.0

Reproduction

$ rtk --help | grep -i gcloud
$ echo $?
1

$ rtk rewrite "gcloud compute instances list"
$ echo $?
1

$ rtk rewrite "gcloud dns record-sets list --zone=example"
$ echo $?
1

Expected (per #183 resolution): rtk rewrite "gcloud compute instances list" routes through the gcloud.toml filter; rtk --help lists gcloud among supported subcommands.

Actual: no gcloud subcommand exists, rtk rewrite exits 1 with no output for any gcloud ... input, and every gcloud call falls back to raw passthrough (0 filtered invocations across local history).

Impact

Any user who added gcloud to [hooks] exclude_commands as a workaround is getting zero token savings on gcloud output, which was the entire point of #183.

Ask

  • Confirm whether gcloud.toml still exists in the current tree and, if so, why the CLI dispatcher does not route to it.
  • If it was removed, note that in the changelog so downstream users know to stop expecting it.

Activity

  1. pszymkowiak commented on Aug 9, 2026

    @pszymkowiak
    Collaborator

    wshm · Automated triage by AI

    🔍 Automated Triage

    🐛 Category bug
    🟡 Priority medium
    🎯 Confidence 72%

    Summary

    gcloud filter support previously fixed in v0.30.0 (#183) appears absent in v0.45.0 CLI dispatcher, same regression pattern as helm (#3484/#182); needs maintainer confirmation of whether gcloud.toml still exists.

    📁 Relevant files
    • src/filters/gcloud.toml
    • src/cli/dispatch.rs

    Triaged automatically by wshm · This is an automated analysis, not a human review.

  2. KuSh commented on Sep 13, 2026

    @KuSh
    Collaborator

    Closing in favour of #3484, which reports the same regression for helm with the same reproduction and the same question about filter routing - both filters were wired up by one commit, so one fix covers both. Please add anything gcloud-specific to that issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions