open-design/.github/workflows
lefarcen bf61a39cb5
ci: clean agent report (write-to-file) + slim artifacts/uploads (#3116)
* ci: clean agent report (write-to-file) + slim artifacts/uploads

Four related cleanups to the agent PR exploration output:

1. Clean report. The PR comment / report.md was assembled by dumping the
   entire verbose expect.log (ACP init logs, "Git failed" warnings, the
   ~24KB echoed prompt, ANSI codes, progress checklist) under the trace
   header -- ~28KB of noise. Instead, instruct the agent to write its
   final Markdown report to a file via its file-write tool, and have the
   runner read that file directly. Verified: Codex writes a clean report
   to the given absolute path. Falls back to an inconclusive note if the
   agent did not finish.

2. Drop duplicate trace/video. The script copied
   playwright-smoke-trace.zip -> playwright-trace.zip (a ~28MB legacy
   duplicate) and the webm likewise, and uploaded both to R2. Keep only
   the canonical smoke-named artifacts.

3. Slim the GitHub artifact. The trace zips and videos are already on R2;
   exclude *.zip / *.webm from the uploaded artifact so it drops from
   ~56MB to <1MB (report + logs only).

4. Persist report on the runner. Copy the report / agent-report /
   expect.log / trace URL to a stable host dir
   ($HOME/.cache/agent-pr-explore/reports/pr-<n>) so dry runs
   (skip_comment) can be inspected without downloading the artifact.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>

* ci: address review — keep advisory reports + recursive artifact excludes

Review findings on the report/artifact cleanup:

1. Regression fix: the non-app-surface and deterministic-verifier branches
   write their pre-baked advisory report (Inconclusive / Pass / Fail) and
   never run the agent, so they don't produce agent-report.md. After
   switching write_agent_report_artifact to read only agent-report.md they
   fell through to the "agent did not write a final report" fallback,
   dropping the real advisory (and mis-reporting on .github-only PRs like
   this one). Fix: those branches now write their advisory directly to
   $agent_report_file — single source of truth for the report body.

2. Recursive artifact excludes: the source Playwright recording lives at
   artifacts/playwright-video/<uuid>.webm; non-recursive !*.webm / !*.zip
   didn't match the subdirectory. Use **/*.zip and **/*.webm so the slim
   actually holds.

3. Drop the now-dangling summary.legacyTrace field (the legacy trace copy
   is no longer produced), matching the legacyVideo removal.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>

---------

Co-authored-by: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-05-27 12:30:05 +00:00
..
actionlint.yml fix(ci): lint workflow changes with actionlint (#2742) 2026-05-23 12:12:55 +08:00
agent-pr-explore-sandbox.yml ci: clean agent report (write-to-file) + slim artifacts/uploads (#3116) 2026-05-27 12:30:05 +00:00
agent-pr-explore.lock.yml ci: add agent explore workflow placeholder (#2830) 2026-05-24 20:22:51 +08:00
blog-3day-report.yml fix(ci): lint workflow changes with actionlint (#2742) 2026-05-23 12:12:55 +08:00
blog-indexing-monitor.yml fix(ci): lint workflow changes with actionlint (#2742) 2026-05-23 12:12:55 +08:00
blog-indexing-on-deploy.yml ci(landing): split landing deploy into staging gate + manual production (#2994) 2026-05-26 14:05:04 +00:00
ci.yml ci(landing): split landing deploy into staging gate + manual production (#2994) 2026-05-26 14:05:04 +00:00
contributor-card-bot.yml fix(contributor-bot): serialize runs to avoid state.json races and duplicate cards (#1707) 2026-05-14 20:01:13 +08:00
critique-conformance.yml feat(daemon): Critique Theater Phase 16 (M-phase rollout ratchet + /api/critique/conformance) (#1499) 2026-05-14 11:05:57 +08:00
discord-resolved.yml ci: skip upstream-only workflows on forks (#1586) 2026-05-14 14:27:23 +08:00
docker-image.yml fix(ci): only run docker image workflow for release tags (#1916) 2026-05-16 22:32:33 +08:00
fork-pr-workflow-approval.yml fix(ci): run fork visual reports from trusted code (#2935) 2026-05-26 06:17:04 +00:00
landing-page-ci.yml feat(landing-page): localize plugins library across 18 locales (#3010) 2026-05-27 09:30:59 +00:00
landing-page-production.yml ci(landing): split landing deploy into staging gate + manual production (#2994) 2026-05-26 14:05:04 +00:00
landing-page-staging.yml ci(landing): split landing deploy into staging gate + manual production (#2994) 2026-05-26 14:05:04 +00:00
metrics.yml fix(ci): use open-design-bot for metrics PRs (#1910) 2026-05-16 21:52:37 +08:00
nix-check.yml chore: optimize CI and beta release runtime (#2231) 2026-05-19 18:06:28 +08:00
nix-hash-autofix.yml chore(nix): streamline pnpm deps hash maintenance (#2919) 2026-05-26 07:35:38 +00:00
pr-author-inactivity.yml fix(ci): anchor PR inactivity clock to author responses (#2185) 2026-05-19 13:59:15 +08:00
refresh-contributors-wall.yml ci: skip upstream-only workflows on forks (#1586) 2026-05-14 14:27:23 +08:00
release-beta.yml feat(pack): add Windows portable zip target alongside NSIS installer (#2937) 2026-05-26 06:14:44 +00:00
release-preview.yml feat(pack): add Windows portable zip target alongside NSIS installer (#2937) 2026-05-26 06:14:44 +00:00
release-stable.yml feat(pack): add Windows portable zip target alongside NSIS installer (#2937) 2026-05-26 06:14:44 +00:00
seo-daily-report.yml fix(ci): lint workflow changes with actionlint (#2742) 2026-05-23 12:12:55 +08:00
stale-issues.yml ci: add PR-author and stale-issue inactivity workflows (#2055) 2026-05-18 16:45:37 +08:00
visual-baseline.yml chore(ci): add visual regression PR workflow (#2372) 2026-05-20 15:05:59 +08:00
visual-pr-capture.yml ci: gate fork PR workflow auto-approval (#2683) 2026-05-23 11:48:36 +08:00
visual-pr-comment.yml fix(ci): run fork visual reports from trusted code (#2935) 2026-05-26 06:17:04 +00:00
visual-pr-verify.yml fix(ci): align visual selectors and nix hashes (#2471) 2026-05-21 10:45:37 +08:00