Skip to content

xtask: test downstream CI recipes#798

Merged
EffortlessSteven merged 1 commit into
mainfrom
xtask/external-smoke-ci-recipes
May 18, 2026
Merged

xtask: test downstream CI recipes#798
EffortlessSteven merged 1 commit into
mainfrom
xtask/external-smoke-ci-recipes

Conversation

@EffortlessSteven

Copy link
Copy Markdown
Member

Summary

  • Adds explicit cargo xtask external-adoption-smoke --ci-recipes mode.
  • Runs documented downstream CI command sequences for webhook, TLS, and OIDC bundles using audit-bundle --ci.
  • Records ci_recipes in the external-adoption smoke receipt and keeps default external smoke / adoption-regression --external bounded.

Files added/changed

  • xtask/src/external_adoption_smoke.rs
  • xtask/src/main.rs
  • xtask/src/adoption_regression.rs
  • docs/specs/USELESSKEY-SPEC-0013-external-adoption-smoke.md
  • .uselesskey/goals/active.toml

Validation

  • cargo test -p xtask external_adoption_smoke --no-run
  • cargo test -p xtask external_adoption_smoke
  • cargo xtask external-adoption-smoke --path . --ci-recipes --format json
  • cargo xtask adoption-regression --external
  • cargo xtask docs-sync --check
  • cargo xtask typos
  • cargo +nightly xtask pr-lite
  • git diff --check

Non-goals

  • No release prep, version bump, tag, publish, new badge, new contract pack, provider compatibility claim, production security claim, or heavier default external smoke.

What this enables next

  • Audit failure diagnostics can now target CI users with executable recipe evidence behind the docs.

@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 56 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: Organization UI

Review profile: ASSERTIVE

Plan: Pro

Run ID: fba2dd05-ae47-4934-b268-9ecc03799418

📥 Commits

Reviewing files that changed from the base of the PR and between c1b908f and 67d39e8.

📒 Files selected for processing (5)
  • .uselesskey/goals/active.toml
  • docs/specs/USELESSKEY-SPEC-0013-external-adoption-smoke.md
  • xtask/src/adoption_regression.rs
  • xtask/src/external_adoption_smoke.rs
  • xtask/src/main.rs
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch xtask/external-smoke-ci-recipes

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 gemini-code-assist Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request introduces a new --ci-recipes flag to the external-adoption-smoke command, enabling an explicit opt-in mode to verify downstream CI workflows. The implementation includes a sequence of bundle, verify-bundle, and audit-bundle --ci commands for the webhook, tls, and oidc profiles, along with updated documentation and CLI tests. Feedback suggests including the scanner-safe profile in the CI_RECIPE_PROFILES constant to ensure all supported workflows are covered by the smoke test.

const REPORT_MD: &str = "target/external-adoption-smoke/report.md";

const CLI_PROFILES: &[&str] = &["scanner-safe", "tls", "oidc", "webhook"];
const CI_RECIPE_PROFILES: &[&str] = &["webhook", "tls", "oidc"];

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

medium

The CI_RECIPE_PROFILES constant excludes the scanner-safe profile, which is present in CLI_PROFILES. While the PR description focuses on webhook, TLS, and OIDC, the scanner-safe profile also supports the audit-bundle --ci workflow. If the intent is to test the documented downstream CI recipes for all supported profiles, consider including scanner-safe here as well.

const CI_RECIPE_PROFILES: &[&str] = &["scanner-safe", "webhook", "tls", "oidc"];

@EffortlessSteven EffortlessSteven merged commit 1440568 into main May 18, 2026
6 checks passed
@EffortlessSteven EffortlessSteven deleted the xtask/external-smoke-ci-recipes branch May 18, 2026 07:39
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