Skip to content

Latest commit

 

History

History
23 lines (18 loc) · 1009 Bytes

File metadata and controls

23 lines (18 loc) · 1009 Bytes

BehaviorDiff — Project Context

What It Is

Self-hosted GitHub Action that compares frontend runtime behavior between base and PR branches. Posts a markdown summary to the PR.

Architecture

  • Entry: action.ymlsrc/index.ts (orchestrator)
  • Runner: src/runner/ — build, serve, capture (Playwright)
  • Diff: src/diff/ — metrics, visual, dom, network, console, a11y
  • Intelligence: src/intelligence/ — signals, causality, risk, categorization, noise reduction, recommendations
  • Report: src/report/ — markdown generation, PR comments, artifact upload
  • Config: src/config.ts — YAML config parsing with defaults

Tech Stack

Node.js, TypeScript, Playwright, pixelmatch, axe-core, GitHub Actions

Build

  • npm run build — ncc bundle to dist/
  • npm test — vitest (39 tests, all passing)
  • npm run typecheck — tsc --noEmit

Status

Core MVP implemented. Remaining: sample workflow file, intelligence layer tests, README accuracy check.