Skip to content
Trips Bot edited this page Feb 21, 2026 · 4 revisions

CI Architecture Overview

This wiki documents the shared CI architecture centered on jai/trips-ci and downstream caller workflows.

🔄 2026-02-21 update: final code-review architecture

The code-review system now uses 3 reusable workflows in jai/trips-ci:

  • code-review-welcome.yaml
  • code-review-full.yaml (includes internal ready-automation job)
  • code-review-respond.yaml

Important design choice

  • Callers are the router (.github/workflows/code-review.yaml in each product repo)
  • trips-ci is now reusable-workflow provider only (no middle router)
  • post-review automation was folded into code-review-full.yaml to avoid brittle caller-side chaining

Why this was chosen

Caller-side chaining across multiple reusable workflows caused startup/runtime fragility (startup_failure class issues). Folding ready automation into full removes cross-workflow output plumbing in caller repos.

Template generation

Caller workflow template source of truth:

  • scripts/generate-caller-workflows.sh

See:

Ownership model

  • Shared repo: jai/trips-ci
    • reusable workflows + common CI primitives
  • Downstream repos: callers own event routing and invoke reusable workflows from trips-ci