Repository navigation
chore: Generate ID types with Macro - #1419
Conversation
|
Important Review skippedAuto incremental reviews are disabled on this repository. Please check the settings in the CodeRabbit UI or the You can disable this status message by setting the WalkthroughAdds a UUID-backed identifier subsystem (multiple new ID types and ProjectId), changes require_warehouse_id to accept Option<&Prefix> and return ErrorModel, updates many call sites to pass prefix.as_ref(), adjusts Postgres bindings to deref IDs, standardizes error wrapping/logging, and adds Changes
Sequence Diagram(s)sequenceDiagram
autonumber
actor Client
participant API as API Handler
participant Catalog as Catalog Module
participant Ident as Identifier Module
participant DB as Postgres
Client->>API: HTTP request (optional prefix)
API->>Catalog: operation(..., prefix)
Catalog->>Ident: require_warehouse_id(prefix.as_ref())
alt prefix present & valid UUID
Ident-->>Catalog: Ok(WarehouseId)
Catalog->>DB: Query with *warehouse_id
DB-->>Catalog: rows
Catalog-->>API: success response
API-->>Client: 200 OK
else missing/invalid prefix
Ident-->>Catalog: Err(ErrorModel BAD_REQUEST / INTERNAL)
Catalog-->>API: error converted via IcebergErrorResponse
API-->>Client: 4xx/5xx response
end
Estimated code review effort🎯 4 (Complex) | ⏱️ ~60 minutes Possibly related PRs
Poem
Pre-merge checks and finishing touches✅ Passed checks (3 passed)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
|
@CodeRabbit full review |
✅ Actions performedFull review triggered. |
There was a problem hiding this comment.
Actionable comments posted: 3
🧹 Nitpick comments (1)
crates/lakekeeper/src/service/identifier/generic.rs (1)
166-183: Consider reusing from_str_or_bad_request for consistency.The error construction logic duplicates the pattern from
from_str_or_bad_request, though with a more specific error message mentioning "prefix".If maintaining a consistent error format is more important than the custom message, consider:
impl TryFrom<Prefix> for WarehouseId { type Error = ErrorModel; fn try_from(value: Prefix) -> Result<Self, Self::Error> { - let prefix = uuid::Uuid::parse_str(value.as_str()).map_err(|e| { - ErrorModel::builder() - .code(StatusCode::BAD_REQUEST.into()) - .message(format!( - "Provided prefix is not a warehouse id. Expected UUID, got: {}", - value.as_str() - )) - .r#type("PrefixIsNotWarehouseID".to_string()) - .source(Some(Box::new(e))) - .build() - })?; - Ok(WarehouseId(prefix)) + WarehouseId::from_str_or_bad_request(value.as_str()) } }However, the current implementation provides more specific context ("prefix is not a warehouse id"), which may be valuable for debugging. The choice depends on whether you prefer consistency or specificity in error messages.
📜 Review details
Configuration used: CodeRabbit UI
Review profile: CHILL
Plan: Pro
📒 Files selected for processing (32)
crates/lakekeeper/src/api/iceberg/types.rs(1 hunks)crates/lakekeeper/src/api/management/v1/warehouse/mod.rs(1 hunks)crates/lakekeeper/src/catalog/mod.rs(1 hunks)crates/lakekeeper/src/catalog/namespace.rs(6 hunks)crates/lakekeeper/src/catalog/s3_signer/sign.rs(1 hunks)crates/lakekeeper/src/catalog/tables.rs(11 hunks)crates/lakekeeper/src/catalog/tables/load_table.rs(1 hunks)crates/lakekeeper/src/catalog/views/commit.rs(1 hunks)crates/lakekeeper/src/catalog/views/create.rs(1 hunks)crates/lakekeeper/src/catalog/views/drop.rs(4 hunks)crates/lakekeeper/src/catalog/views/exists.rs(1 hunks)crates/lakekeeper/src/catalog/views/list.rs(1 hunks)crates/lakekeeper/src/catalog/views/load.rs(1 hunks)crates/lakekeeper/src/catalog/views/rename.rs(1 hunks)crates/lakekeeper/src/implementations/postgres/endpoint_statistics/sink.rs(1 hunks)crates/lakekeeper/src/implementations/postgres/tabular/table/commit.rs(2 hunks)crates/lakekeeper/src/implementations/postgres/warehouse.rs(4 hunks)crates/lakekeeper/src/request_metadata.rs(2 hunks)crates/lakekeeper/src/service/authn.rs(1 hunks)crates/lakekeeper/src/service/authz/implementations/openfga/check.rs(6 hunks)crates/lakekeeper/src/service/authz/implementations/openfga/entities.rs(3 hunks)crates/lakekeeper/src/service/catalog.rs(1 hunks)crates/lakekeeper/src/service/endpoint_statistics.rs(1 hunks)crates/lakekeeper/src/service/event_publisher/mod.rs(1 hunks)crates/lakekeeper/src/service/identifier/generic.rs(1 hunks)crates/lakekeeper/src/service/identifier/mod.rs(1 hunks)crates/lakekeeper/src/service/identifier/project.rs(1 hunks)crates/lakekeeper/src/service/identifier/tabular.rs(6 hunks)crates/lakekeeper/src/service/mod.rs(1 hunks)crates/lakekeeper/src/service/storage/az.rs(1 hunks)crates/lakekeeper/src/service/storage/mod.rs(1 hunks)crates/lakekeeper/src/service/storage/s3.rs(1 hunks)
🧰 Additional context used
🧠 Learnings (3)
📚 Learning: 2025-09-08T09:10:07.658Z
Learnt from: c-thiel
PR: lakekeeper/lakekeeper#1328
File: crates/lakekeeper/src/service/authz/implementations/openfga/mod.rs:103-112
Timestamp: 2025-09-08T09:10:07.658Z
Learning: The OpenFGAAuthorizer constructor in crates/lakekeeper/src/service/authz/implementations/openfga/mod.rs should maintain backward compatibility during the transition away from nil UUIDs. Hard assertions that would panic on nil UUID input should be avoided to prevent breaking existing deployments.
Applied to files:
crates/lakekeeper/src/service/authz/implementations/openfga/check.rscrates/lakekeeper/src/service/authz/implementations/openfga/entities.rs
📚 Learning: 2025-09-25T06:54:15.179Z
Learnt from: c-thiel
PR: lakekeeper/lakekeeper#1378
File: crates/lakekeeper/src/api/management/v1/warehouse/undrop.rs:51-53
Timestamp: 2025-09-25T06:54:15.179Z
Learning: In the lakekeeper codebase, when iterating over &[TabularId] and pattern matching TabularId::View(id), the id variable has type &ViewId. Using *id correctly dereferences to get ViewId, which can be passed directly to authorization methods that expect ViewId parameters.
Applied to files:
crates/lakekeeper/src/service/identifier/tabular.rs
📚 Learning: 2025-09-05T13:41:21.671Z
Learnt from: mooori
PR: lakekeeper/lakekeeper#1254
File: crates/lakekeeper/src/catalog/views.rs:293-309
Timestamp: 2025-09-05T13:41:21.671Z
Learning: In the lakekeeper codebase, ViewId implements Deref<Target = Uuid>, so `*view_id` is valid syntax to dereference a ViewId to get the underlying Uuid. This is not an invalid dereference operation.
Applied to files:
crates/lakekeeper/src/service/identifier/tabular.rs
🧬 Code graph analysis (19)
crates/lakekeeper/src/catalog/s3_signer/sign.rs (1)
crates/lakekeeper/src/catalog/mod.rs (1)
require_warehouse_id(54-68)
crates/lakekeeper/src/api/iceberg/types.rs (2)
crates/lakekeeper/src/service/identifier/tabular.rs (1)
as_ref(64-69)crates/lakekeeper/src/service/task_queue/mod.rs (3)
as_ref(166-168)as_ref(260-262)as_ref(279-281)
crates/lakekeeper/src/catalog/views/create.rs (1)
crates/lakekeeper/src/catalog/mod.rs (1)
require_warehouse_id(54-68)
crates/lakekeeper/src/implementations/postgres/tabular/table/commit.rs (1)
crates/lakekeeper/src/service/task_queue/mod.rs (1)
warehouse_id(97-103)
crates/lakekeeper/src/catalog/views/load.rs (1)
crates/lakekeeper/src/catalog/mod.rs (1)
require_warehouse_id(54-68)
crates/lakekeeper/src/catalog/views/commit.rs (1)
crates/lakekeeper/src/catalog/mod.rs (1)
require_warehouse_id(54-68)
crates/lakekeeper/src/catalog/mod.rs (1)
crates/iceberg-ext/src/catalog/rest/error.rs (1)
bad_request(127-133)
crates/lakekeeper/src/catalog/views/exists.rs (1)
crates/lakekeeper/src/catalog/mod.rs (1)
require_warehouse_id(54-68)
crates/lakekeeper/src/catalog/namespace.rs (1)
crates/lakekeeper/src/catalog/mod.rs (1)
require_warehouse_id(54-68)
crates/lakekeeper/src/catalog/tables.rs (1)
crates/lakekeeper/src/catalog/mod.rs (1)
require_warehouse_id(54-68)
crates/lakekeeper/src/implementations/postgres/warehouse.rs (1)
crates/lakekeeper/src/service/task_queue/mod.rs (1)
warehouse_id(97-103)
crates/lakekeeper/src/catalog/views/drop.rs (1)
crates/lakekeeper/src/catalog/mod.rs (1)
require_warehouse_id(54-68)
crates/lakekeeper/src/catalog/views/list.rs (1)
crates/lakekeeper/src/catalog/mod.rs (1)
require_warehouse_id(54-68)
crates/lakekeeper/src/service/identifier/project.rs (3)
crates/lakekeeper/src/implementations/postgres/endpoint_statistics/sink.rs (3)
sqlx(193-216)sqlx(239-256)new(57-59)crates/lakekeeper/src/service/authn.rs (6)
deserialize(403-409)deserialize(452-458)try_new(288-298)from(397-399)from(422-424)from(428-430)crates/iceberg-ext/src/catalog/rest/error.rs (1)
bad_request(127-133)
crates/lakekeeper/src/catalog/tables/load_table.rs (1)
crates/lakekeeper/src/catalog/mod.rs (1)
require_warehouse_id(54-68)
crates/lakekeeper/src/service/identifier/generic.rs (4)
crates/lakekeeper/src/service/identifier/project.rs (8)
new(29-31)new_random(34-36)deref(75-77)from(22-24)from(95-97)fmt(81-83)deserialize(12-18)as_str(62-64)crates/iceberg-ext/src/catalog/rest/error.rs (1)
source(98-102)crates/lakekeeper/src/service/identifier/tabular.rs (6)
deref(155-160)from(52-54)from(58-60)from(136-141)fmt(73-75)as_ref(64-69)crates/lakekeeper/src/api/iceberg/types.rs (7)
from(25-27)from(31-33)from(56-61)as_ref(37-39)deserialize(103-113)deserialize(199-210)as_str(13-15)
crates/lakekeeper/src/catalog/views/rename.rs (1)
crates/lakekeeper/src/catalog/mod.rs (1)
require_warehouse_id(54-68)
crates/lakekeeper/src/service/authz/implementations/openfga/entities.rs (2)
crates/lakekeeper/src/service/authz/implementations/openfga/error.rs (1)
unexpected_entity(44-50)crates/lakekeeper/src/service/identifier/project.rs (1)
from_str(89-91)
crates/lakekeeper/src/service/identifier/tabular.rs (1)
crates/iceberg-ext/src/catalog/rest/error.rs (1)
internal(161-172)
⏰ Context from checks skipped due to timeout of 90000ms. You can increase the timeout in your CodeRabbit configuration to a maximum of 15 minutes (900000ms). (2)
- GitHub Check: openfga
- GitHub Check: Analyze (javascript-typescript)
🔇 Additional comments (24)
crates/lakekeeper/src/implementations/postgres/warehouse.rs (2)
669-745: LGTM! Clean migration to dereferenced IDs.The parameter rename from
warehouse_identtowarehouse_idimproves consistency. The migration from tuple field access (.0) toDerefoperator (*warehouse_id) at lines 712 and 741 is correct and aligns with the strong-typed identifier system introduced in this PR. This pattern is used consistently throughout the file.
1106-1106: LGTM! Test updated consistently.The test correctly uses
*warehouse_idto match the new dereferencing pattern, ensuring consistency between test and implementation code.crates/lakekeeper/src/api/iceberg/types.rs (1)
36-40: LGTM!The
AsRef<str>implementation follows Rust conventions and enablesPrefixto be borrowed as&strin generic contexts. This aligns with the broader refactoring whererequire_warehouse_idnow acceptsOption<&Prefix>instead of consuming the value.crates/lakekeeper/src/request_metadata.rs (1)
284-284: Verify that the error response format remains compatible.The error handling now wraps the parse error with
IcebergErrorResponsebefore converting to an HTTP response. Ensure this doesn't introduce breaking changes in the error response structure that clients depend on.crates/lakekeeper/src/service/endpoint_statistics.rs (1)
300-321: LGTM!The refactored parsing logic using
from_str_or_internalprovides better error context throughappend_detail, making debugging easier. The consistent error handling pattern across bothwarehouse_idandprefixparameters is good.crates/lakekeeper/src/service/event_publisher/mod.rs (1)
33-33: LGTM!The simplified import path aligns with the identifier module reorganization. No behavioral changes.
crates/lakekeeper/src/catalog/tables/load_table.rs (1)
35-35: LGTM!Using
prefix.as_ref()correctly convertsOption<Prefix>toOption<&Prefix>to match the updatedrequire_warehouse_idsignature. This avoids unnecessary cloning or consumption of thePrefixvalue.crates/lakekeeper/src/catalog/views/load.rs (1)
31-31: LGTM!Consistent with the refactoring in other catalog modules, correctly passing a borrowed reference to
require_warehouse_id.crates/lakekeeper/src/service/identifier/mod.rs (1)
1-3: LGTM!The new identifier module structure properly encapsulates generic, project, and tabular identifier logic with appropriate visibility (
pub(super)). This consolidation aligns with the broader refactoring to centralize identifier handling.crates/lakekeeper/src/service/storage/s3.rs (1)
1103-1103: LGTM!Import reordering in the test module is a cosmetic change with no functional impact.
crates/lakekeeper/src/implementations/postgres/tabular/table/commit.rs (1)
170-170: LGTM! Consistent use of Deref for WarehouseId.The change from
warehouse_id.to_uuid()to*warehouse_idcorrectly leverages the Deref implementation for WarehouseId, simplifying the code while maintaining identical behavior.Also applies to: 188-188
crates/lakekeeper/src/service/authz/implementations/openfga/entities.rs (2)
69-71: LGTM! Improved error handling with new parsing helpers.The change to
from_str_or_bad_requestprovides clearer error semantics for request-level parsing, and the updated error field access (e.messageinstead ofe.error.message) aligns with the simplified error structure.
95-99: LGTM! Consistent parsing pattern across entity types.The RoleAssignee and ProjectId parsing changes follow the same pattern as RoleId, maintaining consistency in error handling throughout the module.
Also applies to: 198-200
crates/lakekeeper/src/catalog/views/create.rs (1)
41-41: LGTM! Efficient borrowing instead of cloning.The change from
prefix.clone()toprefix.as_ref()eliminates unnecessary allocation and aligns with the updatedrequire_warehouse_idsignature that acceptsOption<&Prefix>.crates/lakekeeper/src/catalog/views/rename.rs (1)
24-24: LGTM! Consistent borrowing pattern.The change from
prefix.clone()toprefix.as_ref()matches the pattern applied across other view operations, avoiding unnecessary cloning.crates/lakekeeper/src/service/authz/implementations/openfga/check.rs (1)
440-443: LGTM! Test code updated with new parsing helpers.The test functions now use
from_str_or_internalinstead offrom_str, which provides more appropriate error messages for internal/test contexts. The.unwrap()usage is acceptable in test code.Also applies to: 464-467, 489-492, 516-519, 542-545, 685-692
crates/lakekeeper/src/catalog/views/drop.rs (2)
35-35: LGTM! Consistent borrowing pattern.The change from
prefix.clone()toprefix.as_ref()eliminates unnecessary cloning, matching the pattern applied across other catalog operations.
299-299: LGTM! Test code updated with new parsing helpers.The test functions now use
WarehouseId::from_str_or_internalinstead offrom_str, providing better error context for test scenarios.Also applies to: 326-326, 395-395
crates/lakekeeper/src/catalog/namespace.rs (1)
56-56: LGTM! Comprehensive borrowing optimization across namespace operations.All namespace service methods now use
prefix.as_ref()instead ofprefix.clone(), consistently applying the borrowing pattern throughout the module. This eliminates unnecessary allocations while maintaining the same functionality.Also applies to: 197-197, 302-302, 338-338, 365-365, 422-422
crates/lakekeeper/src/service/identifier/generic.rs (4)
1-10: LGTM!The imports and module structure are clean and appropriate. The public re-export of
NamedEntityprovides a clear API surface.
11-27: LGTM!The
NamedEntitytrait and its implementation forTableIdentare well-designed. The use ofchainwithstd::iter::onceis idiomatic for combining the namespace parts with the table name.
158-164: LGTM!The ID type definitions are clean and comprehensive. All types are generated with serialization support, which is appropriate for API types.
60-60: UUID v7 feature is enabled Cargo.toml includes the "v7" feature for the uuid crate (line 159).crates/lakekeeper/src/implementations/postgres/endpoint_statistics/sink.rs (1)
210-212: LGTM—ErrorModel’sDisplayimpl prints type, code, and message, so logging{e}remains informative.
There was a problem hiding this comment.
Actionable comments posted: 1
Caution
Some comments are outside the diff and can’t be posted inline due to platform limitations.
⚠️ Outside diff range comments (1)
crates/lakekeeper/src/implementations/postgres/tabular/table/commit.rs (1)
257-266: Fix parameter-count guard: first UPDATE uses 8 binds/row, not 7validate_commit_count uses MAX_PARAMETERS / 7, but the table UPDATE binds 8 params per row. Large batches can exceed Postgres’ parameter limit and fail at runtime.
Update the divisor (or compute via a constant) to 8 to reflect the worst-case per-row binds.
Apply this diff:
fn validate_commit_count(commits: &[TableCommit]) -> api::Result<()> { - if commits.len() > (MAX_PARAMETERS / 7) { + // Worst-case binds per row in a single statement (the "table" UPDATE): 8 + const PARAMS_PER_ROW_TABLE: usize = 8; + if commits.len() > (MAX_PARAMETERS / PARAMS_PER_ROW_TABLE) { return Err(ErrorModel::bad_request( "Too many updates in single commit", "TooManyTablesForCommit".to_string(), None, ) .into()); } Ok(()) }
♻️ Duplicate comments (1)
crates/lakekeeper/src/service/identifier/project.rs (1)
43-58: Empty project ID validation already flagged.The issue where
chars().all(...)accepts empty strings was already raised in a previous review and remains unresolved.
🧹 Nitpick comments (4)
crates/lakekeeper/src/implementations/postgres/endpoint_statistics/sink.rs (1)
210-212: Standardize error logging formats in sink.rs
- Lines 27 & 40: replace
{:?}, e.errorwith{e}to match line 211.- Line 211: include the parsed
project_idin the message:- tracing::error!("Failed to parse project id from db: {e}"); + tracing::error!("Failed to parse project id '{}' from db: {e}", project_id);crates/lakekeeper/src/implementations/postgres/tabular/table/commit.rs (1)
169-171: Deref for binding works; consider readabilityUsing *warehouse_id relies on Deref to uuid::Uuid. Consider implementing sqlx::Type + Encode for WarehouseId and binding it directly, or converting explicitly, for clarity.
Also applies to: 187-189
crates/lakekeeper/src/service/identifier/generic.rs (2)
146-146: Consider consistent UUID parsing method.Line 146 uses
uuid::Uuid::from_str, while line 170 in theTryFromimplementation usesuuid::Uuid::parse_str. Both methods are equivalent in theuuidcrate, but using the same method throughout would improve consistency.Consider standardizing on one method:
- Ok($name::from(uuid::Uuid::from_str(&s).map_err(|e| { + Ok($name::from(uuid::Uuid::parse_str(&s).map_err(|e| {
174-175: Minor optimization: cache repeatedas_str()call.
value.as_str()is called twice. Consider caching the result for minor efficiency improvement and cleaner code.Apply this diff to cache the string value:
impl TryFrom<Prefix> for WarehouseId { type Error = ErrorModel; fn try_from(value: Prefix) -> Result<Self, Self::Error> { + let prefix_str = value.as_str(); - let prefix = uuid::Uuid::parse_str(value.as_str()).map_err(|e| { + let prefix = uuid::Uuid::parse_str(prefix_str).map_err(|e| { ErrorModel::builder() .code(StatusCode::BAD_REQUEST.into()) .message(format!( "Provided prefix is not a warehouse id. Expected UUID, got: {}", - value.as_str() + prefix_str )) .r#type("PrefixIsNotWarehouseID".to_string()) .source(Some(Box::new(e))) .build() })?; Ok(WarehouseId(prefix)) } }
📜 Review details
Configuration used: CodeRabbit UI
Review profile: CHILL
Plan: Pro
📒 Files selected for processing (32)
crates/lakekeeper/src/api/iceberg/types.rs(1 hunks)crates/lakekeeper/src/api/management/v1/warehouse/mod.rs(1 hunks)crates/lakekeeper/src/catalog/mod.rs(1 hunks)crates/lakekeeper/src/catalog/namespace.rs(6 hunks)crates/lakekeeper/src/catalog/s3_signer/sign.rs(1 hunks)crates/lakekeeper/src/catalog/tables.rs(11 hunks)crates/lakekeeper/src/catalog/tables/load_table.rs(1 hunks)crates/lakekeeper/src/catalog/views/commit.rs(1 hunks)crates/lakekeeper/src/catalog/views/create.rs(1 hunks)crates/lakekeeper/src/catalog/views/drop.rs(4 hunks)crates/lakekeeper/src/catalog/views/exists.rs(1 hunks)crates/lakekeeper/src/catalog/views/list.rs(1 hunks)crates/lakekeeper/src/catalog/views/load.rs(1 hunks)crates/lakekeeper/src/catalog/views/rename.rs(1 hunks)crates/lakekeeper/src/implementations/postgres/endpoint_statistics/sink.rs(1 hunks)crates/lakekeeper/src/implementations/postgres/tabular/table/commit.rs(2 hunks)crates/lakekeeper/src/implementations/postgres/warehouse.rs(4 hunks)crates/lakekeeper/src/request_metadata.rs(2 hunks)crates/lakekeeper/src/service/authn.rs(1 hunks)crates/lakekeeper/src/service/authz/implementations/openfga/check.rs(6 hunks)crates/lakekeeper/src/service/authz/implementations/openfga/entities.rs(3 hunks)crates/lakekeeper/src/service/catalog.rs(1 hunks)crates/lakekeeper/src/service/endpoint_statistics.rs(1 hunks)crates/lakekeeper/src/service/event_publisher/mod.rs(1 hunks)crates/lakekeeper/src/service/identifier/generic.rs(1 hunks)crates/lakekeeper/src/service/identifier/mod.rs(1 hunks)crates/lakekeeper/src/service/identifier/project.rs(1 hunks)crates/lakekeeper/src/service/identifier/tabular.rs(6 hunks)crates/lakekeeper/src/service/mod.rs(1 hunks)crates/lakekeeper/src/service/storage/az.rs(1 hunks)crates/lakekeeper/src/service/storage/mod.rs(1 hunks)crates/lakekeeper/src/service/storage/s3.rs(1 hunks)
🧰 Additional context used
🧠 Learnings (4)
📚 Learning: 2025-09-08T09:10:07.658Z
Learnt from: c-thiel
PR: lakekeeper/lakekeeper#1328
File: crates/lakekeeper/src/service/authz/implementations/openfga/mod.rs:103-112
Timestamp: 2025-09-08T09:10:07.658Z
Learning: The OpenFGAAuthorizer constructor in crates/lakekeeper/src/service/authz/implementations/openfga/mod.rs should maintain backward compatibility during the transition away from nil UUIDs. Hard assertions that would panic on nil UUID input should be avoided to prevent breaking existing deployments.
Applied to files:
crates/lakekeeper/src/service/authz/implementations/openfga/entities.rscrates/lakekeeper/src/service/authz/implementations/openfga/check.rs
📚 Learning: 2025-09-25T06:54:15.179Z
Learnt from: c-thiel
PR: lakekeeper/lakekeeper#1378
File: crates/lakekeeper/src/api/management/v1/warehouse/undrop.rs:51-53
Timestamp: 2025-09-25T06:54:15.179Z
Learning: In the lakekeeper codebase, when iterating over &[TabularId] and pattern matching TabularId::View(id), the id variable has type &ViewId. Using *id correctly dereferences to get ViewId, which can be passed directly to authorization methods that expect ViewId parameters.
Applied to files:
crates/lakekeeper/src/service/identifier/tabular.rs
📚 Learning: 2025-09-05T13:41:21.671Z
Learnt from: mooori
PR: lakekeeper/lakekeeper#1254
File: crates/lakekeeper/src/catalog/views.rs:293-309
Timestamp: 2025-09-05T13:41:21.671Z
Learning: In the lakekeeper codebase, ViewId implements Deref<Target = Uuid>, so `*view_id` is valid syntax to dereference a ViewId to get the underlying Uuid. This is not an invalid dereference operation.
Applied to files:
crates/lakekeeper/src/service/identifier/tabular.rs
📚 Learning: 2025-09-21T09:54:54.868Z
Learnt from: c-thiel
PR: lakekeeper/lakekeeper#1348
File: .sqlx/query-1c1a32de33e3f54464a1107f7d4d4b8cbd99dd69aae1c740561c3cbbea2eaa19.json:9-10
Timestamp: 2025-09-21T09:54:54.868Z
Learning: In the lakekeeper codebase, ServerId newtype uses manual conversion between uuid::Uuid and ServerId at query call sites rather than sqlx transparent annotations like #[sqlx(transparent)]. The manual conversion approach is the preferred pattern in this codebase.
Applied to files:
crates/lakekeeper/src/service/identifier/generic.rs
⏰ Context from checks skipped due to timeout of 90000ms. You can increase the timeout in your CodeRabbit configuration to a maximum of 15 minutes (900000ms). (7)
- GitHub Check: check-generated-openapi-matches
- GitHub Check: test
- GitHub Check: clippy
- GitHub Check: sqlx-check
- GitHub Check: docker / docker
- GitHub Check: docker / docker
- GitHub Check: docker / docker
🔇 Additional comments (30)
crates/lakekeeper/src/implementations/postgres/warehouse.rs (2)
671-741: LGTM! Clean refactor to Deref-based ID type.The changes correctly update
get_warehouse_statsto work with the new ID type implementation:
- Parameter rename from
warehouse_identtowarehouse_idimproves consistency- Dereferencing with
*warehouse_id(instead of.0) for SQL bindings and response construction is correct- Pattern matches the rest of the file (lines 67, 96, 386, 448, 473, 518, 542, 567, 611)
1106-1106: Test correctly updated.The test properly uses
*warehouse_idto match the new Deref-based pattern.crates/lakekeeper/src/request_metadata.rs (1)
12-12: LGTM!The addition of
IcebergErrorResponseto imports and the updated error conversion at line 284 standardize error handling across the codebase. The functional behavior remains the same while aligning with the new error wrapping pattern.Also applies to: 284-284
crates/lakekeeper/src/catalog/tables/load_table.rs (1)
35-35: LGTM!The change to borrow
Prefixviaas_ref()aligns with the broader refactor pattern and avoids unnecessary cloning, improving both performance and ownership clarity.crates/lakekeeper/src/service/event_publisher/mod.rs (1)
33-33: LGTM!The simplified import path for
TabularIdreflects the identifier module reorganization and improves code clarity without any functional changes.crates/lakekeeper/src/catalog/views/load.rs (1)
31-31: LGTM!Consistent with the borrowing pattern applied across the codebase. The change to
prefix.as_ref()avoids unnecessary cloning and aligns with the updatedrequire_warehouse_idsignature.crates/lakekeeper/src/service/storage/s3.rs (1)
1103-1103: LGTM!The import consolidation is a minor formatting improvement with no functional impact.
crates/lakekeeper/src/catalog/views/exists.rs (1)
21-21: LGTM!The borrowing pattern is consistently applied here, matching the changes in other catalog modules and aligning with the refactored
require_warehouse_idsignature.crates/lakekeeper/src/api/management/v1/warehouse/mod.rs (1)
1104-1104: LGTM!The change from
to_uuid()tointo()is more idiomatic with the new identifier system and leverages Rust's standard conversion traits.crates/lakekeeper/src/service/storage/mod.rs (1)
35-36: Import path update looks correctAligns with central TabularId re-export; no functional change.
crates/lakekeeper/src/catalog/views/commit.rs (1)
50-51: Switched to borrowing Prefix correctlyUsing prefix.as_ref() matches the new require_warehouse_id signature.
crates/lakekeeper/src/catalog/views/list.rs (1)
29-30: Prefix borrow refactor is correctrequire_warehouse_id(prefix.as_ref()) is the intended usage.
crates/lakekeeper/src/service/catalog.rs (1)
52-53: Consolidated identifier imports LGTMKeeps identifiers sourced consistently; no behavior change.
crates/lakekeeper/src/catalog/s3_signer/sign.rs (1)
60-61: Borrowed Prefix usage is correctrequire_warehouse_id(prefix.as_ref()) aligns with updated signature.
crates/lakekeeper/src/service/storage/az.rs (1)
560-563: Test import adjustment is fineNamespaceId and TabularId grouped consistently with new exports.
crates/lakekeeper/src/catalog/views/drop.rs (2)
35-36: Borrowed Prefix usage is correctrequire_warehouse_id(prefix.as_ref()) matches the new API.
297-301: Test ID parsing update LGTMWarehouseId::from_str_or_internal usage aligns tests with new constructors.
Also applies to: 324-328, 393-396
crates/lakekeeper/src/api/iceberg/types.rs (1)
36-40: LGTM! Clean trait implementation.The
AsRef<str>implementation forPrefixis correct and idiomatic. This enables borrowing the inner string without cloning, which is leveraged throughout the PR to replaceprefix.clone()calls withprefix.as_ref()calls.crates/lakekeeper/src/service/authn.rs (1)
275-275: LGTM! Improved error handling.The change from
RoleId::from_strtoRoleId::from_str_or_bad_requeststandardizes error handling by returning aBadRequestdirectly for invalid role IDs, providing better user-facing error messages.crates/lakekeeper/src/service/authz/implementations/openfga/entities.rs (1)
69-71: LGTM! Consistent error handling across ID parsing.The updates to use
from_str_or_bad_requestforRoleIdand standardize error access viae.message(instead ofe.error.message) align with the broader identifier refactor. The changes maintain consistent error handling patterns across all three ID types (RoleId,RoleAssignee,ProjectId).Also applies to: 95-99, 198-200
crates/lakekeeper/src/catalog/views/create.rs (1)
41-41: LGTM! Efficient borrowing instead of cloning.The change from
prefix.clone()toprefix.as_ref()avoids unnecessary cloning by leveraging the newAsRef<str>implementation forPrefix. This is a clean performance improvement with no functional changes.crates/lakekeeper/src/catalog/views/rename.rs (1)
24-24: LGTM! Consistent borrowing pattern.The change from
prefix.clone()toprefix.as_ref()maintains consistency with the borrowing pattern applied throughout the PR, avoiding unnecessary clones.crates/lakekeeper/src/catalog/namespace.rs (1)
56-56: LGTM! Consistent borrowing across all namespace operations.All six functions in this file consistently apply the borrowing pattern by changing
prefix.clone()toprefix.as_ref(). This systematic refactor avoids unnecessary clones across:
list_namespacescreate_namespaceload_namespace_metadatanamespace_existsdrop_namespaceupdate_namespace_propertiesAlso applies to: 197-197, 302-302, 338-338, 365-365, 422-422
crates/lakekeeper/src/service/identifier/mod.rs (1)
1-3: LGTM! Clean module organization.The three new module declarations (
generic,project,tabular) properly organize the identifier subsystem. Thepub(super)visibility is appropriate for modules that will be selectively re-exported by the parent module.crates/lakekeeper/src/service/authz/implementations/openfga/check.rs (1)
440-443: LGTM! Test updates align with identifier refactor.The test updates consistently use
from_str_or_internalconstructors forNamespaceIdandWarehouseIdin test data setup. This aligns with the broader identifier subsystem changes while maintaining test correctness.Also applies to: 464-467, 489-492, 516-519, 542-545, 685-692
crates/lakekeeper/src/catalog/mod.rs (1)
54-68: Borrowing Prefix avoids needless clonesSwitching
require_warehouse_idto takeOption<&Prefix>keeps the call sites zero-copy while preserving the existing 400 response for missing or invalid prefixes. Nice refinement.crates/lakekeeper/src/service/identifier/generic.rs (4)
11-27: LGTM! Clean trait definition and implementation.The
NamedEntitytrait provides a clear abstraction for converting entities into name parts. TheTableIdentimplementation correctly chains namespace components with the table name using idiomatic Rust iterators.
50-61: LGTM! Well-designed constructors.The constructors are clean and follow best practices:
newprovides explicit wrapping of existing UUIDsnew_randomuses UUID v7 (time-ordered) for new IDs- Both methods are marked
#[must_use]to catch accidental unused results
102-138: LGTM! Comprehensive and idiomatic trait implementations.The standard trait implementations are well-designed:
Derefenables transparent access touuid::Uuidmethods- Bidirectional
Fromconversions (UUID ↔ ID) are completeDisplayappropriately delegates to the inner UUIDAsRef<uuid::Uuid>provides ergonomic borrowing
158-164: LGTM! Consistent ID type definitions.All six ID types (
ServerId,WarehouseId,ViewId,TableId,NamespaceId,RoleId) consistently use the serializable variant, following a clear naming convention.
|
@CodeRabbit review |
✅ Actions performedReview triggered.
|
✅ PR Title Formatted CorrectlyThe title of this PR match the correct format. Thank you! |
* feat: Publish images to Dockerhub (lakekeeper#1274) * feat: Update UI to 0.9.0 with multi-project support (lakekeeper#1275) * chore: release 0.9.4 Release-As: 0.9.4 * chore: release main (lakekeeper#1262) * chore(ci): Fix Dockerhub login * chore(docs): Improve developer guide (lakekeeper#1265) * chore(docs): add info regarding `view_version`'s internal representation (lakekeeper#1261) * chore(docs): Architecture clarify Secret Store (lakekeeper#1284) * fix: Update Limes to 0.2.2 - Fixes compilation issue due to breaking `jwks_client_rs` change (lakekeeper#1282) * fix: Update Limes to 0.2.2 * increase min rust version * chore: release 0.9.5 Release-As: 0.9.5 * chore: release main (lakekeeper#1286) * chore: enable changelog sections for release-please (lakekeeper#1264) k * fix(deps): update rust crate rand to v0.9.2 (lakekeeper#1252) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> * chore(deps): update rust crate async-channel to v2.5.0 (lakekeeper#1225) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> * chore(deps): update dependency mkdocs-material to v9.6.17 (lakekeeper#1289) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> * chore(deps): update rust crate anyhow to v1.0.99 (lakekeeper#1290) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> * chore: Remove bitnami images (lakekeeper#1288) * feat!: Move to Lakekeeper IO based on hyperscaler SDKs (lakekeeper#1285) * chore(deps): update rust crate reqwest to v0.12.23 (lakekeeper#1294) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> * chore(docs): Improve Cloud storage test docs * fix: accept "disable" as PG sslmode as documented (lakekeeper#1303) * feat: Simplify task interface, re-exports, enable delete-after-commit (lakekeeper#1302) * feat: Introduce `RequestMetadata` for Internal Principals which bypass AuthZ (lakekeeper#1306) * chore(deps): update azure/setup-helm action to v4.3.1 (lakekeeper#1299) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> * chore(test): use nextest filterset instead of needs_env_var (lakekeeper#1304) * chore(deps): update rust crate openssl-src to v300.5.2 (lakekeeper#1292) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> * chore(deps): update rust crate async-compression to v0.4.28 (lakekeeper#1311) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> * chore(deps): update rust crate thiserror to v2.0.16 (lakekeeper#1296) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> * feat: Provide `ApiContext` to externally registered tasks (lakekeeper#1307) * feat!: Simplify Task interface, extend SpecializedTask interface (lakekeeper#1310) * feat: Improve authorizer `are_allowed_*` batch check signature (lakekeeper#1315) * chore(authz): Enforce use of AuthZ decisions with #[must_use] (lakekeeper#1317) * feat: Task Management APIs (lakekeeper#1316) * chore(deps): update rust crate tracing-subscriber to v0.3.20 [security] (lakekeeper#1318) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> * feat: Add `RunNow` and `RunAt` to Controls for Tasks (lakekeeper#1322) * chore(deps): update rust crate tokio-util to v0.7.16 (lakekeeper#1313) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> * chore(docs): Improve Entra ID docs (lakekeeper#1325) * chore(docs): Improve Upgrades & Migration docs (lakekeeper#1326) * feat: Add tasks heartbeat with Catalog state (lakekeeper#1324) * ci: add configuration for CodeRabbit reviews (lakekeeper#1327) * feat: Add optional STS session-tags in S3 STS requests for ABAC authorization (lakekeeper#1230) * feat: Random Server IDs (lakekeeper#1328) * chore(deps): update rust crate percent-encoding to v2.3.2 (lakekeeper#1312) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> * feat(authz): Deprecate Permission Endpoints for Tables without WarehouseIDs (lakekeeper#1334) * fix: Tasks endpoints in router (lakekeeper#1335) * feat(ci): add nextest profile ci_no_secrets for external PRs (lakekeeper#1333) * chore(deps): update rust crate chrono to v0.4.42 (lakekeeper#1331) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> * chore: Pin examples duckdb version to 1.3 (lakekeeper#1343) * feat!: Require warehouse_id when checking permissions on views or tables via ID (lakekeeper#1340) * fix: migrate away from bitnami in unittest.yml (lakekeeper#1344) * chore: Remove coderabitt config * fix(docs): Fix inconsistent URL format in README (lakekeeper#1345) Co-authored-by: Christian <[email protected]> * feat: Remove serde_yaml & serde_yml (lakekeeper#1341) * feat!: add `warehouse_id` to PKs of all `table_*` and `view_*` tables (lakekeeper#1254) * feat: Minor namespace join performance improvements * fix: Warehouse permissions are directly used for task retrieval & control (lakekeeper#1347) * fix: Potential Race Condition when undropping Tabulars (lakekeeper#1342) * fix: table rename authz and error handling (lakekeeper#1346) Co-authored-by: Andre Luis Anastacio <[email protected]> * chore(deps): update rust crate google-cloud-auth to v1.1.2 (lakekeeper#1337) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Christian <[email protected]> * chore(deps): update rust crate time to v0.3.44 (lakekeeper#1349) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> * chore(deps): update dependency mkdocs-material to v9.6.20 (lakekeeper#1309) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Christian <[email protected]> * feat: Set ServerID during migration (lakekeeper#1348) * chore(deps): Remove utoipa fork (lakekeeper#1352) * chore(deps): update rust crate serde_with to v3.14.1 (lakekeeper#1351) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> * chore(deps): update rust crate url to v2.5.7 (lakekeeper#1354) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> * chore(deps): update rust crate async-compression to v0.4.30 (lakekeeper#1323) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Christian <[email protected]> * chore(deps): update rust crate serde_json to v1.0.145 (lakekeeper#1250) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Christian <[email protected]> * chore(deps): update strum monorepo to v0.27.2 (lakekeeper#1251) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Christian <[email protected]> * chore(deps): update serde monorepo to v1.0.226 (lakekeeper#1355) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> * fix(deps): update rust crate clap to v4.5.48 (lakekeeper#1356) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> * feat: Add Entity Names to Tasks (lakekeeper#1353) * fix: case insensitivity of catalog endpoints (lakekeeper#1338) * fix: Improve delete_warehouse error message for active tasks * chore(deps): update rust crate tempfile to v3.22.0 (lakekeeper#1359) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Christian <[email protected]> * chore(deps): update rust crate axum-prometheus to 0.9.0 (lakekeeper#1358) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> * fix: PgSslMode not supported error string * feat(authz)!: add OpenFGA schema v4 and v3->v4 migration (lakekeeper#1314) Co-authored-by: Christian <[email protected]> Co-authored-by: Christian Thiel <[email protected]> * chore(deps): update rust crate uuid to v1.18.1 (lakekeeper#1362) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> * chore(deps): update dependency markdown-grid-tables to v0.6.0 (lakekeeper#1357) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> * chore(deps): update rust crate anyhow to v1.0.100 (lakekeeper#1350) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> * fix: clippy * chore(deps): update rust crate moka to v0.12.11 (lakekeeper#1365) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> * chore(deps): update rust crate tempfile to v3.23.0 (lakekeeper#1367) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> * chore(deps): update rust crate async-nats to 0.43.0 (lakekeeper#1366) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> * chore(deps): update actions/setup-node action to v5 (lakekeeper#1371) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> * chore(deps): update actions/checkout action to v5 (lakekeeper#1369) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> * chore(deps): update actions/setup-python action to v6 (lakekeeper#1372) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> * feat: V3 support (lakekeeper#1364) * chore: Set Get Task Permission to "CanGetMetadata" (lakekeeper#1376) * chore(deps): update dependency node to v22 (lakekeeper#1373) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> * feat(authz)!: extend OpenFGA tabular entities with WarehouseId (lakekeeper#1329) --------- Co-authored-by: Christian <[email protected]> Co-authored-by: Christian Thiel <[email protected]> * feat: Add support for tasks affecting views (lakekeeper#1378) * feat(authz): Add specific Task Actions (lakekeeper#1379) * chore(tests): Test with Iceberg 1.9.2 & 1.10.0 (lakekeeper#1267) * feat: Enrich task metadata with concrete tabular type (lakekeeper#1383) * feat: Add loadTable Snapshots filter (lakekeeper#1385) * feat: add endpoint for fuzzy search of tabulars (lakekeeper#1387) * feat: Update UI to 0.10.0 (lakekeeper#1390) * feat(ui): Update UI to 0.10.1 * chore: Use lakekeeper re-exports in bin (lakekeeper#1391) * fix(tabular-search): distance and docs for `searchterm is uuid` (lakekeeper#1393) * chore(examples): Idempotent bucket creation in minimal example (lakekeeper#1386) In the case where you already have a bucket created, like the "examples" bucket, I ran into an issue where the createbuckets service fails, and this prevents lakekeeper from starting back up. This fix adds a simple minio flag to ignore buckets that already exist, making things even more user friendly * feat: Make number of workers spawned for Expiration & Purge configurable (lakekeeper#1395) * chore: release main (lakekeeper#1295) * chore: added gif to readme (lakekeeper#1396) * chore: remove unneded `#[allow(dead_code)]` (lakekeeper#1399) * fix: Use FnOnce for queue & service registration * Revert "fix: Use FnOnce for queue & service registration" This reverts commit 47b03a0. * chore(docs): Add 0.10 docs * perf(db): remove `join namespace` from `active_tabulars` view (lakekeeper#1401) * doc(db): how to connect to db and inspect schema (lakekeeper#1402) * feat: implement `OpenFgaEntity` for `ServerId` (lakekeeper#1394) * impl OpenFgaEntity * Use the implementation * fix: Use FnOnce for queue & service registration (lakekeeper#1404) * chore(deps): update dependency mkdocs-material to v9.6.21 (lakekeeper#1406) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> * feat: Expose client-managed X-Iceberg-Access-Delegation (lakekeeper#1407) * fix: Use higher consistency for some OpenFGA queries (lakekeeper#1408) * feat: Improve Kubernetes Auth docs (lakekeeper#1415) * chore: release 0.10.1 Release-As: 0.10.1 * fix: Endpoint stats for Project Endpoints (lakekeeper#1412) * feat: Add create table guard to cleanup location on Failure (lakekeeper#1418) * chore: Generate ID types with Macro (lakekeeper#1419) * chore: Re-Export Tokio from lakekeeper-io create (lakekeeper#1420) * fix: Add support for `write.metadata.metrics.` Table Properties (lakekeeper#1422) * fix: Update UI to 0.10.2 (lakekeeper#1423) * chore: release main (lakekeeper#1403) * fix: Parse empty ProjectID headers as None (lakekeeper#1424) * chore: release 0.10.2 Release-As: 0.10.2 * chore: release main (lakekeeper#1425) * feat: Add `debug_migrate_before_serve` env var (lakekeeper#1426) * feat: Move OpenFGA Authorizer to separate crate (lakekeeper#1421) * chore(renovate): Group dependencies * chore(renovate): ignore additional deps * chore: Rename src/service -> src/server, trait Catalog -> CatalogStore (lakekeeper#1428) * feat(examples): add k8s iceberg sink connector (avro) (lakekeeper#1336) --------- Co-authored-by: Christian <[email protected]> * chore(ci): Fix release please (lakekeeper#1433) * feat: Expose License Information via API (lakekeeper#1432) * fix(deps): update all non-major dependencies (lakekeeper#1429) * chore(ci): Remove mgmt API version update via release-please * chore: Restructure catalog_store into multiple modules (lakekeeper#1434) * feat: Validate Downscoping works on Warehouse creation (lakekeeper#1437) * chore(ci): Fix release please * docs: Add info about installing sqlx to developer-guide.md (lakekeeper#1438) * docs: Update developer-guide.md (lakekeeper#1439) * chore(deps): update all non-major dependencies (lakekeeper#1436) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> * fix: Better normalization for ARNs in S3 Profile (lakekeeper#1441) * chore(deps): update all non-major dependencies (lakekeeper#1442) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> * chore(main): release 0.10.3 (lakekeeper#1427) * fix: Release Please CI outputs * fix(ci): Revert 0.10.3 release * chore(main): release 0.10.3 (lakekeeper#1446) * feat: Introduce CatalogWarehouseOps & CatalogNamespaceOps abstractions (lakekeeper#1440) * feat: Allow x-user-agent header (lakekeeper#1453) * feat: Table & View Ops Abstractions, Improved Error Handling (lakekeeper#1454) * fix: CORS allow access delegation & etag headers (lakekeeper#1455) * fix: Headers should be lowercase (lakekeeper#1457) * chore(tests): Add trino information_schema.tables test (lakekeeper#1456) * chore: Introduce open-api feature to gate utoipa and swagger (lakekeeper#1458) * chore: Release As 0.11 * fix: Debug assertion table identifier mismatch for signer (lakekeeper#1460) * feat: Caching Short-Term-Credentials (STC) (lakekeeper#1459) * feat: Warehouse Cache (lakekeeper#1462) * chore(deps): update actions/setup-node action to v6 (lakekeeper#1443) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> * feat: Version based Warehouse Cache (lakekeeper#1465) * feat: AuthZ Server and Project Ops (lakekeeper#1471) * chore(deps): update github artifact actions (lakekeeper#1461) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> * chore: Rename release branch pattern to rel-* * feat: Catalog returns full Namespace Hierarchy for nested Namespaces (lakekeeper#1472) --------- Co-authored-by: Christian <[email protected]> Co-authored-by: Christian Thiel <[email protected]> Co-authored-by: Dao Thanh Tung <[email protected]> Co-authored-by: Moritz Zielke <[email protected]> Co-authored-by: Baptiste Gouhoury <[email protected]> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Dolan Antenucci <[email protected]> Co-authored-by: Anatoly Popov <[email protected]> Co-authored-by: Andre Luis Anastacio <[email protected]> Co-authored-by: Scott Haines <[email protected]> Co-authored-by: Viktor Kessler <[email protected]> Co-authored-by: Yohan Valencia <[email protected]> Co-authored-by: Paul Roman <[email protected]>
Summary by CodeRabbit