Skip to content

Restructure CLI: rename to dremio, consistent CRUD verbs, project commands, retry logic#3

Merged
rahim-bhojani merged 1 commit into
mainfrom
draft/drs-spike
Mar 18, 2026
Merged

Restructure CLI: rename to dremio, consistent CRUD verbs, project commands, retry logic#3
rahim-bhojani merged 1 commit into
mainfrom
draft/drs-spike

Conversation

@rahim-bhojani
Copy link
Copy Markdown
Contributor

@rahim-bhojani rahim-bhojani commented Mar 18, 2026

Summary

  • Rename binary from drs to dremio
  • Restructure command groups with consistent noun-first naming and CRUD verbs (list/get/create/update/delete)
    • catalogfolder, reflectreflection, jobsjob
    • Split wiki/tags out of schema into wiki and tag groups
    • Moved whoami/audit into user, grants into folder
    • Promoted search to top-level command
  • Add project CRUDproject list/get/create/update/delete (org-scoped /v0/projects)
  • Add retry logic — exponential backoff (1s/2s/4s) on timeouts and 429/502/503/504
  • Remove stale docs — ARCHITECTURE_REVIEW.md and ONE_PAGER.md
  • Update README — new command table, install instructions, CRUD matrix

120 tests passing.

Test plan

  • Unit tests: 120/120 passing
  • Live test: dremio project list returns org projects
  • Live test: dremio folder create, dremio wiki update, dremio reflection list work with new names
  • Verify retry: timeout/503 triggers retry with backoff (check logs)

🤖 Generated with Claude Code

Org-scoped /v0/projects endpoints for managing Dremio Cloud projects.
Uses a new _v0_org() URL builder since project APIs don't include a
project ID in the path.

120 tests passing.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@rahim-bhojani rahim-bhojani marked this pull request as ready for review March 18, 2026 00:54
@rahim-bhojani rahim-bhojani merged commit f48399d into main Mar 18, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

1 participant