internal/

directory
v0.0.0-...-e89cace Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 13, 2026 License: MIT

Directories

Path Synopsis
Package batch implements bors-style batch testing: build a single merge branch from N queued PRs, fast-forward the target on green, and bisect on red.
Package batch implements bors-style batch testing: build a single merge branch from N queued PRs, fast-forward the target on green, and bisect on red.
Package discovery reconciles the desired set of managed repos against the registry.
Package discovery reconciles the desired set of managed repos against the registry.
Package forge defines a forge-agnostic interface for repo, PR, status, branch, comment and setup operations.
Package forge defines a forge-agnostic interface for repo, PR, status, branch, comment and setup operations.
Package gitea provides a client interface and HTTP implementation for the Gitea REST API.
Package gitea provides a client interface and HTTP implementation for the Gitea REST API.
Package github implements forge.Forge for GitHub via a GitHub App.
Package github implements forge.Forge for GitHub via a GitHub App.
ghfake
It is not a faithful simulator: only the endpoints gitea-mq calls are implemented, with just enough state to drive the adapter and integration tests deterministically without network access.
It is not a faithful simulator: only the endpoints gitea-mq calls are implemented, with just enough state to drive the adapter and integration tests deterministically without network access.
Package logutil holds small logging helpers.
Package logutil holds small logging helpers.
Package merge handles merge branch creation, cleanup, and startup reconciliation for the merge queue.
Package merge handles merge branch creation, cleanup, and startup reconciliation for the merge queue.
Package monitor evaluates commit status checks on merge branches and decides when the head-of-queue PR passes, fails, or times out.
Package monitor evaluates commit status checks on merge branches and decides when the head-of-queue PR passes, fails, or times out.
Package poller reconciles the queue with the forge: it discovers PRs with auto-merge enabled, enqueues them once their own CI is green, and removes queued PRs that were merged/closed/retargeted/pushed/cancelled.
Package poller reconciles the queue with the forge: it discovers PRs with auto-merge enabled, enqueues them once their own CI is green, and removes queued PRs that were merged/closed/retargeted/pushed/cancelled.
Package queue implements merge queue operations on top of the PostgreSQL store.
Package queue implements merge queue operations on top of the PostgreSQL store.
Package registry coordinates the lifecycle of managed repos: adding, removing, and looking up repos at runtime.
Package registry coordinates the lifecycle of managed repos: adding, removing, and looking up repos at runtime.
store
pg
Package testutil provides shared test infrastructure.
Package testutil provides shared test infrastructure.
Package web provides the server-rendered HTML dashboard for gitea-mq.
Package web provides the server-rendered HTML dashboard for gitea-mq.
Package webhook implements the HTTP handler that receives Gitea webhook events (commit_status) and routes them to the check monitor.
Package webhook implements the HTTP handler that receives Gitea webhook events (commit_status) and routes them to the check monitor.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL