Skip to content

feat: add remote workspace retention CLI - #171

Merged
delete-cloud merged 1 commit into
mainfrom
feature/cli-workspace-retention-ops
May 15, 2026
Merged

delete-cloud merged 1 commit into
mainfrom
feature/cli-workspace-retention-ops

Conversation

@delete-cloud

Copy link
Copy Markdown
Owner

Summary

  • add CLI thin-client commands for remote workspace status, retain, pin, and unpin
  • add remote client helpers for retention endpoints
  • extend CLI tests to cover the new HTTP calls and payloads

Validation

  • uv run pytest tests/cli/test_remote_client.py -k "workspaces or sessions_commands" -q
  • uv run basedpyright --level error src/coding_agent/main.py src/coding_agent/remote/client.py tests/cli/test_remote_client.py
  • uv run ruff format --check src/coding_agent/main.py src/coding_agent/remote/client.py tests/cli/test_remote_client.py
  • uv run pytest tests/ui tests/coding_agent/environment tests/cli/test_remote_client.py -k "workspace_record or retention or provider_instance or pin or cleanup_failed or result_refs or workspaces" -q
  • git diff --check

@coderabbitai

coderabbitai Bot commented May 15, 2026

Copy link
Copy Markdown
Contributor

Warning

Rate limit exceeded

@delete-cloud has exceeded the limit for the number of commits that can be reviewed per hour. Please wait 35 minutes and 35 seconds before requesting another review.

You’ve run out of usage credits. Purchase more in the billing tab.

⌛ How to resolve this issue?

After the wait time has elapsed, a review can be triggered using the @coderabbitai review command as a PR comment. Alternatively, push new commits to this PR.

We recommend that you space out your commits to avoid hitting the rate limit.

🚦 How do rate limits work?

CodeRabbit enforces hourly rate limits for each developer per organization.

Our paid plans have higher rate limits than the trial, open-source and free plans. In all cases, we re-allow further reviews after a brief timeout.

Please see our FAQ for further information.

ℹ️ Review info
⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro Plus

Run ID: 09616c20-60a9-4f2a-82fa-2add7b3d7180

📥 Commits

Reviewing files that changed from the base of the PR and between 37e5571 and 74144c9.

📒 Files selected for processing (3)
  • coding-agent/src/coding_agent/__main__.py
  • coding-agent/src/coding_agent/remote/client.py
  • coding-agent/tests/cli/test_remote_client.py
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch feature/cli-workspace-retention-ops

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

Comment @coderabbitai help to get the list of available commands and usage tips.

@delete-cloud
delete-cloud merged commit 29ec598 into main May 15, 2026
1 check passed
@delete-cloud
delete-cloud deleted the feature/cli-workspace-retention-ops branch May 15, 2026 02:01
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