Skip to content

Latest commit

 

History

History
63 lines (49 loc) · 4.2 KB

File metadata and controls

63 lines (49 loc) · 4.2 KB

Live GitHub Action PR Smoke

Captured on 2026-05-04 against the readiness branch.

Normal Same-Repository PR

Result:

  • review: success, 22 seconds.
  • size-label: success, 5 seconds.
  • CodeAgora posted a GitHub PR review through the real composite Action path.
  • Verdict: ACCEPT.
  • Session: 2026-05-04/001.
  • Review body reported no issues across 3 reviewers.
  • Posting used post-results: true, max-diff-lines: 5000, and config-path: .ca/config.json.
  • The first review post attempted APPROVE, received GitHub 422 because GITHUB_TOKEN cannot approve PRs, then downgraded to COMMENT and preserved the review body.

The temporary fixture PR was closed after evidence capture and the remote branch was deleted.

Oversized Diff PR

Result:

  • review: success, 10 seconds.
  • PR checks also passed for CI Node 20, CI Node 22, and PR size label.
  • Action detected a diff of 11,483 lines against the 5,000 line limit and skipped review with a structured warning instead of running a partial provider review.

Degraded-Path Regression Matrix

The remaining degraded Action paths are deterministic regression coverage rather than additional live provider runs. They are kept separate from the same-repo PR smoke above so release notes do not mistake simulated degraded coverage for live provider quality evidence.

Scenario Evidence Result
Fork PR, even with provider secrets present pnpm vitest run src/tests/github-action-parse-args.test.ts packages/github/src/tests/action-runtime.test.ts determineActionPolicy() returns SKIPPED, degraded: true, and degradedReason: "untrusted-fork-pr" before reviewer/provider invocation
Same-repository GitHub Models path with only GITHUB_TOKEN pnpm vitest run src/tests/github-action-parse-args.test.ts determineActionPolicy() runs and posts because GitHub Models uses the workflow GITHUB_TOKEN; fork PRs remain skipped as untrusted-fork-pr
Missing GitHub token while posting is enabled pnpm vitest run src/tests/github-action-parse-args.test.ts returns SKIPPED, degraded: true, and degradedReason: "missing-github-token"
Stale or force-pushed head SHA pnpm vitest run src/tests/github-action-parse-args.test.ts isStaleHead() detects mismatched expected/current head SHAs before posting
Runtime provider/API failure pnpm vitest run src/tests/critical-core-errors-orchestrator.test.ts all-reviewer provider failures produce an error result with provider/API failure details, classified reviewer causes, agora doctor --live guidance, and the failed session path
Provider-free GitHub Models CI path pnpm vitest run src/tests/github-actions-runtime.test.ts generated workflow uses models: read and github-models so the same-repo live smoke can run without external provider quota
Invalid inline position / GitHub 422 pnpm vitest run packages/github/src/tests/github-poster.test.ts first posts with inline comments, then retries summary-only without successful probe reviews or duplicate side effects
GitHub Actions approval permission 422 pnpm vitest run packages/github/src/tests/github-poster.test.ts downgrades APPROVE to COMMENT only for the specific GitHub Actions approval permission error

Stable release notes should cite the live same-repo and oversized PR run IDs separately from this deterministic degraded-path matrix.