Skip to content

fix: Supply exact action sources to offline PR reviews - #68

Merged
idy merged 3 commits into
mainfrom
yesman/lbv/github-workflows-t30-action-evidence
Nov 16, 2026
Merged

idy merged 3 commits into
mainfrom
yesman/lbv/github-workflows-t30-action-evidence

Conversation

@idy

@idy idy commented Nov 16, 2026 •

Copy link
Copy Markdown
Member

The offline reviewer needs exact external action source when a PR changes a SHA pin. Collect changed literal full-SHA action references from full/incremental Git-object workflow diffs before PR objects are removed, then supply complete read-only committed snapshots and fixed-SHA action dependencies. The trusted GitHub API client binds public repository/commit/tree; all trees and blob size/Git SHA-1/SHA-256 are checked. Native and resumed code turns receive the manifest and changed evidence invalidates prior completed chunks. Dependency code stays untrusted data and is never installed, imported or executed; INCOMPLETE policy and protections are unchanged.

Dependency validation is bounded as a graph, rather than recursively expanding every path. Each distinct node is parsed once, each source blob is hash-checked once, and memoized longest paths retain both cycle detection and the depth limit even when a shared subtree is first visited shallow. Both acquisition and offline validation cap 32 nodes/roots, 256 distinct edges, 4096 dependency occurrences and 4 MiB parsed manifest text, in addition to the existing repository/tree/blob/total-byte limits. Duplicate edges retain their metadata binding and count against the work budget; they cannot multiply traversal.

Validation:

  • Source suite 57/57 PASS, including repeated four-level DAGs at widths24/48, a shared diamond, shallow-first/late-deep paths, cycles, duplicate/missing/tampered nodes/source, and independent entry/edge/byte budgets. A ~1 MiB/5000-wide fixture is rejected only by the NEW verifier's budget; the old large expanded traversal was never run.
  • Old413150cf small DAGs independently reproduce 13,825/110,593 leaf reads. New validation reads each leaf once and six files total for either width. The new small-DAG regression fails against exact prior413150cf and passes here.
  • Production native/resumed input/cache/corruption regressions PASS; t32's 24 independent boundary probes PASS. Earlier unrelated workflow commands remain unchanged; final CI status is tracked for the exact new HEAD.
  • Original147 evidence files and their source baseline hashes independently rechecked, plus the real three commit/tree snapshots,154file bindings/117unique blobs/2,456,493bytes. Current offline verification preserves digest e45543d79827926bf84012f36ec7bdf754eb54fd215e3739ae59993e2debb642. No source API was reacquired.
  • git diff --check PASS. The orchestration source-evidence integration still demonstrates original3c72 FAIL / repaired source-supply PASS.

Complete committed snapshots avoid guessing a JavaScript import closure. Acquisition remains public-only and bounded; unsupported mutable/dynamic/Docker/caller-relative action dependencies, syntax, symlinks/submodules, missing source and API/hash errors fail closed. Reusable workflow jobs and runtime registry/download dependencies are outside this action protocol; insufficient evidence can still require INCOMPLETE.

This PR is not published or merged, and does not update global latest, caller pins, installed harness or protected checks. After independent exact-HEAD review and normal authorized shared publication, one ordinary source review of unchanged PR721 may use the improved bundle. Its real old-b337 three-stage capture/replay must then succeed, alongside independent authorization and all seven required checks; existing refusal evidence is retained. No repeated request, artifact deletion or proposed-action self-acceptance is part of rollout.

@github-actions github-actions Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

✅ OpenAI PR Review: PASS

Conclusion: Ready from the OpenAI review perspective. PR format, linked Issue design, and code/plan conformance passed with no actionable findings.

Review checks

Check Result
PR format ✅ PASS
Issue design ✅ PASS
Code & plan conformance ✅ PASS

Scope: cd9312a5ca · 3c72e0df2c..cd9312a5ca · full · 1 diff chunk

Usage: 1m 1s · 311,429 tokens · 69.9% cache hit · credits unavailable

Summary

Aggregated the completed native chunk review and read its diff, canonical listing, linked Issue context, and discussion. No actionable findings were reported. No closing Issues are linked, so Issue-plan conformance requirements do not apply.

Review metadata
  • Commit: cd9312a5ca
  • Range: 3c72e0df2c..cd9312a5ca
  • Mode: full
  • Diff chunks: 1
  • Model: gpt-6.1-sol
  • Reasoning effort: low
  • Session: repo-1309321116-pr-68-v2
  • Generation: 1591ccb76529d0cb8b5df7d870782e6ea4626b1894143ab41d9baba438896200
  • Evidence: 7f77e2352fff0bdb8454eeddf04cb34cabd8fea54a7cd4dac8456d213d038f97

Totals

  • Input: 309,450
  • Cached input: 216,158
  • Cache write: 93,250
  • Output: 1,979
  • Reasoning: 357
  • Total: 311,429
  • Estimated credits: unavailable for this model
Token and cache details
Stage Mode Target Time Input Cached Hit Output Total Credits
pr deterministic format rules 0s 0 0 0.0% 0 0 N/A
code full chunk 1/1 38s 142,809 107,319 75.1% 1,142 143,951 N/A
pr full pr 11s 50,771 32,797 64.6% 323 51,094 N/A
code full aggregate 12s 115,870 76,042 65.6% 514 116,384 N/A

@github-actions github-actions Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

✅ OpenAI PR Review: PASS

Conclusion: Ready from the OpenAI review perspective. PR format, linked Issue design, and code/plan conformance passed with no actionable findings.

Review checks

Check Result
PR format ✅ PASS
Issue design ✅ PASS
Code & plan conformance ✅ PASS

Scope: cd9312a5ca · cd9312a5ca..cd9312a5ca · incremental · 1 diff chunk

Usage: 8s · 82,884 tokens · 48.8% cache hit · credits unavailable

Summary

Aggregated the completed native chunk review and read its diff, canonical listing, linked Issue context, and discussion. No actionable findings were reported. No closing Issues are linked, so Issue-plan conformance requirements do not apply.

Review metadata
  • Commit: cd9312a5ca
  • Range: cd9312a5ca..cd9312a5ca
  • Mode: incremental
  • Diff chunks: 1
  • Model: gpt-6.1-sol
  • Reasoning effort: low
  • Session: repo-1309321116-pr-68-v2
  • Generation: 3a53e6fadda2d16520a2ab47724e1be6a8f691340067f11f2b2659f4c262d4f6
  • Evidence: cb55e7b14d2d144aa991759e2e5190a9020682e360d825b4f0be98ec29d99a75

Totals

  • Input: 82,729
  • Cached input: 40,366
  • Cache write: 42,357
  • Output: 155
  • Reasoning: 0
  • Total: 82,884
  • Estimated credits: unavailable for this model
Token and cache details
Stage Mode Target Time Input Cached Hit Output Total Credits
pr deterministic format rules 0s 0 0 0.0% 0 0 N/A
pr incremental pr 8s 82,729 40,366 48.8% 155 82,884 N/A
code reused cached evidence 0s 0 0 0.0% 0 0 N/A

@idy
idy merged commit f4c1531 into main Nov 16, 2026
14 checks passed
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