Skip to content

feat(ingest): rename the catalog verb connectors → datasources - #216

Merged
eddietejeda merged 1 commit into
mainfrom
feat/ingest-datasources-catalog
Jul 10, 2026
Merged

eddietejeda merged 1 commit into
mainfrom
feat/ingest-datasources-catalog

Conversation

@eddietejeda

Copy link
Copy Markdown
Contributor

hotdata ingest datasources now browses the catalog of available datasource types (SQL dialects, API services, buckets, iceberg); connectors remains as a hidden alias. Help text, error hints, README, and the hotdata skill updated to match. Smoke-verified: new verb renders the catalog table, alias still works.

'hotdata ingest datasources' now browses the catalog of available
datasource types; 'connectors' stays as a hidden alias. Help, error
hints, README, and the skill follow.

@claude claude Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Clean, well-scoped rename of the catalog verb connectors → datasources with the old name retained as a hidden alias. Enum variant, dispatch arm, alias attribute, and all docs (README, SKILL.md, doc comments, error hints) are consistent; the backend /connectors API route is correctly untouched. No collision with the existing datasource-noun commands.

@codecov

codecov Bot commented Jul 9, 2026

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 0% with 3 lines in your changes missing coverage. Please review.

Files with missing lines Patch % Lines
src/commands/ingest.rs 0.00% 3 Missing ⚠️

📢 Thoughts on this report? Let us know!

@eddietejeda
eddietejeda merged commit 1bdadc6 into main Jul 10, 2026
14 checks passed
@eddietejeda
eddietejeda deleted the feat/ingest-datasources-catalog branch July 10, 2026 02:48
eddietejeda added a commit that referenced this pull request Jul 10, 2026
'hotdata ingest datasources' now browses the catalog of available
datasource types; 'connectors' stays as a hidden alias. Help, error
hints, README, and the skill follow.

Co-authored-by: Eddie A Tejeda <669988+eddietejeda@users.noreply.github.com>
eddietejeda added a commit that referenced this pull request Jul 10, 2026
* feat(cli): loading indicators for indexes list and usage

Both commands sat silent while fetching. `indexes list` gets one spinner
over the whole fetch - the unscoped path is a whole-workspace scan
(connections enumeration + managed-DB discovery + per-table index reads)
that can take seconds. The database discovery inside the scan
(databases::list_database_ids) drops its nested "Loading databases..."
wakeup spinner so two indicatif bars never fight over the same line;
`databases list` itself keeps the wakeup-hint spinner. `usage` gets a
plain spinner around its single request.

* feat(databases): show created_at in list and show commands (#217)

* feat(databases): show created_at in list and show commands

Adds a CREATED column to `databases list` and a created_at row to
`databases show`. Uses the updated SDK models from sdk-rust
feat/database-timestamps (PR #909 in runtimedb).

Cargo.toml temporarily points to local sdk-rust path; update to
published version once sdk-rust feat/database-timestamps is released.

* chore: update hotdata SDK to v0.8.1 (created_at on databases)

---------

Co-authored-by: Eddie A Tejeda <669988+eddietejeda@users.noreply.github.com>

* feat(ingest): rename the catalog verb connectors -> datasources (#216)

'hotdata ingest datasources' now browses the catalog of available
datasource types; 'connectors' stays as a hidden alias. Help, error
hints, README, and the skill follow.

Co-authored-by: Eddie A Tejeda <669988+eddietejeda@users.noreply.github.com>

* fix(indexes): clear spinner before exiting on API error

The fetch helpers called e.exit() (process::exit) internally, leaving
the indicatif spinner live on the terminal when any API call failed.
Convert list_one_table, list_one_table_scan, collect_tables,
connection_lookup, managed_db_connection_ids, workspace_scan_targets,
and collect_connection_wide to return Result<_, ApiError>, then
finish_and_clear() the spinner in list() before unwrap_or_else(|e|
e.exit()) -- matching the usage.rs pattern.

* style: cargo fmt

---------

Co-authored-by: Eddie A Tejeda <669988+eddietejeda@users.noreply.github.com>
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