Repository navigation
fix: Tasks endpoints in router - #1335
Conversation
WalkthroughEndpoint paths under ManagementV1 were moved to include a Changes
Sequence Diagram(s)sequenceDiagram
autonumber
participant Client
participant Router
participant EndpointEnum as ManagementV1Endpoint
participant Handler
Client->>Router: HTTP POST /management/v1/warehouse/{id}/task/list
Router->>EndpointEnum: lookup route (uses path_in_management_v1)
EndpointEnum-->>Router: matched inner path "/warehouse/{id}/task/list"
Router->>Handler: dispatch to ListTasks handler
Handler-->>Client: 200 OK
note right of EndpointEnum #E8F6F3: path_in_management_v1 provides\npath without leading "/management/v1"
Estimated code review effort🎯 3 (Moderate) | ⏱️ ~20 minutes Poem
Pre-merge checks and finishing touches✅ Passed checks (3 passed)
✨ Finishing touches
🧪 Generate unit tests
Tip 👮 Agentic pre-merge checks are now available in preview!Pro plan users can now enable pre-merge checks in their settings to enforce checklists before merging PRs.
Please see the documentation for more information. Example: reviews:
pre_merge_checks:
custom_checks:
- name: "Undocumented Breaking Changes"
mode: "warning"
instructions: |
Pass/fail criteria: All breaking changes to public APIs, CLI flags, environment variables, configuration keys, database schemas, or HTTP/GraphQL endpoints must be documented in the "Breaking Change" section of the PR description and in CHANGELOG.md. Exclude purely internal or private changes (e.g., code not exported from package entry points or explicitly marked as internal).Please share your feedback with us on this Discord post. 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
Caution
Some comments are outside the diff and can’t be posted inline due to platform limitations.
⚠️ Outside diff range comments (2)
crates/lakekeeper/src/api/endpoints.rs (2)
375-377: Tests still use old pre-warehouse paths; they’ll fail.Update exempted config paths to include the
warehousesegment.Apply this diff:
- let exempt_config_paths = [ - "management/v1/{warehouse_id}/task-queue/tabular_expiration/config", - "management/v1/{warehouse_id}/task-queue/tabular_purge/config", - ]; + let exempt_config_paths = [ + "management/v1/warehouse/{warehouse_id}/task-queue/tabular_expiration/config", + "management/v1/warehouse/{warehouse_id}/task-queue/tabular_purge/config", + ];
471-478: Extra-endpoints filter misses the new warehouse segment.This will incorrectly flag false “extra endpoints”.
Apply this diff:
- !path.starts_with("management/v1/{warehouse_id}/task-queue/{queue_name}/config") + !path.starts_with("management/v1/warehouse/{warehouse_id}/task-queue/{queue_name}/config")
🧹 Nitpick comments (1)
crates/lakekeeper/src/api/endpoints.rs (1)
241-245: Guard the prefix and avoid magic string.Add a prefix constant and a debug assertion to catch future drift.
Apply this diff to the function:
impl ManagementV1Endpoint { - pub fn path_in_management_v1(self) -> &'static str { - &self.path()["/management/v1".len()..] - } + pub fn path_in_management_v1(self) -> &'static str { + const MGMT_V1_PREFIX: &str = "/management/v1"; + let p = self.path(); + debug_assert!(p.starts_with(MGMT_V1_PREFIX), "unexpected prefix: {p}"); + &p[MGMT_V1_PREFIX.len()..] + } }
📜 Review details
Configuration used: Path: .coderabbit.yaml
Review profile: CHILL
Plan: Pro
📒 Files selected for processing (2)
crates/lakekeeper/src/api/endpoints.rs(2 hunks)crates/lakekeeper/src/api/management/mod.rs(1 hunks)
🧰 Additional context used
🪛 GitHub Check: check-format
crates/lakekeeper/src/api/management/mod.rs
[warning] 1893-1893:
Diff in /home/runner/work/lakekeeper/lakekeeper/crates/lakekeeper/src/api/management/mod.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). (9)
- GitHub Check: docker / docker
- GitHub Check: docker / docker
- GitHub Check: docker / docker
- GitHub Check: test
- GitHub Check: sqlx-check
- GitHub Check: clippy
- GitHub Check: check-generated-openapi-matches
- GitHub Check: docker / docker
- GitHub Check: openfga
🔇 Additional comments (5)
crates/lakekeeper/src/api/endpoints.rs (1)
225-229: Warehouse-scoped task endpoints look correct.Paths now consistently include
/warehouse/{warehouse_id}and align with handler extractors.Please confirm the OpenAPI YAML was updated to these exact paths so
test_endpoint_completenessremains green.crates/lakekeeper/src/api/management/mod.rs (4)
1893-1895: Good switch to derived path; pairs POST/GET on one route.Keeps router in sync with endpoint enum and OpenAPI patching.
Run the formatter to address the check-format warning on Line 1893.
1896-1896: ListTasks path now warehouse-scoped — matches extractor.
Path<uuid::Uuid>aligns with/warehouse/{warehouse_id}/task/list.
1898-1900: GetTaskDetails path aligns with(warehouse_id, task_id)extractor.All good.
1902-1904: ControlTasks path aligns withwarehouse_idin body flow.Looks correct.
Confirm the parent router mounts this module at
/management/v1so these relative paths resolve as intended.
|
@CodeRabbit full review |
✅ Actions performedFull review triggered. |
There was a problem hiding this comment.
Actionable comments posted: 0
Caution
Some comments are outside the diff and can’t be posted inline due to platform limitations.
⚠️ Outside diff range comments (2)
docs/docs/api/management-open-api.yaml (2)
2379-2445: OpenAPI bug: strayqueue_namepath parameter on non-parameterized GETsThe GET queue-config paths are concrete (
.../task-queue/tabular_expiration/configand.../tabular_purge/config) but still declare a requiredqueue_namepath parameter. This will break client generation/validation.Fix by removing
queue_namefrom these GET operations.Apply this diff (shown once; repeat for both GET endpoints):
/management/v1/warehouse/{warehouse_id}/task-queue/tabular_expiration/config: get: tags: - tasks summary: Get the configuration for a Task Queue. description: These configurations are global per warehouse and shared across all instances of this kind of task. operationId: get_task_queue_config_tabular_expiration parameters: - name: warehouse_id in: path required: true schema: type: string format: uuid - - name: queue_name - in: path - required: true - schema: - type: stringAdditionally, ensure the corresponding patch in code (ApiDoc expansion) drops this parameter when cloning the path item.
Also applies to: 2446-2511
2379-2445: Follow-up: adjust ApiDoc expansion to removequeue_namein GETWhen cloning
config_pathinapi_doc(), also strip anyqueue_nameparameter fromp.get.parametersto keep generated docs consistent.Apply this Rust patch inside
api_doc()right afterlet Some(get) = p.get.as_mut() else { ... };:let Some(get) = p.get.as_mut() else { tracing::warn!( "No get method found for '{}', not patching queue configs into the ApiDoc.", ManagementV1Endpoint::SetTaskQueueConfig.path() ); return doc; }; + // Remove the now-invalid `queue_name` path parameter from the GET variant + get.parameters.retain(|param| { + match param { + utoipa::openapi::RefOr::T(p) => p.name != "queue_name", + _ => true, + } + });
🧹 Nitpick comments (2)
crates/lakekeeper/src/api/endpoints.rs (1)
241-245: Makepath_in_management_v1safer and DRYAdd a constant for the prefix and a debug-assert to guard accidental misuse.
Apply this diff:
+const MANAGEMENT_V1_PREFIX: &str = "/management/v1"; + impl ManagementV1Endpoint { pub fn path_in_management_v1(self) -> &'static str { - &self.path()["/management/v1".len()..] + let path = self.path(); + debug_assert!( + path.starts_with(MANAGEMENT_V1_PREFIX), + "expected ManagementV1 endpoint to start with {}", + MANAGEMENT_V1_PREFIX + ); + &path[MANAGEMENT_V1_PREFIX.len()..] } }crates/lakekeeper/src/api/management/mod.rs (1)
1893-1895: Router now derives task routes from enum: good moveUsing
ManagementV1Endpoint::* .path_in_management_v1()de-dupes path strings and reduces drift risk with OpenAPI and tests. Consider gradually applying this pattern to the remaining management routes for consistency.Also applies to: 1897-1899, 1901-1903, 1905-1907
📜 Review details
Configuration used: Path: .coderabbit.yaml
Review profile: CHILL
Plan: Pro
📒 Files selected for processing (3)
crates/lakekeeper/src/api/endpoints.rs(4 hunks)crates/lakekeeper/src/api/management/mod.rs(1 hunks)docs/docs/api/management-open-api.yaml(6 hunks)
⏰ 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). (6)
- GitHub Check: docker / docker
- GitHub Check: test
- GitHub Check: sqlx-check
- GitHub Check: docker / docker
- GitHub Check: docker / docker
- GitHub Check: docker / docker
🔇 Additional comments (5)
crates/lakekeeper/src/api/endpoints.rs (3)
225-229: Warehouse-scoped task endpoints: LGTMThe re-scoping under
/management/v1/warehouse/{warehouse_id}looks consistent across Set/Get queue config, ListTasks, GetTaskDetails, and ControlTasks.
375-377: Tests: exemptions updated correctlyExempting the concrete queue config paths matches the OpenAPI expansion strategy.
477-479: Tests: extra-endpoint filter updated correctlyFiltering the parameterized
{queue_name}path avoids false positives after expansion.docs/docs/api/management-open-api.yaml (2)
2616-2686: New view protection endpoints: LGTMDocs align with code for GET/POST under
/warehouse/{warehouse_id}/view/{view_id}/protection.
2687-2706: Reintroduced/management/v1/whoami: LGTMEndpoint and schema wiring look correct.
|
@CodeRabbit incremental |
|
@c-thiel I'll perform an incremental review of the changes since the last full review. ✅ Actions performedReview triggered.
|
✅ PR Title Formatted CorrectlyThe title of this PR match the correct format. Thank you! |
There was a problem hiding this comment.
Actionable comments posted: 0
Caution
Some comments are outside the diff and can’t be posted inline due to platform limitations.
⚠️ Outside diff range comments (1)
docs/docs/api/management-open-api.yaml (1)
2379-2695: Add missing router registrations for task-queue config endpoints; operationIds verified
- operationId uniqueness verified — 90 unique operationIds in docs/docs/api/management-open-api.yaml.
- Router contains task endpoints at crates/lakekeeper/src/api/endpoints.rs:227–229 (ListTasks, GetTaskDetails, ControlTasks). No router registrations found for:
- /management/v1/warehouse/{warehouse_id}/task-queue/tabular_expiration/config
- /management/v1/warehouse/{warehouse_id}/task-queue/tabular_purge/config
Add corresponding router handlers or remove/update the spec to match implementation.
🧹 Nitpick comments (7)
docs/docs/api/management-open-api.yaml (7)
2379-2440: Good relocation; consider reusing a header component and documenting auth errors
- Paths and opIds look consistent. Nice addition of x-request-id.
- Suggest defining a reusable header in components/headers and referencing it here (and elsewhere that emits the header) to avoid duplication.
- Consider adding explicit 401/403 responses for clarity (current 4XX is generic).
Apply:
+components: + headers: + X-Request-Id: + description: Request identifier, add this to your bug reports. + schema: + type: string + format: uuid ... responses: '200': description: '' - headers: - x-request-id: - schema: - type: string - format: uuid - description: Request identifier, add this to your bug reports. + headers: + x-request-id: + $ref: '#/components/headers/X-Request-Id' + '401': + description: Unauthorized + content: + application/json: + schema: + $ref: '#/components/schemas/IcebergErrorResponse' + '403': + description: Forbidden + content: + application/json: + schema: + $ref: '#/components/schemas/IcebergErrorResponse'
2441-2501: Purge config shape appears empty; either document as placeholder or model fieldsIf PurgeQueueConfig is intentionally empty, document that clients must POST an empty object and disallow unknown keys. Otherwise, add the intended properties.
components: schemas: PurgeQueueConfig: - type: object + type: object + description: Warehouse-specific configuration for the purge queue. Send `{}` if no options are available. + additionalProperties: false
2502-2544: Cap numAttempts to prevent pathological payloads; consider naming consistency laterAdd a reasonable maximum (e.g., 100). Style note: most params use kebab-case; keep camelCase for now to avoid breaking changes.
- name: numAttempts in: query description: 'Number of attempts to retrieve (default: 5)' required: false schema: type: - integer - 'null' format: int32 default: 5 minimum: 0 + maximum: 100
2545-2573: Enforce “at most 100 task IDs” in the schemaDoc says ≤100, but ControlTasksRequest does not enforce it. Add maxItems and a sensible minItems.
components: schemas: ControlTasksRequest: type: object required: - action - task-ids properties: action: $ref: '#/components/schemas/ControlTaskAction' description: The action to perform on the task task-ids: type: array + minItems: 1 + maxItems: 100 items: type: string format: uuid description: Tasks to apply the action to
2574-2605: Page sizing: add default and maximum to guard server and clientsListTasksRequest has page-size without bounds. Add defaults and a cap (adjust values to your service limits).
components: schemas: ListTasksRequest: type: object properties: page-size: type: - integer - 'null' format: int64 - description: Number of results per page + description: Number of results per page + default: 100 + minimum: 1 + maximum: 1000
2677-2695: Add explicit 401 response for whoamiThis endpoint is auth-sensitive; documenting 401 improves client behavior and SDK generation.
/management/v1/whoami: get: tags: - user summary: Whoami description: Returns information about the user associated with the current authentication token. operationId: whoami responses: '200': description: User details content: application/json: schema: $ref: '#/components/schemas/User' + '401': + description: Unauthorized + content: + application/json: + schema: + $ref: '#/components/schemas/IcebergErrorResponse' 4XX: description: '' content: application/json: schema: $ref: '#/components/schemas/IcebergErrorResponse'
2379-2695: Consistency nit: underscore vs hyphen in path segmentsNew paths use underscores (tabular_expiration, tabular_purge) while most others use hyphens. If feasible, consider adding alias routes with hyphens and keeping underscores for backward compatibility.
📜 Review details
Configuration used: Path: .coderabbit.yaml
Review profile: CHILL
Plan: Pro
📒 Files selected for processing (2)
crates/lakekeeper/src/api/management/mod.rs(4 hunks)docs/docs/api/management-open-api.yaml(6 hunks)
🚧 Files skipped from review as they are similar to previous changes (1)
- crates/lakekeeper/src/api/management/mod.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). (8)
- GitHub Check: docker / docker
- GitHub Check: docker / docker
- GitHub Check: docker / docker
- GitHub Check: docker / docker
- GitHub Check: test
- GitHub Check: clippy
- GitHub Check: check-generated-openapi-matches
- GitHub Check: sqlx-check
🔇 Additional comments (2)
docs/docs/api/management-open-api.yaml (2)
2606-2676: LGTM: View protection endpointsConsistent with table/namespace/warehouse protection patterns. No issues spotted.
2379-2695: Do not remove — these schemas are still referencedSearch shows definitions in the OpenAPI and multiple code usages; keep the schemas. Examples:
- docs/docs/api/management-open-api.yaml: GetTaskQueueConfigResponse (line 3555), SetTaskQueueConfigRequest (line 4527).
- crates/lakekeeper/src/api/management/v1/warehouse/mod.rs: defines SetTaskQueueConfigRequest & GetTaskQueueConfigResponse (~lines 1043–1056).
- crates/lakekeeper/src/api/management/mod.rs, crates/lakekeeper/src/implementations/postgres/tasks.rs, crates/lakekeeper/src/implementations/postgres/catalog.rs, crates/lakekeeper/src/service/catalog.rs: handlers/signatures/returns use these types.
- crates/lakekeeper/src/tests/tasks.rs: tests construct SetTaskQueueConfigRequest.
Likely an incorrect or invalid review comment.
* 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
Refactor
New Features
Documentation