submitqueue/

directory
v0.1.0-dev9 Latest Latest
Warning

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

Go to latest
Published: Jun 16, 2026 License: Apache-2.0

README

SubmitQueue

SubmitQueue service layout:

  • gateway/ — Gateway service: entry point for land requests (Ping, Land, Cancel RPCs).
  • orchestrator/ — Orchestrator service: coordinates the land pipeline (batch, score, build, merge, conclude, ...).
  • extension/ — SubmitQueue-specific extension implementations (storage, counter, changestore, mergechecker, pusher, scorer, conflict, queueconfig, buildrunner, ...).
  • entity/ — SubmitQueue-specific domain entities.
  • core/ — Infrastructure shared across SubmitQueue's own services (gateway and orchestrator): the queue consumer framework and the request lifecycle. The SubmitQueue-scoped analogue of the repo-level core/.

Cross-domain building blocks live outside this directory: shared entities in entity/, shared extensions in extension/, and cross-domain infrastructure in the top-level core/.

Directories

Path Synopsis
Package core groups infrastructure shared across SubmitQueue's own services (gateway and orchestrator) — the SubmitQueue-scoped analogue of the repo-level core/.
Package core groups infrastructure shared across SubmitQueue's own services (gateway and orchestrator) — the SubmitQueue-scoped analogue of the repo-level core/.
changeset
Package changeset resolves batch identity into the changes a batch contains.
Package changeset resolves batch identity into the changes a batch contains.
changeset/fake
Package fake provides an in-memory changeset.Resolver for tests and examples.
Package fake provides an in-memory changeset.Resolver for tests and examples.
changeset/mock
Package mock is a generated GoMock package.
Package mock is a generated GoMock package.
fakemarker
Package fakemarker holds the shared "sq-fake=<token>" change-URI marker convention used by the extension fakes to inject failures from a request payload.
Package fakemarker holds the shared "sq-fake=<token>" change-URI marker convention used by the extension fakes to inject failures from a request payload.
topickey
Package topickey defines SubmitQueue pipeline stage identifiers.
Package topickey defines SubmitQueue pipeline stage identifiers.
extension
buildrunner/buildkite
Package buildkite implements buildrunner.BuildRunner backed by the Buildkite CI platform.
Package buildkite implements buildrunner.BuildRunner backed by the Buildkite CI platform.
buildrunner/fake
Package fake provides a buildrunner.BuildRunner whose outcome is driven by the triggered changes.
Package fake provides a buildrunner.BuildRunner whose outcome is driven by the triggered changes.
buildrunner/githubactions
Package githubactions implements buildrunner.BuildRunner backed by GitHub Actions workflow_dispatch.
Package githubactions implements buildrunner.BuildRunner backed by GitHub Actions workflow_dispatch.
buildrunner/mock
Package mock is a generated GoMock package.
Package mock is a generated GoMock package.
changeprovider/fake
Package fake provides a changeprovider.ChangeProvider whose outcome is driven by the input change.
Package fake provides a changeprovider.ChangeProvider whose outcome is driven by the input change.
changeprovider/mock
Package mock is a generated GoMock package.
Package mock is a generated GoMock package.
conflict/all
Package all provides a conflict.Analyzer that pessimistically reports a conflict against every in-flight batch.
Package all provides a conflict.Analyzer that pessimistically reports a conflict against every in-flight batch.
conflict/fake
Package fake provides a conflict.Analyzer that decorates an existing analyzer: it delegates to the wrapped implementation for the happy path, but injects an error when a caller-supplied predicate matches.
Package fake provides a conflict.Analyzer that decorates an existing analyzer: it delegates to the wrapped implementation for the happy path, but injects an error when a caller-supplied predicate matches.
conflict/fileoverlap
Package fileoverlap provides a conflict.Analyzer that reports a conflict between two batches when they change one or more of the same files.
Package fileoverlap provides a conflict.Analyzer that reports a conflict between two batches when they change one or more of the same files.
conflict/mock
Package mock is a generated GoMock package.
Package mock is a generated GoMock package.
conflict/none
Package none provides a conflict.Analyzer that never reports a conflict.
Package none provides a conflict.Analyzer that never reports a conflict.
mergechecker/fake
Package fake provides a mergechecker.MergeChecker whose outcome is driven by the input change.
Package fake provides a mergechecker.MergeChecker whose outcome is driven by the input change.
mergechecker/mock
Package mock is a generated GoMock package.
Package mock is a generated GoMock package.
pusher/fake
Package fake provides a pusher.Pusher whose outcome is driven by the input changes.
Package fake provides a pusher.Pusher whose outcome is driven by the input changes.
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.
queueconfig/mock
Package mock is a generated GoMock package.
Package mock is a generated GoMock package.
queueconfig/yaml
Package yaml provides a YAML-file-backed implementation of queueconfig.Store.
Package yaml provides a YAML-file-backed implementation of queueconfig.Store.
scorer/fake
Package fake provides a scorer.Scorer that decorates an existing scorer: it delegates to the wrapped implementation for the happy path, but injects an error when a change URI carries a failure marker of the form "sq-fake=<token>":
Package fake provides a scorer.Scorer that decorates an existing scorer: it delegates to the wrapped implementation for the happy path, but injects an error when a change URI carries a failure marker of the form "sq-fake=<token>":
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
controller/buildsignal
Package buildsignal implements the build poll loop.
Package buildsignal implements the build poll loop.
controller/cancel
Package cancel implements the orchestrator-side cancel controller.
Package cancel implements the orchestrator-side cancel controller.
controller/dlq
Package dlq contains controllers that consume messages from per-topic dead-letter queues and reconcile the affected request and batch entities into a terminal failed state.
Package dlq contains controllers that consume messages from per-topic dead-letter queues and reconcile the affected request and batch entities into a terminal failed state.

Jump to

Keyboard shortcuts

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