Repository navigation
Description
Problem
Callers that run paid baseline/candidate comparisons on pull requests (for example github/plugin-marketplace-starter .github/workflows/skill-eval-comparison.yml) rerun both paid comparisons on every push. This happens even when the evaluated skill, evals, and runtime are unchanged, such as a review-fix push to unrelated files. One recent run used ~417K tokens (baseline 197,533 + candidate 219,404).
Callers cannot safely reuse earlier evidence today. A path-filter shortcut could turn unknown or failed evidence green, which is not acceptable.
Missing capabilities (as of d7b40d34236f09c8078a2b4e0008ed2ac81919cb)
-
Locked runner input.
vally-versionaccepts an exact top-level version, butsrc/tooling.tsgenerates a fresh npm lock on every job (npm install --package-lock-only, thennpm ci). The recorded engine, dependency, and lock hashes are only captured after the fact. The action needs a caller-provided immutable dependency lock, or a preverified locked runtime. Both the executable and lock digests must be enforced before invocation in every job. -
Isolated execution and input identity.
nativeArguments()(src/native.ts) exposes no backend override (--backend/--backend-args), so callers cannot select Vally's Docker backend without editing each eval. The action also needs a trusted, complete digest or manifest covering:- staged data
- baseline skill restoration
- candidate skill source
- selected evals
- the runtime, backend, and image
- declared external inputs
Network and credential policy must be explicit. Docker task and grade networks currently default to unrestricted.
verifyCheckout()requiresHEAD == GITHUB_SHA, so a snapshot path is not by itself a supported workspace boundary. -
Cross-run import with provenance. Artifact ID and digest overrides exist, but
readReportArtifactpasses the currentGITHUB_RUN_ID,GITHUB_RUN_ATTEMPT, andGITHUB_SHAtoparseStructuredReport, andcurrentPull()rejects earlier revisions. A supported reuse mode must verify:- the original repo, workflow, run, and attempt
- the PR and base
- the exact source revision
- complete baseline and candidate evidence
- immutable artifact digests
- matching full input and runtime identity
It must keep the original pass/fail status, and label the check and comment as reused with links to the original evidence.
Requirements
- Missing, partial, expired, changed, or untrusted evidence must never produce a green or skipped required check. It must either fail or trigger a fresh evaluation.
- A reused failure must still fail.
- Tests must cover:
- lock mismatches
- snapshot boundaries
- backend and network configuration
- artifact identity and trust
- stale, malformed, and expired evidence
- preserved failure behavior
- reuse labels
Context
- Caller: feat(ci): update remote and evals-action pins automatically plugin-marketplace-starter#28
- Interim mitigation in the caller: a workflow concurrency group that cancels superseded PR comparison runs.
Activity