Skip to content

ci: test vc_validation without status-list - #134

Open
daniel-mader wants to merge 1 commit into
mainfrom
claude/inspiring-archimedes-echxvg-ci-no-status-list
Open

daniel-mader wants to merge 1 commit into
mainfrom
claude/inspiring-archimedes-echxvg-ci-no-status-list

Conversation

@daniel-mader

@daniel-mader daniel-mader commented Oct 26, 2026 •

Copy link
Copy Markdown
Contributor

Follows up CodeRabbit's review of #133.

tests/vc_validation.rs has a test that compiles only without the status-list feature: status_claim_without_status_list_feature. It checks that StatusPolicy::Strict refuses a credential's status claim when no check can receive it. No CI step ran it:

  • cargo test --all-features enables status-list;
  • the Features job's vc,status-list,did-key,did-jwk step enables it too;
  • cargo hack clippy --each-feature compiles the test without status-list but doesn't run it.

So a regression in the not(feature = "status-list") branches of src/vc/validation/mod.rs would pass CI. The gap predates #133, when the test was gated on sd-jwt.

Change

The Features job now also runs:

cargo test --no-default-features --features vc,did-key,did-jwk --locked --test vc_validation

Checks

  • That command passes locally: 13 tests, including status_claim_without_status_list_feature.
  • qa.yml parses as YAML.

Generated by Claude Code

Summary by CodeRabbit

  • Tests
    • Added test coverage for vc_validation without the status-list feature, including strict handling of status claims.

`status_claim_without_status_list_feature` compiles only without the
`status-list` feature. No CI step ran `vc_validation` that way:
`--all-features` and the `vc,status-list` step both enable it, and
`cargo hack clippy --each-feature` compiles the test without running it.
The Features job now also runs it with `vc,did-key,did-jwk`.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01PB1rHNJ3YpjogEUJQYccc2
@coderabbitai

coderabbitai Bot commented Oct 26, 2026 •

Copy link
Copy Markdown

Review in Change Stack →

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 f093804 and 6064a84.

Files selected for processing: 1
  • .github/workflows/qa.yml

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 features job adds a vc_validation test run without the status-list feature. The workflow comment describes the strict-policy outcome when a status claim reaches no check.

Changes: Status validation CI coverage

Layer / File(s) Summary
Add feature-disabled validation run
.github/workflows/qa.yml
The features job adds a vc_validation run with vc,did-key,did-jwk and without status-list. A comment describes the expected StatusPolicy::Strict outcome when a status claim reaches no check.

Priority: Normal

Estimated code review effort: 1 (Trivial) | ~3 minutes

Change: Other

Possibly related PRs

  • impierce/identity-kit#133: Moves status-claim validation to the status-list feature and changes the feature-disabled test configuration.
  • impierce/identity-kit#94: Adds JWT status-claim validation and defines strict-policy behavior when no status check is available.
Merge Risk: Minimal · up to 6064a

The workflow adds targeted coverage for status validation without the status-list feature and is mergeable.

Pre-merge checks: Passed 5
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: adding CI coverage for vc_validation without the status-list feature.
Docstring Coverage Passed No eligible functions found in the changed files. Skipping docstring coverage check. Docstring coverage is scoped to functions touched by this diff. Analyzed 0 functions across 0 files. (1 skipped: 1 …
Linked Issues check Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check Passed Check skipped because no linked issues were found for this pull request.
Full details: Docstring Coverage

Explanation

No eligible functions found in the changed files. Skipping docstring coverage check. Docstring coverage is scoped to functions touched by this diff. Analyzed 0 functions across 0 files. (1 skipped: 1 unsupported.)

Finishing Touches
🧪 Generate unit tests (beta)
  • 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.

@codecov

codecov Bot commented Oct 26, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

Copy link
Copy Markdown
Contributor Author

@coderabbitai review


Generated by Claude Code

@coderabbitai

coderabbitai Bot commented Oct 26, 2026 •

Copy link
Copy Markdown
✅ Action performed

Review finished.

Note: CodeRabbit is an incremental review system and does not re-review already reviewed commits. This command is applicable only when automatic reviews are paused.

This branch has not been deployed

No deployments
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.

2 participants