GeezerVisonThe World Wide Web, restored to 800 pixels of glory. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Home|About|Gaming cabinet|Archives|How it works|Starter sites | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
GeezerVison is showing github.com — ci: register test-suite coverage contract (#6186) by dezren39 · Pull Request #6360 · developing-today/code Conversation
|
Codex Review Summary: ✅ CompletedThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
|
Warning Review limit reachedYou'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 19 minutes. View limit details
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. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
Here are some automated review suggestions for this pull request.
Reviewed commit: a1b70f398e
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
Warning
Copilot couldn't run its full agentic review because it didn't start before the timeout. Make sure your repository has a runner available, or add a copilot-code-review.yml file specifying one with the runs-on attribute. See the docs for more details.
contract field looks like it’s intended to be a link target, but .github/ci-policy.md#...… · Newscope.boundaries[*].path values are presented as machine-readable patterns, but this entry… · Newpath value is descriptive prose rather than a path/glob like the other entries,… · Newuncovered_count is derived data that can drift as soon as suites are edited. To keep the registry… · NewAdds Phase 1 documentation + a machine-readable registry to define and audit the “test-suite coverage contract” across the repo.
Changes:
.github/test-suite-registry.json inventory (schema v1) enumerating suites, venues, and coverage status..github/ci-policy.md.| File | Description |
|---|---|
| .github/test-suite-registry.json | Introduces the Phase 1 registry (suite definitions, venue state snapshot, and coverage status). |
| .github/ci-policy.md | Defines the five-rule coverage contract and points readers to the JSON registry. |
Review effort: Lite
Sorry, something went wrong.
There was an error while loading. Please reload this page.
| 1. **Registered:** exactly one registry entry names the suite's files, | ||
| venue, and invocation; adding a suite without an entry is incomplete. |
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
Disposition (task 13288, lane code-v): noted and accepted as Phase 1 wording. The contract sentence in .github/ci-policy.md ("exactly one registry entry names the suite's files") is a one-entry-per-suite rule, not a path non-overlap rule — the registry intentionally allows overlapping paths for specialized suites under broader globs, and suite identity is the entry id. The wording will be tightened when the Phase 2 validator (#6185 family) formalizes overlap resolution; it does not block this registry landing.
Sorry, something went wrong.
There was an error while loading. Please reload this page.
| }, | ||
| "note": "Enablement is point-in-time state, not evidence that a suite ran. Workflow states below share this audit timestamp." | ||
| }, | ||
| "contract": ".github/ci-policy.md#test-suite-coverage-contract-6185-phase-1-6186", |
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
Disposition (task 13288, lane code-v): noted. The contract field is a repo-rooted path+anchor (.github/ci-policy.md#test-suite-coverage-contract-6185-phase-1-6186), unambiguous for consumers resolving from the repo root, which is how the registry is consumed in this repo. A relative ./ci-policy.md form would break repo-root consumers outside .github/. Keeping the repo-rooted form for Phase 1; the schema note can be added with the Phase 2 validator.
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
| "path": "fixtures, golden data, and test helper/generator files", | ||
| "decision": "not_a_suite", | ||
| "reason": "Data and helpers are inputs to suites, not independently invoked test suites." |
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
Fixed in commit c1ad745 on this branch: this boundary is categorical rather than a filesystem pattern, so its prose moved from path to an explicit category field (same decision not_a_suite and reason). Every remaining path value in scope.boundaries is now a single glob. — repo-worker-code lane code-y (issue #6630)
Sorry, something went wrong.
There was an error while loading. Please reload this page.
| "uncovered_count": 43, | ||
| "uncovered_count_definition": "Number of suite rows whose status is uncovered or uncovered-in-fact; mapped rows do not assert the five-rule contract is fully proven.", |
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
Disposition (task 13288, lane code-v): addressed in the registry itself: uncovered_count is paired with uncovered_count_definition ("Number of suite rows whose status is uncovered or uncovered-in-fact"), i.e. it is defined as a pure derivation from the rows in the same file, so any drift is mechanically checkable against the rows. Removing it would lose the Phase 1 baseline count the coverage ratchet compares against. Keeping with the definition; a validator assertion belongs to the Phase 2 work.
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
Here are some automated review suggestions for this pull request.
Reviewed commit: 4fa27791b8
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
Sorry, something went wrong.
There was an error while loading. Please reload this page.
| "path": "pkgs/id/**", | ||
| "decision": "in_scope", | ||
| "rule": "Per-crate suite grouping, with separately named hosted-worker, Roc, NixOS, ARM snapshot, and native-shell exceptions." |
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
Register the just-recipes drift-guard regression suite
The inventory omits pkgs/id/scripts/just-recipes-check-test.sh, which already exists at the declared audit commit 8295e70cbd24. This is an independently executed regression suite, not a helper: it asserts failures for changed parameter flags, dependency arguments, alias targets, and malformed JSON. In the reviewed tree, pkgs/id/flake.nix:396 explicitly invokes it through just-recipes-drift, which is listed in .github/scripts/id-pr-checks.txt. None of the registry paths matches this script, so the Phase 1 baseline leaves this suite outside subsequent coverage accounting. Add an entry naming its invocation and existing venue.
Useful? React with 👍 / 👎.
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
Fixed in f1a762d: registered pkgs/id/scripts/just-recipes-check-test.sh as id.just-recipes.drift-guard in .github/test-suite-registry.json — invocation just-recipes-drift flake check (pkgs/id/flake.nix, via .github/scripts/id-pr-checks.txt), venue .github/workflows/id-check.yml check_each / just-recipes-drift, status mapped. Registry now 72 suites; uncovered_count unchanged at 46 (validated: JSON parses, no duplicate ids). — queue worker lane code-j, task 13288
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
agent-note:v1
|
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
Successfully merging this pull request may close these issues.
There was an error while loading. Please reload this page.