Skip to content

feat(cli): add audit-bundle CI mode#795

Merged
EffortlessSteven merged 1 commit into
mainfrom
feat/audit-bundle-ci
May 18, 2026
Merged

feat(cli): add audit-bundle CI mode#795
EffortlessSteven merged 1 commit into
mainfrom
feat/audit-bundle-ci

Conversation

@EffortlessSteven

Copy link
Copy Markdown
Member

Summary

  • Adds uselesskey audit-bundle --ci so downstream CI can consume metadata-only audit JSON and rely on process exit status.
  • Emits stable failure JSON plus audit failed: <failure_class> on stderr when an audit fails.
  • Updates the bundle-audit JSON schema/reference docs and file policy for the published schema artifact.

Files added/changed

  • crates/uselesskey-cli/src/main.rs
  • crates/uselesskey-cli/tests/cli.rs
  • docs/schemas/bundle-audit.schema.json
  • docs/reference/bundle-audit-json.md
  • policy/non-rust-allowlist.toml
  • .uselesskey/goals/active.toml

Validation

  • cargo test -p uselesskey-cli --all-features audit_bundle
  • cargo run -p uselesskey-cli -- bundle --profile webhook --out target/audit-test/ci-webhook
  • cargo run -p uselesskey-cli -- audit-bundle --path target/audit-test/ci-webhook --ci
  • cargo xtask external-adoption-smoke --path . --format json
  • cargo xtask no-blob
  • cargo xtask check-file-policy
  • cargo xtask docs-sync --check
  • cargo xtask typos
  • cargo +nightly xtask pr-lite
  • git diff --check

Non-goals

  • No version bump, tag, publish, release prep, new badge, new contract pack, provider compatibility claim, production security claim, or claim-ledger execution from the installed CLI.

What this enables next

  • Downstream CI can fail on stable audit failure classes without parsing human output, which sets up GitHub Actions recipes and failure-message polish.

@chatgpt-codex-connector

Copy link
Copy Markdown

You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard.
To continue using code reviews, add credits to your account and enable them for code reviews in your settings.

@coderabbitai

coderabbitai Bot commented May 18, 2026

Copy link
Copy Markdown

Warning

Rate limit exceeded

@EffortlessSteven has exceeded the limit for the number of commits that can be reviewed per hour. Please wait 41 minutes and 21 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: Organization UI

Review profile: ASSERTIVE

Plan: Pro

Run ID: adc1dd25-6332-459c-abd8-dafcf4f74e30

📥 Commits

Reviewing files that changed from the base of the PR and between 772e618 and 69ac44e.

📒 Files selected for processing (6)
  • .uselesskey/goals/active.toml
  • crates/uselesskey-cli/src/main.rs
  • crates/uselesskey-cli/tests/cli.rs
  • docs/reference/bundle-audit-json.md
  • docs/schemas/bundle-audit.schema.json
  • policy/non-rust-allowlist.toml
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch feat/audit-bundle-ci

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.

@gemini-code-assist

Copy link
Copy Markdown

Warning

You have reached your daily quota limit. Please wait up to 24 hours and I will start processing your requests again!

@EffortlessSteven EffortlessSteven merged commit 78db013 into main May 18, 2026
6 checks passed
@EffortlessSteven EffortlessSteven deleted the feat/audit-bundle-ci branch May 18, 2026 07: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