Skip to content

feat: Add support for tasks affecting views - #1378

Merged
c-thiel merged 3 commits into
mainfrom
ct/tasks-views
Sep 25, 2025
Merged

c-thiel merged 3 commits into
mainfrom
ct/tasks-views

Conversation

@c-thiel

@c-thiel c-thiel commented Sep 25, 2025 •

Copy link
Copy Markdown
Member

Summary by CodeRabbit

  • New Features
    • Task management and API now support View entities alongside Tables (listing, filtering, details, control).
  • Refactor
    • Unified identifier handling for tabular entities and streamlined undrop/protection flows.
    • Authorization expanded to validate warehouse ownership and compute permissions separately for tables and views; error messages are more specific.
  • Documentation
    • OpenAPI schema updated to include the new TaskEntity view variant.
  • Chores
    • Pinned console dependency to a specific commit for stability.

@coderabbitai

coderabbitai Bot commented Sep 25, 2025 •

Copy link
Copy Markdown
Contributor

Walkthrough

The PR changes TabularId to wrap TableId/ViewId instead of Uuid, adjusts ownership/into() usage across call sites, adds TaskEntity::View with view-aware task handling and authorization, updates clear_tabular_deleted_at/undrop to accept TabularId, updates Postgres implementations and tests, and pins a console dependency commit.

Changes

Cohort / File(s) Summary
Dependency pin
crates/lakekeeper-bin/Cargo.toml
Pin lakekeeper-console dependency to commit 761e842..., optional flag unchanged.
TabularId representation shift
crates/lakekeeper/src/service/tabular_idents.rs
TabularId variants now hold TableId/ViewId (was Uuid); updated From, AsRef, Deref impls and construction semantics.
Service API and IDs
crates/lakekeeper/src/service/catalog.rs,
crates/lakekeeper/src/service/mod.rs
Catalog::clear_tabular_deleted_at now takes &[TabularId]; task resolution now treats tables and views equivalently; Serialize derive added for ServerId and ViewId; simplified TryFrom<TabularId> for TableId.
Tasks API: View support and auth refactor
crates/lakekeeper/src/api/management/v1/tasks.rs
Add TaskEntity::View; split table/view permission constants; refactor get/control/list tasks to be entity-aware, validate warehouse ownership, and return separate forbidden details for tables vs views.
Warehouse undrop/list changes
crates/lakekeeper/src/api/management/v1/warehouse/mod.rs, crates/lakekeeper/src/api/management/v1/warehouse/undrop.rs
Stop converting TabularId to TableId/ViewId; pass TabularId directly into undrop/clear calls; remove TableId/ViewId from public imports.
Table/View protection helpers
crates/lakekeeper/src/api/management/v1/table.rs, crates/lakekeeper/src/api/management/v1/view.rs
Construct TabularId::{Table,View} with owned IDs (remove deref), adjusting ownership/into() usage.
Catalog: tables/views/namespace
crates/lakekeeper/src/catalog/tables.rs, crates/lakekeeper/src/catalog/views/{create.rs,drop.rs,rename.rs}, crates/lakekeeper/src/catalog/namespace.rs
Replace deref with owned TableId/ViewId or .into() where UUIDs become IDs; update purge/drop/rename flows to new TabularId usage.
Postgres impls: catalog/tabular/namespace/tables/views
crates/lakekeeper/src/implementations/postgres/catalog.rs, crates/lakekeeper/src/implementations/postgres/tabular/mod.rs, crates/lakekeeper/src/implementations/postgres/namespace.rs, crates/lakekeeper/src/implementations/postgres/tabular/{table/mod.rs,view/mod.rs}
clear_tabular_deleted_at signature changed to accept &[TabularId]; internal conversions updated (collect/convert to Uuid as needed); removed unused conversions/imports; tests adjusted to use owned IDs.
Tasks Postgres tests updated
crates/lakekeeper/src/implementations/postgres/tasks/{get_task_details.rs,list_tasks.rs,resolve_tasks.rs}
Tests updated to pattern-match TaskEntity variants (panic if View where Table expected); list/filter supports views.
Task queue entity expansion
crates/lakekeeper/src/service/task_queue/mod.rs
Add TaskEntity::View { view_id, warehouse_id }, derive Copy, add warehouse_id() accessor; adjust serialization tests to account for moved value.
Event publisher ID handling
crates/lakekeeper/src/service/event_publisher/mod.rs
Build EventMetadata.tabular_id using owned IDs and .into() for uuid sources; remove derefs.
Storage tests ID conversions
crates/lakekeeper/src/service/storage/{az.rs,mod.rs,s3.rs}
Tests now construct TabularId via .into() from UUIDs for Table/View variants.
Soft deletion test
crates/lakekeeper/src/tests/soft_deletion.rs
Build TabularId::Table via .into() from UUID during undrop test.
OpenAPI
docs/docs/api/management-open-api.yaml
Add TaskEntity variant for view (schema updated to include view-id, warehouse-id, type: view).

Sequence Diagram(s)

sequenceDiagram
  autonumber
  actor Client
  participant API as API: /v1/tasks
  participant Auth as Authorizer
  participant Svc as Service
  participant Q as Task Queue

  rect rgba(200,230,255,0.3)
  note right of API: Requests now accept TaskEntity (table | view)
  Client->>API: List/Get/Control (TaskEntity[])
  API->>API: Partition entities into tables and views
  API->>Auth: Check table permissions (batch)
  API->>Auth: Check view permissions (batch)
  Auth-->>API: Allowed/forbidden per kind
  alt any forbidden
    API-->>Client: 403 + details (forbidden tables vs views)
  else all allowed
    API->>Svc: Resolve tasks for allowed entities
    Svc-->>API: Tasks
    API-->>Client: 200 OK with tasks
  end
  end
Loading
sequenceDiagram
  autonumber
  actor Client
  participant API as API: /v1/warehouse/undrop
  participant Auth as Authorizer
  participant Cat as Catalog (trait)
  participant PG as Postgres impl

  Client->>API: Undrop { targets: &[TabularId], warehouse }
  API->>Auth: is_allowed_table/view_action per TabularId
  Auth-->>API: Allowed set
  alt allowed
    API->>Cat: clear_tabular_deleted_at(&[TabularId], warehouse)
    Cat->>PG: clear_tabular_deleted_at(&[TabularId], warehouse)
    PG-->>Cat: UndropTabularResponse[]
    Cat-->>API: Responses
    API-->>Client: 200 OK
  else forbidden
    API-->>Client: 403 Forbidden
  end
Loading

Estimated code review effort

🎯 4 (Complex) | ⏱️ ~60 minutes

Possibly related PRs

Poem

A twitch of whiskers, code in paw,
Views join tables, tidy and raw.
IDs snug in new little coats,
Tasks hop through queues, no more devotes.
I nibble tests, then off I go—hop! 🐇✨

Pre-merge checks and finishing touches

✅ Passed checks (3 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title Check ✅ Passed The title succinctly and accurately summarizes the primary change in this pull request by highlighting the feature addition for task handling on views, reflecting the core objective of extending task support beyond tables to include views. It is clear, concise, and directly related to the extensive code and documentation updates that introduce view-based task logic. There is no extraneous information or vagueness in the phrasing.
Docstring Coverage ✅ Passed No functions found in the changes. Docstring coverage check skipped.
✨ Finishing touches
🧪 Generate unit tests
  • Create PR with unit tests
  • Post copyable unit tests in a comment
  • Commit unit tests in branch ct/tasks-views

📜 Recent review details

Configuration used: CodeRabbit UI

Review profile: CHILL

Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between be1c920 and e7ecd9b.

📒 Files selected for processing (1)
  • docs/docs/api/management-open-api.yaml (1 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). (3)
  • GitHub Check: test
  • GitHub Check: docker / docker
  • GitHub Check: docker / docker
🔇 Additional comments (1)
docs/docs/api/management-open-api.yaml (1)

4864-4878: TaskEntity view variant looks correct

The added view branch mirrors the existing table schema (required type, view-id, and warehouse-id with UUID formats), so the OpenAPI now matches the new backend variant. Looks good.


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.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@c-thiel c-thiel changed the title feat: Add support for view tasks feat: Add support for tasks affecting views Sep 25, 2025
@c-thiel

c-thiel commented Sep 25, 2025

Copy link
Copy Markdown
Member Author

@CodeRabbit review

@coderabbitai

coderabbitai Bot commented Sep 25, 2025

Copy link
Copy Markdown
Contributor
✅ Actions performed

Review triggered.

Note: CodeRabbit is an incremental review system and does not re-review already reviewed commits. This command is applicable only when automatic reviews are paused.

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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 (5)
crates/lakekeeper/src/service/tabular_idents.rs (1)

14-22: Add Serialize derive to TabularId
TabularId is included in API payloads and event metadata and must implement Serialize for JSON (de)serialization. In crates/lakekeeper/src/service/tabular_idents.rs, change:

-use serde::Deserialize;
+use serde::{Deserialize, Serialize};

and add Serialize to the derive on TabularId.

crates/lakekeeper/src/implementations/postgres/tasks/list_tasks.rs (1)

48-52: Ensure view tasks are returned as TaskEntity::View.

Line 48 still hard‑codes every tabular task row to TaskEntity::Table. As soon as we have queued tasks for a view, this path will wrap the view UUID in a TableId and expose it as a table task. Downstream callers will misidentify the entity and will try to follow up with table APIs that will 404 on a view ID. Please extend the SQL to fetch the tabular type (e.g., LEFT JOIN tabular ON ... selecting typ) and plumb it through TaskRow, then branch here:

-        entity: match row.entity_type {
-            EntityType::Tabular => TaskEntity::Table {
-                warehouse_id: row.warehouse_id.into(),
-                table_id: row.entity_id.into(),
-            },
-        },
+        entity: match (row.entity_type, row.entity_tabular_type) {
+            (EntityType::Tabular, Some(TabularType::Table)) => TaskEntity::Table {
+                warehouse_id: row.warehouse_id.into(),
+                table_id: row.entity_id.into(),
+            },
+            (EntityType::Tabular, Some(TabularType::View)) => TaskEntity::View {
+                warehouse_id: row.warehouse_id.into(),
+                view_id: row.entity_id.into(),
+            },
+            _ => {
+                return Err(ErrorModel::internal(
+                    "Task references an unknown tabular entity type.",
+                    "InternalError",
+                    None,
+                ));
+            }
+        },

Make sure both the task and task_log CTEs populate entity_tabular_type so we can distinguish between tables and views in the response.

crates/lakekeeper/src/api/management/v1/warehouse/mod.rs (1)

271-274: Keep the existing wire format for undrop-tabulars.

Switching UndropTabularsRequest.targets from a plain UUID vector to Vec<TabularId> silently changes the JSON shape that clients must send (it now requires the tagged { "type": "...", ... } object form). Existing automation expecting ["uuid1","uuid2"] will now fail to deserialize. Please preserve backwards compatibility—e.g. accept both formats or keep the public request type as the old UUID list while mapping to TabularId internally.

crates/lakekeeper/src/implementations/postgres/tabular/mod.rs (1)

820-827: Return a TabularId in UndropTabularResponse instead of always using TableId
clear_tabular_deleted_at now undrops both tables and views, but the response’s table_id field always wraps the UUID in a TableId, mislabeling view undrops. Update the SQL RETURNING to include the typ (TabularType) and change UndropTabularResponse to carry a TabularId (enum variant) mapped from that typ.

crates/lakekeeper/src/service/task_queue/mod.rs (1)

76-93: Add DB support and tests for TaskEntity::View

  • In crates/lakekeeper/src/implementations/postgres/tasks.rs, extend the EntityType enum with View and update the SQLx mapping.
  • Add a migration that runs ALTER TYPE entity_type ADD VALUE 'view'; so the Postgres enum accepts “view”.
  • Update code in resolve_tasks.rs, get_task_details.rs and list_tasks.rs to match EntityType::View → TaskEntity::View.
  • Add a serde round-trip unit test for TaskEntity::View in crates/lakekeeper/src/service/task_queue/mod.rs.
🧹 Nitpick comments (7)
crates/lakekeeper/src/service/mod.rs (1)

441-455: Add symmetrical TryFrom for ViewId.

This mirrors the TableId conversion and reduces ad-hoc matching at call sites.

Apply this diff near the existing TryFrom for TableId:

 impl TryFrom<TabularId> for TableId {
   type Error = IcebergErrorResponse;

   fn try_from(value: TabularId) -> Result<Self, Self::Error> {
     match value {
       TabularId::Table(value) => Ok(value),
       TabularId::View(_) => Err(ErrorModel::internal(
         "Provided identifier is not a table id",
         "IdentifierIsNotTableID",
         None,
       )
       .into()),
     }
   }
 }
+
+impl TryFrom<TabularId> for ViewId {
+  type Error = IcebergErrorResponse;
+
+  fn try_from(value: TabularId) -> Result<Self, Self::Error> {
+    match value {
+      TabularId::View(value) => Ok(value),
+      TabularId::Table(_) => Err(ErrorModel::internal(
+        "Provided identifier is not a view id",
+        "IdentifierIsNotViewID",
+        None,
+      )
+      .into()),
+    }
+  }
+}
crates/lakekeeper/src/api/management/v1/view.rs (1)

63-73: Use the authz-returned ViewId in get_view_protection for consistency

You’re ignoring the ViewId returned by require_view_action here (unlike set_view_protection). Capture and use it to avoid subtle mismatches.

Apply this diff:

-        authorizer
-            .require_view_action(
+        let view_id = authorizer
+            .require_view_action(
                 &request_metadata,
                 warehouse_id,
-                Ok(Some(view_id)),
+                Ok(Some(view_id)),
                 CatalogViewAction::CanGetMetadata,
             )
-            .await?;
-        let status =
-            C::get_tabular_protected(warehouse_id, view_id.into(), t.transaction()).await?;
+            .await?;
+        let status =
+            C::get_tabular_protected(warehouse_id, view_id.into(), t.transaction()).await?;
crates/lakekeeper/src/catalog/views/create.rs (1)

81-86: Name nit: view_id is a TabularId

Variable name suggests a ViewId but holds a TabularId. Consider tabular_id to reduce confusion.

crates/lakekeeper/src/implementations/postgres/tasks/resolve_tasks.rs (1)

243-252: View tasks will still be surfaced as TaskEntity::Table

Production mapping (Lines 90-94) always constructs TaskEntity::Table for EntityType::Tabular. With view tasks supported, consider joining the tabular table to determine kind (table/view) and emit the appropriate TaskEntity variant.

High-level approach:

  • Join task/task_log to tabular on (warehouse_id, entity_id).
  • Select tabular.kind (or equivalent) and map to TaskEntity::{Table, View}.
  • Keep the current API shape; only fill the correct variant.
crates/lakekeeper/src/service/catalog.rs (1)

206-214: UndropTabularResponse.table_id naming is now misleading

Since undrop can target views too, consider renaming table_id → tabular_id and using a TabularId type in a follow-up to avoid confusion.

crates/lakekeeper/src/implementations/postgres/tasks/get_task_details.rs (1)

91-96: View tasks will be returned as TaskEntity::Table here as well

Same note as resolve_tasks: consider joining tabular to populate the correct TaskEntity variant for view tasks.

crates/lakekeeper/src/api/management/v1/tasks.rs (1)

610-615: Pass TaskEntity by reference to avoid unnecessary move

authorize_get_task_details_for_entity doesn’t need ownership; accept &TaskEntity and pass &entity at call site.

Apply:

-async fn authorize_get_task_details_for_entity<A: Authorizer>(
+async fn authorize_get_task_details_for_entity<A: Authorizer>(
     authorizer: &A,
     request_metadata: &RequestMetadata,
     warehouse_id: WarehouseId,
-    entity: TaskEntity,
+    entity: &TaskEntity,
 ) -> Result<()> {
-    let allowed = match entity {
+    let allowed = match entity {
         TaskEntity::Table { table_id, .. } => authorizer.is_allowed_table_action(
             request_metadata,
             warehouse_id,
             table_id,
             GET_TASK_PERMISSION_TABLE,
         ),
         TaskEntity::View { view_id, .. } => authorizer.is_allowed_view_action(
             request_metadata,
             warehouse_id,
             view_id,
             GET_TASK_PERMISSION_VIEW,
         ),
     }
     .await?
     .into_inner();

And:

-            authorize_get_task_details_for_entity(
+            authorize_get_task_details_for_entity(
                 &authorizer,
                 &request_metadata,
                 warehouse_id,
-                entity,
+                &entity,
             )

Also applies to: 376-381

📜 Review details

Configuration used: CodeRabbit UI

Review profile: CHILL

Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between 8805030 and be1c920.

⛔ Files ignored due to path filters (1)
  • Cargo.lock is excluded by !**/*.lock
📒 Files selected for processing (28)
  • crates/lakekeeper-bin/Cargo.toml (1 hunks)
  • crates/lakekeeper/src/api/management/v1/table.rs (1 hunks)
  • crates/lakekeeper/src/api/management/v1/tasks.rs (9 hunks)
  • crates/lakekeeper/src/api/management/v1/view.rs (1 hunks)
  • crates/lakekeeper/src/api/management/v1/warehouse/mod.rs (3 hunks)
  • crates/lakekeeper/src/api/management/v1/warehouse/undrop.rs (2 hunks)
  • crates/lakekeeper/src/catalog/namespace.rs (1 hunks)
  • crates/lakekeeper/src/catalog/tables.rs (4 hunks)
  • crates/lakekeeper/src/catalog/views/create.rs (1 hunks)
  • crates/lakekeeper/src/catalog/views/drop.rs (2 hunks)
  • crates/lakekeeper/src/catalog/views/rename.rs (1 hunks)
  • crates/lakekeeper/src/implementations/postgres/catalog.rs (1 hunks)
  • crates/lakekeeper/src/implementations/postgres/namespace.rs (3 hunks)
  • crates/lakekeeper/src/implementations/postgres/tabular/mod.rs (10 hunks)
  • crates/lakekeeper/src/implementations/postgres/tabular/table/mod.rs (5 hunks)
  • crates/lakekeeper/src/implementations/postgres/tabular/view/mod.rs (5 hunks)
  • crates/lakekeeper/src/implementations/postgres/tasks/get_task_details.rs (2 hunks)
  • crates/lakekeeper/src/implementations/postgres/tasks/list_tasks.rs (4 hunks)
  • crates/lakekeeper/src/implementations/postgres/tasks/resolve_tasks.rs (6 hunks)
  • crates/lakekeeper/src/service/catalog.rs (2 hunks)
  • crates/lakekeeper/src/service/event_publisher/mod.rs (9 hunks)
  • crates/lakekeeper/src/service/mod.rs (2 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 (2 hunks)
  • crates/lakekeeper/src/service/tabular_idents.rs (3 hunks)
  • crates/lakekeeper/src/service/task_queue/mod.rs (4 hunks)
  • crates/lakekeeper/src/tests/soft_deletion.rs (1 hunks)
🧰 Additional context used
🧠 Learnings (7)
📚 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/catalog/views/drop.rs
  • crates/lakekeeper/src/service/storage/mod.rs
  • crates/lakekeeper/src/service/tabular_idents.rs
  • crates/lakekeeper/src/implementations/postgres/tabular/view/mod.rs
  • crates/lakekeeper/src/catalog/views/create.rs
  • crates/lakekeeper/src/service/mod.rs
  • crates/lakekeeper/src/api/management/v1/view.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/storage/s3.rs
  • crates/lakekeeper/src/service/storage/mod.rs
  • crates/lakekeeper/src/service/tabular_idents.rs
  • crates/lakekeeper/src/implementations/postgres/tabular/view/mod.rs
  • crates/lakekeeper/src/catalog/tables.rs
  • crates/lakekeeper/src/catalog/views/create.rs
  • crates/lakekeeper/src/implementations/postgres/tabular/mod.rs
  • crates/lakekeeper/src/service/storage/az.rs
  • crates/lakekeeper/src/service/mod.rs
📚 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/storage/s3.rs
  • crates/lakekeeper/src/service/storage/mod.rs
  • crates/lakekeeper/src/catalog/views/create.rs
  • crates/lakekeeper/src/tests/soft_deletion.rs
  • crates/lakekeeper/src/service/storage/az.rs
📚 Learning: 2025-08-31T12:39:49.486Z
Learnt from: c-thiel
PR: lakekeeper/lakekeeper#1316
File: .sqlx/query-98ca1801d4e1cf55ce25e7da1de6d4a49d6b32d58bbe53a9ba6ff5284ced6460.json:3-3
Timestamp: 2025-08-31T12:39:49.486Z
Learning: The unique constraint on task(warehouse_id, entity_type, entity_id, queue_name) exists as 'task_warehouse_entity_queue_unique' and was created in migration 20250523101407_tasks_store_their_state.sql, supporting ON CONFLICT operations on these columns.

Applied to files:

  • crates/lakekeeper/src/service/task_queue/mod.rs
  • crates/lakekeeper/src/implementations/postgres/tasks/resolve_tasks.rs
📚 Learning: 2025-09-18T20:08:00.663Z
Learnt from: c-thiel
PR: lakekeeper/lakekeeper#1254
File: .sqlx/query-552ddb89100de8fb3c374e95c885dfd2da32c9d51d30acf2d60811edbd545dbc.json:3-3
Timestamp: 2025-09-18T20:08:00.663Z
Learning: In the lakekeeper codebase, table_id and view_id are scoped by warehouse_id through composite primary keys (warehouse_id, table_id) and (warehouse_id, view_id). This design allows ID reuse across warehouses while preventing cross-warehouse joins through proper foreign key constraints. When reviewing SQL queries, JOIN conditions like `t.warehouse_id = $1 AND t.table_id = ti.tabular_id` are correct because they ensure warehouse scoping without needing additional `ti.warehouse_id = $1` constraints.

Applied to files:

  • crates/lakekeeper/src/catalog/tables.rs
  • crates/lakekeeper/src/implementations/postgres/tabular/mod.rs
  • crates/lakekeeper/src/implementations/postgres/namespace.rs
📚 Learning: 2025-08-26T12:59:36.239Z
Learnt from: c-thiel
PR: lakekeeper/lakekeeper#1307
File: Cargo.toml:94-94
Timestamp: 2025-08-26T12:59:36.239Z
Learning: The derive_more::Debug derive macro is used in crates/lakekeeper/src/serve.rs in the syntax `#[derive(derive_more::Debug, typed_builder::TypedBuilder)]` on the ServeConfiguration struct. When searching for derive_more::Debug usage, need to use broader patterns that catch multi-trait derive macros.

Applied to files:

  • crates/lakekeeper/src/service/mod.rs
📚 Learning: 2025-08-26T12:59:36.239Z
Learnt from: c-thiel
PR: lakekeeper/lakekeeper#1307
File: Cargo.toml:94-94
Timestamp: 2025-08-26T12:59:36.239Z
Learning: The derive_more::Debug derive macro is used in crates/lakekeeper/src/serve.rs on line 92 in the syntax `#[derive(derive_more::Debug, typed_builder::TypedBuilder)]` on the ServeConfiguration struct. When searching for derive_more::Debug usage, need to use broader patterns that catch multi-trait derive macros, not just exact module path matches.

Applied to files:

  • crates/lakekeeper/src/service/mod.rs
🧬 Code graph analysis (8)
crates/lakekeeper/src/implementations/postgres/tasks/get_task_details.rs (2)
crates/lakekeeper/src/service/task_queue/mod.rs (2)
  • warehouse_id (97-103)
  • to_uuid (204-208)
crates/lakekeeper/src/service/mod.rs (1)
  • to_uuid (474-476)
crates/lakekeeper/src/implementations/postgres/tasks/list_tasks.rs (1)
crates/lakekeeper/src/service/task_queue/mod.rs (4)
  • warehouse_id (97-103)
  • task (456-456)
  • task (468-468)
  • to_uuid (204-208)
crates/lakekeeper/src/api/management/v1/tasks.rs (4)
crates/lakekeeper/src/service/task_queue/mod.rs (8)
  • warehouse_id (97-103)
  • queue_name (116-116)
  • queue_name (326-328)
  • from (48-50)
  • from (134-136)
  • from (140-142)
  • task_id (269-271)
  • task_id (331-333)
crates/lakekeeper/src/implementations/postgres/tasks/list_tasks.rs (1)
  • entities (135-148)
crates/lakekeeper/src/service/catalog.rs (1)
  • clear_tabular_deleted_at (524-528)
crates/lakekeeper/src/implementations/postgres/tabular/mod.rs (1)
  • clear_tabular_deleted_at (745-831)
crates/lakekeeper/src/api/management/v1/warehouse/mod.rs (4)
crates/lakekeeper/src/service/catalog.rs (2)
  • clear_tabular_deleted_at (524-528)
  • transaction (86-86)
crates/lakekeeper/src/implementations/postgres/catalog.rs (1)
  • clear_tabular_deleted_at (254-260)
crates/lakekeeper/src/implementations/postgres/tabular/mod.rs (1)
  • clear_tabular_deleted_at (745-831)
crates/lakekeeper/src/implementations/postgres/mod.rs (1)
  • transaction (111-113)
crates/lakekeeper/src/service/catalog.rs (2)
crates/lakekeeper/src/implementations/postgres/catalog.rs (1)
  • clear_tabular_deleted_at (254-260)
crates/lakekeeper/src/implementations/postgres/tabular/mod.rs (1)
  • clear_tabular_deleted_at (745-831)
crates/lakekeeper/src/service/tabular_idents.rs (2)
crates/lakekeeper/src/implementations/postgres/tabular/mod.rs (5)
  • from (728-733)
  • from (737-742)
  • from (1009-1014)
  • from (1018-1023)
  • from (1027-1032)
crates/lakekeeper/src/service/mod.rs (2)
  • from (95-97)
  • from (113-115)
crates/lakekeeper/src/implementations/postgres/catalog.rs (3)
crates/lakekeeper/src/service/catalog.rs (2)
  • transaction (86-86)
  • clear_tabular_deleted_at (524-528)
crates/lakekeeper/src/implementations/postgres/mod.rs (1)
  • transaction (111-113)
crates/lakekeeper/src/implementations/postgres/tabular/mod.rs (1)
  • clear_tabular_deleted_at (745-831)
crates/lakekeeper/src/implementations/postgres/tasks/resolve_tasks.rs (2)
crates/lakekeeper/src/service/task_queue/mod.rs (2)
  • to_uuid (204-208)
  • warehouse_id (97-103)
crates/lakekeeper/src/service/mod.rs (1)
  • to_uuid (474-476)
⏰ 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). (11)
  • GitHub Check: docker / docker
  • GitHub Check: docker / docker
  • GitHub Check: clippy
  • GitHub Check: docker / docker
  • GitHub Check: test
  • GitHub Check: sqlx-check
  • GitHub Check: check-generated-openapi-matches
  • GitHub Check: docker / docker
  • GitHub Check: security_audit
  • GitHub Check: openfga
  • GitHub Check: security_audit
🔇 Additional comments (50)
crates/lakekeeper-bin/Cargo.toml (1)

29-29: Pinning console dependency to commit looks good

Explicitly pinning lakekeeper-console to rev 761e8422… keeps the UI feature build reproducible alongside the TabularId work. No issues spotted here.

crates/lakekeeper/src/service/storage/s3.rs (2)

1258-1265: LGTM: TabularId now constructed from TableId via Into.

Using TabularId::Table(uuid::Uuid::now_v7().into()) aligns with the new TabularId ownership semantics.


1301-1307: LGTM: Consistent construction in trailing-slash test.

TabularId::Table(uuid::Uuid::now_v7().into()) matches the updated enum payload.

crates/lakekeeper/src/service/storage/az.rs (1)

691-697: LGTM: Updated TabularId construction to use TableId.

TabularId::Table(uuid::Uuid::now_v7().into()) is consistent with the new variant typing.

crates/lakekeeper/src/service/storage/mod.rs (1)

966-973: LGTM: View variant used for default tabular location test.

Switching to TabularId::View(... .into()) keeps test aligned with the enum change.

crates/lakekeeper/src/service/mod.rs (2)

106-112: LGTM: ViewId gains Serialize/Deserialize.

This brings ViewId in line with other ID newtypes and supports (de)serialization in APIs/events.


441-447: LGTM: TryFrom for TableId updated for new payload.

Returning the inner TableId directly is correct now that TabularId::Table holds TableId.

crates/lakekeeper/src/service/tabular_idents.rs (3)

18-22: LGTM: Variant payloads now wrap TableId/ViewId.

Schema annotations keep OpenAPI as Uuid, maintaining external contract.


46-53: LGTM: AsRef remains usable.

Access via id.0 is valid from this child module.


135-144: LGTM: Deref to Uuid preserved.

Display/ToString usages continue to work without change.

crates/lakekeeper/src/tests/soft_deletion.rs (1)

203-207: LGTM: Undrop target uses TabularId::Table with Into.

Matches the new TabularId payload; downstream deref in assertion remains correct.

crates/lakekeeper/src/api/management/v1/table.rs (1)

41-46: LGTM: set_table_protection now passes owned TableId.

TabularId::Table(table_id) is the correct construction post-migration.

crates/lakekeeper/src/catalog/views/drop.rs (2)

66-69: LGTM: Contract verification receives TabularId::View.

This aligns verifier inputs with TabularId-based APIs.


127-133: LGTM: mark_tabular_as_deleted now uses TabularId::View.

Consistent with soft-deletion flow for views.

crates/lakekeeper/src/api/management/v1/view.rs (1)

40-47: Owned ViewId passed via TabularId::View(view_id) looks correct

This aligns with the new TabularId semantics and avoids unnecessary deref. LGTM.

crates/lakekeeper/src/catalog/views/create.rs (1)

81-86: Good: Constructing TabularId::View from an owned ViewId

Using .into() from Uuid → ViewId is consistent with the new model. LGTM.

crates/lakekeeper/src/catalog/namespace.rs (1)

495-497: Correctly extract underlying UUID for purge tasks

Mapping TabularId::{Table,View} to Uuid and TabularType is accurate and keeps EntityId::Tabular consistent. LGTM.

crates/lakekeeper/src/catalog/views/rename.rs (1)

82-86: LGTM: Pass owned ViewId into TabularId::View for contract verification

This matches the TabularId ownership shift and avoids deref churn.

crates/lakekeeper/src/implementations/postgres/tasks/resolve_tasks.rs (1)

243-266: Tests updated to assert explicit TaskEntity variant — OK

Pattern-matching the Table variant and panicking on View maintains current expectations and will catch regressions. LGTM.

Also applies to: 257-266, 336-345, 349-358, 495-503, 554-574, 616-624, 675-684

crates/lakekeeper/src/service/catalog.rs (2)

892-898: Cache warehouse filter updated to handle View variant

Including both Table and View in the warehouse filter path is correct. LGTM.


520-528: clear_tabular_deleted_at API update verified: PostgresCatalog implementation uses the new &[TabularId] signature as expected.

crates/lakekeeper/src/api/management/v1/warehouse/undrop.rs (2)

8-9: Import cleanup is fine

Dropping TableId/ViewId imports here is consistent with TabularId-only request targets.


59-61: is_allowed_table_action takes TableId (newtype over Uuid), not a raw Uuid.

Likely an incorrect or invalid review comment.

crates/lakekeeper/src/implementations/postgres/tasks/get_task_details.rs (1)

357-366: Tests assert Table variant explicitly — OK

The assertions reflect current behavior and will trip if/when you change to View-aware mapping.

Also applies to: 668-677

crates/lakekeeper/src/implementations/postgres/tabular/mod.rs (5)

170-172: LGTM: Correct TabularId construction from DB rows

Using TabularId::Table/View with .into() on the UUID is consistent with the new TabularId API and codebase patterns.


314-321: LGTM: Consistent TabularId mapping in identifier map

Insertion uses the right TabularId variants for Table/View and matches the SQL-selected typ.


530-546: LGTM: list_tabulars returns properly typed TabularId

The variant selection based on t.typ and .into() on the UUID is correct.


745-751: Good: clear_tabular_deleted_at now accepts &[TabularId] and binds UUIDs safely

The API surface aligns with TabularId, and converting to Vec for SQL binding is appropriate. Binding as &tabular_ids works with ANY($1::uuid[]).

Please confirm all callers now pass TabularId (no remaining &[Uuid] call sites).

Also applies to: 787-787


1091-1104: LGTM: Tests updated to use TabularId variants

Using TabularId::Table/View in tests keeps them aligned with the new API.

Also applies to: 1115-1115, 1257-1257

crates/lakekeeper/src/api/management/v1/tasks.rs (5)

21-24: LGTM: Split table/view permissions constants

Clear separation of GET and CONTROL permissions per entity type improves readability and future policy changes.


364-383: LGTM: Warehouse scoping and entity-level auth for task details

Validating the task’s entity belongs to the target warehouse and then checking entity-specific permission if warehouse-wide isn’t granted is correct.


435-448: LGTM: Handling tabular-expiration tasks for both tables and views

Collecting TabularId for expiration tasks and invoking clear_tabular_deleted_at before cancel is correct and matches the new TabularId API.

Please ensure clear_tabular_deleted_at works for views end-to-end (response type vs. TabularId noted separately in tabular module).

Also applies to: 492-497


449-483: LGTM: Fine-grained authorize-control with partitioned table/view checks

partition_map with Either cleanly separates entities and selects CanUndrop for expiration tasks vs. control permission otherwise. Aggregating denial details for both types is helpful.

Also applies to: 645-712


518-608: LGTM: list-tasks auth with warehouse scoping and per-entity checks

  • Rejecting cross-warehouse entities is correct.
  • Splitting into table/view action checks and requiring GET permission per entity when lacking CanListEverything aligns with least privilege.

If entities includes both tables and views, verify authorizer.are_allowed_*_actions handles empty vectors gracefully (should return Ok(vec![])).

crates/lakekeeper/src/implementations/postgres/namespace.rs (3)

497-498: LGTM! Ownership-based TabularId construction is correct.

The change from TabularId::Table(*id) to TabularId::Table(id.into()) and TabularId::View(*id) to TabularId::View(id.into()) aligns with the PR's shift toward owned TabularId variants. The .into() conversion properly handles the transformation from the database's UUID type to the appropriate TableId/ViewId type.


1029-1029: LGTM! Consistent with ownership semantics changes.

The test expectation correctly changes from TabularId::Table(*table.table_id) to TabularId::Table(table.table_id), removing the unnecessary dereference and passing the TableId by value. This aligns with the broader pattern of TabularId owning its inner ID values.


1350-1350: LGTM! Test updated to match new TabularId ownership semantics.

The change from TabularId::Table(*tab.table_id) to TabularId::Table(tab.table_id) correctly removes the dereference operation, allowing TabularId to take ownership of the TableId value as intended by the PR changes.

crates/lakekeeper/src/implementations/postgres/tabular/table/mod.rs (4)

128-128: LGTM! Simplified ownership transfer in resolve_table_ident.

The change from table_id: tab.into() to table_id: tab correctly removes the unnecessary conversion since tab is already the appropriate TableId type after the pattern matching on TabularId::Table(tab).


230-230: LGTM! Direct return of TableId in list_tables mapping.

The change from TableId::from(*t) to simply t is correct since t is already a TableId from the pattern match TabularId::Table(t), eliminating unnecessary dereferencing and conversion.


996-996: LGTM! Consistent TabularId ownership in table operations.

Both changes from TabularId::Table(*source_id) to TabularId::Table(source_id) and TabularId::Table(*table_id) to TabularId::Table(table_id) correctly remove dereference operations, allowing TabularId to take ownership of the ID values as intended.

Also applies to: 1014-1014


2090-2090: LGTM! Test updated for new TabularId ownership semantics.

The change from TabularId::Table(*table.table_id) to TabularId::Table(table.table_id) in the test correctly removes the dereference, consistent with the overall shift to owned TabularId variants.

crates/lakekeeper/src/service/event_publisher/mod.rs (1)

110-110: LGTM! Consistent TabularId ownership in event metadata construction.

All changes correctly remove dereferences when constructing TabularId variants:

  • Lines 110, 143, 234: TabularId::Table(table_id) instead of TabularId::Table(*table_id)
  • Lines 173, 205: TabularId::Table(metadata.uuid().into()) with proper UUID conversion
  • Lines 266, 300: TabularId::View(metadata.uuid().into()) and TabularId::View(metadata.new_metadata.uuid().into()) for view operations
  • Lines 333, 365: TabularId::View(view_ident_uuid) for view drop/rename operations

These changes align with the PR's goal of having TabularId variants own their inner ID values rather than borrowing them.

Also applies to: 143-143, 173-173, 205-205, 234-234, 266-266, 300-300, 333-333, 365-365

crates/lakekeeper/src/implementations/postgres/tabular/view/mod.rs (4)

60-60: LGTM! Direct ViewId ownership in view_ident_to_id.

The change from dereferencing with TabularId::View(view) => Ok(*view) to direct ownership TabularId::View(view) => Ok(view) correctly eliminates the unnecessary dereference operation, allowing the ViewId to be returned by value.


191-191: LGTM! Consistent TabularId ownership in view operations.

Both changes remove unnecessary dereferences:

  • Line 191: TabularId::View(*view_id) → TabularId::View(view_id) in drop_view
  • Line 209: TabularId::View(*source_id) → TabularId::View(source_id) in rename_view

This aligns with the PR's shift toward TabularId variants owning their inner ID values.

Also applies to: 209-209


511-511: LGTM! Direct ViewId return in list_views mapping.

The change from TabularId::View(t) => Ok(*t) to TabularId::View(t) => Ok(t) correctly removes the dereference, allowing the ViewId to be returned directly by value from the pattern match.


893-893: LGTM! Test updated for owned TabularId semantics.

The change from TabularId::View(*created_meta.uuid()) to TabularId::View(created_meta.uuid().into()) correctly uses .into() to convert the UUID to ViewId and constructs the TabularId with owned values rather than dereferenced ones.

crates/lakekeeper/src/service/task_queue/mod.rs (2)

11-12: Import update for ViewId is correct

Importing ViewId alongside TableId matches the new TaskEntity variant.


908-909: Serde test tweak LGTM

Switching to serialize the owned value is fine and keeps the test straightforward.

crates/lakekeeper/src/implementations/postgres/catalog.rs (1)

255-260: Signature alignment verified: clear_tabular_deleted_at now takes &[TabularId] across all implementations and call sites. No remaining references to the old signature.

crates/lakekeeper/src/catalog/tables.rs (1)

172-176: Approve owned TabularId usage
All check_*/mark_tabular_as_deleted calls now receive an owned TabularId (via TabularId::Table(...) or .into()) and there are no remaining by-reference TableId/Uuid call sites.

@github-actions

Copy link
Copy Markdown
Contributor

✅ PR Title Formatted Correctly

The title of this PR match the correct format. Thank you!

@c-thiel
c-thiel merged commit 62d9f5b into main Sep 25, 2025
@c-thiel
c-thiel deleted the ct/tasks-views branch September 25, 2025 16:11
@c-thiel c-thiel mentioned this pull request Sep 25, 2025
mrjoe7 added a commit to mrjoe7/lakekeeper that referenced this pull request Oct 30, 2025
* 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]>
@coderabbitai coderabbitai Bot mentioned this pull request Jul 27, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant