test(codeql): align receipt fixtures with exact evidence - #2039
test(codeql): align receipt fixtures with exact evidence#2039seonghobae wants to merge 9 commits into
Conversation
Signed-off-by: Seongho Bae <me@seonghobae.me>
|
Important Draft PR not reviewedDraft PRs are not automatically reviewed by default.
To automatically review draft PRs, update your CodeRabbit configuration: reviews:
auto_review:
drafts: trueThanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Signed-off-by: Seongho Bae <me@seonghobae.me>
|
Exact-head follow-up: the focused suite exposed one additional collection error in the same contract file: a test accepted undeclared |
Signed-off-by: Seongho Bae <me@seonghobae.me>
|
Additional root-cause repair pushed at exact head |
Signed-off-by: Seongho Bae <me@seonghobae.me>
|
Exact head |
|
Design assurance carryover verification — The branch was non-force restacked onto canonical #1902 base Do not merge this zero-delta branch or use its queued checks as canonical evidence. Keep Draft until #1902’s current head obtains terminal hosted equivalence; then the no-valid-delta / verified-complete-carryover rationale can support retirement without discarding history. |
|
Full focused owner contract suite rerun at exact head |
Signed-off-by: Seongho Bae <me@seonghobae.me>
|
Exact-head |
Signed-off-by: Seongho Bae <me@seonghobae.me>
|
Exact head |
|
Exact head |
|
Verified canonical carryover audit against #1902 exact head Every valid semantic delta from this successor is now carried by #1902. The two missing cases—preserving explicit empty producer evidence and rejecting App receipts with substituted exact run metadata—were integrated as executable tests. The remaining failure-state, malformed-evidence, later-page, and incomplete/mismatched receipt semantics are present in equal or stronger canonical contracts. Focused This PR stays open/Draft until current canonical hosted equivalence is observed. No predecessor review/check evidence is transferred, and no close/retirement is performed in this step. |
|
Non-force restack completed after base |
…/github.com/ContextualWisdomLab/.github into codex/pr1902-test-contract-successor
|
Latest base |
|
Exact head
|
…-redispatch' into codex/pr1902-test-contract-successor
|
Non-force restack onto live parent New successor head: |
Successor to #1902
This successor preserves the full #1902 delta and adds the missing test-contract repair found by running its exact head.
Root cause
test_codeql_pr_app_receipt_requires_exact_dispatch_evidencedeclared afield,valueparametrization but accepted onlytmp_path, so pytest failed during collection with:function uses no argument 'field'After adding the parameters, the test still modeled the old one-shot status-only behavior. The updated workflow requires authenticated producer-run evidence, so the forged-status test now supplies an exact failing dispatch artifact and continues to prove that a non-OpenCode status cannot satisfy the verdict.
Evidence
e9c69e18d0ebab65658041db86d61e7e9ca399c4554c31a1tests/test_codeql_pr_rerun_recovery_contract.py,tests/test_codeql_pr_workflow_contract.py,tests/test_codeql_scan_dispatch_workflow_contract.pygit diff --check: passedNo workflow gate, security check, or producer evidence requirement was weakened.