Skip to content

feat: refactor bithub viewer and add benchmark workflow#1

Merged
mizchi merged 16 commits into
mainfrom
codex/mars-first-boundary
Mar 16, 2026
Merged

feat: refactor bithub viewer and add benchmark workflow#1
mizchi merged 16 commits into
mainfrom
codex/mars-first-boundary

Conversation

@mizchi

@mizchi mizchi commented Feb 18, 2026

Copy link
Copy Markdown
Member

Summary\n- refactor viewer by splitting repo scan and hub issue loading\n- add /issues route tests and benchmark targets\n- add CI benchmark job (moon bench)\n\n## Verification\n- moon check --target js\n- moon test --target js\n- moon bench -p bit-vcs/bithub/cmd/bithub --target js -f bench_viewer_test.mbt\n- pnpm test:e2e

mizchi and others added 16 commits February 18, 2026 16:12
Receive relay.incoming_ref webhooks, match against workflow push triggers
via actrun, and record CI runs with job/step-level detail in KV.

- POST /api/webhook/relay: create CiRun + CiJobRun + CiStepRun entries
- POST /api/actions/runs/status: external runner reports step status
- GET /actions: CI run list with links to detail pages
- GET /actions/runs/:id: job/step tree with status propagation
- GET /actions/workflows: workflow list (renamed from /workflows)
- GET /actions/workflows/:file: workflow detail (path param, not query)
- Status derivation: step → job → run (pending/running/success/failure)

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@mizchi
mizchi merged commit 87e83f9 into main Mar 16, 2026
2 of 3 checks passed
mizchi added a commit that referenced this pull request Mar 17, 2026
justfile:
- just serve           — start on current repo
- just serve-repo PATH — start on any repo
- just issue "title"   — create issue
- just agent-run 1     — run agent on issue #1
- just agent-daemon    — continuous auto-processing
- just agent-once      — process once and exit
- just auto "title"    — create issue + daemon once (end-to-end)

package.json scripts:
- pnpm serve / serve:repo
- pnpm agent:daemon / agent:daemon:once / agent:run
- pnpm issue:create "title" "body"

scripts/create-issue.ts:
- CLI tool for creating issues (supports stdin for body)

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant