Repository navigation
Declare required CI for local readiness - #1788
Conversation
Architecture-Review: unchanged; the existing workflow key still supplies readiness policy, and an explicit empty list denotes no required contexts. Co-Authored-By: Codex <noreply@openai.com>
Architecture-Review: unchanged; preserve the trusted workflow refresh when validating the required context list. Co-Authored-By: Codex <noreply@openai.com>
There was a problem hiding this comment.
loopzero primary review by claude on 9284ffc09db7507442d5fbc20e4e12fe51adc123, 29.7s: approve (0 critical, 0 important, 2 suggestion)
Settings per native call (launch configuration and CLI claims, not backend attestation):
- Call 1: requested model claude-opus-5-5 (effort medium); CLI-reported model claude-opus-5-5 (effort unknown); configured model claude-opus-5-5 (effort medium)
Findings without a file location:
- suggestion: Document that ready and merge now require checks.required_ci — With this change,
readyandmerge(but notmerge --cancel,checkorstatus) fail if[checks]has norequired_cikey. Line 105 of the README still describes the setting as an ordinary option. Users who set up a repository with no hosted checks won't know that they must writerequired_ci = []. Smallest fix: add one sentence to that table row saying the key must be present for ready and merge, and that[]explicitly declares no required contexts.
Native Claude output is retained in the restricted local review receipt.
| assert not any("actions/runs" in " ".join(c["argv"]) for c in gh.calls) | ||
|
|
||
|
|
||
| @pytest.mark.parametrize("command,required,code", [ |
There was a problem hiding this comment.
suggestion: The --config path and the retargeted-base path have no tests
The new test only covers the trusted path, where the default branch is also the base. Two other paths in this diff have no test. (1) _load_config with --config, which calls config_mod.load(path, require_ci=...). (2) _remote_workflow's policy.base_branch == branch guard, where the default branch's workflow names a different repo.base. In that case only the base workflow is checked. A regression in either path, such as dropping the guard so the default branch's workflow is also checked, or checking the wrong file, would go unnoticed. Smallest fix: add a case with --config pointing at a workflow that has no required_ci. Then add a case where origin/main names repo.base = "release" and has no required_ci, while origin/release declares it, and assert that this case succeeds.
|
waits for test headroom after #1663 |
Architecture-Review: unchanged; the shared parser and bounded Git reads still select readiness policy through the existing configuration key. Co-Authored-By: Codex <noreply@openai.com>
There was a problem hiding this comment.
loopzero delta review by claude on cd3098617c92b8fee2b28ec7313700c3c9185f3a, 10.6s: approve (0 critical, 0 important, 0 suggestion)
Settings per native call (launch configuration and CLI claims, not backend attestation):
- Call 1: requested model claude-opus-5-5 (effort medium); CLI-reported model claude-opus-5-5 (effort unknown); configured model claude-opus-5-5 (effort medium)
Native Claude output is retained in the restricted local review receipt.
|
OD ruling, 26 November 2026, 14:4x UTC
|
|
@Mergifyio queue |
✅ Merged into
|
|
No description provided. |
Declare required CI for local readiness
Context and goal
Closes #1388
Acceptance
Base
Base: e757439
Validation
Recorded for
bf1088af94bauv run --group dev ruff check src tests: exit 0uv run --group dev tach check: exit 0uv run --python 3.14 python scripts/check_architecture_docs.py: exit 0scripts/size_budget.sh: exit 0uv run --group dev pytest -q: exit 0Open in [code]smith · Need help on this PR? Tag
@codesmith-botwith what you need.Review