Skip to content

test: guard broker refusal policy - #612

Merged
zackees merged 1 commit into
mainfrom
test/broker-refusal-policy
Jun 16, 2026
Merged

zackees merged 1 commit into
mainfrom
test/broker-refusal-policy

Conversation

@zackees

@zackees zackees commented Jun 16, 2026

Copy link
Copy Markdown
Member

Summary

  • factor broker refusal fatal/fallback classification into explicit helpers for CLI and Python daemon adoption
  • add regression tests that VersionUnsupported and VersionBlocked remain fatal while non-refusal broker connection failures can still fall back
  • sync Cargo.lock workspace package versions to the 2.2.30 release manifests so locked Cargo runs are consistent

Refs #603

Tests

  • cargo test --locked -p fbuild-cli broker_
  • cargo test --locked -p fbuild-python broker_
  • cargo fmt --all --check
  • git diff --check

@coderabbitai

coderabbitai Bot commented Jun 16, 2026 •

Copy link
Copy Markdown

Warning

Review limit reached

@zackees, we couldn't start this review because you've reached your PR review rate limit.

More reviews will be available in 35 minutes and 17 seconds. Learn how PR review limits work.

Your organization has used up its prepaid credits, and credit purchases are no longer available. Enable the review add-on in the billing tab to keep reviews running — you're only billed for reviews past your plan's rate limits ($0.25/file).

⌛ How to resolve this issue?

After more reviews become available, 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 include higher PR review limits than trial, open-source, and free plans. In all cases, reviews become available again over time. During sustained high-volume PR review activity, CodeRabbit may temporarily slow when the next review becomes available.

Please see our Fair Usage Limits Policy for further information.

ℹ️ Review info
⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Pro

Run ID: 1aaaa35d-3ca3-47bf-ac75-9ab286ee1452

📥 Commits

Reviewing files that changed from the base of the PR and between 111ded3 and 45c9ba5.

⛔ Files ignored due to path filters (1)
  • Cargo.lock is excluded by !**/*.lock
📒 Files selected for processing (2)
  • crates/fbuild-cli/src/daemon_client.rs
  • crates/fbuild-python/src/daemon.rs
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch test/broker-refusal-policy

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.

@zackees
zackees force-pushed the test/broker-refusal-policy branch from 8ce1c12 to 45c9ba5 Compare June 16, 2026 09:43
@zackees

zackees commented Jun 16, 2026

Copy link
Copy Markdown
Member Author

Pushed a small follow-up to keep the CLI daemon client under the 1000 LOC gate after the broker-refusal tests.\n\nValidation run locally with soldr:\n- soldr cargo test --locked -p fbuild-cli broker_\n- soldr cargo test --locked -p fbuild-python broker_\n- soldr cargo fmt --all --check\n- git diff --check\n\nThe PR checks are rerunning on commit 45c9ba5.

@zackees
zackees merged commit e5ddfb0 into main Jun 16, 2026
89 checks passed
@zackees
zackees deleted the test/broker-refusal-policy branch June 16, 2026 10:09
@fastled-project-sync fastled-project-sync Bot moved this to Triage in FastLED Tracker Jun 17, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Triage

Development

Successfully merging this pull request may close these issues.

1 participant