Skip to content

fix: Endpoint stats for Project Endpoints - #1412

Merged
c-thiel merged 6 commits into
mainfrom
ct/fix-stats
Oct 4, 2025
Merged

c-thiel merged 6 commits into
mainfrom
ct/fix-stats

Conversation

@c-thiel

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

Copy link
Copy Markdown
Member

Summary by CodeRabbit

  • Bug Fixes
    • Prevented duplicate-key errors during endpoint statistics ingestion by aggregating counts before insert.
    • Removed a foreign key constraint that was causing failures when writing statistics.
  • Refactor
    • Streamlined bulk insert and processing flow for endpoint statistics and improved logs for observability.
  • Tests
    • Removed two assertions that fetched and validated endpoint statistics after ingestion.
  • Chores
    • Suppressed an unused-variable warning in the authorization backend.
  • Chores
    • Ignored the "lakekeeper-console" dependency in renovate config.

@coderabbitai

coderabbitai Bot commented Oct 3, 2025 •

Copy link
Copy Markdown
Contributor

Walkthrough

Drops a foreign key on endpoint_statistics.warehouse_id, refactors the Postgres endpoint statistics sink to aggregate datapoints by (project_id, warehouse_id, matched_path, status_code) before bulk upsert, removes certain endpoint statistics assertions from tests, and silences an unused-variable warning in the AuthZ AllowAll branch.

Changes

Cohort / File(s) Change Summary
DB Migration: Drop FK on endpoint statistics
crates/lakekeeper/migrations/20251003103404_fix_project_endpoint_stats.sql
Removes foreign key constraint endpoint_statistics_warehouse_id_fkey from endpoint_statistics.warehouse_id.
Endpoint Statistics Sink: Aggregation and Upsert
crates/lakekeeper/src/implementations/postgres/endpoint_statistics/sink.rs
Replaces per-item accumulation with aggregation keyed by (project_id, warehouse_id, matched_path, status_code). Resolves warehouse per aggregated key, constructs parallel arrays, and performs bulk INSERT via UNNEST(...) with ON CONFLICT to increment counts. Updates logging, skips unresolved projects with a warning, and preserves transaction/error handling.
Tests: remove endpoint statistics assertions
crates/lakekeeper/src/tests/endpoint_stats.rs
Removes blocks in two tests that fetched get_endpoint_statistics and asserted on counts/routes/warehouse names.
AuthZ AllowAll Minor Binding
crates/lakekeeper/src/service/authz/implementations/mod.rs
Binds server_id to _ (silences unused-variable warning) in migrate_default_authorizer for AuthZBackend::AllowAll; behavior unchanged.
Config: ignore renovate dependency
renovate.json
Adds lakekeeper-console to ignoreDeps.

Sequence Diagram(s)

sequenceDiagram
  autonumber
  participant Producer as Stats Producer
  participant Sink as EndpointStats Sink
  participant PG as Postgres

  Note over Producer,Sink: Receive raw endpoint stats datapoints

  Producer->>Sink: push(datapoints)
  Sink->>Sink: Aggregate by (project_id, warehouse_id, matched_path, status_code)
  Sink->>Sink: Resolve warehouse for each aggregated key
  Sink->>Sink: Build arrays: project_id[], warehouse[], matched_path[], status_code[], cnt[]

  Sink->>PG: INSERT ... SELECT UNNEST(project_id[], warehouse[], matched_path[], status_code[], cnt[])\nON CONFLICT (project_id, warehouse, matched_path, status_code) DO UPDATE SET count = endpoint_statistics.count + EXCLUDED.cnt
  alt Success
    PG-->>Sink: OK
    Sink->>Producer: Commit / Ack
  else Error
    PG-->>Sink: Error
    Sink->>Sink: Map error / retry or fail
    Sink-->>Producer: Propagate error
  end

  Note right of Sink: Logs: "Processing up to ..." and final summary (raw datapoints → aggregated records)
Loading

Estimated code review effort

🎯 3 (Moderate) | ⏱️ ~25 minutes

Poem

I bundled stats in tidy heaps today,
Many hops to one clean rabbit way.
FK loosened, counts combine,
Upserts thump in single line.
Nose twitch, I stash the win — carrots all align. 🥕

Pre-merge checks and finishing touches

✅ Passed checks (3 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title Check ✅ Passed The title succinctly indicates that the pull request addresses fixes related to endpoint statistics for project endpoints, which aligns with the primary changes around aggregating and updating endpoint stats; although it does not enumerate every modification such as the foreign key migration or test updates, it clearly identifies the core feature area affected.
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/fix-stats

📜 Recent review details

Configuration used: CodeRabbit UI

Review profile: CHILL

Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between 4d191af and f8772f5.

📒 Files selected for processing (2)
  • crates/lakekeeper/src/implementations/postgres/endpoint_statistics/sink.rs (2 hunks)
  • renovate.json (1 hunks)
🧰 Additional context used
🧠 Learnings (1)
📚 Learning: 2025-09-08T09:10:07.658Z
Learnt from: c-thiel
PR: lakekeeper/lakekeeper#1328
File: crates/lakekeeper/src/service/authz/implementations/openfga/mod.rs:103-112
Timestamp: 2025-09-08T09:10:07.658Z
Learning: The OpenFGAAuthorizer constructor in crates/lakekeeper/src/service/authz/implementations/openfga/mod.rs should maintain backward compatibility during the transition away from nil UUIDs. Hard assertions that would panic on nil UUID input should be avoided to prevent breaking existing deployments.

Applied to files:

  • crates/lakekeeper/src/implementations/postgres/endpoint_statistics/sink.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: docker / docker
  • GitHub Check: openfga
  • GitHub Check: check-generated-openapi-matches
  • GitHub Check: test
  • GitHub Check: clippy
  • GitHub Check: sqlx-check

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

❤️ Share

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

@c-thiel c-thiel changed the title fix endpoint stats fix: Endpoint stats for Project Endpoints Oct 3, 2025

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

🧹 Nitpick comments (3)
crates/lakekeeper/src/service/authz/implementations/mod.rs (1)

36-39: Prefer simpler unused binding

Use a lightweight binding to silence the warning.

-        AuthZBackend::AllowAll => {
-            let _server_id = server_id;
-            Ok(())
-        }
+        AuthZBackend::AllowAll => {
+            let _ = server_id;
+            Ok(())
+        }

Alternatively, rename the parameter to _server_id.

crates/lakekeeper/src/implementations/postgres/endpoint_statistics/sink.rs (2)

90-94: Pre-size the aggregation map

You know an upper bound via endpoint_calls_total. Pre-sizing reduces rehashes on hot path.

-        let mut aggregated_stats: HashMap<(String, Option<Uuid>, EndpointFlat, i32), i64> =
-            HashMap::new();
+        let mut aggregated_stats: HashMap<(String, Option<Uuid>, EndpointFlat, i32), i64> =
+            HashMap::with_capacity(endpoint_calls_total);

154-176: Tighten error logging; avoid dumping full stats payload
Replace the error log in process_stats (around line 177) to use final_count and endpoint_calls_total instead of stats:?. For example:

-tracing::error!("Failed to insert stats: {e}, lost stats: {stats:?}");
+tracing::error!(
+    "Failed to insert stats: {e}. Aggregated records: {final_count}, raw datapoints: {endpoint_calls_total}"
+);
📜 Review details

Configuration used: CodeRabbit UI

Review profile: CHILL

Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between 2a9ce24 and 3fd592b.

📒 Files selected for processing (3)
  • crates/lakekeeper/migrations/20251003103404_fix_project_endpoint_stats.sql (1 hunks)
  • crates/lakekeeper/src/implementations/postgres/endpoint_statistics/sink.rs (2 hunks)
  • crates/lakekeeper/src/service/authz/implementations/mod.rs (1 hunks)
🧰 Additional context used
🧠 Learnings (1)
📚 Learning: 2025-09-08T09:10:07.658Z
Learnt from: c-thiel
PR: lakekeeper/lakekeeper#1328
File: crates/lakekeeper/src/service/authz/implementations/openfga/mod.rs:103-112
Timestamp: 2025-09-08T09:10:07.658Z
Learning: The OpenFGAAuthorizer constructor in crates/lakekeeper/src/service/authz/implementations/openfga/mod.rs should maintain backward compatibility during the transition away from nil UUIDs. Hard assertions that would panic on nil UUID input should be avoided to prevent breaking existing deployments.

Applied to files:

  • crates/lakekeeper/src/service/authz/implementations/mod.rs
🧬 Code graph analysis (1)
crates/lakekeeper/src/service/authz/implementations/mod.rs (4)
crates/lakekeeper/src/service/authz/implementations/openfga/mod.rs (1)
  • server_id (120-122)
crates/lakekeeper/src/service/authz/implementations/allow_all.rs (1)
  • server_id (53-55)
crates/lakekeeper/src/service/authz/mod.rs (2)
  • server_id (207-207)
  • server_id (1085-1087)
crates/lakekeeper/src/service/mod.rs (1)
  • server_id (57-59)
🔇 Additional comments (7)
crates/lakekeeper/src/implementations/postgres/endpoint_statistics/sink.rs (7)

85-88: LGTM: clearer progress logging

Message conveys raw vs resolved scope. No functional concerns.


97-101: LGTM: explicit skip with traceability

Warning with project id is helpful for ops. Consider rate-limiting if this can be noisy, but fine as-is.


104-104: LGTM

Caching project_id string per project avoids repeated to_string in inner loop.


115-117: LGTM

Flattening uri and normalizing status code to i32 aligns with DB types.


127-133: LGTM

Aggregation key is correct and includes warehouse_id Option to separate NULL vs non-NULL buckets.


137-150: LGTM

Pre-sized vectors mirror aggregated cardinality; building arrays in one pass is efficient.


152-152: LGTM: useful aggregation vs raw datapoints log

Good visibility into reduction ratio.

@c-thiel

c-thiel commented Oct 3, 2025

Copy link
Copy Markdown
Member Author

@CodeRabbit review

@coderabbitai

coderabbitai Bot commented Oct 3, 2025

Copy link
Copy Markdown
Contributor
✅ Actions performed

Review triggered.

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

@c-thiel
c-thiel enabled auto-merge (squash) October 3, 2025 15:37

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Actionable comments posted: 1

🧹 Nitpick comments (1)
crates/lakekeeper/src/implementations/postgres/endpoint_statistics/sink.rs (1)

104-131: Consider optimizing project_str usage.

The project_str.clone() is called for every endpoint in the inner loop (lines 121, 126). Since the project doesn't change within the outer loop iteration, you could avoid these allocations.

Apply this diff to reduce allocations:

-            let project_str = project.to_string();
+            let project_str = &project.to_string();
             for (
                 EndpointIdentifier {
                     uri,
                     status_code,
                     warehouse,
                     warehouse_name,
                 },
                 count,
             ) in endpoints
             {
                 let uri_flat = EndpointFlat::from(*uri);
                 let status_code_i32 = i32::from(status_code.as_u16());

-                let resolved_warehouse = warehouse.copied().or_else(|| {
+                let resolved_warehouse = warehouse.as_ref().map(|w| **w).or_else(|| {
                     warehouse_name
                         .as_deref()
-                        .and_then(|wn| warehouse_ids.get(&(project_str.clone(), wn.to_string())))
+                        .and_then(|wn| warehouse_ids.get(&(project_str.to_string(), wn.to_string())))
                         .copied()
                 });

                 let key = (
-                    project_str.clone(),
+                    project_str.to_string(),
                     resolved_warehouse,
                     uri_flat,
                     status_code_i32,
                 );
                 *aggregated_stats.entry(key).or_insert(0) += count;
             }

This reduces the number of clones from O(endpoints) to O(1) per project.

📜 Review details

Configuration used: CodeRabbit UI

Review profile: CHILL

Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between 3fd592b and 4d191af.

📒 Files selected for processing (4)
  • crates/lakekeeper/migrations/20251003103404_fix_project_endpoint_stats.sql (1 hunks)
  • crates/lakekeeper/src/implementations/postgres/endpoint_statistics/sink.rs (2 hunks)
  • crates/lakekeeper/src/service/authz/implementations/mod.rs (1 hunks)
  • crates/lakekeeper/src/tests/endpoint_stats.rs (0 hunks)
💤 Files with no reviewable changes (1)
  • crates/lakekeeper/src/tests/endpoint_stats.rs
🚧 Files skipped from review as they are similar to previous changes (2)
  • crates/lakekeeper/migrations/20251003103404_fix_project_endpoint_stats.sql
  • crates/lakekeeper/src/service/authz/implementations/mod.rs
🧰 Additional context used
🧠 Learnings (1)
📚 Learning: 2025-09-08T09:10:07.658Z
Learnt from: c-thiel
PR: lakekeeper/lakekeeper#1328
File: crates/lakekeeper/src/service/authz/implementations/openfga/mod.rs:103-112
Timestamp: 2025-09-08T09:10:07.658Z
Learning: The OpenFGAAuthorizer constructor in crates/lakekeeper/src/service/authz/implementations/openfga/mod.rs should maintain backward compatibility during the transition away from nil UUIDs. Hard assertions that would panic on nil UUID input should be avoided to prevent breaking existing deployments.

Applied to files:

  • crates/lakekeeper/src/implementations/postgres/endpoint_statistics/sink.rs
🪛 GitHub Check: check-generated-openapi-matches
crates/lakekeeper/src/implementations/postgres/endpoint_statistics/sink.rs

[failure] 118-118:
no method named copied found for reference &std::option::Option<WarehouseId> in the current scope

⏰ 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). (7)
  • GitHub Check: docker / docker
  • GitHub Check: docker / docker
  • GitHub Check: docker / docker
  • GitHub Check: docker / docker
  • GitHub Check: sqlx-check
  • GitHub Check: clippy
  • GitHub Check: test
🔇 Additional comments (4)
crates/lakekeeper/src/implementations/postgres/endpoint_statistics/sink.rs (4)

135-148: LGTM!

The vector construction correctly pre-allocates capacity and builds parallel arrays from the aggregated data in a consistent order.


152-177: LGTM!

The SQL insert correctly uses unnest with parallel arrays and the ON CONFLICT clause properly increments existing counts. The aggregation approach prevents duplicate key violations.


84-88: LGTM!

The log message change from "Preparing to insert" to "Processing up to" more accurately reflects that some datapoints may be discarded for unresolved projects.


150-150: LGTM!

The added debug log provides valuable insight into the effectiveness of the aggregation, showing the reduction from raw datapoints to aggregated records.

@c-thiel

c-thiel commented Oct 4, 2025

Copy link
Copy Markdown
Member Author

@CodeRabbit review

@coderabbitai

coderabbitai Bot commented Oct 4, 2025

Copy link
Copy Markdown
Contributor
✅ Actions performed

Review triggered.

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

@github-actions

github-actions Bot commented Oct 4, 2025

Copy link
Copy Markdown
Contributor

✅ PR Title Formatted Correctly

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

@c-thiel

c-thiel commented Oct 4, 2025

Copy link
Copy Markdown
Member Author

@CodeRabbit review

@coderabbitai

coderabbitai Bot commented Oct 4, 2025

Copy link
Copy Markdown
Contributor
✅ Actions performed

Review triggered.

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

@c-thiel
c-thiel merged commit 5f6e9c9 into main Oct 4, 2025
@c-thiel
c-thiel deleted the ct/fix-stats branch October 4, 2025 14:16
@c-thiel c-thiel mentioned this pull request Oct 4, 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