Skip to content

Adopt incremental eval-staleness workflow (agent-eval status/run + content-aware fingerprints)#92

Merged
gaojude merged 2 commits into
mainfrom
jude/adopt-eval-staleness
Jul 3, 2026
Merged

Adopt incremental eval-staleness workflow (agent-eval status/run + content-aware fingerprints)#92
gaojude merged 2 commits into
mainfrom
jude/adopt-eval-staleness

Conversation

@gaojude

@gaojude gaojude commented Jun 30, 2026

Copy link
Copy Markdown
Contributor

Adopt the incremental eval-staleness workflow from @vercel/agent-eval@1.3.0 (vercel-labs/agent-eval#164 + #165).

What changes

  • Bump @vercel/agent-eval to ^1.3.0 (lockfile resolved against the published release).
  • scripts/sync-evals.ts: after pulling evals, run agent-eval refingerprint (carry config-only changes forward) instead of the local updateFingerprints, which re-stamped every result and silently hid real eval changes. Delete scripts/refingerprint.ts — the framework owns this now.
  • CI (eval-cache-check): the "which staleness is acceptable" policy lives here, not in the framework. New scripts/check-stale.mjs reads agent-eval status --json and fails on new/changed evals except experiments listed in its ACCEPTED_STALE.
  • One-time migration: contentFingerprint stamped into every committed summary.json (1082 files), so future config-only changes carry forward instead of mass-staling legacy results.

Workflow after this

Bump the pinned next.js SHA, then: agent-eval (status + pick which experiments to run) → for any model you're intentionally leaving behind, add it to ACCEPTED_STALE in scripts/check-stale.mjs → CI passes.

Verified locally against the published 1.3.0: pnpm sync-evals 9e4d718…node scripts/check-stale.mjs → "Eval cache OK", exit 0.

- Bump @vercel/agent-eval to ^1.3.0.
- sync-evals: run `agent-eval refingerprint` after pulling evals instead of the
  local updateFingerprints (which re-stamped every result and hid real eval
  changes). Delete scripts/refingerprint.ts — the framework owns this now.
- CI: the "which staleness is acceptable" policy lives in this repo, not the
  framework. scripts/check-stale.mjs reads `agent-eval status --json` and fails on
  new/changed evals except experiments listed in its ACCEPTED_STALE — so models we
  intentionally leave on an older eval stay green.
@gaojude gaojude force-pushed the jude/adopt-eval-staleness branch from 311b43c to 102c7d5 Compare June 30, 2026 17:06
@gaojude gaojude changed the title Adopt incremental eval-staleness workflow (agent-eval status/run/keep) Adopt incremental eval-staleness workflow (agent-eval status/run + content-aware fingerprints) Jun 30, 2026
- pnpm-lock.yaml: resolve the now-published ^1.3.0.
- One-time migration: `agent-eval refingerprint` (run via sync-evals at the pinned
  next.js SHA) stamps `contentFingerprint` into every committed summary.json, so
  future config-only changes carry forward instead of mass-staling legacy results.
- .gitignore: ignore `.env*` (`.env.local` carries the sandbox/gateway token).
@gaojude gaojude marked this pull request as ready for review July 2, 2026 14:28
@socket-security

Copy link
Copy Markdown

Review the following changes in direct dependencies. Learn more about Socket for GitHub.

Diff Package Supply Chain
Security
Vulnerability Quality Maintenance License
Addednpm/​@​vercel/​agent-eval@​1.3.0761007499100

View full report

@gaojude gaojude merged commit f8ad66d into main Jul 3, 2026
3 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.

2 participants