Skip to content

feat: Support local, gRPC and Docker sources in upgrade check - #23497

Merged
kodiakhq[bot] merged 1 commit into
mainfrom
feat/upgrade-check-local-sources
Oct 8, 2026
Merged

kodiakhq[bot] merged 1 commit into
mainfrom
feat/upgrade-check-local-sources

Conversation

@erezrokah

Copy link
Copy Markdown
Member

This PR makes cloudquery upgrade check run sources from the local, grpc and docker registries as configured and compare them with the --to version from the CloudQuery Hub, with an optional --to-path flag to set the Hub path when it cannot be inferred from the plugin name.

@erezrokah
erezrokah requested a review from a team as a code owner October 8, 2026 11:58
@erezrokah erezrokah added the automerge Automatically merge once required checks pass label Oct 8, 2026
@erezrokah
erezrokah requested a review from marianogappa October 8, 2026 11:58
@greptile-apps

greptile-apps Bot commented Oct 8, 2026 •

Copy link
Copy Markdown

RetriggerConfidence Score: 5/5

[Medium risk] Extends upgrade check to support local, gRPC, and Docker sources.

The PR appears safe to merge; no actionable issue was established.

What we checked:

  • Test server exposes no secrets: The server exists only in tests, binds to loopback, serves fake tables, and stops when the test ends.
Summary

Adds support for comparing configured local binaries, gRPC sources, and Docker sources against a CloudQuery Hub version.

  • Adds --to-path when the Hub path cannot be inferred.
  • Shows each source's registry, path, and version in reports.
  • Adds tests for registry selection, identity fallbacks, errors, and report output.
Diagram
%%{init: {'theme': 'neutral'}}%%
flowchart TD
  A[Configured source] --> B[Load current source tables]
  B --> C{Source registry}
  C -->|CloudQuery or GitHub| D[Keep path and use target version]
  C -->|Local, gRPC, or Docker| E[Use explicit Hub path or reported name]
  D --> F[Load target source tables]
  E --> F
  F --> G[Compare tables and assess destinations]
  G --> H[Print text or JSON report]
Loading

Reviews (1) · Last reviewed commit: "feat: Support local, gRPC and Docker sou..." · Reviewed by Greptile

@kodiakhq
kodiakhq Bot merged commit a45a119 into main Oct 8, 2026
11 checks passed
@kodiakhq
kodiakhq Bot deleted the feat/upgrade-check-local-sources branch October 8, 2026 12:55
kodiakhq Bot pushed a commit that referenced this pull request Oct 9, 2026
🤖 I have created a release *beep* *boop*
---


## [6.46.0](cli-v6.45.1...cli-v6.46.0) (2026-10-09)


### Features

* Support local, gRPC and Docker sources in `upgrade check` ([#23497](#23497)) ([a45a119](a45a119))

---
This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area/cli automerge Automatically merge once required checks pass

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants