Skip to content

Where people and agents ship software together. The open-source git platform for the whole job: issues, agents, checks and deploys to the edge.

g1t.sh
9 linesCodeBlameRaw

Pick any line to see why it is the way it is: the commit, the pull request and issue it came from, and what the agent was thinking.

Billing answers every page in a few round trips, not forty: its reads run together, Stripe is asked at most hourly, and the ledger has a time index1-- Workspaces whose billing was closed because the workspace was deleted
2-- (src/closing.rs): who closed it, when, and the balance it had then. The
3-- ledger, invoices and statements stay under the slug for accounting.
4CREATE TABLE IF NOT EXISTS closed_workspaces (
5 workspace TEXT PRIMARY KEY,
6 closed_by TEXT NOT NULL,
7 closed_at TEXT NOT NULL,
8 balance_micros INTEGER NOT NULL DEFAULT 0
9);

This file's history is long; its oldest lines are credited to the oldest commit read.