← all corpora

gitlab-runbooks

reference corpus · status live · domain OPS (Operations and SRE) · lane A · refresh pinned · tags GLOBAL · INCIDENT-RESPONSE · OPERATIONS

What an agent uses it for

an agent on call for a SaaS queries this for real alert definitions, escalations and mitigation playbooks from a large production fleet

Use it
curl -fsSLO https://raw.githubusercontent.com/xerj-org/xerj/corpus-hub/tools/xerj-code/hub/gitlab-runbooks.json
xerj corpus add --from ./gitlab-runbooks.json
xerj corpus index gitlab-runbooks then xerj code gitlab-runbooks "your question"

Needs the xerj CLI and a local node running; the copy prompt covers both, checks each step, and shows how to stop only the node you started. No shell: the MCP tool xerj_code_search with corpus: "gitlab-runbooks", once the corpus is indexed on the node.

Sources and pins

sourcepinlicencesizereview note
gitlab-runbooks caae4426858bMIT 155.4 MB / 6,327 files LICENSE at pin caae442685: MIT (GitLab); hosted on gitlab.com, cloned from there. | profiler evidence: PROFILER 2026-10-02T00:55:03Z trees-only: files=6327; backlog hint: MIT (verify at pin: hosted on gitlab.com, not github); api licence: unknown; evidence: LICENSE→MIT

155.4 MB across 6,327 files. Added 2026-10-02.

People behind this corpus

Curated by

The hub maintainers maintain this registry entry; its sources are not GitHub repositories with an owner to credit, so the original publishers are the ones listed under Sources and pins.

All contributors.

Rights

MIT. Redistribution permitted with attribution per the licence review. The review block records a human opening each licence file at the pin. Detector output is a hint, never the verdict.

Retrieval spot-check (G7)

3.0/5 relevant. Graded .

Q: What is the difference between a TrafficAbsent alert and a TrafficCessation alert?
expect:
top-5: gitlab-runbooks/docs/alerts/TrafficAbsent.md / gitlab-runbooks/docs/memorystore-redis-tracechunks/README.md / gitlab-runbooks/docs/uncategorized/job_completion.md / gitlab-runbooks/docs/metrics-catalog/monitoring-overrides.md / gitlab-runbooks/docs/uncategorized/job_completion.md
grade: pass
Q: How quickly are high-urgency Sidekiq jobs supposed to start executing?
expect:
top-5: gitlab-runbooks/docs/sidekiq/sidekiq-queueing-apdex.md / gitlab-runbooks/docs/ci-orchestration/alerts/CiOrchestrationServicePipelineCreationSidekiqSLOViolation.md / gitlab-runbooks/docs/sidekiq/sidekiq-survival-guide-for-sres.md / gitlab-runbooks/docs/sidekiq/sidekiq-survival-guide-for-sres.md / gitlab-runbooks/docs/sidekiq/queue-migration.md
grade: pass
Q: What happens if a GitLab Postgres database reaches transaction ID wraparound?
expect:
top-5: gitlab-runbooks/docs/patroni/pg_xid_wraparound_alert.md / gitlab-runbooks/docs/patroni/postgres-checkup.md / gitlab-runbooks/mimir-rules/gitlab-ops/sentry/autogenerated-gitlab-ops-sentry-saturation-alerts.yml / gitlab-runbooks/reference-architectures/get-hybrid/config/tamland/manifest.json / gitlab-runbooks/docs/patroni/pg_xid_wraparound_alert.md
grade: pass
Q: What am I supposed to do when the SSLCertExpiresSoon alert fires?
expect:
top-5: gitlab-runbooks/docs/patroni/patroni-management.md / gitlab-runbooks/astro/package-lock.json / gitlab-runbooks/docs/uncategorized/job_completion.md / gitlab-runbooks/alertmanager/templates/testdata/gitlab.text_mimir_.Alerts.Annotations.grafana_datasource_id.txt / gitlab-runbooks/docs/patroni/postgresql-subtransactions.md
grade: miss
Q: I am on call and alerts are firing for many unrelated components at once - what does that usually point to?
expect:
top-5: gitlab-runbooks/docs/gitaly/gitaly-latency.md / gitlab-runbooks/docs/tutorials/how_to_use_flamegraphs_for_perf_profiling.md / gitlab-runbooks/docs/kas/alerts/KasServiceJobRouter.md / gitlab-runbooks/docs/kube/alerts/KubeSchedulingFailures.md / gitlab-runbooks/docs/orbit/alerts/OrbitAllowlistRejectedBurst.md
grade: miss

Agent score

From structured reviews that AI agents send after they use this corpus: through xerj hub pull, MCP queries, or the xerj_corpus_feedback tool. Each review rates usefulness 1–5, whether the answer was found, and freshness. This is not the human hub star count shown above. The two are never mixed.

Loading agent reviews…

Score = Bayesian mean of usefulness (prior 3.0 with weight 5), so a few reviews cannot swing it. One voice per installation per corpus per week; abnormal-volume reviewers are dropped. Coverage gaps appear only once 3 or more agents report the same one. How it works.

Traffic

Traffic stats load from /api/hub-traffic when this page runs JavaScript.

Views: visits to this page (search-engine crawlers excluded). Unique: distinct visitors per day, by a hash salted with the day, so the 14-day unique figure adds up daily uniques. Pulls: growth of the GitHub release download count of this corpus’s pack (xerj hub pull downloads from there; includes our own pack-verification downloads). Searches: hosted-hub queries for this corpus. Referring sites appear after 3 views. What is collected.

Agent usage

Usage stats load from /api/hub-usage when this page runs JavaScript.

Counted: requests agents send to the hosted hub API (hub.xerj.org/api/v1/code, /def) for this corpus. Queries on your own node (xerj code, xerj ask with a local pack, the MCP tools) never leave your machine and are not counted. Templates replace identifiers, versions, paths, numbers and quoted text with placeholders; one is shown only once it has been seen 3 times in 30 days, and any word asked fewer than 3 times shows as <term>. Raw queries are never published. What is collected.