docs(xtask): generate and validate crate support matrix from workspace metadata#384
Conversation
|
Warning You have reached your daily quota limit. Please wait up to 24 hours and I will start processing your requests again! |
|
Warning Rate limit exceeded
Your organization is not enrolled in usage-based pricing. Contact your admin to enable usage-based pricing to continue reviews beyond the rate limit, or try again in 23 minutes and 40 seconds. ⌛ How to resolve this issue?After the wait time has elapsed, a review can be triggered using the 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 configurationConfiguration used: Organization UI Review profile: ASSERTIVE Plan: Pro Run ID: 📒 Files selected for processing (7)
✨ Finishing Touches🧪 Generate unit tests (beta)
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. Comment |
Motivation
Description
support_matrixsection todocs/metadata/workspace-docs.jsondescribing per-crate fields:support_tier,publish_status,facade_exposed,semver_expectation,msrv_policy,intended_audience, and optionalreplacement_path/deprecation_note.xtaskdocs sync to render and validate the support matrix:xtask/src/docs_sync.rsnow readssupport_matrix, validates enum values and illegal combinations (e.g.test-onlymust berepo-internal,facade_exposedincompatible withrepo-internal), ensures completeness against the Cargo workspace, and writesdocs/reference/support-matrix.md(generated from metadata).docs_sync::docs_sync_cmd(true)inxtask/src/main.rsso metadata drift fails automation.xtask/src/docs_sync.rsand add the generateddocs/reference/support-matrix.mdfile; updateREADME.mdanddocs/how-to/release.mdto reference the support matrix.Testing
cargo xtask docs-syncto generatedocs/reference/support-matrix.mdand confirmed it wrote the file successfully. (Succeeded.)cargo xtask docs-sync --checkto verify no drift between metadata and generated docs; command returned success in CI-like check. (Succeeded.)cargo test -p xtask, which executed the new snapshot/validation tests; all tests passed (98 passed, 0 failed). (Succeeded.)Codex Task