zeekay 4284960fbe Wake every stalled scope, and never fail a caller over a bump
wake_runners bumped only the global version, which wakes global
runners and nobody else: a runner registered to one repo or one org
watches its own row.  It now takes the distinct owner and repo of each
job that has waited over a minute and bumps those scopes, in one
transaction so the global and owner rows move once however many repos
are stalled.

A bump announces work that has already committed, so its failure is not
the caller's to handle.  Returned from UpdateRunJob it made
UpdateTaskByState fail after the job was settled; the runner reported
again into "state is final" and the rest of the settlement never ran.
IncreaseTaskVersion now returns nothing and logs a failure.  The retries
and their sleeps are gone from the commit path; each scope is tried
once, and the cron is the repair.

The tests wait on a stop mark instead of a fixed delay, since the log
checker reads events asynchronously.

Claude-Session: https://claude.ai/code/session_015XYKLo5aivJF2MHLneVUYc
2026-11-08 13:22:15 -08:00
2026-09-24 09:59:10 -07:00
2024-07-23 12:07:41 +00:00
2025-06-16 12:03:51 +00:00
2026-08-27 15:22:18 -07:00
2023-01-24 18:52:38 +00:00
2016-11-08 08:42:05 +01:00
2026-08-29 13:46:57 -07:00

Hanzo Forge

Hanzo's self-hosted Git forge — Git hosting, code review, issues, packages, and CI/CD (GitHub-Actions-compatible), IAM-native via hanzo.id OIDC. Runs at git.hanzo.ai.

MIT licensed. Upstream authorship and licensing are recorded in NOTICE and LICENSE. Identity is wired to Hanzo IAM rather than local accounts.

Build & deploy

One way, like every Hanzo repo: the root hanzo.yml declares the image and tests; a ~7-line .hanzo/workflows/cicd.yml imports hanzoai/ci, which builds and pushes ghcr.io/hanzoai/git on our own runners against git.hanzo.ai. Never build the image locally.

The running service is defined in hanzoai/universe (the git operator App CR): a single-writer SQLite deployment, config injected via the GIT__<section>__<KEY> env contract, OIDC login reconciled to hanzo.id.

Development

See docs/development.md for a local environment. After building, run ./gitd web to start the server, or ./gitd help for all commands.

S
Description
Hanzo Git. Painless self-hosted all-in-one software development service, including Git hosting, code review, team collaboration, package registry and CI/CD
Readme MIT
344 MiB
Languages
Go 82.6%
Handlebars 7.4%
TypeScript 5%
CSS 2%
JavaScript 1.4%
Other 1.4%