Repository navigation
fix: Use FnOnce for queue & service registration - #1404
Conversation
WalkthroughPublic API types were updated to use TableMetadataRef and Arc<Vec> across catalog/service/DB layers. New table_ident field added to CommitContext. Serve registration closures switched from Arc to Box. Task queue gained get_queue_config and schedule_tasks now accepts an iterator; router gained optional request-body logging and a new DebugConfig flag. Changes
Sequence Diagram(s)sequenceDiagram
autonumber
actor Client
participant API as REST Router
participant Task as SpecializedTask
participant Catalog
participant DB as Task Queue DB
Client->>API: GET /warehouses/{id}/queue-config
API->>Task: get_queue_config(warehouse_id, catalog_state)
Task->>Catalog: get_warehouse_config(warehouse_id)
Catalog-->>Task: Option<JSON config>
Task->>Task: deserialize -> Option<Q>
Task-->>API: Ok(GetTaskQueueConfigResponse{config: Q or {}})
Client->>API: POST /tasks (many)
API->>Task: schedule_tasks(iterator<(TaskMetadata,D)>)
loop per-item
Task->>Task: serialize D
Task->>DB: enqueue(TaskMetadata, payload)
DB-->>Task: ack
end
Task-->>API: Result
sequenceDiagram
autonumber
actor Committer
participant CommitCtx
participant Writer
participant CatalogDB
Committer->>CommitCtx: prepare CommitContext (new_metadata: TableMetadataRef, updates: Arc<Vec<...>>, table_ident)
CommitCtx->>Writer: write metadata files (share TableMetadataRef via Arc)
Writer-->>CommitCtx: metadata_location(s)
CommitCtx->>CatalogDB: commit diffs using TableMetadataRef and locations
CatalogDB-->>CommitCtx: commit result
CommitCtx-->>Committer: result
Estimated code review effort🎯 4 (Complex) | ⏱️ ~60 minutes Possibly related PRs
Poem
Pre-merge checks and finishing touches✅ Passed checks (3 passed)
✨ Finishing touches
🧪 Generate unit tests
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 |
There was a problem hiding this comment.
Actionable comments posted: 0
🧹 Nitpick comments (1)
crates/lakekeeper/src/catalog/tables.rs (1)
1277-1287: Consider eliminating clone before Arc wrapping.Line 1283 clones
change.updatesbefore wrapping inArc::new. Ifchange.updatesis not used after this point in the iteration, you could wrap it directly without cloning:- updates: Arc::new(change.updates.clone()), + updates: Arc::new(change.updates),However, if the iterator needs to maintain ownership or if
changeis borrowed, the current approach is correct.
📜 Review details
Configuration used: CodeRabbit UI
Review profile: CHILL
Plan: Pro
📒 Files selected for processing (6)
crates/iceberg-ext/src/catalog/rest/table.rs(2 hunks)crates/lakekeeper/src/catalog/tables.rs(4 hunks)crates/lakekeeper/src/implementations/postgres/tabular/table/commit.rs(2 hunks)crates/lakekeeper/src/serve.rs(1 hunks)crates/lakekeeper/src/service/catalog.rs(2 hunks)crates/lakekeeper/src/service/task_queue/mod.rs(2 hunks)
🧰 Additional context used
🧬 Code graph analysis (1)
crates/lakekeeper/src/service/task_queue/mod.rs (5)
crates/lakekeeper/src/service/catalog.rs (1)
get_task_queue_config(1109-1113)crates/lakekeeper/src/api/management/v1/warehouse/mod.rs (1)
get_task_queue_config(1026-1051)crates/lakekeeper/src/implementations/postgres/tasks.rs (1)
get_task_queue_config(619-655)crates/lakekeeper/src/service/task_queue/task_registry.rs (3)
queue_name(332-334)queue_name(348-350)new(133-138)crates/iceberg-ext/src/catalog/rest/error.rs (2)
internal(161-172)new(232-244)
⏰ 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: docker / docker
- GitHub Check: openfga
🔇 Additional comments (15)
crates/lakekeeper/src/implementations/postgres/tabular/table/commit.rs (2)
3-6: LGTM! Import addition is consistent with type changes.The addition of
TableMetadataRefimport aligns with the field type change inTableMetadataTransition.
102-107: LGTM! Type change from TableMetadata to TableMetadataRef is appropriate.The change from
TableMetadatatoTableMetadataRef(which isArc<TableMetadata>) allows shared ownership of metadata across async operations and reduces cloning overhead. All usages in this file correctly dereference through the Arc via method calls likenew_metadata.uuid(),new_metadata.location(), etc.crates/lakekeeper/src/service/catalog.rs (3)
1-6: LGTM! Import additions support Arc-based ownership.The addition of
ArcandLazyLockto imports supports the new shared ownership semantics forTableCommit.
7-10: LGTM! TableMetadataRef import added.The
TableMetadataRefimport is necessary for the updatedTableCommitstruct field type.
176-184: LGTM! Arc-based ownership reduces cloning overhead.The changes to
TableCommitare well-designed:
new_metadata: TableMetadataRef(Arc-wrapped) enables shared ownership across async operationsupdates: Arc<Vec<TableUpdate>>prevents expensive cloning of potentially large update vectorsThis is appropriate for the catalog layer where commits may be passed across multiple async contexts.
crates/iceberg-ext/src/catalog/rest/table.rs (2)
1-2: LGTM! Import addition is necessary.The
TableMetadataRefimport is required for the updatedCommitTableResponsefield type.
88-94: LGTM! Public API change to TableMetadataRef is appropriate.Changing
metadatafromTableMetadatatoTableMetadataRefin the public API response is beneficial:
- Reduces serialization overhead when metadata is shared
- Aligns with the broader codebase shift to reference-based metadata
TableMetadataRef(Arc) correctly implementsSerialize/Deserializecrates/lakekeeper/src/service/task_queue/mod.rs (2)
382-408: LGTM! New get_queue_config method is well-implemented.The new associated function provides a clean API for fetching warehouse-specific task queue configuration:
- Correctly delegates to
C::get_task_queue_config- Properly deserializes JSON config to type
Q- Returns appropriate errors with context
- Follows existing patterns in the codebase
452-478: LGTM! Iterator parameter is more flexible than Vec.Changing
schedule_tasksto acceptimpl Iterator<Item = (TaskMetadata, D)>instead ofVecprovides better flexibility:
- Allows callers to pass iterators directly without collecting
- Maintains existing behavior by collecting internally
- More idiomatic Rust for batch operations
- No breaking change for callers that pass
vec.into_iter()crates/lakekeeper/src/serve.rs (2)
31-45: LGTM! FnOnce semantics are appropriate for single-use registrations.Changing from
Arc<dyn Fn(...)>toBox<dyn FnOnce(...)>is correct:
- Registration functions are invoked exactly once during startup
- FnOnce allows the closure to take ownership of captured values
- Eliminates unnecessary Arc overhead for single-use closures
- More accurately represents the API contract
47-52: LGTM! FnOnce type alias is correct.The change to
Box<dyn FnOnce(...)>for task queue registration functions correctly reflects single-use semantics. The consuming usage at lines 387-388 confirms this is the intended behavior.crates/lakekeeper/src/catalog/tables.rs (4)
13-13: LGTM! Import addition aligns with Arc-based ownership changes.The addition of
TableMetadataRefto the imports supports the Arc-wrapped metadata pattern introduced in this PR for shared ownership across async boundaries.
1430-1441: LGTM! Struct definition properly implements Arc-based ownership.The changes to
CommitContextimprove memory efficiency and enable safe sharing across async boundaries:
TableMetadataRef(Arc-wrapped) for metadata reduces cloning overhead- New
table_identfield provides useful contextArc<Vec<TableUpdate>>enables shared access to updatesThese changes align well with the PR's objective of improving ownership patterns.
2687-2689: LGTM! Correct pattern for extracting owned metadata from Arc.The dereference-and-clone pattern
(*committed.new_metadata).clone()correctly extracts an ownedTableMetadatafrom the Arc-wrapped reference for use withinto_builder().
1277-1287: Arc-based ownership pattern improves efficiency and correctness.The migration to
TableMetadataRef(Arc) andArc<Vec<TableUpdate>>provides several benefits:
- Reduced cloning: Large metadata structures are shared rather than cloned across async boundaries
- Clear ownership: Arc makes shared ownership explicit and compile-time safe
- Async-safe: Arc is Send + Sync, enabling safe sharing across tasks
The implementation is consistent throughout the commit pipeline and correctly handles the dereference pattern in tests when owned values are needed.
Also applies to: 1430-1441
|
@CodeRabbit review |
✅ Actions performedReview triggered.
|
There was a problem hiding this comment.
Actionable comments posted: 1
🧹 Nitpick comments (1)
crates/lakekeeper/src/api/router.rs (1)
177-215: Document limitations of request body logging.The
buffer_request_bodyimplementation correctly handles body buffering for debugging, but it has important limitations that should be documented:
- Memory consumption: Entire request bodies are buffered in memory, which can be problematic for large payloads.
- Streaming broken: As noted in the comment at line 191, this breaks long-running streams.
- Timeout risk: Large or slow uploads may hit the 30-second timeout configured at line 154.
Consider adding these limitations to the documentation (docs/docs/configuration.md) in the Debug section:
| Variable | Example | Description | |------------------------------------------------------|---------|-------------| -| <nobr>`LAKEKEEPER__DEBUG__LOG_REQUEST_BODIES`</nobr> | `true` | If set to `true`, Lakekeeper will log all incoming request bodies at debug level. This is useful for debugging API interactions but should **never** be enabled in production as it can expose sensitive data (credentials, tokens, etc.) and significantly impact performance. Default: `false` | +| <nobr>`LAKEKEEPER__DEBUG__LOG_REQUEST_BODIES`</nobr> | `true` | If set to `true`, Lakekeeper will log all incoming request bodies at debug level. This is useful for debugging API interactions but should **never** be enabled in production as it can expose sensitive data (credentials, tokens, etc.) and significantly impact performance. **Limitations**: This feature buffers entire request bodies in memory and does not work with streaming requests or very large payloads. Requests exceeding the 30-second timeout will fail. Default: `false` |
📜 Review details
Configuration used: CodeRabbit UI
Review profile: CHILL
Plan: Pro
📒 Files selected for processing (9)
Cargo.toml(1 hunks)crates/lakekeeper/src/api/management/mod.rs(5 hunks)crates/lakekeeper/src/api/management/v1/warehouse/mod.rs(1 hunks)crates/lakekeeper/src/api/router.rs(3 hunks)crates/lakekeeper/src/config.rs(4 hunks)crates/lakekeeper/src/service/endpoint_hooks.rs(3 hunks)docs/docs/api/management-open-api.yaml(8 hunks)docs/docs/configuration.md(1 hunks)examples/minimal/notebooks/Spark.ipynb(6 hunks)
✅ Files skipped from review due to trivial changes (1)
- examples/minimal/notebooks/Spark.ipynb
⏰ 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). (20)
- GitHub Check: tests (spark_adls-1.9.2) / spark_adls-1.9.2
- GitHub Check: tests (spark_adls-1.10.0) / spark_adls-1.10.0
- GitHub Check: tests (spark_adls-1.9.2) / spark_adls-1.9.2
- GitHub Check: tests (spark_adls-1.10.0) / spark_adls-1.10.0
- GitHub Check: tests (spark_adls-1.9.2) / spark_adls-1.9.2
- GitHub Check: tests (spark_adls-1.10.0) / spark_adls-1.10.0
- GitHub Check: tests (spark_adls-1.9.2) / spark_adls-1.9.2
- GitHub Check: tests (spark_adls-1.10.0) / spark_adls-1.10.0
- GitHub Check: tests (spark_adls-1.9.2) / spark_adls-1.9.2
- GitHub Check: tests (spark_adls-1.10.0) / spark_adls-1.10.0
- GitHub Check: tests (spark_adls-1.9.2) / spark_adls-1.9.2
- GitHub Check: tests (spark_adls-1.10.0) / spark_adls-1.10.0
- GitHub Check: tests (spark_adls-1.9.2) / spark_adls-1.9.2
- GitHub Check: tests (spark_adls-1.10.0) / spark_adls-1.10.0
- GitHub Check: tests (spark_adls-1.9.2) / spark_adls-1.9.2
- GitHub Check: tests (spark_adls-1.10.0) / spark_adls-1.10.0
- GitHub Check: tests (spark_adls-1.9.2) / spark_adls-1.9.2
- GitHub Check: tests (spark_adls-1.10.0) / spark_adls-1.10.0
- GitHub Check: tests (spark_adls-1.9.2) / spark_adls-1.9.2
- GitHub Check: tests (spark_adls-1.10.0) / spark_adls-1.10.0
🔇 Additional comments (12)
crates/lakekeeper/src/service/endpoint_hooks.rs (3)
9-9: LGTM!The import of
TableMetadataRefis necessary for the updated trait method signatures and correctly added to the existing import statement.
404-415: LGTM!The trait signature change for
create_tableis consistent with theregister_tablechange and aligns with the broader refactoring. The verification script in the previous comment will confirm type compatibility.
391-401: Verify TableMetadataRef alias in iceberg spec crate
I couldn’t locate its definition locally; please confirm thatTableMetadataRefis an alias forArc<TableMetadata>in the iceberg spec module.docs/docs/configuration.md (2)
256-264: LGTM!The Debug configuration section is well-documented with appropriate warnings about security and performance implications. The documentation clearly states that this feature should not be enabled in production environments.
269-269: LGTM!The storage validation flag is appropriately documented in the Test Configurations section with a clear warning about production usage.
crates/lakekeeper/src/config.rs (4)
450-455: LGTM!The
DebugConfigstruct is well-defined with appropriate derives and clear documentation about the performance implications of thelog_request_bodiesflag.
265-267: LGTM!The
debugfield is correctly added with#[serde(default)], ensuring backward compatibility by defaulting toDebugConfig::default()(withlog_request_bodies = false) when not explicitly configured.
535-535: LGTM!The debug field is correctly initialized with
DebugConfig::default(), which provides a secure default withlog_request_bodies = false.
1257-1281: LGTM!The test provides comprehensive coverage of the
debug.log_request_bodiesconfiguration, verifying the default value (false) and explicit true/false settings using the appropriate test environment variable prefix.crates/lakekeeper/src/api/router.rs (3)
113-116: LGTM!The router is correctly made mutable to support conditional middleware application. The nesting structure remains unchanged and appropriate.
117-121: LGTM!The conditional middleware application correctly gates the request body logging on the debug configuration flag. The comment accurately states that this middleware must be applied first—since middleware layers execute in reverse order of application, this layer (applied at line 119) will execute before all subsequent layers.
168-175: LGTM!The
print_request_bodymiddleware function correctly wraps the body buffering logic and propagates errors appropriately.
✅ 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]>
BEGIN_COMMIT_OVERRIDE
fix: Use FnOnce for queue & service registration
fix: Return default initial Task Queue Config
fix: Dynamic OpenAPI generation for registered Task Queues
feat(debug): Add LAKEKEEPER__DEBUG__LOG_REQUEST_BODIES configuration
END_COMMIT_OVERRIDE
Summary by CodeRabbit
New Features
Improvements
Documentation