rich-history-graph
history
multi-branch history that exercises bucket dividers, type coloring, branch chips, lane topology
Description
A multi-branch repo built to stress the history surface. Commits span every date bucket (today / yesterday / this-week / last-week plus two older calendar-month buckets), every conventional-commit type the renderer knows (feat / fix / chore / docs / refactor / test / perf / revert plus a `fix!:` breaking marker), and three distinct branch lifecycles: two feature branches merged back into main with --no-ff merge commits, plus one unmerged `feat/wip` sitting as a live branch tip. Run with --run-ui to drive the workstation against it: npm run scenario create rich-history-graph -- --run-ui
Contracts
- main is checked out
- feat/wip exists and is NOT merged into main
- two --no-ff merge commits sit on main (feat/auth, feat/payments)
- worktree is clean
- commits span at least 6 distinct date buckets (today through 2 older months)
- commit messages cover feat / fix / chore / docs / refactor / test / perf / revert and a breaking-change `!:`
Tags
Branches
feat/authfeat/paymentsfeat/wipmain Use it
import { spinUpScenario } from '@gfargo/git-scenarios'
const repo = await spinUpScenario('rich-history-graph') npx git-scenarios create rich-history-graph import { describeWithScenario } from '@gfargo/git-scenarios/jest'
describeWithScenario('rich-history-graph', (getRepo) => {
it('should have the expected state', async () => {
const repo = getRepo()
// your assertions here
})
}) Commit graph
* 9109b4b (HEAD -> main) feat(search): trigram-based subject filter
* 25ced15 revert: temporary rollback of v1-shim removal
* 7f089dd chore: tidy imports
* 069596f fix!: drop deprecated v1 endpoints
| * 8fba97e (feat/wip) chore(search): prototype lookup cache
| * e8cee63 feat(search): experimental trigram backend
|/
* 3e8e574 perf(db): index user_id on sessions
* b8a15ab fix(db): retry on transient timeout
* 86bab4d perf(api): cache compiled route matcher
* 7a4ec73 Merge branch 'feat/payments'
|\
| * d8ef61a (feat/payments) test: cover stripe checkout flow
| * 2d6e7f2 fix(payments): handle 3D-secure redirect
| * f79b8c7 feat(payments): stripe checkout adapter
|/
* 0e4d041 docs: contributor guide
* 12d70a4 chore(deps): bump simple-git to 4.x
* c36d837 fix(api): route precedence for catch-all
* 1b20d70 refactor(api): centralise error shapes
* 93086cc Merge branch 'feat/auth'
|\
| * 8e0a6d9 (feat/auth) test: cover session edge cases
| * cb2679f feat(auth): session middleware
|/
* c0321ac docs: project README and contributor guide
* d079bc9 feat(api): public router skeleton
* 80328cd Initial scaffold