Skip to content

chore(databases): clarify default_connection_id usage and catalog attachment rules - #148

Open
hotdata-automation[bot] wants to merge 1 commit into
mainfrom
openapi-update-35454313684
Open

hotdata-automation[bot] wants to merge 1 commit into
mainfrom
openapi-update-35454313684

Conversation

@hotdata-automation

Copy link
Copy Markdown
Contributor

Auto-generated from the updated HotData OpenAPI spec.
Source: https://github.com/hotdata-dev/www/pull/430

@hotdata-automation
hotdata-automation Bot requested a review from a team as a code owner September 19, 2026 16:14
@hotdata-automation
hotdata-automation Bot requested review from rohan-hotdata and removed request for a team September 19, 2026 16:14
@hotdata-automation
hotdata-automation Bot enabled auto-merge (squash) September 19, 2026 16:14
Comment thread CHANGELOG.md

### Changed

- chore(databases): clarify default_connection_id usage and catalog attachment rules

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.

Record the breaking changes under ## [Unreleased], using the **Breaking:** prefix this file already uses (CHANGELOG.md:56, :104).

This regen renames the public field key_determines to constant_per_key on AddManagedTableDecl, AddManagedTableRequest and DatabaseDefaultTableDecl. key_determines shipped as public API in 0.15.0 (CHANGELOG.md:92). Two more source-breaking changes ride along: TableInfo::new gains a required constant_per_key argument, and JobType gains TableConstantsUpdate without carrying #[non_exhaustive].

Failure scenario: a release preparer reads the one vague bullet and runs ./scripts/release.sh prepare patch, shipping 0.18.2. A downstream crate depending on hotdata = "0.18" picks that patch up automatically. That crate then fails to compile, with struct AddManagedTableRequest has no field named key_determines and a non-exhaustive match on JobType.

pub updated_at: String,
/// How precisely this vector index stores each number of a vector, when it was created with an explicit precision. Absent means it stores at the same precision as the column, which is the default. Also absent for BM25 and sorted indexes.
#[serde(rename = "vector_precision", skip_serializing_if = "Option::is_none")]
pub vector_precision: Option<String>,

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.

super nit: vector_precision is Option<String> here, but Option<Option<String>> in IndexInfoResponse (src/models/index_info_response.rs:45-52). Both fields carry identical doc text, so the spec marks one schema nullable and the other not. A caller that reads an index from the list endpoint and from the get endpoint writes two different shapes for one value. Align the two schemas upstream if the divergence is unintended. (not blocking)

@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.

Review

Blocking Issues

  • CHANGELOG.md:12 — the [Unreleased] notes do not record this regen's breaking changes. The public field key_determines becomes constant_per_key on AddManagedTableDecl, AddManagedTableRequest and DatabaseDefaultTableDecl. TableInfo::new gains a required constant_per_key argument. JobType gains TableConstantsUpdate and carries no non_exhaustive attribute.

Action Required

Add a **Breaking:** bullet under [Unreleased]. Name the rename, the TableInfo::new signature change, and the new JobType variant. RELEASING.md states the release tooling picks the bump from these notes. Without that note, a prepare patch run ships 0.18.2. Cargo then hands the compile break to every downstream crate pinned to hotdata = "0.18".

The generated code itself matches the spec change and needs no edit.

This branch has not been deployed

No deployments
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.

0 participants