Files
vercel__workflow/.gitignore
T
Alex Langenfeld 080c592567 test: persist E2E flake history (#4120)
## Summary & Motivation

Job conclusions hide tests that pass on retry, and the evidence only lived in overwritten PR comments and 7-day artifacts, so recurring flakes couldn't be ranked against how often they ran.

- retry sidecars are now named after the Vitest report they came from, so lanes, VMs, and worlds no longer overwrite each other when artifacts merge — and the aggregate comment can attribute a flake to an exact lane
- `generate-e2e-flake-history.js` publishes a bounded 30-run history to gh-pages: one series per (lane, app, world, vm, platform) × test, carrying both an executed count and a passed-on-retry count so a rate has a denominator
- the reporter always writes the sidecar, which is what lets a clean run be distinguished from a lane that reported no retry telemetry at all

## Test Plan

Unit tests added for dimension parsing, denominators, schema validation, and the 30-run window; verified every current report filename maps to explicit dimensions, and a one-run history built from a full artifact set came out around 100 KiB.
2026-09-11 15:41:26 -05:00

63 lines
1.3 KiB
Plaintext

.workflow-data
node_modules
/packages/*/dist
.vercel
.turbo
.nuxt
# This is a hack to get around the fact that `pnpm install`
# does not run create the "bin" symlink if the file does not exist
!packages/cli/dist/index.js
.env*.local
# Single letter one-off scratch scripts
?.ts
?.mjs
# Rust
/target
^target/
target
# compiled wasm
*.wasm
# swc-plugin build hash
packages/swc-plugin-workflow/build-hash.json
# SWC plugin cache
.swc
# claude local settings
.claude/settings.local.json
.claude/worktrees
# jj
.jj/
.next
.DS_Store
# Generated manifest files copied to static asset directories by builders
workbench/nextjs-*/public/.well-known/workflow
workbench/sveltekit/static/.well-known/workflow
# Event log race repro output (written to the repo root by the harness and by
# scripts/event-log-race-repro-local.sh)
event-log-race-repro-results.json
event-log-race-repro-summary.md
event-log-race-repro-previous-comment.md
event-log-race-repro-server.log
# Per-run e2e sidecars written to the repo root by the harness and reporter.
# CI uploads these as short-lived artifacts; they are not source fixtures or a
# representative health history.
/e2e-diagnostics-*.json
/e2e-failures-*.json
/e2e-flaky-*.json
/e2e-*.flaky.json
/e2e-infra-*.json
/e2e-metadata-*.json
/e2e-runtime-logs-*.json