Skip to content

ci: qualify feature and provider combinations - #269

Merged
polaz merged 2 commits into
mainfrom
ci/#268-feature-provider-matrix
Oct 22, 2026
Merged

polaz merged 2 commits into
mainfrom
ci/#268-feature-provider-matrix

Conversation

@polaz

@polaz polaz commented Oct 22, 2026 •

Copy link
Copy Markdown
Member

Summary

  • Qualify isolated core feature graphs, actual defaults and coexisting providers without workspace feature enrichment.
  • Add required Linux MSRV/stable checks, portable macOS/Windows core checks and a tested local runner.
  • Pin the optional official AWS-LC FIPS pair to avoid incompatible bindgen dependency resolution for published consumers.

Testing

Local MSRV/stable feature, provider, workspace, lint and doctest gates; alloc-only, embedded and WASM checks. CI retains the independent oracle, fuzz and compatibility gates.

Closes #268

Summary by CodeRabbit

  • Documentation
    • Added a guide to supported feature combinations, XML backend requirements, provider compatibility, and minimal-build checks.
    • Updated installation guidance to point to the feature guide and explain what it covers.
  • Build Compatibility
    • Updated the AWS-LC dependency configuration for the FIPS feature.
  • Quality
    • Expanded automated checks across feature combinations and provider configurations.

Isolate minimal feature graphs and qualify default and coexisting provider builds on MSRV and stable. Retain portable core and alloc/embedded/WASM gates.

Pin the optional official AWS-LC FIPS dependency pair so published consumers avoid incompatible bindgen resolution.

Closes #268
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Oct 22, 2026 •

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-10-22T17:05:50.044955Z 18eb405 PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@coderabbitai

coderabbitai Bot commented Oct 22, 2026 •

Copy link
Copy Markdown

Review in Change Stack →

Warning

Review limit reached

You've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository.

Next included review available in 32 minutes.

Check out review usage here.

View limit details

Limit details: You’ve used the included review currently available.

Learn how review limits work.

Review configuration:

⚙️ Run configuration
📥 Commits

Reviewing files that changed from the base of the PR and between 18eb405 and 2f55ee9.

📒 Files selected for processing: 1
  • src/xmldsig/x509.rs

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration
📥 Commits

Reviewing files that changed from the base of the PR and between 8b1e29f and 18eb405.

📒 Files selected for processing: 6
  • .github/workflows/ci.yml
  • Cargo.toml
  • README.md
  • docs/features.md
  • scripts/check-features.sh
  • scripts/check-features.test.mjs

Included review availability: This review used your included allowance. Your plan provides up to 1 included review per hour; 0 remain after this review.

📝 Walkthrough

The change adds a script for isolated feature-profile checks, documents supported feature combinations, pins AWS-LC dependencies, and adds feature and provider qualification jobs to CI.

Changes: Feature and provider qualification

Layer / File(s) Summary
Feature profiles and local checks
Cargo.toml, scripts/check-features.sh, scripts/check-features.test.mjs, docs/features.md, README.md
The script runs isolated feature profiles through lint, test, and documentation phases. Its tests cover feature selection, expected missing-backend diagnostics, PKCS#11 setup, and failure propagation. The manifest pins AWS-LC dependencies, and the documentation describes feature combinations and local qualification commands.
CI feature and provider qualification
.github/workflows/ci.yml
CI runs feature checks on supported runners, adds default- and all-feature workspace matrix entries, and runs all-feature PKCS#11 tests with SoftHSM. The aggregate test job now requires the feature-contract job to succeed.

Priority: ➖ Normal

Estimated code review effort: 3 (Moderate) | ~20 minutes

Change: Other

Sequence Diagram(s)

sequenceDiagram
  participant GitHubActions
  participant FeatureCheck as check-features.sh
  participant Cargo
  participant SoftHSM
  participant PKCS11Tests as PKCS#11 test script
  participant AggregateTest as aggregate test job
  GitHubActions->>FeatureCheck: run feature profiles
  FeatureCheck->>Cargo: run isolated lint, test, and doc phases
  GitHubActions->>Cargo: build and lint workspace with all features
  GitHubActions->>SoftHSM: install token-store setup
  GitHubActions->>PKCS11Tests: run PKCS#11 tests
  GitHubActions->>AggregateTest: report feature-contract result
  AggregateTest->>AggregateTest: require feature-contract success
Loading
Merge Risk: ⚪ Minimal · up to 18eb4

The reported workspace test slowdown does not occur. No actionable merge-blocking issue remains after normal checks.

Pre-merge checks: Passed 4 · Failed 1

Failed Failed checks: 1 warning

Check name Status Explanation Resolution
Docstring Coverage Warning Docstring coverage is 0.00% which is insufficient. The required threshold is 80.00%. Docstring coverage is scoped to functions touched by this diff. Analyzed 1 functions across 2 files. (4 skipped: 4 … Write docstrings for the functions missing them to satisfy the coverage threshold.
Passed Passed checks: 4 passed
Check name Status Explanation
Description Check Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check Passed The title clearly and concisely describes the main change: CI qualification of feature and provider combinations.
Linked Issues check Passed The PR addresses the coding requirements in [#268]. scripts/check-features.sh runs isolated package profiles for the requested core graphs, checks the missing-backend diagnostic, requires `PKCS11_MO…
Out of Scope Changes check Passed The changes stay within [#268]. The workflow and runner add qualification coverage, the Node tests validate the maintained runner, the documentation records the requested feature and provider behavior…
Full details: Linked Issues check

Explanation

The PR addresses the coding requirements in [#268]. scripts/check-features.sh runs isolated package profiles for the requested core graphs, checks the missing-backend diagnostic, requires PKCS11_MODULE, and stops on phase failure. scripts/check-features.test.mjs tests command isolation, failure propagation, profile selection, Bash compatibility, and provider setup. CI adds MSRV and stable feature gates, default and all-feature workspace gates, SoftHSM provisioning, provider checks, and Linux, macOS, and Windows core checks. The documentation records feature implications and supported combinations. Existing alloc-only, embedded, WASM, oracle, lint, and doctest paths remain represented.

Full details: Out of Scope Changes check

Explanation

The changes stay within [#268]. The workflow and runner add qualification coverage, the Node tests validate the maintained runner, the documentation records the requested feature and provider behavior, and the AWS-LC dependency pins address compatible provider resolution. No operation-policy change or new crypto engine appears in the reviewed change summary.

Full details: Docstring Coverage

Explanation

Docstring coverage is 0.00% which is insufficient. The required threshold is 80.00%. Docstring coverage is scoped to functions touched by this diff. Analyzed 1 functions across 2 files. (4 skipped: 4 unsupported.)

Resolution

Write docstrings for the functions missing them to satisfy the coverage threshold.

✨ Finishing Touches: 💡 2
📝 Generate docstrings: 💡
  • Commit to this branch
  • Create a new PR
🧪 Generate unit tests (beta)
  • Commit to this branch
  • Create a new PR
🛠️ Fix failing CI checks: 💡
  • Commit to this branch
  • Create a new PR
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

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.

Use exact 100 ns multiples on all platforms and retain nanosecond-resolution cases outside Windows. Keep strict fractional verification-time assertions before and after the Unix epoch.
@polaz
polaz merged commit 1892c5c into main Oct 22, 2026
68 checks passed
@polaz
polaz deleted the ci/#268-feature-provider-matrix branch October 22, 2026 19:04
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.

ci: qualify feature and provider combinations

1 participant