Skip to content

docs(api): tasks that a warehouse delete cancels do not block it - #2253

Merged
c-thiel merged 1 commit into
mainfrom
ct/warehouse-delete-force-doc
Nov 5, 2026
Merged

c-thiel merged 1 commit into
mainfrom
ct/warehouse-delete-force-doc

Conversation

@c-thiel

@c-thiel c-thiel commented Nov 5, 2026 •

Copy link
Copy Markdown
Member

Clarifies the force flag of the warehouse delete action: tasks of queues that are cancelled together with the warehouse don't block the delete. The rustdoc and the management OpenAPI say so now.

Summary by CodeRabbit

  • Documentation
    • Clarified that deleting a warehouse requires it to be empty and is blocked by unfinished tasks, except those in queues cancelled as part of deletion.

The description of the `force` flag of the warehouse `delete` action said that a warehouse with unfinished tasks cannot be deleted. Tasks of queues that are cancelled when their warehouse is deleted do not block the delete.
@coderabbitai

coderabbitai Bot commented Nov 5, 2026 •

Copy link
Copy Markdown
Contributor

Explain Change →

No actionable comments were generated in the recent review.

Walkthrough

The Rust documentation and OpenAPI description for warehouse deletion now clarify that unfinished tasks in queues cancelled by deletion do not block the operation. No runtime behavior or public declarations changed.

Changes

Warehouse deletion documentation

Layer / File(s) Summary
Delete action descriptions
crates/lakekeeper/src/service/authz/mod.rs, docs/docs/api/management-open-api.yaml
Both descriptions clarify that unfinished tasks block deletion except for tasks in queues cancelled when the warehouse is deleted.

Estimated code review effort: 1 (Trivial) | ~4 minutes

Change: Other

Possibly related PRs

  • lakekeeper/lakekeeper#2248: Updates the OpenAPI description of the warehouse delete force flag with the same unfinished-task exception.

Suggested reviewers: brgr-s

Merge Risk: Minimal · up to 414dd

The clarification matches warehouse deletion behavior. No merge-blocking risk was identified.

Pre-merge checks: Passed 5

Check name Status Explanation
Description Check Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check Passed The title states the main change: the documentation for the warehouse delete action now says that tasks in queues cancelled with the warehouse do not block its deletion. The raw summary confirms the c…
Docstring Coverage Passed No eligible functions found in the changed files. Skipping docstring coverage check. Docstring coverage is scoped to functions touched by this diff with cyclomatic complexity of at least 2. Documentat…
Linked Issues check Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check Passed Check skipped because no linked issues were found for this pull request.
Full details: Title check

Explanation

The title states the main change: the documentation for the warehouse delete action now says that tasks in queues cancelled with the warehouse do not block its deletion. The raw summary confirms the change is documentation-only in the rustdoc for CatalogWarehouseAction::Delete and the management OpenAPI description for LakekeeperWarehouseActionDelete. The title's scope matches the changeset, and the 'docs(api)' prefix fits a documentation-only edit. The objectives state the same clarification.

Full details: Docstring Coverage

Explanation

No eligible functions found in the changed files. Skipping docstring coverage check. Docstring coverage is scoped to functions touched by this diff with cyclomatic complexity of at least 2. Documentation-only edits and deletions within surviving functions are included; unchanged diff context and fully deleted functions are excluded. Analyzed 0 functions across 1 files. (1 skipped: 1 unsupported.)

Finishing Touches

Generate docstrings

  • Commit to this branch
  • Create a new PR
Generate unit tests (beta)

  • Commit to this branch
  • Create a new PR
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

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

A rabbit checks the warehouse gate,
“Empty first,” it says, “then we can wait.”
Queued tasks cancelled need not stay,
The docs now spell the rule this way.
It twitches once and hops away.

Recent review info

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: Organization UI
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 55ea3eb1-b3ab-4dd4-8bfd-1e45fa340cd4
Commits

Reviewing files that changed from the base of the PR and between 800fee6 and 414dd74.

Files selected for processing: 2

  • crates/lakekeeper/src/service/authz/mod.rs
  • docs/docs/api/management-open-api.yaml

Included review availability: This review used your included allowance. Your plan provides up to 4 included reviews per hour; 2 remain after this review.

@github-actions

github-actions Bot commented Nov 5, 2026

Copy link
Copy Markdown
Contributor

✅ PR Title Formatted Correctly

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

@c-thiel
c-thiel merged commit dfc16b7 into main Nov 5, 2026
31 of 67 checks passed
@c-thiel
c-thiel deleted the ct/warehouse-delete-force-doc branch November 5, 2026 20:26
c-thiel added a commit that referenced this pull request Nov 6, 2026
Takes the facts of the merged PRs #2238 to #2253 (write privilege, register on the warehouse, skipping soft deletion, chained INVOKER views run as the caller, storage credential action) and keeps the restructured text of this branch.
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