From e1868a89707f7c85c71041f70603c5518cca4ea8 Mon Sep 17 00:00:00 2001 From: Eddie A Tejeda <669988+eddietejeda@users.noreply.github.com> Date: Thu, 15 Oct 2026 13:34:12 -0700 Subject: [PATCH] chore(deps): bump hotdata SDK to 0.20.0 The SDK's JobType enum has no catch-all, so a database_fork job from the server failed to parse under 0.19.0 and `jobs show` on a fork job errored. 0.20.0 adds the variant; the --job-type filter accepts it too. --- Cargo.lock | 22 +++++++++++----------- Cargo.toml | 2 +- skills/hotdata/SKILL.md | 2 +- src/commands/jobs.rs | 3 ++- 4 files changed, 15 insertions(+), 14 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 85a4d5d..d285f18 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -592,7 +592,7 @@ version = "3.1.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "faf9468729b8cbcea668e36183cb69d317348c2e08e994829fb56ebfdfbaac34" dependencies = [ - "windows-sys 0.59.0", + "windows-sys 0.61.2", ] [[package]] @@ -937,7 +937,7 @@ dependencies = [ "libc", "option-ext", "redox_users", - "windows-sys 0.59.0", + "windows-sys 0.61.2", ] [[package]] @@ -1012,7 +1012,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "39cab71617ae0d63f51a36d69f866391735b51691dbda63cf6f96d042b63efeb" dependencies = [ "libc", - "windows-sys 0.59.0", + "windows-sys 0.61.2", ] [[package]] @@ -1269,9 +1269,9 @@ checksum = "7f24254aa9a54b5c858eaee2f5bccdb46aaf0e486a595ed5fd8f86ba55232a70" [[package]] name = "hotdata" -version = "0.19.0" +version = "0.20.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "aa8ce6ddc2aff8a478cd95d3aef327e0b2e6190a637d5afe1e1cdcb7283ca836" +checksum = "5fa439609367acf8788081917fef9f85fd8b8cd8b7bee15779f8eef0ca241ecb" dependencies = [ "arrow-array", "arrow-buffer", @@ -2301,7 +2301,7 @@ dependencies = [ "once_cell", "socket2", "tracing", - "windows-sys 0.59.0", + "windows-sys 0.61.2", ] [[package]] @@ -2641,7 +2641,7 @@ dependencies = [ "errno", "libc", "linux-raw-sys 0.12.1", - "windows-sys 0.59.0", + "windows-sys 0.61.2", ] [[package]] @@ -2700,7 +2700,7 @@ dependencies = [ "security-framework", "security-framework-sys", "webpki-root-certs", - "windows-sys 0.59.0", + "windows-sys 0.61.2", ] [[package]] @@ -3212,10 +3212,10 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "32497e9a4c7b38532efcdebeef879707aa9f794296a4f0244f6f69e9bc8574bd" dependencies = [ "fastrand", - "getrandom 0.3.4", + "getrandom 0.4.3", "once_cell", "rustix 1.1.4", - "windows-sys 0.59.0", + "windows-sys 0.61.2", ] [[package]] @@ -3818,7 +3818,7 @@ version = "0.1.11" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "c2a7b1c03c876122aa43f3020e6c3c3ee5c05081c9a00739faf7503aeba10d22" dependencies = [ - "windows-sys 0.59.0", + "windows-sys 0.61.2", ] [[package]] diff --git a/Cargo.toml b/Cargo.toml index 7674fb8..c191f45 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -16,7 +16,7 @@ path = "src/main.rs" # behind a shared multi-thread tokio runtime. The `arrow` feature backs result # decode; `upload_file` runs the presigned direct-to-storage upload flow # (see src/sdk.rs::Api::upload). -hotdata = { version = "0.19.0", features = ["arrow"] } +hotdata = { version = "0.20.0", features = ["arrow"] } # Shared multi-thread runtime for the sync wrapper; block_on is called # concurrently from rayon worker threads (see src/indexes.rs). The presigned # upload (src/sdk.rs::Api::upload) drives the SDK's async `upload_file` on this diff --git a/skills/hotdata/SKILL.md b/skills/hotdata/SKILL.md index 3b92177..b2d77ef 100644 --- a/skills/hotdata/SKILL.md +++ b/skills/hotdata/SKILL.md @@ -279,7 +279,7 @@ hotdata jobs list [--workspace-id ] [--job-type ] [--status hotdata jobs [--workspace-id ] [--output table|json|yaml] ``` - `list` shows only active jobs (`pending`, `running`) by default. Use `--all` to see all jobs. -- `--job-type`: `create_index`, `managed_load`. (`data_refresh_table` / `data_refresh_connection` were retired server-side — the engine is push-only; nothing refreshes.) +- `--job-type`: `create_index`, `managed_load`, `database_fork`. (`data_refresh_table` / `data_refresh_connection` were retired server-side — the engine is push-only; nothing refreshes.) - `--status`: `pending`, `running`, `succeeded`, `partially_succeeded`, `failed`. - Use `hotdata jobs ` to inspect a specific job's status, error, and result. diff --git a/src/commands/jobs.rs b/src/commands/jobs.rs index 176f8a3..8ec5406 100644 --- a/src/commands/jobs.rs +++ b/src/commands/jobs.rs @@ -8,7 +8,7 @@ pub enum JobsCommands { /// List background jobs (shows active jobs by default) List { /// Filter by job type - #[arg(long, value_parser = ["create_index", "managed_load"])] + #[arg(long, value_parser = ["create_index", "managed_load", "database_fork"])] job_type: Option, /// Filter by status @@ -73,6 +73,7 @@ fn parse_job_type(s: &str) -> Option { // connections removal (the engine is push-only; nothing refreshes). "create_index" => Some(JobType::CreateIndex), "managed_load" => Some(JobType::ManagedLoad), + "database_fork" => Some(JobType::DatabaseFork), _ => None, } }