Repository navigation
chore: Remove bitnami images - #1288
Conversation
WalkthroughReplace Bitnami PostgreSQL/MinIO/NATS images with official images, simplify Postgres env/volumes, change MinIO startup and healthchecks, add a createbuckets service to pre-create MinIO buckets, update service dependency ordering, and change CI MinIO tag to latest. Changes
Sequence Diagram(s)sequenceDiagram
participant MinIO as MinIO (server)
participant CB as createbuckets
participant Svc as DependentService
MinIO->>MinIO: Start server (--console-address :9001 /data)
MinIO-->>MinIO: Healthcheck becomes healthy (mc ready local)
CB->>MinIO: Wait for service_healthy
CB->>MinIO: mc alias set dockerminio ... / mc mb dockerminio/<bucket>
CB-->>CB: Exit 0 (service_completed_successfully)
Svc->>CB: Wait for createbuckets completion
Svc->>MinIO: Start and use pre-created bucket
Estimated code review effort🎯 4 (Complex) | ⏱️ ~45 minutes Poem
Tip 🔌 Remote MCP (Model Context Protocol) integration is now available!Pro plan users can now connect to remote MCP servers from the Integrations page. Connect with popular remote MCPs such as Notion and Linear to add more context to your reviews and chats. ✨ Finishing Touches🧪 Generate unit tests
🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
SupportNeed help? Create a ticket on our support page for assistance with any issues or questions. CodeRabbit Commands (Invoked using PR/Issue comments)Type Other keywords and placeholders
CodeRabbit Configuration File (
|
There was a problem hiding this comment.
Actionable comments posted: 5
🔭 Outside diff range comments (2)
tests/migrations/docker-compose.yaml (1)
91-101: Switch MinIO healthcheck to use HTTP probe instead ofmcMinIO server images don’t bundle the
mcclient, so the existing healthcheck (mc ready local) will always fail.• File: tests/migrations/docker-compose.yaml (lines 91–101)
healthcheck: - test: [ "CMD", "mc", "ready", "local" ] + test: [ "CMD-SHELL", "curl -sfI http://localhost:9000/minio/health/ready >/dev/null || exit 1" ] interval: 2s timeout: 10s retries: 2 start_period: 15sIf
curlisn’t available in the image, replace with an equivalentwgetcommand.tests/docker-compose.yaml (1)
121-131: PostgreSQL port mismatch in tests/docker-compose.yamlThe official
postgres:16image listens on port 5432, but this file still references 2345 in several places, which will break connectivity unless you explicitly reconfigure Postgres. Update all occurrences as follows:• Environment variables (lines 66-67, 81-82):
- - ICEBERG_REST__PG_DATABASE_URL_READ=postgresql://postgres:postgres@db:2345/postgres - - ICEBERG_REST__PG_DATABASE_URL_WRITE=postgresql://postgres:postgres@db:2345/postgres + - ICEBERG_REST__PG_DATABASE_URL_READ=postgresql://postgres:postgres@db:5432/postgres + - ICEBERG_REST__PG_DATABASE_URL_WRITE=postgresql://postgres:postgres@db:5432/postgres• Healthcheck port (around line 126):
- test: ["CMD-SHELL", "pg_isready -U postgres -p 2345 -d postgres"] + test: ["CMD-SHELL", "pg_isready -U postgres -p 5432 -d postgres"]• Ports mapping (line 131):
- - "31102:2345" + - "31102:5432"No other
2345references were found in the repo. After applying these changes, all services and healthchecks will target the default Postgres port.
🧹 Nitpick comments (5)
.github/workflows/unittests.yml (1)
151-159: CI still uses Bitnami MinIO and “latest” tag — align with PR intent or pin/stabilizeThe PR’s goal is to remove Bitnami images, but CI still runs bitnami/minio:latest and relies on Bitnami-specific env (MINIO_DEFAULT_BUCKETS, MINIO_*_PORT_NUMBER). If you want to complete the migration here as well, switch to the official MinIO image and adapt startup/bucket creation. If you intentionally keep Bitnami in CI (GH Actions services don’t expose a straightforward “command” field), consider:
- Renaming the PR to clarify exceptions, or
- Pinning Bitnami to a fixed version for reproducibility instead of “latest”.
Two viable options:
- Keep Bitnami in CI (explicit): pin a version and leave env as-is.
- Migrate CI to official MinIO (requires different bootstrapping; e.g., create bucket via a sidecar “mc” service or a step).
Proposed pin if keeping Bitnami:
- image: bitnami/minio:latest + image: bitnami/minio:2025.4.22If you want to migrate CI to official MinIO, I can draft an Actions-friendly pattern (e.g., add a sidecar minio/mc service or a pre-test step to create the bucket) that doesn’t rely on Bitnami envs. Should I proceed?
tests/migrations/docker-compose.yaml (1)
108-121: Use theminio/mcclient image for idempotent bucket creationSwitching to the standalone MinIO client image and leveraging
--ignore-existingensures that running this service multiple times won’t error out if the bucket already exists. You can also drop the absolute/usr/binpath since the officialminio/mcimage putsmcon thePATH.• File: tests/migrations/docker-compose.yaml
• Section:createbucketsservicecreatebuckets: - image: minio/minio:RELEASE.2025-07-23T15-54-02Z + image: minio/mc:RELEASE.2025-07-23T15-54-02Z depends_on: minio: condition: service_healthy restart: on-failure entrypoint: > /bin/sh -c " - sleep 5; - /usr/bin/mc alias set dockerminio http://minio:9000 minio-root-user minio-root-password; - /usr/bin/mc mb dockerminio/examples; + sleep 5; + mc alias set dockerminio http://minio:9000 minio-root-user minio-root-password; + mc mb --ignore-existing dockerminio/examples; exit 0; "examples/access-control-advanced/docker-compose.yaml (1)
175-186: Switch MinIO healthcheck to HTTP endpoint
MinIO’s officialminio/minioimage does not bundle themcclient—healthchecks usingmc readywill fail. Replace it with the built-in HTTP readiness endpoint for reliability and consistency with other services.Affected location:
examples/access-control-advanced/docker-compose.yamlaround lines 175–186Suggested change:
healthcheck: - test: [ "CMD", "mc", "ready", "local" ] + test: [ "CMD-SHELL", "curl -sfI http://localhost:9000/minio/health/ready >/dev/null || exit 1" ] interval: 2s timeout: 10s retries: 2 start_period: 15s(Or use
wgetin place ofcurlif preferred.)tests/docker-compose.yaml (1)
165-165: Pin NATS image to a fixed versionUsing
nats:latestin your test Compose file can introduce CI flakiness when upstream publishes a new release. Please pin to a specific, known-good tag and bump it deliberately on updates.• Location: tests/docker-compose.yaml:165
• Change suggestion:@@ tests/docker-compose.yaml - image: nats:latest + image: nats:2.10.23docker-compose/docker-compose.yaml (1)
55-55: Verify data persistence expectations when changing mount path from Bitnami to official.Previously, data likely lived under
/bitnami/postgresqlinside the volume. Mounting the same named volume at/var/lib/postgresql/datameans the server won’t see old data unless you migrate it. If you expect a fresh DB, consider renaming the volume to avoid confusion; if you expect to preserve data, add a one-off migration or document the breaking change.I can draft a migration snippet (one-off sidecar or manual rsync) to copy from
/bitnami/postgresqlto/var/lib/postgresql/data/pgdataif needed. Want me to include it?
📜 Review details
Configuration used: CodeRabbit UI
Review profile: CHILL
Plan: Pro
💡 Knowledge Base configuration:
- MCP integration is disabled by default for public repositories
- Jira integration is disabled by default for public repositories
- Linear integration is disabled by default for public repositories
You can enable these sources in your CodeRabbit configuration.
📒 Files selected for processing (8)
.github/workflows/unittests.yml(1 hunks)docker-compose/docker-compose.yaml(1 hunks)docker-compose/openfga-overlay.yaml(1 hunks)examples/access-control-advanced/docker-compose.yaml(3 hunks)examples/access-control-simple/docker-compose.yaml(4 hunks)examples/minimal/docker-compose.yaml(4 hunks)tests/docker-compose.yaml(3 hunks)tests/migrations/docker-compose.yaml(5 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). (8)
- GitHub Check: docker / docker
- GitHub Check: docker / docker
- GitHub Check: docker / docker
- GitHub Check: docker / docker
- GitHub Check: sqlx-check
- GitHub Check: test
- GitHub Check: check-generated-openapi-matches
- GitHub Check: clippy
🔇 Additional comments (16)
examples/minimal/docker-compose.yaml (3)
43-44: Nice: explicit bucket provisioning dependencyAdding createbuckets with condition: service_completed_successfully ensures the MinIO bucket exists before Lakekeeper starts. Good sequencing.
117-120: LGTM: switch to official PostgresReplacing Bitnami with postgres:16 and simplifying to POSTGRES_PASSWORD is correct for the default postgres user/db used in your URLs.
130-141: Replacemchealthcheck with HTTP endpointThe official
minio/minioserver image does not include themcclient, so
mc ready localwill always fail. Use MinIO’s built-in HTTP health endpoint instead.Affected location:
- examples/minimal/docker-compose.yaml: healthcheck block (lines 130–141)
Suggested change:
healthcheck: - test: [ "CMD", "mc", "ready", "local" ] + test: [ "CMD-SHELL", "curl -sfI http://localhost:9000/minio/health/ready >/dev/null || exit 1" ] interval: 2s timeout: 10s retries: 2 start_period: 15sIf
curlisn’t present, swap towget:- test: [ "CMD-SHELL", "curl -sfI http://localhost:9000/minio/health/ready >/dev/null || exit 1" ] + test: [ "CMD-SHELL", "wget -qO- http://localhost:9000/minio/health/ready >/dev/null || exit 1" ]Please verify locally which tool your base image provides (or consider a tiny sidecar if neither is available).
tests/migrations/docker-compose.yaml (3)
24-26: Good: Lakekeeper waits for bucket creationAdding createbuckets to depends_on with service_completed_successfully ensures the tests run with a guaranteed bucket.
58-60: Good: Second Lakekeeper instance also gated on bucket readinessKeeps both test variants consistent in dependency ordering.
78-81: LGTM: migrate from Bitnami to official PostgresEnvironment simplification aligns with your connection strings. No issues.
examples/access-control-simple/docker-compose.yaml (4)
66-67: Nice addition: block Lakekeeper on bucket creationThis avoids race conditions when the app starts accessing S3 immediately.
118-121: LGTM: switch to official PostgresConsistent with other files; connection strings match the default user.
131-134: LGTM: openfga-db moved to official PostgresEnvironment is correct for the default database/user.
144-155: Update MinIO healthcheck to use HTTP or include a clientThe
minio/minio:RELEASE.2025-07-23T15-54-02Zserver image does not bundle themcCLI (and also omitscurl/wget), so the current healthcheckhealthcheck: test: [ "CMD", "mc", "ready", "local" ] interval: 2s timeout: 10s retries: 2 start_period: 15swill always fail. You have two main options:
- Extend the server image to include a client
Example Dockerfile:FROM minio/minio:RELEASE.2025-07-23T15-54-02Z RUN apk add --no-cache curl # or copy the mc binary in- Switch to the HTTP health endpoint once a client is present:
healthcheck:- test: [ "CMD", "mc", "ready", "local" ]
- test: [ "CMD-SHELL", "curl -sf http://localhost:9000/minio/health/ready >/dev/null || exit 1" ]
interval: 2s
timeout: 10s
retries: 2
start_period: 15s(Swap to `wget` if you prefer.) Please update your Dockerfile or compose healthcheck accordingly to ensure the probe actually runs. </details> <details> <summary>examples/access-control-advanced/docker-compose.yaml (3)</summary> `141-145`: **Good sequencing: migrate waits for MinIO and bucket creation** Adding minio and createbuckets dependencies to migrate enforces S3 readiness before schema setup that may touch object storage. Indirectly gates lakekeeper through its migrate dependency. --- `149-152`: **LGTM: Postgres official image** Consistent replacement; env aligns with connection strings. --- `162-165`: **LGTM: openfga-db updated to official Postgres** Matches default credentials/DB usage. </details> <details> <summary>tests/docker-compose.yaml (1)</summary> `111-112`: **Good call adding createbuckets gate before server.** This sequencing avoids 404s on missing buckets at startup. Once the MinIO readiness check below is fixed, this dependency will work as intended. </details> <details> <summary>docker-compose/openfga-overlay.yaml (1)</summary> `57-61`: **Postgres migration looks correct; PGDATA and mount align.** Switch to `postgres:16` with `POSTGRES_PASSWORD` and the volume mounted at `/var/lib/postgresql/data` is consistent with the official image. PGDATA pointing to a subdir under the mounted path is fine. Also applies to: 68-68 </details> <details> <summary>docker-compose/docker-compose.yaml (1)</summary> `44-47`: **Core migration to official Postgres looks good.** Image, env, healthcheck, and volume mount path all align with the official image expectations. Also applies to: 55-55 </details> </blockquote></details> </details> <!-- This is an auto-generated comment by CodeRabbit for review status -->
| createbuckets: | ||
| image: minio/minio:RELEASE.2025-07-23T15-54-02Z | ||
| depends_on: | ||
| minio: | ||
| condition: service_healthy | ||
| restart: on-failure | ||
| entrypoint: > | ||
| /bin/sh -c " | ||
| sleep 5; | ||
| /usr/bin/mc alias set dockerminio http://minio:9000 minio-root-user minio-root-password; | ||
| /usr/bin/mc mb dockerminio/examples; | ||
| exit 0; | ||
| " | ||
|
|
There was a problem hiding this comment.
💡 Verification agent
🧩 Analysis chain
createbuckets should use minio/mc and be idempotent
Use the mc image and --ignore-existing to avoid failures on reruns.
- createbuckets:
- image: minio/minio:RELEASE.2025-07-23T15-54-02Z
+ createbuckets:
+ image: minio/mc:RELEASE.2025-07-23T15-54-02Z
depends_on:
minio:
condition: service_healthy
restart: on-failure
entrypoint: >
/bin/sh -c "
- sleep 5;
- /usr/bin/mc alias set dockerminio http://minio:9000 minio-root-user minio-root-password;
- /usr/bin/mc mb dockerminio/examples;
+ mc alias set dockerminio http://minio:9000 minio-root-user minio-root-password;
+ mc ready dockerminio;
+ mc mb --ignore-existing dockerminio/examples;
exit 0;
"To confirm consistency with other examples and the availability of the minio/mc image, let’s search for existing mc usage across the repo:
🏁 Script executed:
#!/bin/bash
# Search for any references to the mc CLI image
rg -n "minio/mc"
# Search for mc alias usage in YAML files
rg -n --type=yaml "mc alias set"Length of output: 750
Use the standalone minio/mc image and make bucket creation idempotent
Switch the CLI off the server image and add mc ready/--ignore-existing so reruns don’t fail.
createbuckets:
- image: minio/minio:RELEASE.2025-07-23T15-54-02Z
+ image: minio/mc:RELEASE.2025-07-23T15-54-02Z
depends_on:
minio:
condition: service_healthy
restart: on-failure
entrypoint: >
/bin/sh -c "
- sleep 5;
- /usr/bin/mc alias set dockerminio http://minio:9000 minio-root-user minio-root-password;
- /usr/bin/mc mb dockerminio/examples;
+ mc alias set dockerminio http://minio:9000 minio-root-user minio-root-password;
+ mc ready dockerminio;
+ mc mb --ignore-existing dockerminio/examples;
exit 0;
"🤖 Prompt for AI Agents
In examples/access-control-simple/docker-compose.yaml lines 158-171, the current
task runs the MinIO server image to call mc which is brittle and not idempotent;
switch the service image to the standalone minio/mc image (e.g. minio/mc:latest
or a pinned mc release), wait for the server with mc ready (or equivalent wait),
set the alias as before, then create the bucket using mc mb with the
--ignore-existing flag (or use mc mb && ignore existing exit code) so repeated
runs do not fail; keep the existing depends_on condition and restart policy but
perform these steps from the mc image to separate CLI from server and make
bucket creation idempotent.
| image: minio/minio:RELEASE.2025-07-23T15-54-02Z | ||
| environment: | ||
| - MINIO_ROOT_USER=minio-root-user | ||
| - MINIO_ROOT_PASSWORD=minio-root-password | ||
| - MINIO_API_PORT_NUMBER=9000 | ||
| - MINIO_CONSOLE_PORT_NUMBER=9001 | ||
| - MINIO_SCHEME=http | ||
| - MINIO_DEFAULT_BUCKETS=tests | ||
| command: [ "server", "--console-address", ":9001", "/data" ] | ||
| healthcheck: | ||
| test: ["CMD", "curl", "-I", "http://localhost:9000/minio/health/live"] | ||
| test: [ "CMD", "mc", "ready", "local" ] | ||
| interval: 2s | ||
| timeout: 10s | ||
| retries: 2 | ||
| start_period: 10s |
There was a problem hiding this comment.
🛠️ Refactor suggestion
MinIO healthcheck uses mc, but minio/minio image doesn’t ship the mc binary.
The healthcheck will always fail. Two viable fixes:
- Option A (HTTP readiness): use MinIO’s ready endpoint.
- Option B (offload readiness to
createbucketsusingminio/mc).
Option A (if the image has curl/wget; many do not):
- healthcheck:
- test: [ "CMD", "mc", "ready", "local" ]
+ healthcheck:
+ test: [ "CMD", "wget", "-qO-", "http://localhost:9000/minio/health/ready" ]
interval: 2s
timeout: 10s
retries: 2
start_period: 10sIf wget/curl isn’t available in your image, prefer Option B below and remove the healthcheck on MinIO (use service_started).
| createbuckets: | ||
| image: minio/minio:RELEASE.2025-07-23T15-54-02Z | ||
| depends_on: | ||
| minio: | ||
| condition: service_healthy | ||
| restart: on-failure | ||
| entrypoint: > | ||
| /bin/sh -c " | ||
| sleep 5; | ||
| /usr/bin/mc alias set dockerminio http://minio:9000 minio-root-user minio-root-password; | ||
| /usr/bin/mc mb dockerminio/tests; | ||
| exit 0; | ||
| " | ||
|
|
There was a problem hiding this comment.
🛠️ Refactor suggestion
Use minio/mc for bucket creation and readiness; make bucket creation idempotent.
The createbuckets container is currently minio/minio, which doesn’t include /usr/bin/mc. Use the minio/mc image, wait for readiness, and create the bucket idempotently.
- createbuckets:
- image: minio/minio:RELEASE.2025-07-23T15-54-02Z
- depends_on:
- minio:
- condition: service_healthy
+ createbuckets:
+ image: minio/mc:RELEASE.2025-07-23T15-54-02Z
+ depends_on:
+ minio:
+ condition: service_started
restart: on-failure
entrypoint: >
/bin/sh -c "
- sleep 5;
- /usr/bin/mc alias set dockerminio http://minio:9000 minio-root-user minio-root-password;
- /usr/bin/mc mb dockerminio/tests;
+ for i in $(seq 1 60); do mc alias set dockerminio http://minio:9000 minio-root-user minio-root-password && mc ready dockerminio && break; sleep 1; done;
+ mc mb --ignore-existing dockerminio/tests;
exit 0;
"This removes reliance on a potentially broken MinIO healthcheck and ensures the bucket creation is safe to re-run.
Also applies to: 153-155
🤖 Prompt for AI Agents
In tests/docker-compose.yaml around lines 150 to 163 (also apply change near
153-155), the createbuckets service uses the minio/minio image but runs mc
commands that aren’t present and the bucket creation is not idempotent; switch
the service image to minio/mc, replace the entrypoint to wait/retry until the
MinIO HTTP endpoint is ready (e.g., poll HTTP or use mc admin info in a loop
with sleeps), and run mc mb with a force/idempotent approach (check for bucket
existence before creating or use mc rb/mb safe logic) so the container can be
safely re-run and does not rely on the MinIO container healthcheck.
There was a problem hiding this comment.
Actionable comments posted: 0
🔭 Outside diff range comments (2)
tests/docker-compose.yaml (1)
121-132: Postgres port mismatch: official image still listens on 5432DSNs and healthcheck in this file use port 2345, and ports map 31102:2345, but postgres:16 defaults to 5432. The container won’t listen on 2345 unless you pass a server flag.
Apply:
db: image: postgres:16 environment: - POSTGRES_PASSWORD=postgres + command: ["postgres", "-c", "port=2345"] healthcheck: test: ["CMD-SHELL", "pg_isready -U postgres -p 2345 -d postgres"] interval: 2sThis aligns the server port with existing DSNs and the healthcheck.
tests/migrations/docker-compose.yaml (1)
95-101: MinIO healthcheck will fail due to missing mcThe minio/minio image does not include the mc client.
Apply:
command: [ "server", "--console-address", ":9001", "/data" ] - healthcheck: - test: [ "CMD", "mc", "ready", "local" ] - interval: 2s - timeout: 10s - retries: 2 - start_period: 15s + # Healthcheck intentionally omitted; readiness is enforced by the createbuckets job using `mc ready`Also update downstream depends_on for minio to service_started (outside this hunk) if you remove the healthcheck.
♻️ Duplicate comments (7)
examples/access-control-simple/docker-compose.yaml (2)
148-154: MinIO healthcheck will fail: mc is not present in minio/minioThe minio/minio image doesn’t ship the mc client, so test: ["CMD","mc","ready","local"] will always fail.
Apply this change to remove the broken healthcheck (and rely on createbuckets to wait with mc ready):
command: [ "server", "--console-address", ":9001", "/data" ] - healthcheck: - test: [ "CMD", "mc", "ready", "local" ] - interval: 2s - timeout: 10s - retries: 2 - start_period: 15s + # Healthcheck intentionally omitted; readiness is enforced by the createbuckets job using `mc ready`Follow-up: since the minio healthcheck is removed, update services depending on MinIO to use service_started (not shown in this hunk). For example:
depends_on: minio: condition: service_started createbuckets: condition: service_completed_successfully
158-170: createbuckets uses server image and non-idempotent commandUse the dedicated minio/mc image, wait for readiness with mc ready, and make bucket creation idempotent.
Apply:
- createbuckets: - image: minio/minio:RELEASE.2025-07-23T15-54-02Z + createbuckets: + image: minio/mc:RELEASE.2025-07-23T15-54-02Z depends_on: minio: - condition: service_healthy + condition: service_started restart: on-failure entrypoint: > /bin/sh -c " - sleep 5; - /usr/bin/mc alias set dockerminio http://minio:9000 minio-root-user minio-root-password; - /usr/bin/mc mb dockerminio/examples; + mc alias set dockerminio http://minio:9000 minio-root-user minio-root-password; + mc ready dockerminio; + mc mb --ignore-existing dockerminio/examples; exit 0; "examples/minimal/docker-compose.yaml (2)
136-142: MinIO healthcheck will fail: mc is not in the minio/minio imageThe healthcheck uses mc which is not bundled in the server image.
Apply this to remove the broken healthcheck (createbuckets will gate readiness):
command: [ "server", "--console-address", ":9001", "/data" ] - healthcheck: - test: [ "CMD", "mc", "ready", "local" ] - interval: 2s - timeout: 10s - retries: 2 - start_period: 15s + # Healthcheck intentionally omitted; readiness is enforced by the createbuckets job using `mc ready`If you prefer to keep a healthcheck, switch to an HTTP readiness probe using a tool available in the image; otherwise this removal is the safest.
149-161: createbuckets must use minio/mc and be idempotentSwitch off the server image, wait for readiness with mc, and use --ignore-existing.
Apply:
createbuckets: - image: minio/minio:RELEASE.2025-07-23T15-54-02Z + image: minio/mc:RELEASE.2025-07-23T15-54-02Z depends_on: minio: - condition: service_healthy + condition: service_started restart: on-failure entrypoint: > /bin/sh -c " - sleep 5; - /usr/bin/mc alias set dockerminio http://minio:9000 minio-root-user minio-root-password; - /usr/bin/mc mb dockerminio/examples; + mc alias set dockerminio http://minio:9000 minio-root-user minio-root-password; + mc ready dockerminio; + mc mb --ignore-existing dockerminio/examples; exit 0; "tests/docker-compose.yaml (2)
136-146: MinIO healthcheck uses mc which isn’t presentThis will always fail on the minio/minio image.
Apply:
command: [ "server", "--console-address", ":9001", "/data" ] - healthcheck: - test: [ "CMD", "mc", "ready", "local" ] - interval: 2s - timeout: 10s - retries: 2 - start_period: 10s + # Healthcheck intentionally omitted; readiness is enforced by the createbuckets job using `mc ready`
150-165: createbuckets: wrong image and wrong network; also not idempotent
- Use minio/mc, not minio/minio.
- Wait for readiness with mc ready and make mb idempotent.
- Network is iceberg_net here, but all other services use iceberg_rest_tests — createbuckets won’t reach minio.
Apply:
createbuckets: - image: minio/minio:RELEASE.2025-07-23T15-54-02Z + image: minio/mc:RELEASE.2025-07-23T15-54-02Z depends_on: minio: - condition: service_healthy + condition: service_started restart: on-failure entrypoint: > /bin/sh -c " - sleep 5; - /usr/bin/mc alias set dockerminio http://minio:9000 minio-root-user minio-root-password; - /usr/bin/mc mb dockerminio/tests; + mc alias set dockerminio http://minio:9000 minio-root-user minio-root-password; + mc ready dockerminio; + mc mb --ignore-existing dockerminio/tests; exit 0; " - networks: - iceberg_net: + networks: + - iceberg_rest_teststests/migrations/docker-compose.yaml (1)
108-120: createbuckets: use minio/mc and make bucket creation idempotentSwitch to the mc image, wait for readiness, and avoid failures on reruns.
Apply:
createbuckets: - image: minio/minio:RELEASE.2025-07-23T15-54-02Z + image: minio/mc:RELEASE.2025-07-23T15-54-02Z depends_on: minio: - condition: service_healthy + condition: service_started restart: on-failure entrypoint: > /bin/sh -c " - sleep 5; - /usr/bin/mc alias set dockerminio http://minio:9000 minio-root-user minio-root-password; - /usr/bin/mc mb dockerminio/examples; + mc alias set dockerminio http://minio:9000 minio-root-user minio-root-password; + mc ready dockerminio; + mc mb --ignore-existing dockerminio/examples; exit 0; "
🧹 Nitpick comments (1)
tests/docker-compose.yaml (1)
167-167: Avoid nats:latest; pin a versionPin NATS to a specific tag (e.g., nats:2.10.24) for reproducible CI and to avoid surprise breakages.
Apply:
- image: nats:latest + image: nats:2.10.24
📜 Review details
Configuration used: CodeRabbit UI
Review profile: CHILL
Plan: Pro
💡 Knowledge Base configuration:
- MCP integration is disabled by default for public repositories
- Jira integration is disabled by default for public repositories
- Linear integration is disabled by default for public repositories
You can enable these sources in your CodeRabbit configuration.
📒 Files selected for processing (5)
examples/access-control-advanced/docker-compose.yaml(3 hunks)examples/access-control-simple/docker-compose.yaml(4 hunks)examples/minimal/docker-compose.yaml(5 hunks)tests/docker-compose.yaml(3 hunks)tests/migrations/docker-compose.yaml(6 hunks)
🚧 Files skipped from review as they are similar to previous changes (1)
- examples/access-control-advanced/docker-compose.yaml
⏰ 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: test
- GitHub Check: sqlx-check
- GitHub Check: check-generated-openapi-matches
🔇 Additional comments (11)
examples/access-control-simple/docker-compose.yaml (3)
66-67: Startup ordering for bucket dependency looks goodAdding createbuckets with condition service_completed_successfully ensures Lakekeeper doesn’t start until the bucket exists.
118-121: Postgres: switch to official image — OKMoving to postgres:16 with POSTGRES_PASSWORD is correct for the official image defaults.
130-134: openfga-db: switch to official Postgres — OKConfiguration aligns with the official image. DSNs use port 5432 in this compose, so no port mismatch.
examples/minimal/docker-compose.yaml (3)
43-45: Lakekeeper waits for createbuckets — OKGood sequencing to ensure bucket exists before Lakekeeper starts.
96-98: initialwarehouse depends on createbuckets — OKCorrectly orders warehouse creation behind bucket creation.
118-122: Postgres: official image migration — OKUsing postgres:16 with POSTGRES_PASSWORD is correct and consistent with DSNs on 5432.
tests/docker-compose.yaml (1)
111-112: Server waits for createbuckets — OKGood to make server depend on bucket creation finishing.
tests/migrations/docker-compose.yaml (4)
24-25: Lakekeeper depends on createbuckets — OKGood sequencing to ensure the MinIO bucket exists before startup.
58-59: Lakekeeper_2 depends on createbuckets — OKConsistent with the initial instance.
78-81: Postgres: official image migration — OKpostgres:16 with POSTGRES_PASSWORD is correct and DSNs target 5432 in this compose.
154-155: initialwarehouse depends on createbuckets — OKEnsures warehouse creation is serialized after bucket readiness.
There was a problem hiding this comment.
Actionable comments posted: 1
🔭 Outside diff range comments (1)
tests/docker-compose.yaml (1)
109-116: Align dependencies with MinIO readiness approachSince MinIO’s healthcheck is removed/broken, rely on service_started for MinIO and keep server gated on createbuckets completing successfully. This ensures buckets exist before the server starts.
Apply:
server: ... depends_on: migrate: condition: service_completed_successfully init-kafka: condition: service_completed_successfully db: condition: service_healthy - minio: - condition: service_healthy + minio: + condition: service_started createbuckets: condition: service_completed_successfully nats: condition: service_started keycloak: condition: service_healthyAlso applies to: 150-164
♻️ Duplicate comments (2)
tests/docker-compose.yaml (2)
142-146: MinIO healthcheck usesmc, which is not present inminio/minioThis healthcheck will always fail because the server image doesn’t include the mc client. Either remove the healthcheck and rely on the createbuckets readiness loop, or switch to an HTTP probe if the image has curl/wget (it usually doesn’t).
Minimal safe change: remove the healthcheck and adjust dependents to use service_started.
- healthcheck: - test: [ "CMD", "mc", "ready", "local" ] - interval: 2s - timeout: 10s - retries: 2 - start_period: 10s
150-164: Useminio/mcfor bucket creation, wait for readiness, and make bucket create idempotentThe container image here is
minio/miniobut the script uses/usr/bin/mc. That binary is only inminio/mc. Also, use retries and--ignore-existingfor idempotency, and do not depend on a broken MinIO healthcheck.Apply:
- createbuckets: - image: minio/minio:RELEASE.2025-07-23T15-54-02Z - depends_on: - minio: - condition: service_healthy + createbuckets: + image: minio/mc:RELEASE.2025-07-23T15-54-02Z + depends_on: + minio: + condition: service_started restart: on-failure entrypoint: > /bin/sh -c " - sleep 5; - /usr/bin/mc alias set dockerminio http://minio:9000 minio-root-user minio-root-password; - /usr/bin/mc mb dockerminio/tests; + for i in $(seq 1 60); do mc alias set dockerminio http://minio:9000 minio-root-user minio-root-password && mc ready dockerminio && break; sleep 1; done; + mc mb --ignore-existing dockerminio/tests; exit 0; "
🧹 Nitpick comments (1)
tests/docker-compose.yaml (1)
167-167: Avoidlatesttag for NATS to keep tests reproduciblePin to a specific NATS version (e.g., 2.10.x) to avoid surprise breakages in CI.
For example:
- image: nats:latest + image: nats:2.10.24
📜 Review details
Configuration used: CodeRabbit UI
Review profile: CHILL
Plan: Pro
💡 Knowledge Base configuration:
- MCP integration is disabled by default for public repositories
- Jira integration is disabled by default for public repositories
- Linear integration is disabled by default for public repositories
You can enable these sources in your CodeRabbit configuration.
📒 Files selected for processing (1)
tests/docker-compose.yaml(2 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). (7)
- GitHub Check: docker / docker
- GitHub Check: docker / docker
- GitHub Check: docker / docker
- GitHub Check: docker / docker
- GitHub Check: check-generated-openapi-matches
- GitHub Check: sqlx-check
- GitHub Check: test
There was a problem hiding this comment.
Actionable comments posted: 0
♻️ Duplicate comments (2)
tests/docker-compose.yaml (2)
141-146: MinIO healthcheck usesmc, butminio/minioimage doesn’t includemc— healthcheck will fail.This prevents MinIO from ever becoming “healthy” and blocks dependent services.
Apply this diff to remove the broken healthcheck and let readiness be handled by the
createbucketsjob:- healthcheck: - test: [ "CMD", "mc", "ready", "local" ] - interval: 2s - timeout: 10s - retries: 2 - start_period: 10sAdditionally, update server dependency (outside this hunk) to not rely on MinIO health status if you remove the healthcheck:
YAML (outside selected lines):
services: server: depends_on: minio: condition: service_started createbuckets: condition: service_completed_successfully
150-164:createbucketsusesminio/miniobut runsmccommands; make it useminio/mcand be idempotent.As written, the container won’t find
/usr/bin/mc. Also, make bucket creation retry-ready and idempotent.Apply:
createbuckets: - image: minio/minio:RELEASE.2025-07-23T15-54-02Z - depends_on: - minio: - condition: service_healthy + image: minio/mc:RELEASE.2025-07-23T15-54-02Z + depends_on: + minio: + condition: service_started restart: on-failure entrypoint: > /bin/sh -c " - sleep 5; - /usr/bin/mc alias set dockerminio http://minio:9000 minio-root-user minio-root-password; - /usr/bin/mc mb dockerminio/tests; + for i in $(seq 1 60); do mc alias set dockerminio http://minio:9000 minio-root-user minio-root-password && mc ready dockerminio && break; sleep 1; done; + mc mb --ignore-existing dockerminio/tests; exit 0; "
🧹 Nitpick comments (2)
tests/docker-compose.yaml (2)
66-67: Credentials embedded in URLs (test-only) flagged by scanner.Checkov flagged basic auth in connection strings. Given this is a test compose, it’s acceptable; if you want to silence scanners, consider moving secrets to a .env file or top-level variables and reference them.
Example (optional):
- Define in a .env: TEST_PG_PASSWORD=postgres
- Then in compose:
ICEBERG_REST__PG_DATABASE_URL_READ=postgresql://postgres:${TEST_PG_PASSWORD}@db:5432/postgresAlso applies to: 81-82
167-168: Avoidnats:latestfor deterministic tests; pin a version.Floating tags can break CI unpredictably. Recommend pinning a known-good tag (e.g., the one you were on or current stable).
Example:
- image: nats:latest + image: nats:2.10.23
📜 Review details
Configuration used: CodeRabbit UI
Review profile: CHILL
Plan: Pro
💡 Knowledge Base configuration:
- MCP integration is disabled by default for public repositories
- Jira integration is disabled by default for public repositories
- Linear integration is disabled by default for public repositories
You can enable these sources in your CodeRabbit configuration.
📒 Files selected for processing (1)
tests/docker-compose.yaml(4 hunks)
🧰 Additional context used
🪛 Checkov (3.2.334)
tests/docker-compose.yaml
[MEDIUM] 66-67: Basic Auth Credentials
(CKV_SECRET_4)
⏰ 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: test
- GitHub Check: check-generated-openapi-matches
- GitHub Check: sqlx-check
🔇 Additional comments (3)
tests/docker-compose.yaml (3)
66-67: Good catch: switched Postgres URLs to 5432.The in-network port now matches the official postgres:16 container. This should resolve connection issues.
Also applies to: 81-82
111-112: Nice: gate server startup oncreatebucketscompletion.This sequencing ensures the bucket exists before server init. Once the MinIO bits above are fixed, this should be reliable.
121-131: Switch to official Postgres image with sane healthcheck/ports looks good.
pg_isreadyagainst 5432 and mapping to 31102 is correct for tests. Minimal env is fine.
✅ PR Title Formatted CorrectlyThe title of this PR match the correct format. Thank you! |
* feat: Publish images to Dockerhub (lakekeeper#1274) * feat: Update UI to 0.9.0 with multi-project support (lakekeeper#1275) * chore: release 0.9.4 Release-As: 0.9.4 * chore: release main (lakekeeper#1262) * chore(ci): Fix Dockerhub login * chore(docs): Improve developer guide (lakekeeper#1265) * chore(docs): add info regarding `view_version`'s internal representation (lakekeeper#1261) * chore(docs): Architecture clarify Secret Store (lakekeeper#1284) * fix: Update Limes to 0.2.2 - Fixes compilation issue due to breaking `jwks_client_rs` change (lakekeeper#1282) * fix: Update Limes to 0.2.2 * increase min rust version * chore: release 0.9.5 Release-As: 0.9.5 * chore: release main (lakekeeper#1286) * chore: enable changelog sections for release-please (lakekeeper#1264) k * fix(deps): update rust crate rand to v0.9.2 (lakekeeper#1252) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> * chore(deps): update rust crate async-channel to v2.5.0 (lakekeeper#1225) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> * chore(deps): update dependency mkdocs-material to v9.6.17 (lakekeeper#1289) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> * chore(deps): update rust crate anyhow to v1.0.99 (lakekeeper#1290) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> * chore: Remove bitnami images (lakekeeper#1288) * feat!: Move to Lakekeeper IO based on hyperscaler SDKs (lakekeeper#1285) * chore(deps): update rust crate reqwest to v0.12.23 (lakekeeper#1294) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> * chore(docs): Improve Cloud storage test docs * fix: accept "disable" as PG sslmode as documented (lakekeeper#1303) * feat: Simplify task interface, re-exports, enable delete-after-commit (lakekeeper#1302) * feat: Introduce `RequestMetadata` for Internal Principals which bypass AuthZ (lakekeeper#1306) * chore(deps): update azure/setup-helm action to v4.3.1 (lakekeeper#1299) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> * chore(test): use nextest filterset instead of needs_env_var (lakekeeper#1304) * chore(deps): update rust crate openssl-src to v300.5.2 (lakekeeper#1292) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> * chore(deps): update rust crate async-compression to v0.4.28 (lakekeeper#1311) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> * chore(deps): update rust crate thiserror to v2.0.16 (lakekeeper#1296) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> * feat: Provide `ApiContext` to externally registered tasks (lakekeeper#1307) * feat!: Simplify Task interface, extend SpecializedTask interface (lakekeeper#1310) * feat: Improve authorizer `are_allowed_*` batch check signature (lakekeeper#1315) * chore(authz): Enforce use of AuthZ decisions with #[must_use] (lakekeeper#1317) * feat: Task Management APIs (lakekeeper#1316) * chore(deps): update rust crate tracing-subscriber to v0.3.20 [security] (lakekeeper#1318) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> * feat: Add `RunNow` and `RunAt` to Controls for Tasks (lakekeeper#1322) * chore(deps): update rust crate tokio-util to v0.7.16 (lakekeeper#1313) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> * chore(docs): Improve Entra ID docs (lakekeeper#1325) * chore(docs): Improve Upgrades & Migration docs (lakekeeper#1326) * feat: Add tasks heartbeat with Catalog state (lakekeeper#1324) * ci: add configuration for CodeRabbit reviews (lakekeeper#1327) * feat: Add optional STS session-tags in S3 STS requests for ABAC authorization (lakekeeper#1230) * feat: Random Server IDs (lakekeeper#1328) * chore(deps): update rust crate percent-encoding to v2.3.2 (lakekeeper#1312) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> * feat(authz): Deprecate Permission Endpoints for Tables without WarehouseIDs (lakekeeper#1334) * fix: Tasks endpoints in router (lakekeeper#1335) * feat(ci): add nextest profile ci_no_secrets for external PRs (lakekeeper#1333) * chore(deps): update rust crate chrono to v0.4.42 (lakekeeper#1331) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> * chore: Pin examples duckdb version to 1.3 (lakekeeper#1343) * feat!: Require warehouse_id when checking permissions on views or tables via ID (lakekeeper#1340) * fix: migrate away from bitnami in unittest.yml (lakekeeper#1344) * chore: Remove coderabitt config * fix(docs): Fix inconsistent URL format in README (lakekeeper#1345) Co-authored-by: Christian <[email protected]> * feat: Remove serde_yaml & serde_yml (lakekeeper#1341) * feat!: add `warehouse_id` to PKs of all `table_*` and `view_*` tables (lakekeeper#1254) * feat: Minor namespace join performance improvements * fix: Warehouse permissions are directly used for task retrieval & control (lakekeeper#1347) * fix: Potential Race Condition when undropping Tabulars (lakekeeper#1342) * fix: table rename authz and error handling (lakekeeper#1346) Co-authored-by: Andre Luis Anastacio <[email protected]> * chore(deps): update rust crate google-cloud-auth to v1.1.2 (lakekeeper#1337) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Christian <[email protected]> * chore(deps): update rust crate time to v0.3.44 (lakekeeper#1349) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> * chore(deps): update dependency mkdocs-material to v9.6.20 (lakekeeper#1309) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Christian <[email protected]> * feat: Set ServerID during migration (lakekeeper#1348) * chore(deps): Remove utoipa fork (lakekeeper#1352) * chore(deps): update rust crate serde_with to v3.14.1 (lakekeeper#1351) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> * chore(deps): update rust crate url to v2.5.7 (lakekeeper#1354) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> * chore(deps): update rust crate async-compression to v0.4.30 (lakekeeper#1323) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Christian <[email protected]> * chore(deps): update rust crate serde_json to v1.0.145 (lakekeeper#1250) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Christian <[email protected]> * chore(deps): update strum monorepo to v0.27.2 (lakekeeper#1251) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Christian <[email protected]> * chore(deps): update serde monorepo to v1.0.226 (lakekeeper#1355) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> * fix(deps): update rust crate clap to v4.5.48 (lakekeeper#1356) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> * feat: Add Entity Names to Tasks (lakekeeper#1353) * fix: case insensitivity of catalog endpoints (lakekeeper#1338) * fix: Improve delete_warehouse error message for active tasks * chore(deps): update rust crate tempfile to v3.22.0 (lakekeeper#1359) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Christian <[email protected]> * chore(deps): update rust crate axum-prometheus to 0.9.0 (lakekeeper#1358) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> * fix: PgSslMode not supported error string * feat(authz)!: add OpenFGA schema v4 and v3->v4 migration (lakekeeper#1314) Co-authored-by: Christian <[email protected]> Co-authored-by: Christian Thiel <[email protected]> * chore(deps): update rust crate uuid to v1.18.1 (lakekeeper#1362) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> * chore(deps): update dependency markdown-grid-tables to v0.6.0 (lakekeeper#1357) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> * chore(deps): update rust crate anyhow to v1.0.100 (lakekeeper#1350) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> * fix: clippy * chore(deps): update rust crate moka to v0.12.11 (lakekeeper#1365) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> * chore(deps): update rust crate tempfile to v3.23.0 (lakekeeper#1367) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> * chore(deps): update rust crate async-nats to 0.43.0 (lakekeeper#1366) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> * chore(deps): update actions/setup-node action to v5 (lakekeeper#1371) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> * chore(deps): update actions/checkout action to v5 (lakekeeper#1369) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> * chore(deps): update actions/setup-python action to v6 (lakekeeper#1372) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> * feat: V3 support (lakekeeper#1364) * chore: Set Get Task Permission to "CanGetMetadata" (lakekeeper#1376) * chore(deps): update dependency node to v22 (lakekeeper#1373) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> * feat(authz)!: extend OpenFGA tabular entities with WarehouseId (lakekeeper#1329) --------- Co-authored-by: Christian <[email protected]> Co-authored-by: Christian Thiel <[email protected]> * feat: Add support for tasks affecting views (lakekeeper#1378) * feat(authz): Add specific Task Actions (lakekeeper#1379) * chore(tests): Test with Iceberg 1.9.2 & 1.10.0 (lakekeeper#1267) * feat: Enrich task metadata with concrete tabular type (lakekeeper#1383) * feat: Add loadTable Snapshots filter (lakekeeper#1385) * feat: add endpoint for fuzzy search of tabulars (lakekeeper#1387) * feat: Update UI to 0.10.0 (lakekeeper#1390) * feat(ui): Update UI to 0.10.1 * chore: Use lakekeeper re-exports in bin (lakekeeper#1391) * fix(tabular-search): distance and docs for `searchterm is uuid` (lakekeeper#1393) * chore(examples): Idempotent bucket creation in minimal example (lakekeeper#1386) In the case where you already have a bucket created, like the "examples" bucket, I ran into an issue where the createbuckets service fails, and this prevents lakekeeper from starting back up. This fix adds a simple minio flag to ignore buckets that already exist, making things even more user friendly * feat: Make number of workers spawned for Expiration & Purge configurable (lakekeeper#1395) * chore: release main (lakekeeper#1295) * chore: added gif to readme (lakekeeper#1396) * chore: remove unneded `#[allow(dead_code)]` (lakekeeper#1399) * fix: Use FnOnce for queue & service registration * Revert "fix: Use FnOnce for queue & service registration" This reverts commit 47b03a0. * chore(docs): Add 0.10 docs * perf(db): remove `join namespace` from `active_tabulars` view (lakekeeper#1401) * doc(db): how to connect to db and inspect schema (lakekeeper#1402) * feat: implement `OpenFgaEntity` for `ServerId` (lakekeeper#1394) * impl OpenFgaEntity * Use the implementation * fix: Use FnOnce for queue & service registration (lakekeeper#1404) * chore(deps): update dependency mkdocs-material to v9.6.21 (lakekeeper#1406) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> * feat: Expose client-managed X-Iceberg-Access-Delegation (lakekeeper#1407) * fix: Use higher consistency for some OpenFGA queries (lakekeeper#1408) * feat: Improve Kubernetes Auth docs (lakekeeper#1415) * chore: release 0.10.1 Release-As: 0.10.1 * fix: Endpoint stats for Project Endpoints (lakekeeper#1412) * feat: Add create table guard to cleanup location on Failure (lakekeeper#1418) * chore: Generate ID types with Macro (lakekeeper#1419) * chore: Re-Export Tokio from lakekeeper-io create (lakekeeper#1420) * fix: Add support for `write.metadata.metrics.` Table Properties (lakekeeper#1422) * fix: Update UI to 0.10.2 (lakekeeper#1423) * chore: release main (lakekeeper#1403) * fix: Parse empty ProjectID headers as None (lakekeeper#1424) * chore: release 0.10.2 Release-As: 0.10.2 * chore: release main (lakekeeper#1425) * feat: Add `debug_migrate_before_serve` env var (lakekeeper#1426) * feat: Move OpenFGA Authorizer to separate crate (lakekeeper#1421) * chore(renovate): Group dependencies * chore(renovate): ignore additional deps * chore: Rename src/service -> src/server, trait Catalog -> CatalogStore (lakekeeper#1428) * feat(examples): add k8s iceberg sink connector (avro) (lakekeeper#1336) --------- Co-authored-by: Christian <[email protected]> * chore(ci): Fix release please (lakekeeper#1433) * feat: Expose License Information via API (lakekeeper#1432) * fix(deps): update all non-major dependencies (lakekeeper#1429) * chore(ci): Remove mgmt API version update via release-please * chore: Restructure catalog_store into multiple modules (lakekeeper#1434) * feat: Validate Downscoping works on Warehouse creation (lakekeeper#1437) * chore(ci): Fix release please * docs: Add info about installing sqlx to developer-guide.md (lakekeeper#1438) * docs: Update developer-guide.md (lakekeeper#1439) * chore(deps): update all non-major dependencies (lakekeeper#1436) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> * fix: Better normalization for ARNs in S3 Profile (lakekeeper#1441) * chore(deps): update all non-major dependencies (lakekeeper#1442) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> * chore(main): release 0.10.3 (lakekeeper#1427) * fix: Release Please CI outputs * fix(ci): Revert 0.10.3 release * chore(main): release 0.10.3 (lakekeeper#1446) * feat: Introduce CatalogWarehouseOps & CatalogNamespaceOps abstractions (lakekeeper#1440) * feat: Allow x-user-agent header (lakekeeper#1453) * feat: Table & View Ops Abstractions, Improved Error Handling (lakekeeper#1454) * fix: CORS allow access delegation & etag headers (lakekeeper#1455) * fix: Headers should be lowercase (lakekeeper#1457) * chore(tests): Add trino information_schema.tables test (lakekeeper#1456) * chore: Introduce open-api feature to gate utoipa and swagger (lakekeeper#1458) * chore: Release As 0.11 * fix: Debug assertion table identifier mismatch for signer (lakekeeper#1460) * feat: Caching Short-Term-Credentials (STC) (lakekeeper#1459) * feat: Warehouse Cache (lakekeeper#1462) * chore(deps): update actions/setup-node action to v6 (lakekeeper#1443) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> * feat: Version based Warehouse Cache (lakekeeper#1465) * feat: AuthZ Server and Project Ops (lakekeeper#1471) * chore(deps): update github artifact actions (lakekeeper#1461) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> * chore: Rename release branch pattern to rel-* * feat: Catalog returns full Namespace Hierarchy for nested Namespaces (lakekeeper#1472) --------- Co-authored-by: Christian <[email protected]> Co-authored-by: Christian Thiel <[email protected]> Co-authored-by: Dao Thanh Tung <[email protected]> Co-authored-by: Moritz Zielke <[email protected]> Co-authored-by: Baptiste Gouhoury <[email protected]> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Dolan Antenucci <[email protected]> Co-authored-by: Anatoly Popov <[email protected]> Co-authored-by: Andre Luis Anastacio <[email protected]> Co-authored-by: Scott Haines <[email protected]> Co-authored-by: Viktor Kessler <[email protected]> Co-authored-by: Yohan Valencia <[email protected]> Co-authored-by: Paul Roman <[email protected]>
Summary by CodeRabbit
New Features
Chores
Tests