Skip to content

fix: Tasks endpoints in router - #1335

Merged
c-thiel merged 5 commits into
mainfrom
ct/fix-tasks-endpoints
Sep 16, 2025
Merged

c-thiel merged 5 commits into
mainfrom
ct/fix-tasks-endpoints

Conversation

@c-thiel

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

Copy link
Copy Markdown
Member

Summary by CodeRabbit

  • Refactor

    • Management v1 routes now scope task and task-queue endpoints under /management/v1/warehouse/{warehouse_id}/ (paths changed; no handler logic changes).
  • New Features

    • Added per‑view protection endpoints: GET/POST /management/v1/warehouse/{warehouse_id}/view/{view_id}/protection.
    • Reintroduced top‑level GET /management/v1/whoami for identity info.
  • Documentation

    • Removed queue_name from task‑queue config docs, added numAttempts query parameter to task-by-id, and added x-request-id response headers to task-queue config GETs.

@coderabbitai

coderabbitai Bot commented Sep 14, 2025 •

Copy link
Copy Markdown
Contributor

Walkthrough

Endpoint paths under ManagementV1 were moved to include a /warehouse/{warehouse_id} segment; a new helper returns the path relative to /management/v1. Router registrations and OpenAPI docs were updated to use the new paths; no handler logic or HTTP methods were changed.

Changes

Cohort / File(s) Summary of Changes
Endpoint path updates
crates/lakekeeper/src/api/endpoints.rs
ManagementV1 endpoints updated to /management/v1/warehouse/{warehouse_id}/... (SetTaskQueueConfig, GetTaskQueueConfig, ListTasks, GetTaskDetails, ControlTasks). Added ManagementV1Endpoint::path_in_management_v1() returning the path trimmed of the /management/v1 prefix.
Router & OpenAPI wiring
crates/lakekeeper/src/api/management/mod.rs
Router registrations and OpenAPI path generation switched from using path()/literal paths to path_in_management_v1() for SetTaskQueueConfig, ListTasks, GetTaskDetails, and ControlTasks; removed queue_name from some documented parameters; added #[allow(clippy::too_many_lines)] on api_doc.
API spec updates
docs/docs/api/management-open-api.yaml
OpenAPI doc moved many endpoints under /management/v1/warehouse/{warehouse_id}/..., removed queue_name path params for task-queue config endpoints, added per-view protection endpoints (/management/v1/warehouse/{warehouse_id}/view/{view_id}/protection), reintroduced /management/v1/whoami, added numAttempts query param for task-by-id and x-request-id response headers for some config GETs.
Tests & references
crates/lakekeeper/...tests/*
Tests and fixtures updated to reference the new /management/v1/warehouse/{warehouse_id}/... paths (e.g., task-queue config paths and extra-endpoint filtering).

Sequence Diagram(s)

sequenceDiagram
  autonumber
  participant Client
  participant Router
  participant EndpointEnum as ManagementV1Endpoint
  participant Handler

  Client->>Router: HTTP POST /management/v1/warehouse/{id}/task/list
  Router->>EndpointEnum: lookup route (uses path_in_management_v1)
  EndpointEnum-->>Router: matched inner path "/warehouse/{id}/task/list"
  Router->>Handler: dispatch to ListTasks handler
  Handler-->>Client: 200 OK
  note right of EndpointEnum #E8F6F3: path_in_management_v1 provides\npath without leading "/management/v1"
Loading

Estimated code review effort

🎯 3 (Moderate) | ⏱️ ~20 minutes

Poem

I thump my paws—new paths align,
Through warehouse lanes the endpoints shine.
A slice of v1 trimmed away,
Routers hop where routes now stay.
Carrots queued for CI play 🥕🐇

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 "fix: Tasks endpoints in router" is concise and directly related to the primary change in the changeset, which updates task-related routes and router wiring (including moving task endpoints under /management/v1/warehouse/{warehouse_id}/ and adjusting OpenAPI/tests). It clearly signals a fix to task endpoints and is specific enough for a teammate scanning PR history.
Docstring Coverage ✅ Passed Docstring coverage is 100.00% which is sufficient. The required threshold is 80.00%.
✨ Finishing touches
  • 📝 Generate Docstrings
🧪 Generate unit tests
  • Create PR with unit tests
  • Post copyable unit tests in a comment
  • Commit unit tests in branch ct/fix-tasks-endpoints

Tip

👮 Agentic pre-merge checks are now available in preview!

Pro plan users can now enable pre-merge checks in their settings to enforce checklists before merging PRs.

  • Built-in checks – Quickly apply ready-made checks to enforce title conventions, require pull request descriptions that follow templates, validate linked issues for compliance, and more.
  • Custom agentic checks – Define your own rules using CodeRabbit’s advanced agentic capabilities to enforce organization-specific policies and workflows. For example, you can instruct CodeRabbit’s agent to verify that API documentation is updated whenever API schema files are modified in a PR. Note: Upto 5 custom checks are currently allowed during the preview period. Pricing for this feature will be announced in a few weeks.

Please see the documentation for more information.

Example:

reviews:
  pre_merge_checks:
    custom_checks:
      - name: "Undocumented Breaking Changes"
        mode: "warning"
        instructions: |
          Pass/fail criteria: All breaking changes to public APIs, CLI flags, environment variables, configuration keys, database schemas, or HTTP/GraphQL endpoints must be documented in the "Breaking Change" section of the PR description and in CHANGELOG.md. Exclude purely internal or private changes (e.g., code not exported from package entry points or explicitly marked as internal).

Please share your feedback with us on this Discord post.


Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

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

@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 (2)
crates/lakekeeper/src/api/endpoints.rs (2)

375-377: Tests still use old pre-warehouse paths; they’ll fail.

Update exempted config paths to include the warehouse segment.

Apply this diff:

-        let exempt_config_paths = [
-            "management/v1/{warehouse_id}/task-queue/tabular_expiration/config",
-            "management/v1/{warehouse_id}/task-queue/tabular_purge/config",
-        ];
+        let exempt_config_paths = [
+            "management/v1/warehouse/{warehouse_id}/task-queue/tabular_expiration/config",
+            "management/v1/warehouse/{warehouse_id}/task-queue/tabular_purge/config",
+        ];

471-478: Extra-endpoints filter misses the new warehouse segment.

This will incorrectly flag false “extra endpoints”.

Apply this diff:

-                !path.starts_with("management/v1/{warehouse_id}/task-queue/{queue_name}/config")
+                !path.starts_with("management/v1/warehouse/{warehouse_id}/task-queue/{queue_name}/config")
🧹 Nitpick comments (1)
crates/lakekeeper/src/api/endpoints.rs (1)

241-245: Guard the prefix and avoid magic string.

Add a prefix constant and a debug assertion to catch future drift.

Apply this diff to the function:

 impl ManagementV1Endpoint {
-    pub fn path_in_management_v1(self) -> &'static str {
-        &self.path()["/management/v1".len()..]
-    }
+    pub fn path_in_management_v1(self) -> &'static str {
+        const MGMT_V1_PREFIX: &str = "/management/v1";
+        let p = self.path();
+        debug_assert!(p.starts_with(MGMT_V1_PREFIX), "unexpected prefix: {p}");
+        &p[MGMT_V1_PREFIX.len()..]
+    }
 }
📜 Review details

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between 39bea3e and 2766d21.

📒 Files selected for processing (2)
  • crates/lakekeeper/src/api/endpoints.rs (2 hunks)
  • crates/lakekeeper/src/api/management/mod.rs (1 hunks)
🧰 Additional context used
🪛 GitHub Check: check-format
crates/lakekeeper/src/api/management/mod.rs

[warning] 1893-1893:
Diff in /home/runner/work/lakekeeper/lakekeeper/crates/lakekeeper/src/api/management/mod.rs

⏰ Context from checks skipped due to timeout of 90000ms. You can increase the timeout in your CodeRabbit configuration to a maximum of 15 minutes (900000ms). (9)
  • GitHub Check: docker / docker
  • GitHub Check: docker / docker
  • GitHub Check: docker / docker
  • GitHub Check: test
  • GitHub Check: sqlx-check
  • GitHub Check: clippy
  • GitHub Check: check-generated-openapi-matches
  • GitHub Check: docker / docker
  • GitHub Check: openfga
🔇 Additional comments (5)
crates/lakekeeper/src/api/endpoints.rs (1)

225-229: Warehouse-scoped task endpoints look correct.

Paths now consistently include /warehouse/{warehouse_id} and align with handler extractors.

Please confirm the OpenAPI YAML was updated to these exact paths so test_endpoint_completeness remains green.

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

1893-1895: Good switch to derived path; pairs POST/GET on one route.

Keeps router in sync with endpoint enum and OpenAPI patching.

Run the formatter to address the check-format warning on Line 1893.


1896-1896: ListTasks path now warehouse-scoped — matches extractor.

Path<uuid::Uuid> aligns with /warehouse/{warehouse_id}/task/list.


1898-1900: GetTaskDetails path aligns with (warehouse_id, task_id) extractor.

All good.


1902-1904: ControlTasks path aligns with warehouse_id in body flow.

Looks correct.

Confirm the parent router mounts this module at /management/v1 so these relative paths resolve as intended.

@c-thiel

c-thiel commented Sep 14, 2025

Copy link
Copy Markdown
Member Author

@CodeRabbit full review

@coderabbitai

coderabbitai Bot commented Sep 14, 2025

Copy link
Copy Markdown
Contributor
✅ Actions performed

Full review triggered.

@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 (2)
docs/docs/api/management-open-api.yaml (2)

2379-2445: OpenAPI bug: stray queue_name path parameter on non-parameterized GETs

The GET queue-config paths are concrete (.../task-queue/tabular_expiration/config and .../tabular_purge/config) but still declare a required queue_name path parameter. This will break client generation/validation.

Fix by removing queue_name from these GET operations.

Apply this diff (shown once; repeat for both GET endpoints):

   /management/v1/warehouse/{warehouse_id}/task-queue/tabular_expiration/config:
     get:
       tags:
         - tasks
       summary: Get the configuration for a Task Queue.
       description: These configurations are global per warehouse and shared across all instances of this kind of task.
       operationId: get_task_queue_config_tabular_expiration
       parameters:
         - name: warehouse_id
           in: path
           required: true
           schema:
             type: string
             format: uuid
-        - name: queue_name
-          in: path
-          required: true
-          schema:
-            type: string

Additionally, ensure the corresponding patch in code (ApiDoc expansion) drops this parameter when cloning the path item.

Also applies to: 2446-2511


2379-2445: Follow-up: adjust ApiDoc expansion to remove queue_name in GET

When cloning config_path in api_doc(), also strip any queue_name parameter from p.get.parameters to keep generated docs consistent.

Apply this Rust patch inside api_doc() right after let Some(get) = p.get.as_mut() else { ... };:

             let Some(get) = p.get.as_mut() else {
                 tracing::warn!(
                     "No get method found for '{}', not patching queue configs into the ApiDoc.",
                     ManagementV1Endpoint::SetTaskQueueConfig.path()
                 );
                 return doc;
             };
+            // Remove the now-invalid `queue_name` path parameter from the GET variant
+            get.parameters.retain(|param| {
+                match param {
+                    utoipa::openapi::RefOr::T(p) => p.name != "queue_name",
+                    _ => true,
+                }
+            });
🧹 Nitpick comments (2)
crates/lakekeeper/src/api/endpoints.rs (1)

241-245: Make path_in_management_v1 safer and DRY

Add a constant for the prefix and a debug-assert to guard accidental misuse.

Apply this diff:

+const MANAGEMENT_V1_PREFIX: &str = "/management/v1";
+
 impl ManagementV1Endpoint {
     pub fn path_in_management_v1(self) -> &'static str {
-        &self.path()["/management/v1".len()..]
+        let path = self.path();
+        debug_assert!(
+            path.starts_with(MANAGEMENT_V1_PREFIX),
+            "expected ManagementV1 endpoint to start with {}",
+            MANAGEMENT_V1_PREFIX
+        );
+        &path[MANAGEMENT_V1_PREFIX.len()..]
     }
 }
crates/lakekeeper/src/api/management/mod.rs (1)

1893-1895: Router now derives task routes from enum: good move

Using ManagementV1Endpoint::* .path_in_management_v1() de-dupes path strings and reduces drift risk with OpenAPI and tests. Consider gradually applying this pattern to the remaining management routes for consistency.

Also applies to: 1897-1899, 1901-1903, 1905-1907

📜 Review details

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between 39bea3e and 246b815.

📒 Files selected for processing (3)
  • crates/lakekeeper/src/api/endpoints.rs (4 hunks)
  • crates/lakekeeper/src/api/management/mod.rs (1 hunks)
  • docs/docs/api/management-open-api.yaml (6 hunks)
⏰ Context from checks skipped due to timeout of 90000ms. You can increase the timeout in your CodeRabbit configuration to a maximum of 15 minutes (900000ms). (6)
  • GitHub Check: docker / docker
  • GitHub Check: test
  • GitHub Check: sqlx-check
  • GitHub Check: docker / docker
  • GitHub Check: docker / docker
  • GitHub Check: docker / docker
🔇 Additional comments (5)
crates/lakekeeper/src/api/endpoints.rs (3)

225-229: Warehouse-scoped task endpoints: LGTM

The re-scoping under /management/v1/warehouse/{warehouse_id} looks consistent across Set/Get queue config, ListTasks, GetTaskDetails, and ControlTasks.


375-377: Tests: exemptions updated correctly

Exempting the concrete queue config paths matches the OpenAPI expansion strategy.


477-479: Tests: extra-endpoint filter updated correctly

Filtering the parameterized {queue_name} path avoids false positives after expansion.

docs/docs/api/management-open-api.yaml (2)

2616-2686: New view protection endpoints: LGTM

Docs align with code for GET/POST under /warehouse/{warehouse_id}/view/{view_id}/protection.


2687-2706: Reintroduced /management/v1/whoami: LGTM

Endpoint and schema wiring look correct.

@c-thiel

c-thiel commented Sep 15, 2025

Copy link
Copy Markdown
Member Author

@CodeRabbit incremental

@coderabbitai

coderabbitai Bot commented Sep 15, 2025

Copy link
Copy Markdown
Contributor

@c-thiel I'll perform an incremental review of the changes since the last full review.

✅ 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.

@github-actions

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 (1)
docs/docs/api/management-open-api.yaml (1)

2379-2695: Add missing router registrations for task-queue config endpoints; operationIds verified

  • operationId uniqueness verified — 90 unique operationIds in docs/docs/api/management-open-api.yaml.
  • Router contains task endpoints at crates/lakekeeper/src/api/endpoints.rs:227–229 (ListTasks, GetTaskDetails, ControlTasks). No router registrations found for:
    • /management/v1/warehouse/{warehouse_id}/task-queue/tabular_expiration/config
    • /management/v1/warehouse/{warehouse_id}/task-queue/tabular_purge/config

Add corresponding router handlers or remove/update the spec to match implementation.

🧹 Nitpick comments (7)
docs/docs/api/management-open-api.yaml (7)

2379-2440: Good relocation; consider reusing a header component and documenting auth errors

  • Paths and opIds look consistent. Nice addition of x-request-id.
  • Suggest defining a reusable header in components/headers and referencing it here (and elsewhere that emits the header) to avoid duplication.
  • Consider adding explicit 401/403 responses for clarity (current 4XX is generic).

Apply:

+components:
+  headers:
+    X-Request-Id:
+      description: Request identifier, add this to your bug reports.
+      schema:
+        type: string
+        format: uuid
...
   responses:
     '200':
       description: ''
-      headers:
-        x-request-id:
-          schema:
-            type: string
-            format: uuid
-          description: Request identifier, add this to your bug reports.
+      headers:
+        x-request-id:
+          $ref: '#/components/headers/X-Request-Id'
+    '401':
+      description: Unauthorized
+      content:
+        application/json:
+          schema:
+            $ref: '#/components/schemas/IcebergErrorResponse'
+    '403':
+      description: Forbidden
+      content:
+        application/json:
+          schema:
+            $ref: '#/components/schemas/IcebergErrorResponse'

2441-2501: Purge config shape appears empty; either document as placeholder or model fields

If PurgeQueueConfig is intentionally empty, document that clients must POST an empty object and disallow unknown keys. Otherwise, add the intended properties.

 components:
   schemas:
     PurgeQueueConfig:
-      type: object
+      type: object
+      description: Warehouse-specific configuration for the purge queue. Send `{}` if no options are available.
+      additionalProperties: false

2502-2544: Cap numAttempts to prevent pathological payloads; consider naming consistency later

Add a reasonable maximum (e.g., 100). Style note: most params use kebab-case; keep camelCase for now to avoid breaking changes.

         - name: numAttempts
           in: query
           description: 'Number of attempts to retrieve (default: 5)'
           required: false
           schema:
             type:
               - integer
               - 'null'
             format: int32
             default: 5
             minimum: 0
+            maximum: 100

2545-2573: Enforce “at most 100 task IDs” in the schema

Doc says ≤100, but ControlTasksRequest does not enforce it. Add maxItems and a sensible minItems.

 components:
   schemas:
     ControlTasksRequest:
       type: object
       required:
         - action
         - task-ids
       properties:
         action:
           $ref: '#/components/schemas/ControlTaskAction'
           description: The action to perform on the task
         task-ids:
           type: array
+          minItems: 1
+          maxItems: 100
           items:
             type: string
             format: uuid
           description: Tasks to apply the action to

2574-2605: Page sizing: add default and maximum to guard server and clients

ListTasksRequest has page-size without bounds. Add defaults and a cap (adjust values to your service limits).

 components:
   schemas:
     ListTasksRequest:
       type: object
       properties:
         page-size:
           type:
             - integer
             - 'null'
           format: int64
-          description: Number of results per page
+          description: Number of results per page
+          default: 100
+          minimum: 1
+          maximum: 1000

2677-2695: Add explicit 401 response for whoami

This endpoint is auth-sensitive; documenting 401 improves client behavior and SDK generation.

   /management/v1/whoami:
     get:
       tags:
         - user
       summary: Whoami
       description: Returns information about the user associated with the current authentication token.
       operationId: whoami
       responses:
         '200':
           description: User details
           content:
             application/json:
               schema:
                 $ref: '#/components/schemas/User'
+        '401':
+          description: Unauthorized
+          content:
+            application/json:
+              schema:
+                $ref: '#/components/schemas/IcebergErrorResponse'
         4XX:
           description: ''
           content:
             application/json:
               schema:
                 $ref: '#/components/schemas/IcebergErrorResponse'

2379-2695: Consistency nit: underscore vs hyphen in path segments

New paths use underscores (tabular_expiration, tabular_purge) while most others use hyphens. If feasible, consider adding alias routes with hyphens and keeping underscores for backward compatibility.

📜 Review details

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between 246b815 and d004893.

📒 Files selected for processing (2)
  • crates/lakekeeper/src/api/management/mod.rs (4 hunks)
  • docs/docs/api/management-open-api.yaml (6 hunks)
🚧 Files skipped from review as they are similar to previous changes (1)
  • crates/lakekeeper/src/api/management/mod.rs
⏰ Context from checks skipped due to timeout of 90000ms. You can increase the timeout in your CodeRabbit configuration to a maximum of 15 minutes (900000ms). (8)
  • GitHub Check: docker / docker
  • GitHub Check: docker / docker
  • GitHub Check: docker / docker
  • GitHub Check: docker / docker
  • GitHub Check: test
  • GitHub Check: clippy
  • GitHub Check: check-generated-openapi-matches
  • GitHub Check: sqlx-check
🔇 Additional comments (2)
docs/docs/api/management-open-api.yaml (2)

2606-2676: LGTM: View protection endpoints

Consistent with table/namespace/warehouse protection patterns. No issues spotted.


2379-2695: Do not remove — these schemas are still referenced

Search shows definitions in the OpenAPI and multiple code usages; keep the schemas. Examples:

  • docs/docs/api/management-open-api.yaml: GetTaskQueueConfigResponse (line 3555), SetTaskQueueConfigRequest (line 4527).
  • crates/lakekeeper/src/api/management/v1/warehouse/mod.rs: defines SetTaskQueueConfigRequest & GetTaskQueueConfigResponse (~lines 1043–1056).
  • crates/lakekeeper/src/api/management/mod.rs, crates/lakekeeper/src/implementations/postgres/tasks.rs, crates/lakekeeper/src/implementations/postgres/catalog.rs, crates/lakekeeper/src/service/catalog.rs: handlers/signatures/returns use these types.
  • crates/lakekeeper/src/tests/tasks.rs: tests construct SetTaskQueueConfigRequest.

Likely an incorrect or invalid review comment.

@c-thiel
c-thiel merged commit 8ac5ccf into main Sep 16, 2025
@c-thiel
c-thiel deleted the ct/fix-tasks-endpoints branch September 16, 2025 10:17
@c-thiel c-thiel mentioned this pull request Sep 11, 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]>
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