Uh oh!
There was an error while loading. Please reload this page.
feat: add beta label to CLI output - #324
Conversation
Important Review skippedAuto reviews are disabled on base/target branches other than the default branch. Please check the settings in the CodeRabbit UI or the ⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: CHILL Plan: Pro Run ID: You can disable this status message by setting the Use the checkbox below for a quick retry:
📝 WalkthroughWalkthroughAdds atomic filesystem-backed notice claiming in the config crate and introduces Storage beta messaging in catalog command help and runtime operations. ChangesStorage beta notice
Estimated code review effort: 3 (Moderate) | ~30 minutes Sequence Diagram(s)sequenceDiagram
participant CatalogCommand
participant BetaNotice
participant ConfigSession
participant Stderr
CatalogCommand->>BetaNotice: notify_once(STORAGE)
BetaNotice->>BetaNotice: check output mode and terminals
BetaNotice->>ConfigSession: claim_notice("storage")
ConfigSession-->>BetaNotice: claimed or already claimed
BetaNotice->>Stderr: write first-time beta notice
Possibly related PRs
Suggested reviewers: 🚥 Pre-merge checks | ✅ 4 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (4 passed)
✨ Finishing Touches🧪 Generate unit tests (beta)
Comment |
There was a problem hiding this comment.
Actionable comments posted: 1
🤖 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 `@crates/tower-cmd/src/beta.rs`:
- Around line 28-34: Update the expected string in the
notice_omits_docs_sentence_without_a_url test to include the full
STORAGE.qualification text, including “its API contract and”, while preserving
the existing notice prefix and no-docs-sentence behavior.
🪄 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: Path: .coderabbit.yaml
Review profile: CHILL
Plan: Pro
Run ID: d746f76d-f870-4b16-965d-fe75c3757993
⛔ Files ignored due to path filters (1)
Cargo.lockis excluded by!**/*.lock
📒 Files selected for processing (7)
crates/config/Cargo.tomlcrates/config/src/lib.rscrates/config/src/session.rscrates/tower-cmd/src/beta.rscrates/tower-cmd/src/catalogs.rscrates/tower-cmd/src/lib.rscrates/tower-cmd/src/output.rs
Uh oh!
There was an error while loading. Please reload this page.
eb1144d to
fb8a0bdCompareUh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
fb8a0bd to
b3f89d2CompareUh oh!
There was an error while loading. Please reload this page.
Adding a resuable "beta feature" component that prints a beta label/warning when a beta feature is used.
Also, using the above mechanism for the Storage product commands ahead of the Preview/Beta launch.
e.g.

Summary by CodeRabbit
New Features
Bug Fixes
Tests