Skip to content

chore: Restructure catalog_store into multiple modules - #1434

Merged
c-thiel merged 2 commits into
mainfrom
ct/refactor-catalog-store
Oct 8, 2025
Merged

c-thiel merged 2 commits into
mainfrom
ct/refactor-catalog-store

Conversation

@c-thiel

@c-thiel c-thiel commented Oct 8, 2025 •

Copy link
Copy Markdown
Member

Summary by CodeRabbit

  • New Features

    • Added granular tabular listing controls (TabularListFlags) for active, staged, and deleted items.
    • Expanded management responses and types for namespaces, projects, warehouses, server info, tabular metadata, and views.
    • Introduced unified task operations with built-in caching to speed up task resolution and management.
  • Refactor

    • Standardized task-related APIs and naming across the service, consolidating task modules.
    • Reorganized catalog store APIs into clearer domain modules without changing core behavior.
  • Tests

    • Updated tests to reflect the new task and tabular listing APIs and naming.

@coderabbitai

coderabbitai Bot commented Oct 8, 2025 •

Copy link
Copy Markdown
Contributor

Walkthrough

Renames module path task_queue → tasks across the codebase, replaces ListFlags with TabularListFlags in tabular-related APIs, introduces CatalogTaskOps with caching and delegates to *_impl methods, modularizes CatalogStore public API into domain-specific modules, and renames authz trait TableUuid → AsTableId. Multiple signatures updated to use TabularListFlags.

Changes

Cohort / File(s) Summary
Flags: ListFlags → TabularListFlags
crates/authz-openfga/src/check.rs, crates/lakekeeper/src/server/{tables.rs,tabular.rs,tables/load_table.rs,s3_signer/sign.rs}, crates/lakekeeper/src/api/management/v1/warehouse/mod.rs, crates/lakekeeper/src/implementations/postgres/tabular/{mod.rs,table/mod.rs,view/mod.rs}, crates/lakekeeper/src/implementations/postgres/catalog.rs, crates/lakekeeper/src/service/tasks/tabular_expiration_queue.rs
Replaces ListFlags with TabularListFlags in imports, function params, and call sites; tests updated accordingly.
Tasks module relocation: task_queue → tasks
crates/lakekeeper-bin/src/main.rs, crates/lakekeeper/src/api/{router.rs,management/mod.rs,management/v1/tasks.rs}, crates/lakekeeper/src/implementations/postgres/tasks/{mod.rs,get_task_details.rs,list_tasks.rs,resolve_tasks.rs}, crates/lakekeeper/src/implementations/postgres/{namespace.rs,tabular/mod.rs}, crates/lakekeeper/src/serve.rs, crates/lakekeeper/src/server/{views/drop.rs,tables.rs}, crates/lakekeeper/src/service/tasks/{mod.rs,tabular_expiration_queue.rs,tabular_purge_queue.rs,task_queues_runner.rs,task_registry.rs}, crates/lakekeeper/src/tests/{mod.rs,soft_deletion.rs,tasks.rs}
Updates imports and type paths from service::task_queue to service::tasks; no behavioral changes.
CatalogStore API modularization
crates/lakekeeper/src/service/catalog_store.rs, crates/lakekeeper/src/service/catalog_store/{namespace.rs,project.rs,server.rs,tabular.rs,tasks.rs,user.rs,warehouse.rs}
Splits monolithic API into modules; adds new public data types (e.g., TabularListFlags, GetTableMetadataResponse, ServerInfo, WarehouseStatus); introduces CatalogTaskOps with caching and *_impl delegates.
Authz trait rename
crates/lakekeeper/src/service/authz/mod.rs
Renames TableUuid → AsTableId; method table_uuid() → as_table_id(); adjusts bounds and call sites.
Service re-exports and module rename
crates/lakekeeper/src/service/mod.rs
Renames pub mod task_queue → tasks; updates re-exports to include CatalogTaskOps, TabularListFlags, WarehouseStatus; removes DropFlags/ListFlags.
Postgres Catalog implementation updates
crates/lakekeeper/src/implementations/postgres/catalog.rs
Switches to TabularListFlags in several methods; renames task methods to *_impl; updates imports from task_queue → tasks; adjusts public export list.

Sequence Diagram(s)

sequenceDiagram
  autonumber
  actor Worker
  participant Catalog as CatalogStore + CatalogTaskOps
  participant DB as Postgres Impl
  participant Cache as TASKS_CACHE

  rect rgb(245,248,252)
    Note over Worker,Catalog: Pick and run a task (delegates via CatalogTaskOps)
    Worker->>Catalog: pick_new_task(queue, heartbeat_ttl, state)
    Catalog->>DB: pick_new_task_impl(...)
    DB-->>Catalog: Option<Task>
    Catalog-->>Worker: Option<Task>
  end

  rect rgb(248,246,252)
    Note over Worker,Catalog: Resolve tasks with caching (new/changed)
    Worker->>Catalog: resolve_tasks(warehouse_id?, task_ids, state)
    Catalog->>Cache: get_many(task_ids)
    Cache-->>Catalog: {cached_hits, misses}
    alt misses not empty
      Catalog->>DB: resolve_tasks_impl(warehouse_id?, misses, state)
      DB-->>Catalog: Map<TaskId,(TaskEntity,TaskQueueName)>
      Catalog->>Cache: insert_many(resolved)
    end
    Catalog-->>Worker: Map<TaskId,(TaskEntity,TaskQueueName)>
  end
Loading
sequenceDiagram
  autonumber
  actor Client
  participant Server as server/tables
  participant Store as CatalogStore
  Note over Client,Server: Fetch table metadata using TabularListFlags (renamed)
  Client->>Server: load_table(...)
  Server->>Server: build TabularListFlags {include_active,include_staged,include_deleted}
  Server->>Store: get_table_metadata_by_id(..., TabularListFlags)
  Store-->>Server: GetTableMetadataResponse
  Server-->>Client: Response
Loading

Estimated code review effort

🎯 4 (Complex) | ⏱️ ~60–90 minutes

Possibly related PRs

Poem

A hop, a skip, a module rename,
Flags retitled, tasks the same.
Caches warm where rabbits tread,
Tabular trails where carrots led.
With AsTableId, we bound our claim—
Now onward, code, in tidy frame! 🥕🐇

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 “chore: Restructure catalog_store into multiple modules” succinctly captures the primary change of splitting the monolithic catalog_store surface into separate modules without extraneous detail.
Docstring Coverage ✅ Passed Docstring coverage is 100.00% which is sufficient. The required threshold is 80.00%.
✨ Finishing touches
  • 📝 Generate docstrings
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Post copyable unit tests in a comment
  • Commit unit tests in branch ct/refactor-catalog-store

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.

@github-actions

github-actions Bot commented Oct 8, 2025

Copy link
Copy Markdown
Contributor

✅ PR Title Formatted Correctly

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

@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: 0

Caution

Some comments are outside the diff and can’t be posted inline due to platform limitations.

⚠️ Outside diff range comments (3)
crates/lakekeeper/src/implementations/postgres/tabular/table/mod.rs (2)

891-897: Honor include_active in WHERE clause (avoid returning active rows when only_deleted is requested).

Current filter uses (ti.deleted_at IS NULL OR $3) (include_deleted) and ignores include_active. With TabularListFlags::only_deleted(), active rows still match. Filter should be:

  • include active when include_active is true
  • include deleted when include_deleted is true

Apply:

         WHERE t.warehouse_id = $1 AND t."table_id" = $2
             AND w.status = 'active'
-            AND (ti.deleted_at IS NULL OR $3)
+            AND ( ($4 AND ti.deleted_at IS NULL) OR ($3 AND ti.deleted_at IS NOT NULL) )
         "#,
         *warehouse_id,
         *table,
-        list_flags.include_deleted
+        list_flags.include_deleted,
+        list_flags.include_active

961-968: Same include_active gap for get_table_metadata_by_s3_location + possible i32 overflow.

  • Filter ignores include_active and returns active rows under only_deleted().
  • unwrap_or(i32::MAX) + 1 can overflow; use saturating addition.

Apply:

-        AND LENGTH(ti.fs_location) <= $3
+        AND LENGTH(ti.fs_location) <= $3
         AND w.status = 'active'
-        AND (ti.deleted_at IS NULL OR $4)
+        AND ( ($5 AND ti.deleted_at IS NULL) OR ($4 AND ti.deleted_at IS NOT NULL) )
         "#,
         *warehouse_id,
-        partial_locations.as_slice(),
-        i32::try_from(fs_location.len()).unwrap_or(i32::MAX) + 1, // account for maybe trailing
-        list_flags.include_deleted
+        partial_locations.as_slice(),
+        max_prefix_len, // computed below, avoids overflow
+        list_flags.include_deleted,
+        list_flags.include_active
     )

And define max_prefix_len before the query:

let max_prefix_len: i32 = i32::try_from(fs_location.len())
    .unwrap_or(i32::MAX)
    .saturating_add(1); // account for maybe trailing
crates/lakekeeper/src/service/catalog_store.rs (1)

422-431: Doc mismatch: load_tables does include staged tables in practice.

Tests assert staged tables load with metadata_location.is_none(). Either update docs or filter staged in impl. Recommend updating the doc:

-/// Load tables by table id.
-/// Does not return staged tables.
+/// Load tables by table id.
+/// May return staged tables (metadata_location can be None).
🧹 Nitpick comments (10)
crates/lakekeeper/src/api/management/v1/tasks.rs (1)

11-18: Remove unused import CatalogTaskOps (keeps build warnings clean)

It isn't used in this file.

-        CatalogStore, CatalogTaskOps, Result, SecretStore, State, TableId, TabularId, Transaction,
+        CatalogStore, Result, SecretStore, State, TableId, TabularId, Transaction,
crates/lakekeeper/src/service/catalog_store/warehouse.rs (2)

42-60: Rename storage_secret_id to storage_secret_ident for consistency

Elsewhere we use “ident” (and the type is SecretIdent). Align the field name to avoid confusion.

-    /// Storage secret ID used for the warehouse.
-    pub storage_secret_id: Option<SecretIdent>,
+    /// Storage secret ident used for the warehouse.
+    pub storage_secret_ident: Option<SecretIdent>,

1-4: Reduce cross-layer coupling

This module (service/catalog_store) imports TabularDeleteProfile from api::management. Consider moving TabularDeleteProfile to a shared domain module to avoid service→api dependency.

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

435-446: List flags logic is correct; remove redundant WHERE filter on LEFT JOIN

  • include_active/include_deleted/include_staged gating is correct.
  • The WHERE clause “tt.queue_name = 'tabular_expiration' OR tt.queue_name IS NULL” is redundant given the LEFT JOIN already filters queue_name; you can drop it to simplify.
-        LEFT JOIN task tt ON (t.tabular_id = tt.entity_id AND tt.entity_type in ('table', 'view') AND queue_name = 'tabular_expiration' AND tt.warehouse_id = $1)
-        WHERE t.warehouse_id = $1 AND (tt.queue_name = 'tabular_expiration' OR tt.queue_name is NULL)
+        LEFT JOIN task tt ON (t.tabular_id = tt.entity_id AND tt.entity_type in ('table', 'view') AND tt.queue_name = 'tabular_expiration' AND tt.warehouse_id = $1)
+        WHERE t.warehouse_id = $1

Also applies to: 464-503

crates/lakekeeper/src/service/catalog_store/namespace.rs (1)

19-37: DTOs for listing and drop info: LGTM; tiny readability nit

Consider importing HashMap at top and using Option<HashMap<String, String>> for properties.

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

205-210: TabularListFlags usage per endpoint looks right

Selections (active-only vs active+staged) align with intent. Consider using helper constructors (e.g., TabularListFlags::active()) for consistency/readability where applicable.

Also applies to: 361-366, 489-494, 621-625, 665-668

crates/lakekeeper/src/service/catalog_store/tasks.rs (2)

25-38: Prefer builder.time_to_live over custom Expiry.

Simpler and clearer; removes bespoke type.

-struct TasksCacheExpiry;
-const TASKS_CACHE_TTL: Duration = Duration::from_secs(60 * 60);
-impl<K, V> moka::Expiry<K, V> for TasksCacheExpiry {
-    fn expire_after_create(&self, _key: &K, _value: &V, _created_at: Instant) -> Option<Duration> {
-        Some(TASKS_CACHE_TTL)
-    }
-}
-static TASKS_CACHE: LazyLock<moka::future::Cache<TaskId, (TaskEntity, TaskQueueName)>> =
-    LazyLock::new(|| {
-        moka::future::Cache::builder()
-            .max_capacity(10000)
-            .expire_after(TasksCacheExpiry)
-            .build()
-    });
+const TASKS_CACHE_TTL: Duration = Duration::from_secs(60 * 60);
+static TASKS_CACHE: LazyLock<moka::future::Cache<TaskId, (TaskEntity, TaskQueueName)>> =
+    LazyLock::new(|| {
+        moka::future::Cache::builder()
+            .max_capacity(10_000)
+            .time_to_live(TASKS_CACHE_TTL)
+            .build()
+    });

If current moka version lacks time_to_live, keep Expiry.


178-218: Cache logic is fine; consider negative caching as an optional improvement.

Caching “not found” (e.g., store a tombstone) can cut repeated lookups for missing IDs. Optional.

crates/lakekeeper/src/service/catalog_store/tabular.rs (1)

18-52: Add Default for TabularListFlags (defaults to active()).

Reduces boilerplate at call sites.

 impl TabularListFlags {
@@
 }
+
+impl Default for TabularListFlags {
+    fn default() -> Self {
+        Self::active()
+    }
+}
crates/lakekeeper/src/implementations/postgres/tasks/get_task_details.rs (1)

43-45: Prefer Reverse over negation for descending sort

Use std::cmp::Reverse to avoid negation tricks and potential overflow on i32::MIN (unlikely but clearer).

Apply within this function:

-    // Sort by attempt descending
-    records.sort_by_key(|r| -r.attempt);
+    // Sort by attempt descending
+    records.sort_by_key(|r| std::cmp::Reverse(r.attempt));

Also add (once per file, near other use statements):

use std::cmp::Reverse;
📜 Review details

Configuration used: CodeRabbit UI

Review profile: CHILL

Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between e1865ab and 3e450da.

📒 Files selected for processing (40)
  • crates/authz-openfga/src/check.rs (2 hunks)
  • crates/lakekeeper-bin/src/main.rs (1 hunks)
  • crates/lakekeeper/src/api/management/mod.rs (1 hunks)
  • crates/lakekeeper/src/api/management/v1/tasks.rs (1 hunks)
  • crates/lakekeeper/src/api/management/v1/warehouse/mod.rs (2 hunks)
  • crates/lakekeeper/src/api/router.rs (1 hunks)
  • crates/lakekeeper/src/implementations/postgres/catalog.rs (12 hunks)
  • crates/lakekeeper/src/implementations/postgres/namespace.rs (1 hunks)
  • crates/lakekeeper/src/implementations/postgres/tabular/mod.rs (4 hunks)
  • crates/lakekeeper/src/implementations/postgres/tabular/table/mod.rs (38 hunks)
  • crates/lakekeeper/src/implementations/postgres/tabular/view/mod.rs (4 hunks)
  • crates/lakekeeper/src/implementations/postgres/tasks.rs (4 hunks)
  • crates/lakekeeper/src/implementations/postgres/tasks/get_task_details.rs (2 hunks)
  • crates/lakekeeper/src/implementations/postgres/tasks/list_tasks.rs (7 hunks)
  • crates/lakekeeper/src/implementations/postgres/tasks/resolve_tasks.rs (2 hunks)
  • crates/lakekeeper/src/serve.rs (1 hunks)
  • crates/lakekeeper/src/server/namespace.rs (1 hunks)
  • crates/lakekeeper/src/server/s3_signer/sign.rs (3 hunks)
  • crates/lakekeeper/src/server/tables.rs (13 hunks)
  • crates/lakekeeper/src/server/tables/load_table.rs (2 hunks)
  • crates/lakekeeper/src/server/tabular.rs (1 hunks)
  • crates/lakekeeper/src/server/views/drop.rs (2 hunks)
  • crates/lakekeeper/src/service/authz/mod.rs (3 hunks)
  • crates/lakekeeper/src/service/catalog_store.rs (17 hunks)
  • crates/lakekeeper/src/service/catalog_store/namespace.rs (1 hunks)
  • crates/lakekeeper/src/service/catalog_store/project.rs (1 hunks)
  • crates/lakekeeper/src/service/catalog_store/server.rs (1 hunks)
  • crates/lakekeeper/src/service/catalog_store/tabular.rs (1 hunks)
  • crates/lakekeeper/src/service/catalog_store/tasks.rs (1 hunks)
  • crates/lakekeeper/src/service/catalog_store/user.rs (1 hunks)
  • crates/lakekeeper/src/service/catalog_store/warehouse.rs (1 hunks)
  • crates/lakekeeper/src/service/mod.rs (1 hunks)
  • crates/lakekeeper/src/service/tasks/mod.rs (3 hunks)
  • crates/lakekeeper/src/service/tasks/tabular_expiration_queue.rs (7 hunks)
  • crates/lakekeeper/src/service/tasks/tabular_purge_queue.rs (1 hunks)
  • crates/lakekeeper/src/service/tasks/task_queues_runner.rs (1 hunks)
  • crates/lakekeeper/src/service/tasks/task_registry.rs (2 hunks)
  • crates/lakekeeper/src/tests/mod.rs (1 hunks)
  • crates/lakekeeper/src/tests/soft_deletion.rs (1 hunks)
  • crates/lakekeeper/src/tests/tasks.rs (2 hunks)
🧰 Additional context used
🧠 Learnings (1)
📚 Learning: 2025-09-25T06:54:15.179Z
Learnt from: c-thiel
PR: lakekeeper/lakekeeper#1378
File: crates/lakekeeper/src/api/management/v1/warehouse/undrop.rs:51-53
Timestamp: 2025-09-25T06:54:15.179Z
Learning: In the lakekeeper codebase, when iterating over &[TabularId] and pattern matching TabularId::View(id), the id variable has type &ViewId. Using *id correctly dereferences to get ViewId, which can be passed directly to authorization methods that expect ViewId parameters.

Applied to files:

  • crates/lakekeeper/src/service/authz/mod.rs
🧬 Code graph analysis (32)
crates/lakekeeper/src/implementations/postgres/tabular/view/mod.rs (3)
crates/lakekeeper/src/service/tasks/mod.rs (1)
  • tasks (456-473)
crates/lakekeeper/src/implementations/postgres/tasks/list_tasks.rs (1)
  • tasks (263-266)
crates/lakekeeper/src/implementations/postgres/tasks/resolve_tasks.rs (1)
  • tasks (85-102)
crates/lakekeeper-bin/src/main.rs (1)
crates/lakekeeper/src/service/tasks/mod.rs (1)
  • tasks (456-473)
crates/lakekeeper/src/implementations/postgres/tasks/resolve_tasks.rs (2)
crates/lakekeeper/src/service/tasks/mod.rs (1)
  • tasks (456-473)
crates/lakekeeper/src/implementations/postgres/tasks/list_tasks.rs (1)
  • tasks (263-266)
crates/lakekeeper/src/implementations/postgres/tasks/get_task_details.rs (1)
crates/lakekeeper/src/implementations/postgres/tasks/resolve_tasks.rs (1)
  • tasks (85-102)
crates/lakekeeper/src/service/catalog_store/warehouse.rs (1)
crates/lakekeeper/src/implementations/postgres/tabular/mod.rs (2)
  • sqlx (580-616)
  • sqlx (619-655)
crates/lakekeeper/src/implementations/postgres/tasks.rs (6)
crates/lakekeeper/src/service/tasks/mod.rs (4)
  • tasks (456-473)
  • queue_name (116-116)
  • queue_name (363-365)
  • as_str (66-68)
crates/lakekeeper/src/implementations/postgres/tasks/resolve_tasks.rs (1)
  • tasks (85-102)
crates/lakekeeper/src/service/tasks/tabular_expiration_queue.rs (1)
  • queue_name (60-62)
crates/lakekeeper/src/service/tasks/tabular_purge_queue.rs (1)
  • queue_name (46-48)
crates/lakekeeper/src/service/tasks/task_registry.rs (2)
  • queue_name (332-334)
  • queue_name (348-350)
crates/lakekeeper/src/tests/tasks.rs (1)
  • queue_name (52-54)
crates/lakekeeper/src/implementations/postgres/tabular/mod.rs (2)
crates/lakekeeper/src/implementations/postgres/tasks/list_tasks.rs (1)
  • tasks (263-266)
crates/lakekeeper/src/implementations/postgres/tasks/resolve_tasks.rs (1)
  • tasks (85-102)
crates/lakekeeper/src/server/tabular.rs (1)
crates/lakekeeper/src/service/catalog_store/tabular.rs (1)
  • active (27-33)
crates/lakekeeper/src/service/authz/mod.rs (1)
crates/lakekeeper/src/service/catalog_store/tabular.rs (1)
  • as_table_id (83-85)
crates/lakekeeper/src/api/management/v1/warehouse/mod.rs (1)
crates/lakekeeper/src/service/catalog_store/tabular.rs (1)
  • only_deleted (45-51)
crates/lakekeeper/src/service/tasks/task_registry.rs (3)
crates/lakekeeper/src/service/tasks/mod.rs (1)
  • tasks (456-473)
crates/lakekeeper/src/implementations/postgres/tasks/list_tasks.rs (1)
  • tasks (263-266)
crates/lakekeeper/src/implementations/postgres/tasks/resolve_tasks.rs (1)
  • tasks (85-102)
crates/lakekeeper/src/service/mod.rs (3)
crates/lakekeeper/src/service/tasks/mod.rs (1)
  • tasks (456-473)
crates/lakekeeper/src/implementations/postgres/tasks/list_tasks.rs (1)
  • tasks (263-266)
crates/lakekeeper/src/implementations/postgres/tasks/resolve_tasks.rs (1)
  • tasks (85-102)
crates/lakekeeper/src/service/tasks/mod.rs (2)
crates/lakekeeper/src/api/management/mod.rs (1)
  • from (1655-1660)
crates/lakekeeper/src/implementations/postgres/tasks.rs (1)
  • from (37-42)
crates/lakekeeper/src/implementations/postgres/tabular/table/mod.rs (1)
crates/lakekeeper/src/service/catalog_store/tabular.rs (1)
  • active (27-33)
crates/lakekeeper/src/service/catalog_store/tabular.rs (1)
crates/lakekeeper/src/service/authz/mod.rs (3)
  • as_table_id (137-137)
  • as_table_id (141-143)
  • as_table_id (147-149)
crates/lakekeeper/src/tests/tasks.rs (3)
crates/lakekeeper/src/api/management/v1/warehouse/mod.rs (1)
  • set_task_queue_config (977-1027)
crates/lakekeeper/src/implementations/postgres/tasks.rs (1)
  • set_task_queue_config (657-700)
crates/lakekeeper/src/service/catalog_store/tasks.rs (1)
  • set_task_queue_config (241-248)
crates/lakekeeper/src/api/management/v1/tasks.rs (4)
crates/lakekeeper/src/service/tasks/mod.rs (1)
  • tasks (456-473)
crates/lakekeeper/src/implementations/postgres/tasks/list_tasks.rs (1)
  • tasks (263-266)
crates/lakekeeper/src/implementations/postgres/tasks/resolve_tasks.rs (1)
  • tasks (85-102)
crates/lakekeeper/src/service/tasks/task_registry.rs (1)
  • tabular_expiration_queue (194-194)
crates/lakekeeper/src/server/views/drop.rs (2)
crates/lakekeeper/src/service/tasks/mod.rs (1)
  • tasks (456-473)
crates/lakekeeper/src/implementations/postgres/tasks/resolve_tasks.rs (1)
  • tasks (85-102)
crates/lakekeeper/src/service/catalog_store/server.rs (2)
crates/lakekeeper/src/service/authz/mod.rs (2)
  • server_id (209-209)
  • server_id (1091-1093)
crates/lakekeeper/src/service/mod.rs (1)
  • server_id (56-58)
crates/lakekeeper/src/service/tasks/tabular_expiration_queue.rs (1)
crates/lakekeeper/src/service/tasks/task_registry.rs (1)
  • new (133-138)
crates/lakekeeper/src/implementations/postgres/namespace.rs (1)
crates/lakekeeper/src/implementations/postgres/tasks/resolve_tasks.rs (1)
  • tasks (85-102)
crates/lakekeeper/src/tests/soft_deletion.rs (1)
crates/lakekeeper/src/service/tasks/task_registry.rs (1)
  • tabular_expiration_queue (194-194)
crates/lakekeeper/src/api/management/mod.rs (3)
crates/lakekeeper/src/service/tasks/mod.rs (1)
  • tasks (456-473)
crates/lakekeeper/src/implementations/postgres/tasks/list_tasks.rs (1)
  • tasks (263-266)
crates/lakekeeper/src/implementations/postgres/tasks/resolve_tasks.rs (1)
  • tasks (85-102)
crates/lakekeeper/src/service/tasks/task_queues_runner.rs (1)
crates/lakekeeper/src/implementations/postgres/tasks/resolve_tasks.rs (1)
  • tasks (85-102)
crates/lakekeeper/src/service/tasks/tabular_purge_queue.rs (2)
crates/lakekeeper/src/service/tasks/mod.rs (1)
  • tasks (456-473)
crates/lakekeeper/src/implementations/postgres/tasks/resolve_tasks.rs (1)
  • tasks (85-102)
crates/lakekeeper/src/service/catalog_store/namespace.rs (1)
crates/lakekeeper/src/implementations/postgres/tasks/resolve_tasks.rs (1)
  • tasks (85-102)
crates/lakekeeper/src/server/tables.rs (1)
crates/lakekeeper/src/service/catalog_store/tabular.rs (2)
  • all (36-42)
  • active (27-33)
crates/lakekeeper/src/implementations/postgres/catalog.rs (1)
crates/lakekeeper/src/service/catalog_store.rs (5)
  • enqueue_tasks_impl (689-693)
  • cancel_scheduled_tasks_impl (699-704)
  • stop_tasks_impl (718-721)
  • set_task_queue_config_impl (732-737)
  • get_task_queue_config_impl (739-743)
crates/lakekeeper/src/service/catalog_store.rs (5)
crates/lakekeeper/src/implementations/postgres/catalog.rs (24)
  • create_project (413-419)
  • delete_project (422-427)
  • get_project (430-435)
  • list_projects (437-442)
  • create_warehouse (393-410)
  • list_warehouses (461-467)
  • get_warehouse (469-474)
  • set_warehouse_status (516-522)
  • update_storage_profile (524-537)
  • load_storage_profile (673-679)
  • list_tabulars (654-671)
  • search_tabular (646-652)
  • view_to_id (539-545)
  • create_view (547-566)
  • load_view (568-575)
  • list_views (577-592)
  • update_view_metadata (594-625)
  • drop_view (627-634)
  • rename_view (636-644)
  • enqueue_tasks_impl (777-790)
  • cancel_scheduled_tasks_impl (792-799)
  • stop_tasks_impl (810-815)
  • set_task_queue_config_impl (825-832)
  • get_task_queue_config_impl (834-840)
crates/lakekeeper/src/implementations/postgres/warehouse.rs (9)
  • create_project (207-235)
  • delete_project (271-299)
  • get_project (237-269)
  • list_projects (413-438)
  • create_warehouse (117-181)
  • list_warehouses (301-366)
  • get_warehouse (368-411)
  • set_warehouse_status (532-554)
  • update_storage_profile (588-623)
crates/lakekeeper/src/implementations/postgres/tabular/table/mod.rs (2)
  • format (1318-1320)
  • load_storage_profile (615-642)
crates/lakekeeper/src/implementations/postgres/tabular/mod.rs (3)
  • list_tabulars (435-566)
  • search_tabular (573-659)
  • location (350-359)
crates/lakekeeper/src/implementations/postgres/tabular/view/mod.rs (5)
  • create_view (66-181)
  • create_view (701-805)
  • list_views (480-517)
  • drop_view (183-198)
  • rename_view (201-218)
crates/lakekeeper/src/server/namespace.rs (5)
crates/lakekeeper/src/service/tasks/tabular_expiration_queue.rs (1)
  • tabular_purge_queue (221-221)
crates/lakekeeper/src/service/tasks/task_registry.rs (1)
  • tabular_purge_queue (215-215)
crates/lakekeeper/src/server/tables.rs (1)
  • TabularPurgeTask (530-530)
crates/lakekeeper/src/server/views/drop.rs (1)
  • TabularPurgeTask (78-78)
crates/lakekeeper/src/service/tasks/tabular_purge_queue.rs (1)
  • TabularPurgeTask (67-67)
crates/lakekeeper/src/service/catalog_store/tasks.rs (3)
crates/lakekeeper/src/implementations/postgres/tasks/resolve_tasks.rs (2)
  • tasks (85-102)
  • resolve_tasks (16-105)
crates/lakekeeper/src/implementations/postgres/catalog.rs (13)
  • pick_new_task_impl (721-732)
  • record_task_success_impl (742-748)
  • record_task_failure_impl (750-757)
  • cancel_scheduled_tasks_impl (792-799)
  • check_and_heartbeat_task_impl (801-808)
  • stop_tasks_impl (810-815)
  • run_tasks_at_impl (817-823)
  • get_task_details_impl (759-766)
  • enqueue_tasks_impl (777-790)
  • list_tasks_impl (769-775)
  • resolve_tasks_impl (734-740)
  • set_task_queue_config_impl (825-832)
  • get_task_queue_config_impl (834-840)
crates/lakekeeper/src/service/catalog_store.rs (14)
  • pick_new_task_impl (639-643)
  • transaction (79-79)
  • record_task_success_impl (654-658)
  • record_task_failure_impl (660-665)
  • cancel_scheduled_tasks_impl (699-704)
  • check_and_heartbeat_task_impl (707-712)
  • stop_tasks_impl (718-721)
  • run_tasks_at_impl (726-730)
  • get_task_details_impl (669-674)
  • enqueue_tasks_impl (689-693)
  • list_tasks_impl (677-681)
  • resolve_tasks_impl (648-652)
  • set_task_queue_config_impl (732-737)
  • get_task_queue_config_impl (739-743)
crates/lakekeeper/src/implementations/postgres/tasks/list_tasks.rs (2)
crates/lakekeeper/src/service/tasks/mod.rs (2)
  • tasks (456-473)
  • into_string (71-73)
crates/lakekeeper/src/implementations/postgres/tasks/resolve_tasks.rs (1)
  • tasks (85-102)
⏰ 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: check-generated-openapi-matches
  • GitHub Check: test
  • GitHub Check: clippy
  • GitHub Check: sqlx-check
🔇 Additional comments (46)
crates/lakekeeper-bin/src/main.rs (1)

13-13: LGTM! Module path updated correctly.

The import path change from task_queue::BUILT_IN_API_CONFIGS to tasks::BUILT_IN_API_CONFIGS is consistent with the module reorganization described in the PR objectives.

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

11-11: LGTM! Import paths updated consistently.

All task-related type imports have been correctly updated from crate::service::task_queue to crate::service::tasks, aligning with the module reorganization.

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

36-36: LGTM! Import path updated correctly.

The TaskQueueRegistry import has been correctly updated to reference the new tasks module.

crates/lakekeeper/src/service/catalog_store/user.rs (1)

1-7: LGTM! Well-structured response type.

The CreateOrUpdateUserResponse enum cleanly distinguishes between user creation and update scenarios, which is a common pattern for APIs that support both operations. The Debug and Clone derives are appropriate for this type.

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

11-11: LGTM! Import added for modular API.

Adding CatalogTaskOps to the imports aligns with the modularization of the catalog store API as described in the PR objectives.


957-977: LGTM! Test refactoring is correct.

The test has been correctly updated to:

  • Use use super::* to import types from the parent module
  • Construct TableId and WarehouseId using the types brought into scope
  • Use Uuid::parse_str directly (since Uuid is imported at line 8)

These changes improve code clarity without affecting functionality.

crates/lakekeeper/src/service/catalog_store/project.rs (1)

1-9: LGTM! Clean response structure.

The GetProjectResponse struct is well-defined with appropriate documentation and derives. This aligns with the modularization of the CatalogStore API described in the PR objectives.

crates/lakekeeper/src/tests/tasks.rs (2)

24-29: LGTM! Imports updated for modularized API.

The import changes correctly reflect:

  • Module reorganization from task_queue to tasks
  • Introduction of the CatalogTaskOps trait as part of the API modularization

107-107: LGTM! Trait usage updated correctly.

The change from using CatalogStore::set_task_queue_config to CatalogTaskOps::set_task_queue_config correctly reflects the modularization of task-related operations into the CatalogTaskOps trait, as described in the PR objectives.

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

9-9: LGTM! Import paths updated consistently.

The import paths have been correctly updated from service::task_queue to service::tasks in both the main module and test module, maintaining consistency with the broader module reorganization.

crates/lakekeeper/src/server/s3_signer/sign.rs (3)

25-26: TabularListFlags import aligns with the refactor

Import swap looks correct for CatalogStore call sites.


467-473: Correct flag semantics for ID lookup

Using include_staged=include_staged, include_deleted=false, include_active=true is consistent with intent.


500-507: Location-based lookup correctly includes deleted

Setting include_deleted=true for location fallback covers post-drop HEAD/GET flows.

crates/lakekeeper/src/server/tabular.rs (1)

13-15: Use of TabularListFlags::active() is correct

Matches previous default semantics for tables.

crates/lakekeeper/src/server/tables/load_table.rs (1)

46-50: Flag migration looks good

Equivalent to prior ListFlags; includes only active, non-staged, non-deleted tables.

crates/lakekeeper/src/service/catalog_store/warehouse.rs (2)

36-40: GetStorageConfigResponse looks correct

Shape matches usage patterns (profile + optional secret ident).


6-34: WarehouseStatus DB enum mapping confirmed

Database migration (02_warehouse.sql) defines warehouse_status as enum('active', 'inactive'), matching the Rust WarehouseStatus.

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

31-33: Module path rename to tasks::TaskId looks good

Import aligns with the repo‑wide task_queue → tasks move.


134-143: TabularListFlags: correct adoption

Flag fields are wired to the expected predicates (include_deleted/include_staged). No issues.


214-223: TabularListFlags on batched ident mapping: LGTM

Signature and usage (include_deleted/include_staged) are consistent. Good.

crates/lakekeeper/src/service/catalog_store/namespace.rs (1)

10-17: New GetNamespaceResponse DTO: LGTM

Matches the service layer’s modularization.

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

69-73: Switch to TabularListFlags is consistent across table/tabular methods

Propagation and usage look correct.

Also applies to: 177-201, 203-210, 223-230, 232-239, 654-671


777-791: *Task ops delegation via _impl: sound design, looks correct

  • enqueue_tasks_impl: early return on empty; returns TaskId list from queued batch; good.
  • cancel/stop/config impls delegate to Postgres fns with correct params.

Double-check the “force” argument behavior matches prior semantics for cancelling tasks:

  • Previous trait param was likely “cancel_running_and_should_stop”.
  • Confirm cancel_scheduled_tasks(conn, filter, queue_name, force) interprets this identically.

Also applies to: 792-800, 810-816, 825-833, 834-841

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

754-755: Signature updates (TabularListFlags) for resolver helpers: LGTM

API and call sites updated consistently.

Also applies to: 1237-1239

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

18-20: Module path updates and queue_name mapping: LGTM

Correctly uses tasks::* and TaskQueueName::into_string for filtering.

Also applies to: 127-133


771-777: Tests: TaskFilter path updates: LGTM

Matches the tasks module migration.

Also applies to: 981-986

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

11-11: Approve: public API refactor is clean
No stale references to task_queue, ListFlags, or DropFlags remain.

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

112-142: LGTM: TabularListFlags plumbed through resolve_table_ident.

Delegation to tabular_ident_to_id with flags looks correct.


144-176: LGTM: table_idents_to_ids forwards flags and maps results safely.

Conversion and error mapping for views is sound.


209-245: LGTM: list_tables now driven by TabularListFlags via list_tabulars.

Matches the refactor intent and maintains filtering semantics.

crates/lakekeeper/src/service/catalog_store/tasks.rs (1)

51-57: LGTM: pick_new_task wrapper delegates and is instrumented.

Good separation between trait wrapper and impl method.

crates/lakekeeper/src/service/catalog_store/tabular.rs (1)

70-86: LGTM: GetTableMetadataResponse implements AsTableId.

Keeps authz integration straightforward.

crates/lakekeeper/src/service/catalog_store.rs (4)

381-387: LGTM: list_tables signature updated to TabularListFlags.

Matches the broader refactor; downstream calls adjusted accordingly.


437-443: LGTM: get_table_metadata_by_id now parameterized by TabularListFlags.

Ensure underlying impl applies both include_deleted and include_active (see Postgres comment).


446-452: LGTM: get_table_metadata_by_s3_location accepts TabularListFlags.

Same note: impl must honor include_active (Postgres fix proposed).


638-744: Tasks API split looks clean; impl-only methods kept in CatalogStore, wrappers moved to CatalogTaskOps.

Good modularization aligning with the PR objective.

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

80-81: Import path realignment looks good

Switch to service::tasks::{QueueApiConfig, TaskId} matches the repo-wide module move; no functional changes here.

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

11-13: Path migration to service::tasks is correct

Types TaskEntity/TaskId/TaskOutcome/TaskStatus are now under tasks; usage unchanged.

crates/lakekeeper/src/service/tasks/task_queues_runner.rs (1)

5-6: Import updated to tasks module

Good alignment with the tasks module; runner logic unaffected.

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

27-33: Bringing tasks module and CatalogTaskOps into scope is necessary

The tasks::* path migration and importing CatalogTaskOps enable static trait calls (e.g., C::cancel_scheduled_tasks) to resolve; looks correct.

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

29-32: Test import updated to tasks namespace

Consistent with the task_queue → tasks refactor; test logic unchanged.

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

28-30: Migrated to TabularListFlags

Import reflects the new flag type; aligns with broader API changes.


46-51: Flag usage matches previous semantics – using TabularListFlags with include_active=true, include_staged=false, and passed-through include_deleted is correct; no remaining ListFlags references detected.

crates/authz-openfga/src/check.rs (2)

11-13: Switched to TabularListFlags in public imports

Matches new catalog/tabular API surface; good.


272-283: Active-only lookup flags are correctly set

include_active=true, include_staged/ deleted=false matches intent for resolving by name.

crates/lakekeeper/src/api/router.rs (1)

31-33: Approve QueueApiConfig import refactor

Import path updated correctly; confirmed no legacy service::task_queue, ListFlags, or TableUuid references remain.

@c-thiel
c-thiel enabled auto-merge (squash) October 8, 2025 17:19
@c-thiel
c-thiel merged commit dde8c75 into main Oct 8, 2025
@c-thiel
c-thiel deleted the ct/refactor-catalog-store branch October 8, 2025 17:23
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]>
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