mirror of
https://github.com/storytold/autocraft.git
synced 2026-11-25 00:41:04 +01:00
push_outcomes records the required-check result before and after each fix-up, conflict, CI fix and fix-issue push. A push that turned the checks red makes the CI fix work on the pushed head first. A push stage pauses itself when 2 of its last 10 pushes broke a check; the merge path pauses when main CI turns red because of a merge of ours or a post-merge review finds a defect. An operator resumes a stage with autocraft pipeline resume or the Pipeline page.
Triage dashboard frontend
React + TypeScript + Vite + Tailwind. Design: docs/ui-design.md.
pnpm install
pnpm dev # http://127.0.0.1:5173, mock API with fixture data
pnpm build # tsc, then dist/ (no inline scripts or styles; fonts bundled)
VITE_MOCK=1 pnpm build # the mockup: dist/ on fixture data, no server needed
A normal build talks to the dashboard server's JSON API (src/api/http.ts), and
the server serves dist/ behind sign-in. The dev server and the mockup build run
against createMockApi() (src/api/mock/); pick the signed-in role with
?as=operator|maintainer|viewer or the user menu.
A feature is a module in src/modules/<name>/ listed in src/registry/index.ts.