Skip to content

fix(results): publish runs at results branch root#1620

Merged
christso merged 3 commits into
mainfrom
feat/results-branch-root-layout
Jul 3, 2026
Merged

fix(results): publish runs at results branch root#1620
christso merged 3 commits into
mainfrom
feat/results-branch-root-layout

Conversation

@christso

@christso christso commented Jul 3, 2026

Copy link
Copy Markdown
Collaborator

Summary

Published Git results now land directly at the agentv/results/v1 branch root as <run_id>/ instead of under an extra runs/<run_id>/ wrapper. Branch readers, cache indexing, WIP checkpoints, sidecar artifact keys, sync safety checks, and Dashboard sync copy now use that branch-root layout while preserving ADR-0017 run-bundle internals when present, including <run_id>/.internal/index.jsonl and .indexes/*.jsonl.

Mutable metadata/runs/<run_id>/tags.json overlays were removed from the published branch path. Tags are treated as read-only run metadata from summary.json and index rows.

Related: av-i3zw

Validation

  • bun test apps/dashboard/src/lib/project-sync-status.test.ts packages/core/test/evaluation/results-repo.test.ts packages/core/src/evaluation/results-repo-cache.test.ts -> 81 pass.
  • bun run build -> passed after bun install populated this worktree's dependencies.
  • git diff --check -> passed.
  • Manual diff scan performed because the CE multi-agent review primitive was unavailable in this Codex session.

Dogfood

Attempted one-case live eval publishing to a temporary local results repo at /tmp/agentv-results-root-dogfood-ybAouK/results-repo with --results-branch agentv/results/v1 --no-results-push. The run published locally to agentv/results/v1:dogfood-results-root-layout; git ls-tree showed branch-root layout with top-level .gitattributes and dogfood-results-root-layout/, with no runs/ wrapper.

Live provider dogfood did not complete because the copied primary .env has OPENAI_API_KEY=dummy; the CLI failed with HTTP 401 Incorrect API key provided: dummy. The publishing path still ran and produced the branch-root evidence above.

Post-Deploy Monitoring & Validation

No additional production monitoring required; this is local/CI Git results publishing behavior. After merge, validate with the next real eval publish by checking that agentv/results/v1 contains <run_id>/summary.json, no runs/<run_id>/ wrapper, and no metadata/runs/<run_id>/tags.json overlay.


Compound Engineering
GPT--5_Codex

@cloudflare-workers-and-pages

cloudflare-workers-and-pages Bot commented Jul 3, 2026

Copy link
Copy Markdown

Deploying agentv with  Cloudflare Pages  Cloudflare Pages

Latest commit: 44f8b0c
Status: ✅  Deploy successful!
Preview URL: https://70bda53d.agentv.pages.dev
Branch Preview URL: https://feat-results-branch-root-lay.agentv.pages.dev

View logs

@christso christso force-pushed the feat/results-branch-root-layout branch from b95da6e to 3a8d744 Compare July 3, 2026 13:00
@christso christso marked this pull request as ready for review July 3, 2026 13:00
@christso christso merged commit db7c0b2 into main Jul 3, 2026
8 checks passed
@christso christso deleted the feat/results-branch-root-layout branch July 3, 2026 13:25
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