Repository navigation
chore(docs): Sync documentation from lakekeeper plus - #1818
Conversation
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (3)
🚧 Files skipped from review as they are similar to previous changes (3)
WalkthroughAdds GenericTable (a non‑Iceberg Namespace entity) with Cedar authorization actions, OpenAPI generic-table permission and warehouse endpoints, Iceberg format-version-policy support, two task scheduling endpoints, tabular-type/task-entity extensions, and enterprise release notes. ChangesGenericTable Entity and Format-Version-Policy Support
Estimated code review effort🎯 4 (Complex) | ⏱️ ~45 minutes Poem
🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches🧪 Generate unit tests (beta)
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. Comment |
There was a problem hiding this comment.
Actionable comments posted: 2
🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.
Inline comments:
In `@docs/docs/api/management-open-api-plus.yaml`:
- Around line 8242-8285: The ScheduleExpireSnapshotsTaskRequest and
ScheduleRemoveOrphanFilesTaskRequest schemas currently reference the broad
WarehouseTaskEntityId (which includes generic-table-id) and must be narrowed to
only the entity kinds those queues accept: update the properties.entity $ref for
ScheduleExpireSnapshotsTaskRequest and ScheduleRemoveOrphanFilesTaskRequest to a
new or existing union schema that lists only the supported entity kinds (e.g.,
replace WarehouseTaskEntityId with a specific
WarehouseTaskEntityIdForExpireSnapshots /
WarehouseTaskEntityIdForRemoveOrphanFiles or an inline enum/oneOf containing the
allowed kinds), regenerate the OpenAPI from the upstream types/annotations so
clients reflect the narrowed union, and apply the same change to the other
occurrences noted (lines referenced in the comment).
- Around line 3619-3623: The 409 response currently references
IcebergErrorResponse which doesn’t provide a machine-readable task id; update
the OpenAPI spec so POST /task (and other endpoints noted) returns a dedicated
409 response schema (e.g., TaskAlreadyActiveResponse) that includes a structured
field like task_id (or taskId) containing the conflicting task ID, and replace
the IcebergErrorResponse reference for the 409 cases (locations around the
documented "409 TaskAlreadyActive" text) with that new schema so generated
clients can reliably read the task id; alternatively, if you prefer not to
expose a structured id, remove the "chain to POST /task/control with run-now or
run-at" promise from the endpoint descriptions to avoid implying a
machine-readable contract.
🪄 Autofix (Beta)
Fix all unresolved CodeRabbit comments on this PR:
- Push a commit to this branch (recommended)
- Create a new PR with the fixes
ℹ️ Review info
⚙️ Run configuration
Configuration used: Organization UI
Review profile: CHILL
Plan: Pro
Run ID: 86edebda-9a91-41d4-8df5-3fc288578fdc
📒 Files selected for processing (2)
docs/docs/api/lakekeeper.cedarschemadocs/docs/api/management-open-api-plus.yaml
26d0a89 to
376a15f
Compare
Automated sync of documentation files from lakekeeper-plus: - management-open-api-plus.yaml: updated - lakekeeper.cedarschema: updated - enterprise-release-notes.md: updated Source commit: 94d6bd23705fb2b75ecaba207963102d8ae2c99f
376a15f to
b3d05c8
Compare
✅ PR Title Formatted CorrectlyThe title of this PR match the correct format. Thank you! |
This PR automatically syncs documentation files from the lakekeeper plus repository.
Changes
Source commit:
94d6bd23705fb2b75ecaba207963102d8ae2c99fGenerated by workflow run
Summary by CodeRabbit
New Features
Documentation