submitqueue

module
v0.1.0-dev2 Latest Latest
Warning

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

Go to latest
Published: May 21, 2026 License: Apache-2.0

README

SubmitQueue

CI Go Version License

SubmitQueue is a high-performance speculative merge queue that keeps your trunk consistently green at scale. Rather than validating changes one at a time, SubmitQueue speculatively rebases and validates multiple changes in parallel against predicted future states of HEAD. When validations pass, changes land automatically. When they fail, SubmitQueue isolates the offending change and retries the rest — all without human intervention.

Designed for large monorepos and fast-moving teams where concurrent changes can introduce subtle conflicts and destabilize builds.

Quick Start

Requires Docker and Docker Compose. See Development Setup for full prerequisites.

# Build everything
make build

# Run unit tests
make test

# Start full stack locally (Gateway + Orchestrator + MySQL via Docker Compose)
make local-start

# Test with grpcurl
grpcurl -plaintext -d '{"message": "hello"}' localhost:8081 uber.submitqueue.gateway.SubmitQueueGateway/Ping

# Stop services
make local-stop

See example/README.md for more examples including running individual services and clients.

Documentation

Document Description
Development Setup Prerequisites, build, environment, IDE setup
Contributing How to contribute, workflow, guidelines
Testing Guide Unit, integration, and E2E testing patterns
Architecture Guide Project layout, patterns, conventions
Examples Running services, clients, API reference
RFCs Design documents and proposals

Project Status

SubmitQueue is under active development. We welcome contributions and feedback.

Contributing

See CONTRIBUTING.md for how to get started.

License

Licensed under the Apache License 2.0.

Directories

Path Synopsis
core
consumer/mock
Package mock is a generated GoMock package.
Package mock is a generated GoMock package.
example
client/gateway command
server/gateway command
extension
changestore/mock
Package mock is a generated GoMock package.
Package mock is a generated GoMock package.
counter/mock
Package mock is a generated GoMock package.
Package mock is a generated GoMock package.
mergechecker/mock
Package mock is a generated GoMock package.
Package mock is a generated GoMock package.
pusher/git
Package git is a simple Pusher implementation backed by a local git checkout.
Package git is a simple Pusher implementation backed by a local git checkout.
pusher/mock
Package mock is a generated GoMock package.
Package mock is a generated GoMock package.
queue/mock
Package mock is a generated GoMock package.
Package mock is a generated GoMock package.
queue/mysql
Package mysql is a generated GoMock package.
Package mysql is a generated GoMock package.
queue/mysql/ctl command
scorer/mock
Package mock is a generated GoMock package.
Package mock is a generated GoMock package.
storage/mock
Package mock is a generated GoMock package.
Package mock is a generated GoMock package.
gateway
orchestrator
stovepipe
test
tool

Jump to

Keyboard shortcuts

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