Skip to content

test(census): cover registry refusals for Git and outside path references - #250

Open
paudley wants to merge 1 commit into
mainfrom
paudley/247-census-reference-scan-test-the-registry
Open

paudley wants to merge 1 commit into
mainfrom
paudley/247-census-reference-scan-test-the-registry

Conversation

@paudley

@paudley paudley commented Nov 14, 2026

Copy link
Copy Markdown
Member

Refs #247

Adds tests for two registry-route refusals of the census reference scan. No behaviour changes.

  • raf-census reference_scan: a reference naming a Git dependency is refused by check_locked_registry with package "kit" has no admitted local reference source, beside a registry neighbour with a changed body that is clean. A reference naming a path dependency outside the workspace is refused by the locked load with selected outgoing row has no checked source/manifest package, beside the same clean neighbour.
  • cargo-census delivery: the Git refusal driven through --registry-cache for check and index (exit 1, refusal on stderr, empty stdout), beside a registry neighbour that passes with --seal-registry-style options.
  • Capability docs: test names added to the raf:tested-by bindings; the path-package sentence in census-reference-scan.md now names the outside-workspace refusal; the generated verification matrices were synced; the two #contract assessments were renewed.

Checks run: focused raf-census and cargo-census tests, clippy with -D warnings for both, and the reference_scan and delivery binaries in full, plus docs_contract, self_workplan, repo_gates and self_census.

@coderabbitai

coderabbitai Bot commented Nov 14, 2026

Copy link
Copy Markdown

Warning

Review limit reached

Your organization has reached its usage spending cap. Adjust your spending cap in the billing tab.

Next included review available in 18 minutes.

Check out review usage here.

View limit details

Limit details: You’ve used the included review currently available. Your 84 included PR review attempts over the past 7 days set your current allowance at 1 review per hour.

Learn how review limits work.

Review configuration:

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: Organization UI
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: f79ebc3d-addd-4e54-804a-c1ecb4ba7dbd
Commits

Reviewing files that changed from the base of the PR and between 6bdcd9f and bd3f7bf.

Files selected for processing: 6

  • crates/cargo-census/tests/delivery.rs
  • crates/raf-census/tests/reference_scan.rs
  • docs/capabilities/census-cli.md
  • docs/capabilities/census-reference-scan.md
  • work/assessments/census-cli-contract.md
  • work/assessments/census-reference-scan-contract.md
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

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