From d8654487b69956b9bbbd5de79c7d897410f551cf Mon Sep 17 00:00:00 2001 From: Dev Talan <84081651+devchaudhary24k@users.noreply.github.com> Date: Tue, 27 Oct 2026 04:08:18 +0530 Subject: [PATCH 01/82] perf(index): blame head files in batches of at most 256 MB Surviving Lines held the text of every head file a person touched in one walk. Each walk now holds at most BATCH_BYTES of file text (always at least one file) and the rest get walks of their own, so the memory has a ceiling however large the repository. The counts are the same. --- crates/commitscape-index/src/blame.rs | 106 +++++++++++++--------- crates/commitscape-index/src/surviving.rs | 45 ++++++++- 2 files changed, 107 insertions(+), 44 deletions(-) diff --git a/crates/commitscape-index/src/blame.rs b/crates/commitscape-index/src/blame.rs index ea649de..e05ef1a 100644 --- a/crates/commitscape-index/src/blame.rs +++ b/crates/commitscape-index/src/blame.rs @@ -12,6 +12,8 @@ const UNMAPPED: u32 = u32::MAX; const MAX_THREADS: usize = 8; +pub const BATCH_BYTES: usize = 256 << 20; + #[derive(Debug, Clone, PartialEq, Eq)] pub struct BlameFile { pub path: Vec, @@ -65,7 +67,8 @@ struct Walk<'a, S: BlameSource> { counts: Vec>, } -/// Blames each file at `head`, passing the lines of `pass_through` commits to their parent, and hands each file's line count per commit to `finished` as soon as it is known. `may_change` says whether a one-parent commit may have changed a path; where it says no, the commit is passed over unread. +/// Blames each file at `head`, passing the lines of `pass_through` commits to their parent, and hands each file's line count per commit to `finished` as soon as it is known. `may_change` says whether a one-parent commit may have changed a path; where it says no, the commit is passed over unread. One walk holds at most `batch_bytes` of head file text (always at least one file); the files past it get walks of their own, one after another, each freed before the next. +#[allow(clippy::too_many_arguments)] pub fn blame( source: &S, head: Oid, @@ -73,53 +76,65 @@ pub fn blame( pass_through: &HashSet, may_change: MayChange<'_>, deadline: Option, + batch_bytes: usize, finished: &mut dyn FnMut(usize, Blamed), ) -> Result { - let mut walk = Walk { - source, - may_change, - pass_through, - pending: HashMap::new(), - heap: BinaryHeap::new(), - queued: HashSet::new(), - commits: HashMap::new(), - left: vec![0; files.len()], - counts: vec![HashMap::new(); files.len()], - }; let late = || deadline.is_some_and(|d| Instant::now() >= d); - for (i, f) in files.iter().enumerate() { - if late() { - return Ok(Walked::OutOfTime); - } - let text = source.blame_blob(f.blob)?; - let n = line_count(&text); - if n == 0 { - finished(i, Vec::new()); - continue; - } - if let Some(slot) = walk.left.get_mut(i) { - *slot = n; + let mut next = 0; + while next < files.len() { + let mut walk = Walk { + source, + may_change, + pass_through, + pending: HashMap::new(), + heap: BinaryHeap::new(), + queued: HashSet::new(), + commits: HashMap::new(), + left: vec![0; files.len()], + counts: vec![HashMap::new(); files.len()], + }; + let start = next; + let mut held = 0usize; + while let Some(f) = files.get(next) { + if next > start && held >= batch_bytes { + break; + } + if late() { + return Ok(Walked::OutOfTime); + } + let i = next; + next += 1; + let text = source.blame_blob(f.blob)?; + held += text.len(); + let n = line_count(&text); + if n == 0 { + finished(i, Vec::new()); + continue; + } + if let Some(slot) = walk.left.get_mut(i) { + *slot = n; + } + walk.push( + head, + Item { + file: i, + path: f.path.as_slice().into(), + blob: f.blob, + text: Rc::new(text), + segs: vec![(0, n)], + }, + )?; } - walk.push( - head, - Item { - file: i, - path: f.path.as_slice().into(), - blob: f.blob, - text: Rc::new(text), - segs: vec![(0, n)], - }, - )?; - } - while let Some((_, id)) = walk.heap.pop() { - if late() { - return Ok(Walked::OutOfTime); + while let Some((_, id)) = walk.heap.pop() { + if late() { + return Ok(Walked::OutOfTime); + } + walk.queued.remove(&id); + let Some(items) = walk.pending.remove(&id) else { + continue; + }; + walk.process(id, items, finished)?; } - walk.queued.remove(&id); - let Some(items) = walk.pending.remove(&id) else { - continue; - }; - walk.process(id, items, finished)?; } Ok(Walked::Finished) } @@ -340,6 +355,7 @@ pub(crate) fn spans_at( } /// Blames the files on several threads at once, each with its own handle on the repository and a share of the files grouped by folder, handing every file's result to `finished` on the calling thread. +#[allow(clippy::too_many_arguments)] pub fn blame_in_threads( threads: &T, head: Oid, @@ -347,6 +363,7 @@ pub fn blame_in_threads( pass_through: &HashSet, may_change: &(dyn Fn(Oid, &[u8]) -> bool + Sync), deadline: Option, + batch_bytes: usize, finished: &mut dyn FnMut(usize, Blamed), ) -> Result::Error> { let count = crate::threads::threads(files.len()) @@ -360,9 +377,11 @@ pub fn blame_in_threads( pass_through, may_change, deadline, + batch_bytes, finished, ); } + let per_thread = (batch_bytes / count).max(1); let mut folders: HashMap<&[u8], Vec> = HashMap::new(); for (i, f) in files.iter().enumerate() { folders.entry(folder(&f.path)).or_default().push(i); @@ -396,6 +415,7 @@ pub fn blame_in_threads( pass_through, may_change, deadline, + per_thread, &mut |j, blamed| { if let Some(&i) = shard.get(j) { let _ = sent.send((i, blamed)); diff --git a/crates/commitscape-index/src/surviving.rs b/crates/commitscape-index/src/surviving.rs index 4fd480a..5c2b67f 100644 --- a/crates/commitscape-index/src/surviving.rs +++ b/crates/commitscape-index/src/surviving.rs @@ -3,7 +3,7 @@ use std::time::{Duration, Instant}; use commitscape_core::{AuthorId, ChangeKind, CommitFlags, FileClass, FileId, Index, Oid}; -use crate::blame::{blame_in_threads, spans_at, BlameFile, Walked}; +use crate::blame::{blame_in_threads, spans_at, BlameFile, Walked, BATCH_BYTES}; use crate::cache::{BlameStore, CacheOptions, Known, Moved}; use crate::lines::MAX_BYTES; use crate::similarity::rename_source; @@ -35,6 +35,7 @@ pub struct Survival<'i> { paths: Option>>>, commit_at: HashMap, files_at: HashMap, Vec>, + batch_bytes: usize, } impl<'i> Survival<'i> { @@ -101,6 +102,7 @@ impl<'i> Survival<'i> { .map(|(i, c)| (c.id, i)) .collect(), files_at: HashMap::new(), + batch_bytes: BATCH_BYTES, }) } @@ -143,6 +145,7 @@ impl<'i> Survival<'i> { store, commit_at, files_at, + batch_bytes, .. } = self; let index: &Index = index; @@ -168,6 +171,7 @@ impl<'i> Survival<'i> { pass_through, &may_change, Some(deadline), + *batch_bytes, &mut |i, blamed| { if let Some(file) = todo.get(i) { if let Some(store) = store.as_ref() { @@ -402,6 +406,45 @@ mod tests { .head_file(b"lib/a.rs", "a1\nb2\nc3\na4\nb5\n") } + #[test] + fn blaming_one_file_per_walk_counts_the_same_as_one_walk_for_all() { + let repo = ScriptedRepo::new() + .blob(blob(1), "a1\na2\n") + .blob(blob(2), "x1\nx2\nx3\n") + .blob(blob(3), "a1\nb2\nb3\n") + .blob(blob(4), "x1\nc2\nx3\n") + .commit( + 1, + ALICE, + &[(b"src/a.rs", Added, blob(1)), (b"src/x.rs", Added, blob(2))], + ) + .commit(2, BOB, &[(b"src/a.rs", Modified, blob(3))]) + .commit(3, CAROL, &[(b"src/x.rs", Modified, blob(4))]) + .head_file(b"src/a.rs", "a1\nb2\nb3\n") + .head_file(b"src/x.rs", "x1\nc2\nx3\n"); + let index = index_from_scratch(&repo).unwrap(); + let ignored = repo.blame_ignore_revs().unwrap(); + let counted = |batch_bytes: usize| -> Vec { + let mut survival = + Survival::new(&index, &ignored, 50, &CacheOptions::default()).unwrap(); + survival.batch_bytes = batch_bytes; + ["Alice Example", "Bob Example", "Carol Example"] + .iter() + .map(|name| { + match survival + .person(&repo, person(&index, name), MINUTE) + .unwrap() + { + Survived::Counted { lines, .. } => lines, + Survived::OverBudget { .. } => unreachable!(), + } + }) + .collect() + }; + assert_eq!(counted(1), [3, 2, 1]); + assert_eq!(counted(1), counted(BATCH_BYTES)); + } + #[test] fn lines_belong_to_who_wrote_them_through_overwrites_and_a_rename() { let repo = overwritten_and_renamed(); From 0dd64c04c7d2927000b3cfc801a917f227cbffbf Mon Sep 17 00:00:00 2001 From: Dev Talan <84081651+devchaudhary24k@users.noreply.github.com> Date: Tue, 27 Oct 2026 04:08:25 +0530 Subject: [PATCH 02/82] perf(site): keep Cards in colours outside the swatches in memory They were drawn to SVG and PNG on every request and never stored. They are now kept in a 32 MB least-recently-used cache for as long as stored Cards are, still never written to R2, where any of millions of colours could fill the bucket. The cache that answers used moves to its own module so both share it. --- apps/site/src/server/answers.ts | 43 +---------------------------- apps/site/src/server/cards.test.ts | 14 +++++++++- apps/site/src/server/cards.ts | 14 ++++++++-- apps/site/src/server/sized.ts | 44 ++++++++++++++++++++++++++++++ 4 files changed, 70 insertions(+), 45 deletions(-) create mode 100644 apps/site/src/server/sized.ts diff --git a/apps/site/src/server/answers.ts b/apps/site/src/server/answers.ts index b2216c5..e842f47 100644 --- a/apps/site/src/server/answers.ts +++ b/apps/site/src/server/answers.ts @@ -5,6 +5,7 @@ import { askedOf, key as keyOf, type Params } from "@commitscape/data"; import { now, schema, type Db } from "@commitscape/server"; import { NoPack } from "./engine-service"; import { heldBy, pack, packed, type Packed } from "./packed"; +import { Sized } from "./sized"; import { cacheLooked } from "./telemetry"; const { storedIndexes } = schema; @@ -18,48 +19,6 @@ const KNOWN_MAX = 10_000; const WAIT_STEP = 250; const WAITS = 12; -class Sized { - private readonly map = new Map(); - private readonly budget: number; - private readonly size: (v: V) => number; - constructor(budget: number, size: (v: V) => number) { - this.budget = budget; - this.size = size; - } - get(k: string): V | undefined { - const v = this.map.get(k); - if (v !== undefined) { - this.map.delete(k); - this.map.set(k, v); - } - return v; - } - peek(k: string): V | undefined { - return this.map.get(k); - } - set(k: string, v: V): void { - this.map.delete(k); - this.map.set(k, v); - this.trim(); - } - delete(k: string): void { - this.map.delete(k); - } - trim(): void { - let total = this.bytes(); - for (const [k, v] of this.map) { - if (total <= this.budget || this.map.size <= 1) break; - total -= this.size(v); - this.map.delete(k); - } - } - bytes(): number { - let total = 0; - for (const v of this.map.values()) total += this.size(v); - return total; - } -} - export type Kept = { value: unknown; bytes: number; packed: Packed | null }; type Made = { packed: Promise; done: Packed | null }; diff --git a/apps/site/src/server/cards.test.ts b/apps/site/src/server/cards.test.ts index fdfb21e..ff483e6 100644 --- a/apps/site/src/server/cards.test.ts +++ b/apps/site/src/server/cards.test.ts @@ -5,7 +5,7 @@ import { Resvg } from "@resvg/resvg-js"; import { afterEach, describe, expect, test, vi } from "vitest"; import type { Profile } from "@commitscape/data"; import { now, schema } from "@commitscape/server"; -import { CARDS } from "@commitscape/ui"; +import { CARDS, DEFAULT_STYLE } from "@commitscape/ui"; import { renderCard } from "@commitscape/ui/cards/render"; import { ACHIEVEMENT, ARCHETYPE, HALL, PROFILE, STANDING, VERSUS, WRAPPED } from "../../../../packages/ui/src/cards/fixture"; import { testDeps } from "#/test/deps"; @@ -56,6 +56,18 @@ describe("a Card as an image", () => { expect(deps.faces).toEqual(["alice"]); }); + test("a colour outside the swatches is drawn once and kept in memory, never stored", async () => { + const deps = await cardDeps(); + await deps.db.insert(profiles).values({ login: "alice", scope: "public", identity: JSON.stringify(profile.identity), identityAt: now(), data: JSON.stringify(profile), fetchedAt: now() }); + const style = { ...DEFAULT_STYLE, accent: "123457" }; + const first = await cardImage(deps, "totals", { login: "alice" }, "dark", "png", style); + expect(first.ms).not.toBeNull(); + const svg = await cardImage(deps, "totals", { login: "alice" }, "dark", "svg", style); + expect(svg.ms).toBeNull(); + expect(new TextDecoder().decode(svg.body)).toContain(" { const deps = await cardDeps(); await deps.db.insert(profiles).values({ login: "alice", scope: "public", identity: JSON.stringify(profile.identity), identityAt: now(), data: JSON.stringify(profile), fetchedAt: now() }); diff --git a/apps/site/src/server/cards.ts b/apps/site/src/server/cards.ts index bacb3b4..683a0ba 100644 --- a/apps/site/src/server/cards.ts +++ b/apps/site/src/server/cards.ts @@ -8,6 +8,7 @@ import { renderCard, renderPending } from "@commitscape/ui/cards/render"; import { SiteError } from "./http"; import { survivingTotal } from "./engine"; import { isHidden } from "./people"; +import { Sized } from "./sized"; import { NotRead, STORED_ONLY } from "./profiles"; import type { Deps } from "./repos"; import { standingsOf } from "./standings"; @@ -19,6 +20,7 @@ const { profiles, repositories, storedIndexes } = schema; export const CARD_FOR = 6 * 3600; const PENDING_FOR = 60; +const UNOFFERED_BYTES = 32 * 1024 ** 2; export type CardDeps = Deps & { site: string; avatar?: (login: string) => Promise }; export type Subject = { login?: string; owner?: string; repo?: string; versus?: string; achievement?: string; year?: number }; @@ -146,7 +148,7 @@ function baseKey(kind: CardKind, subject: Subject, theme: CardTheme, format: For return `cards/${who}/${kind}${subject.achievement ? `-${subject.achievement}` : ""}${subject.year ? `-${subject.year}` : ""}-${theme}-d${CARD_DESIGN}.${format}`; } -async function draw(deps: CardDeps, kind: CardKind, subject: Subject, theme: CardTheme, style: CardStyle): Promise<{ svg: string; png: Uint8Array; ms: number } | null> { +async function draw(deps: CardDeps, kind: CardKind, subject: Subject, theme: CardTheme, style: CardStyle): Promise { let data: ProfileCardData | StandingCardData | HallOfFameData | VersusCardData | ArchetypeCardData | AchievementCardData | WrappedCardData | null; let logins: (string | null)[]; if (kind === "wrapped" || kind === "wrapped-calendar") { @@ -197,6 +199,10 @@ async function draw(deps: CardDeps, kind: CardKind, subject: Subject, theme: Car const refreshing = new Set(); +type Drawn = { svg: string; png: Uint8Array; ms: number }; + +const unoffered = new Sized(UNOFFERED_BYTES, (d) => d.svg.length * 2 + d.png.byteLength); + async function isPrivateRepo(deps: CardDeps, owner: string, repo: string): Promise { const id = repoId(owner, repo); if (!id) return false; @@ -221,13 +227,16 @@ async function store(deps: CardDeps, kind: CardKind, subject: Subject, theme: Ca return drawn; } -/** A Card as an image in a style: the stored copy while it is under six hours old, a stale one while a new one is drawn in the background, and a plain "reading" card while nothing is stored yet; colours outside the offered swatches are drawn each time and never stored. */ +/** A Card as an image in a style: the stored copy while it is under six hours old, a stale one while a new one is drawn in the background, and a plain "reading" card while nothing is stored yet; colours outside the offered swatches are never stored, only kept in memory for as long. */ export async function cardImage(deps: CardDeps, kind: CardKind, subject: Subject, theme: CardTheme, format: Format, style: CardStyle = DEFAULT_STYLE): Promise { for (const who of [subject.login, subject.versus]) if (who && (await isHidden(deps, who))) throw new SiteError(404, "This person has chosen to stay out, so they have no Cards."); const type = format === "svg" ? "image/svg+xml" : "image/png"; const key = keyOf(kind, subject, theme, format, style); if (subject.owner && subject.repo && (await isPrivateRepo(deps, subject.owner, subject.repo))) throw new SiteError(404, "This repository has no Cards."); const [kept, at] = isOffered(style) ? await Promise.all([deps.storage.get(key), deps.storage.get(`${keyOf(kind, subject, theme, "svg", style)}.at`)]) : [null, null]; + const memo = isOffered(style) ? null : keyOf(kind, subject, theme, "svg", style); + const held = memo ? unoffered.get(memo) : undefined; + if (held && now() - held.at <= CARD_FOR) return { body: format === "svg" ? new TextEncoder().encode(held.svg) : held.png, type, maxAge: CARD_FOR, ms: null }; if (kept) { const age = now() - Number(new TextDecoder().decode(at?.body ?? new Uint8Array()) || 0); if (age > CARD_FOR && !refreshing.has(key)) { @@ -244,5 +253,6 @@ export async function cardImage(deps: CardDeps, kind: CardKind, subject: Subject const body = format === "svg" ? new TextEncoder().encode(svg) : new Resvg(svg, { fitTo: { mode: "zoom", value: 2 } }).render().asPng(); return { body, type, maxAge: PENDING_FOR, ms: null }; } + if (memo) unoffered.set(memo, { ...drawn, at: now() }); return { body: format === "svg" ? new TextEncoder().encode(drawn.svg) : drawn.png, type, maxAge: CARD_FOR, ms: drawn.ms }; } diff --git a/apps/site/src/server/sized.ts b/apps/site/src/server/sized.ts new file mode 100644 index 0000000..1b1555b --- /dev/null +++ b/apps/site/src/server/sized.ts @@ -0,0 +1,44 @@ +import "@tanstack/react-start/server-only"; + +/** Values kept in memory by key, the least recently used dropped first once their sizes pass the budget. */ +export class Sized { + private readonly map = new Map(); + private readonly budget: number; + private readonly size: (v: V) => number; + constructor(budget: number, size: (v: V) => number) { + this.budget = budget; + this.size = size; + } + get(k: string): V | undefined { + const v = this.map.get(k); + if (v !== undefined) { + this.map.delete(k); + this.map.set(k, v); + } + return v; + } + peek(k: string): V | undefined { + return this.map.get(k); + } + set(k: string, v: V): void { + this.map.delete(k); + this.map.set(k, v); + this.trim(); + } + delete(k: string): void { + this.map.delete(k); + } + trim(): void { + let total = this.bytes(); + for (const [k, v] of this.map) { + if (total <= this.budget || this.map.size <= 1) break; + total -= this.size(v); + this.map.delete(k); + } + } + bytes(): number { + let total = 0; + for (const v of this.map.values()) total += this.size(v); + return total; + } +} From 50c64f7bad3151746e562e0e4c86a9d2d66e5e0e Mon Sep 17 00:00:00 2001 From: Dev Talan <84081651+devchaudhary24k@users.noreply.github.com> Date: Tue, 27 Oct 2026 04:08:58 +0530 Subject: [PATCH 03/82] perf(builder): keep caches apart from clones and run the engine one at a time - The engine cache of a public repository lives in work/caches, moved out of its clone's folder where older Builders kept it, and is pruned under its own CACHE_BUDGET_GB: pruning a clone no longer loses the history read from it. - Engine runs share ENGINE_SLOTS (1) in the order they asked, so Builds, large Builds and quiet Builds never run the engine side by side on mercury's two cores; git and the network still run at once. - A quiet Build that counts the lines a big repository has left gets MORE_LINES_BUDGET_SECONDS (600), so one run publishes what three did. --- DEPLOY.md | 9 ++-- apps/builder/src/builder.test.ts | 80 +++++++++++++++++++++++++++++-- apps/builder/src/config.ts | 9 ++++ apps/builder/src/disk.ts | 40 +++++++++++----- apps/builder/src/job.test.ts | 5 +- apps/builder/src/main.ts | 9 ++-- apps/builder/src/run.ts | 35 ++++++++++++-- apps/builder/src/survival.test.ts | 4 +- apps/builder/src/survival.ts | 4 +- 9 files changed, 165 insertions(+), 30 deletions(-) diff --git a/DEPLOY.md b/DEPLOY.md index 366b126..b193b52 100644 --- a/DEPLOY.md +++ b/DEPLOY.md @@ -191,17 +191,20 @@ Optional, with their defaults: | Variable | Default | What | |---|---|---| -| `CONCURRENCY` | 1 | Builds at a time, for repositories under `LARGE_REPOSITORY_MB`. On a server of its own with two cores, set 2 with `COMMITSCAPE_THREADS=1` | +| `CONCURRENCY` | 1 | Builds at a time, for repositories under `LARGE_REPOSITORY_MB`. Their clones, GitHub reads and Postgres loads overlap; their runs of the engine share `ENGINE_SLOTS` | +| `ENGINE_SLOTS` | 1 | Runs of the engine at once across every Build, small and large; the rest wait their turn. Surviving Lines has its own. With one slot, let the engine use every core (leave `COMMITSCAPE_THREADS` unset) | | `COMMITSCAPE_THREADS` | every core, up to 16 | Threads one run of the engine may use | | `ENGINE_NICE` | 10 | The engine runs at this lower priority (0 to 19), so git, the database and the Builder stay responsive | -| `LINES_BUDGET_SECONDS` | 120 | How long a Build's line pass may count Lines Changed, the Mainline first, newest first. Lines show once the Mainline's are counted; the commits left are counted by quiet Builds queued a minute later, three at most, and by the next Build | +| `LINES_BUDGET_SECONDS` | 120 | How long a Build's line pass may count Lines Changed, the Mainline first, newest first. Lines show once the Mainline's are counted; the commits left are counted by a quiet Build queued a minute later (three at most), and by the next Build | +| `MORE_LINES_BUDGET_SECONDS` | 600 | How long such a quiet Build may count, kept two minutes inside `TIME_LIMIT_SECONDS`: nobody waits for it, so it counts what is left in one go and publishes once | | `LARGE_REPOSITORY_MB` | 1500 | Repositories larger than this, by GitHub's size, are built in a lane of their own | | `LARGE_CONCURRENCY` | 1 | Builds at a time in that lane | | `MAX_REPOSITORY_MB` | none | Unset, every repository is cloned, however big; set, larger repositories are refused | | `TIME_LIMIT_SECONDS` | 900 | How long one run of the binary may take on a Build's first attempt, the clone not included. One that runs out is queued again, each attempt given twice the time, four attempts in all | | `CLONE_TIME_LIMIT_SECONDS` | 1800 | How long a clone or fetch may take on the first attempt, doubled with each attempt | | `LOGINS_ASKED` | 300 | At most this many commit authors a Build asks GitHub for the login of, a hundred to a GraphQL request; each commit's answer is kept for a year, so a rebuild asks only for new ones | -| `DISK_BUDGET_GB` | 20 | Past this, the least recently built clones in `/work` are deleted | +| `DISK_BUDGET_GB` | 20 | Past this, the least recently built clones in `/work/repos` are deleted | +| `CACHE_BUDGET_GB` | 5 | Past this, the least recently used caches in `/work/caches` are deleted. A cache holds what a Build read of a repository's history (linux: about 240 MB, react: 11 MB) and lives apart from its clone, so deleting a clone never makes the next Build read the history again | | `SURVIVING_BUDGET_SECONDS` | 60 | How long one count of a person's Surviving Lines may take at first. A count past it is queued again with twice the budget, up to four hours, and goes on from the files it counted | | `PULLS_TIME_LIMIT_SECONDS` | 1800 | How long one read of a repository's pull requests may take; a first read past it goes on from where it stopped a minute later | | `GIT_DATA` | true | Once a Build's full clone is ready, read the repository's branches, files and pull requests from it with git, beside the line pass, for the Code, Branches and Pull requests screens. They cost no GitHub request; each step fails on its own and leaves the Report published | diff --git a/apps/builder/src/builder.test.ts b/apps/builder/src/builder.test.ts index e27133b..2a9aeb1 100644 --- a/apps/builder/src/builder.test.ts +++ b/apps/builder/src/builder.test.ts @@ -7,10 +7,10 @@ import { expect, test } from "vitest"; import { readManifest, type LiveIndex, type Loaded } from "@commitscape/server"; import { ensureClone, failure, gitEnv } from "./clone"; import type { Config } from "./config"; -import { prune } from "./disk"; +import { cacheDir, cacheFor, prune, repoDir } from "./disk"; import { readEvents } from "./engine"; import { flagOf, writeBuilt, type FakeBuild } from "./fake"; -import { build, BUILD_ATTEMPTS, cloneLimitOf, run, timeLimitOf, type BuildTarget, type Deps, type Made, type Ran, type RunOptions } from "./run"; +import { build, BUILD_ATTEMPTS, cloneLimitOf, run, sharingEngine, timeLimitOf, type BuildTarget, type Deps, type Made, type Ran, type RunOptions } from "./run"; const cfg = (work: string, over: Partial = {}): Config => ({ bin: "commitscape", @@ -26,6 +26,9 @@ const cfg = (work: string, over: Partial = {}): Config => ({ largeConcurrency: 1, logins: 300, diskGb: 20, + cacheGb: 5, + engineSlots: 1, + moreLinesBudget: 600, gitBase: undefined, ...over, }); @@ -126,7 +129,7 @@ test("a cold Build clones quickly without old contents and in full at once, publ expect(flagOf(second?.args ?? [], "--lineage")).toBe("7"); expect(second?.args.at(-1)).toBe(full); for (const call of f.calls.filter((c) => c.cmd !== "git")) { - expect(flagOf(call.args, "--cache-dir")).toBe(join(work, "repos", "acme", "rocket", "cache")); + expect(flagOf(call.args, "--cache-dir")).toBe(join(work, "caches", "acme", "rocket")); expect(flagOf(call.args, "--cache-key")).toBe("acme/rocket"); expect(call.opts.nice).toBe(10); expect(call.env.COMMITSCAPE_THREADS).toBe("2"); @@ -142,7 +145,7 @@ test("a cold Build clones quickly without old contents and in full at once, publ expect(f.said[0]).toBe("cloning"); expect(existsSync(join(full, ".git"))).toBe(true); expect(await readdir(join(work, "jobs"))).toEqual([]); - expect((await readdir(work)).sort()).toEqual(["jobs", "repos"]); + expect((await readdir(work)).sort()).toEqual(["caches", "jobs", "repos"]); }); test("a warm Build brings the kept clone up to date and goes straight to the full build", async () => { @@ -259,6 +262,18 @@ test("the full build's line pass stops at the lines budget and says how many com expect(outcome.made).toMatchObject({ phase: "full", manifest: { lines_left: 40, lines_mainline: true, lines: false } }); }); +test("a quiet Build counting the lines left gets the longer budget, within the engine's time limit, so it publishes once", async () => { + const work = await mkdtemp(join(tmpdir(), "builder-")); + const asked = async (over: Partial) => { + const f = fake(() => ok); + await build(req({ more: true }), cfg(work, { linesBudget: 30, ...over }), f.deps); + return flagOf(builds(f.calls).at(-1)?.args ?? [], "--lines-budget"); + }; + expect(await asked({ moreLinesBudget: 600, timeLimit: 900 })).toBe("600"); + expect(await asked({ moreLinesBudget: 600, timeLimit: 300 })).toBe("180"); + expect(await asked({ moreLinesBudget: 600, timeLimit: 60 })).toBe("30"); +}); + test("a full build past its time leaves the quick one published, to be gone on from in the next attempt", async () => { const work = await mkdtemp(join(tmpdir(), "builder-")); const slow = (c: Call): Ran => (c.args[0] === "build" && !c.args.includes("--no-lines") ? { code: null, stderr: "", timedOut: true } : ok); @@ -423,6 +438,63 @@ test("the least recently used repository folders go first when the disk budget i expect(await prune(work, 1500, [join(work, "repos", "acme", "mid")])).toEqual([join(work, "repos", "acme", "new")]); }); +test("a public repository's cache lives apart from its clone, moved out of the clone's folder where older Builders kept it", async () => { + const work = await mkdtemp(join(tmpdir(), "builder-")); + const cfg = { work } as Config; + const old = join(repoDir(cfg, "acme", "rocket"), "cache"); + await mkdir(old, { recursive: true }); + await writeFile(join(old, "index.bin"), "kept"); + await mkdir(join(repoDir(cfg, "acme", "rocket"), "full"), { recursive: true }); + await writeFile(join(repoDir(cfg, "acme", "rocket"), "full", "pack"), Buffer.alloc(1000)); + const dir = await cacheFor(cfg, { isPrivate: false, owner: "acme", name: "rocket", home: repoDir(cfg, "acme", "rocket") }); + expect(dir).toBe(cacheDir(cfg, "acme", "rocket")); + expect(await readFile(join(dir, "index.bin"), "utf8")).toBe("kept"); + expect(existsSync(old)).toBe(false); + expect(await prune(work, 0)).toEqual([repoDir(cfg, "acme", "rocket")]); + expect(await readFile(join(dir, "index.bin"), "utf8")).toBe("kept"); + expect(await cacheFor(cfg, { isPrivate: false, owner: "acme", name: "fresh", home: repoDir(cfg, "acme", "fresh") })).toBe(cacheDir(cfg, "acme", "fresh")); +}); + +test("a private repository's cache stays in the folder its job deletes", async () => { + const work = await mkdtemp(join(tmpdir(), "builder-")); + const home = join(work, "private", "job-1"); + expect(await cacheFor({ work } as Config, { isPrivate: true, owner: "acme", name: "secret", home })).toBe(join(home, "cache")); + expect(existsSync(join(work, "caches"))).toBe(false); +}); + +test("caches are pruned on their own budget, least recently used first", async () => { + const work = await mkdtemp(join(tmpdir(), "builder-")); + for (const [name, at] of [["old", 1000], ["new", 3000]] as const) { + const dir = join(work, "caches", "acme", name); + await mkdir(dir, { recursive: true }); + await writeFile(join(dir, "index.bin"), Buffer.alloc(1000)); + await utimes(dir, at, at); + } + expect(await prune(work, 1500, [], "caches")).toEqual([join(work, "caches", "acme", "old")]); + expect(await readdir(join(work, "caches", "acme"))).toEqual(["new"]); +}); + +test("runs of the engine share its slots in the order they asked, while every other command runs at once", async () => { + const order: string[] = []; + const open: (() => void)[] = []; + const slow = async (cmd: string, args: string[]): Promise => { + order.push(`start ${cmd} ${args[0]}`); + await new Promise((r) => open.push(r)); + order.push(`end ${cmd} ${args[0]}`); + return { code: args[0] === "fails" ? 1 : 0, stderr: "", timedOut: false }; + }; + const shared = sharingEngine(slow, "commitscape", 1); + const runs = [shared("commitscape", ["a"], {}, 1000), shared("commitscape", ["fails"], {}, 1000), shared("git", ["clone"], {}, 1000), shared("commitscape", ["c"], {}, 1000)]; + await new Promise((r) => setTimeout(r, 10)); + expect([...order].sort()).toEqual(["start commitscape a", "start git clone"]); + for (let i = 0; i < 4; i++) { + open.shift()?.(); + await new Promise((r) => setTimeout(r, 10)); + } + expect((await Promise.all(runs)).map((r) => r.code)).toEqual([0, 1, 0, 0]); + expect(order.filter((o) => o.includes("commitscape"))).toEqual(["start commitscape a", "end commitscape a", "start commitscape fails", "end commitscape fails", "start commitscape c", "end commitscape c"]); +}); + test("a command past its time is stopped with everything it started", async () => { const started = Date.now(); const ran = await run("sh", ["-c", "sleep 30 & sleep 30"], {}, 300); diff --git a/apps/builder/src/config.ts b/apps/builder/src/config.ts index 97d0675..7a4c5a3 100644 --- a/apps/builder/src/config.ts +++ b/apps/builder/src/config.ts @@ -18,6 +18,7 @@ export function loadEnv(runtimeEnv: Record = process COMMITSCAPE_BIN: z.string().default("commitscape"), COMMITSCAPE_THREADS: z.coerce.number().int().positive().optional(), LINES_BUDGET_SECONDS: positive(120), + MORE_LINES_BUDGET_SECONDS: positive(600), ENGINE_NICE: z.coerce.number().int().min(0).max(19).default(10), WORK_DIR: z.string().default(`${runtimeEnv.HOME ?? "."}/builder-work`), CONCURRENCY: positive(1), @@ -28,6 +29,8 @@ export function loadEnv(runtimeEnv: Record = process LARGE_CONCURRENCY: positive(1), LOGINS_ASKED: positive(300), DISK_BUDGET_GB: positive(20), + CACHE_BUDGET_GB: positive(5), + ENGINE_SLOTS: z.coerce.number().int().positive().default(1), SURVIVING_BUDGET_SECONDS: positive(60), PULLS_TIME_LIMIT_SECONDS: positive(1800), GIT_DATA: z.stringbool().default(true), @@ -97,6 +100,9 @@ export type Config = { largeConcurrency: number; logins: number; diskGb: number; + cacheGb: number; + engineSlots: number; + moreLinesBudget: number; gitBase: string | undefined; git?: GitSettings | undefined; }; @@ -116,6 +122,9 @@ export function configOf(env: Env): Config { largeConcurrency: env.LARGE_CONCURRENCY, logins: env.LOGINS_ASKED, diskGb: env.DISK_BUDGET_GB, + cacheGb: env.CACHE_BUDGET_GB, + engineSlots: env.ENGINE_SLOTS, + moreLinesBudget: env.MORE_LINES_BUDGET_SECONDS, gitBase: env.GIT_BASE, git: env.GIT_DATA ? { diff --git a/apps/builder/src/disk.ts b/apps/builder/src/disk.ts index 0c8a69b..6971217 100644 --- a/apps/builder/src/disk.ts +++ b/apps/builder/src/disk.ts @@ -1,5 +1,6 @@ -import { readdir, rm, stat } from "node:fs/promises"; -import { join } from "node:path"; +import { existsSync } from "node:fs"; +import { mkdir, readdir, rename, rm, stat, utimes } from "node:fs/promises"; +import { dirname, join } from "node:path"; import { and, eq, gt, inArray, or } from "drizzle-orm"; import { now, schema, type Db } from "@commitscape/server"; import type { Config } from "./config"; @@ -15,6 +16,21 @@ const LEGACY = /^(clones|health|out|[0-9a-f]{16})$/; /** Where a public repository's kept clone and commitscape's cache for it live. */ export const repoDir = (cfg: Config, owner: string, name: string) => join(cfg.work, "repos", owner, name); +/** Where commitscape's cache for a public repository lives: apart from its clone, so pruning the clone never loses the history read from it. */ +export const cacheDir = (cfg: Config, owner: string, name: string) => join(cfg.work, "caches", owner, name); + +/** The cache folder a job hands commitscape: a public repository's lasting one, moved out of its clone's folder where older Builders kept it and marked as just used; a private repository's inside `home`, which its job deletes. */ +export async function cacheFor(cfg: Config, repo: { isPrivate: boolean; owner: string; name: string; home: string }): Promise { + if (repo.isPrivate) return join(repo.home, "cache"); + const dir = cacheDir(cfg, repo.owner, repo.name); + const old = join(repoDir(cfg, repo.owner, repo.name), "cache"); + await mkdir(dirname(dir), { recursive: true }); + if (existsSync(old) && !existsSync(dir)) await rename(old, dir).catch(() => undefined); + await mkdir(dir, { recursive: true }); + await utimes(dir, new Date(), new Date()).catch(() => undefined); + return dir; +} + /** Where a private repository's clone and cache live while one job uses them. */ export const privateDir = (cfg: Config, key: string) => join(cfg.work, "private", key); @@ -30,16 +46,18 @@ async function size(path: string): Promise { return total; } -async function kept(work: string): Promise { +export type Kept = "repos" | "caches"; + +async function kept(work: string, folder: Kept): Promise { const out: string[] = []; - for (const owner of await readdir(join(work, "repos")).catch(() => [])) { - for (const name of await readdir(join(work, "repos", owner)).catch(() => [])) out.push(join(work, "repos", owner, name)); + for (const owner of await readdir(join(work, folder)).catch(() => [])) { + for (const name of await readdir(join(work, folder, owner)).catch(() => [])) out.push(join(work, folder, owner, name)); } return out; } -/** The folders of public repositories with a Build or Surviving Lines still to come, which pruning must leave. */ -export async function inUse(db: Db, cfg: Config, at = now()): Promise { +/** The folders (clones by default, or what `where` names) of public repositories with a Build or Surviving Lines still to come, which pruning must leave. */ +export async function inUse(db: Db, cfg: Config, where: (cfg: Config, owner: string, name: string) => string = repoDir, at = now()): Promise { const building = db .select({ id: builds.repoId }) .from(builds) @@ -52,13 +70,13 @@ export async function inUse(db: Db, cfg: Config, at = now()): Promise .select({ owner: repositories.owner, name: repositories.name }) .from(repositories) .where(and(eq(repositories.isPrivate, false), or(inArray(repositories.id, building), inArray(repositories.id, counting)))); - return repos.map((r) => repoDir(cfg, r.owner, r.name)); + return repos.map((r) => where(cfg, r.owner, r.name)); } -/** Deletes the least recently used repository folders until the work folder fits the budget, leaving the ones in `keep`. */ -export async function prune(work: string, budget: number, keep: Iterable = []): Promise { +/** Deletes the least recently used repository folders (clones, or with `folder` caches) until they fit the budget, leaving the ones in `keep`. */ +export async function prune(work: string, budget: number, keep: Iterable = [], folder: Kept = "repos"): Promise { const left = new Set(keep); - const found = await Promise.all((await kept(work)).map(async (path) => ({ path, bytes: await size(path), at: (await stat(path)).mtimeMs }))); + const found = await Promise.all((await kept(work, folder)).map(async (path) => ({ path, bytes: await size(path), at: (await stat(path)).mtimeMs }))); let total = found.reduce((n, c) => n + c.bytes, 0); const deleted: string[] = []; for (const c of found.sort((a, b) => a.at - b.at)) { diff --git a/apps/builder/src/job.test.ts b/apps/builder/src/job.test.ts index 8ba571c..4a612ff 100644 --- a/apps/builder/src/job.test.ts +++ b/apps/builder/src/job.test.ts @@ -9,7 +9,7 @@ import { migrate } from "drizzle-orm/pglite/migrator"; import { expect, test } from "vitest"; import { lendToken, memoryStorage, now, PRIORITY, readManifest, schema, settleRepository, type BuildJob, type Db, type Loaded, type Queue, type SurvivalJob } from "@commitscape/server"; import type { Config } from "./config"; -import { inUse, sweep } from "./disk"; +import { cacheDir, inUse, sweep } from "./disk"; import { fakePerson, flagOf, writeBuilt, type FakeBuild } from "./fake"; import { MORE_LINES_AFTER, MORE_LINES_MAX, runJob, type JobContext } from "./job"; import { BUILD_ATTEMPTS, type Ran } from "./run"; @@ -64,7 +64,7 @@ type Captured = [string, Who, Record]; async function context(db: Db, over: Partial = {}, built: FakeBuild | ((args: string[]) => FakeBuild) = {}): Promise; captured: Captured[] }> { const work = await mkdtemp(join(tmpdir(), "builder-")); - const cfg: Config = { bin: "commitscape", threads: undefined, linesBudget: 120, nice: 10, work, concurrency: 1, maxMb: undefined, timeLimit: 60, cloneLimit: 120, largeMb: 1500, largeConcurrency: 1, logins: 300, diskGb: 20, gitBase: undefined }; + const cfg: Config = { bin: "commitscape", threads: undefined, linesBudget: 120, nice: 10, work, concurrency: 1, maxMb: undefined, timeLimit: 60, cloneLimit: 120, largeMb: 1500, largeConcurrency: 1, logins: 300, diskGb: 20, cacheGb: 5, engineSlots: 1, moreLinesBudget: 600, gitBase: undefined }; const captured: Captured[] = []; const telemetry: Telemetry = { capture: (event, who, properties) => void captured.push([event, who, properties]), stop: async () => {} }; return { @@ -389,6 +389,7 @@ test("pruning leaves the folder of a public repository with a Build or Surviving ]); const kept = await inUse(db, cfg); expect(kept.sort()).toEqual([join(work, "repos", "acme", "building"), join(work, "repos", "acme", "counting")]); + expect((await inUse(db, cfg, cacheDir)).sort()).toEqual([join(work, "caches", "acme", "building"), join(work, "caches", "acme", "counting")]); }); test("sweeping deletes private clones and scratch folders no open Build or running job owns, and what older Builders left", async () => { diff --git a/apps/builder/src/main.ts b/apps/builder/src/main.ts index bafebdc..8655e09 100644 --- a/apps/builder/src/main.ts +++ b/apps/builder/src/main.ts @@ -25,9 +25,9 @@ import { } from "@commitscape/server"; import { configOf, loadEnv, type Config } from "./config"; import { inQueueSpan, log, monitored, startTelemetry } from "./telemetry"; -import { inUse, prune, sweep } from "./disk"; +import { cacheDir, inUse, prune, sweep } from "./disk"; import { runJob } from "./job"; -import { jobLimitOf, run } from "./run"; +import { jobLimitOf, run, sharingEngine } from "./run"; import { pullsToken, readPulls } from "./pulls"; import { budgetOf, runSurvival } from "./survival"; import { queueRebuilds } from "./rebuild"; @@ -98,6 +98,8 @@ async function work() { for (const p of await sweep(db, cfg).catch(() => [])) log(`swept ${p}`); const keep = await inUse(db, cfg).catch(() => null); if (keep) for (const p of await prune(cfg.work, cfg.diskGb * 1024 ** 3, keep)) log(`pruned ${p}`); + const caches = await inUse(db, cfg, cacheDir).catch(() => null); + if (caches) for (const p of await prune(cfg.work, cfg.cacheGb * 1024 ** 3, caches, "caches")) log(`pruned ${p}`); }; const reap = async () => { const reaped = await reapBuilds(db, (id) => buildJobStates(boss, id), bossQueue(boss)); @@ -107,8 +109,9 @@ async function work() { const reapTimed = timed("builder-reaper", REAP_MINUTES, reap); const tidyTimed = timed("builder-tidy", TIDY_MINUTES, tidy); const ctx = { db, pool, storage, cfg, app, run, github, tokenSecret: env.TOKEN_SECRET, log, telemetry, queuePulls, queueCounts, queueBuild }; + const buildCtx = { ...ctx, run: sharingEngine(run, cfg.bin, cfg.engineSlots) }; const building = (queue: string, job: { id: string; data: BuildJob }) => - inQueueSpan(job, queue, () => runJob(job.data.buildId, ctx, job.data.attempt ?? 1, { ...(job.data.userId ? { userId: job.data.userId } : {}), ...(job.data.more ? { more: job.data.more } : {}) })); + inQueueSpan(job, queue, () => runJob(job.data.buildId, buildCtx, job.data.attempt ?? 1, { ...(job.data.userId ? { userId: job.data.userId } : {}), ...(job.data.more ? { more: job.data.more } : {}) })); await reapTimed(); await tidyTimed(); const reaper = setInterval(() => void reapTimed(), REAP_MINUTES * 60_000); diff --git a/apps/builder/src/run.ts b/apps/builder/src/run.ts index e1175ee..330ff5f 100644 --- a/apps/builder/src/run.ts +++ b/apps/builder/src/run.ts @@ -8,7 +8,7 @@ import { appendable, type LiveIndex, type Loaded } from "@commitscape/server"; import { readSignatures, writeAccountsFile, type Signature } from "./accounts"; import { cloneUrl, ensureClone, gitEnv, locked, missingIn, tipsOf, type Cloned } from "./clone"; import type { Config } from "./config"; -import { privateDir, repoDir, scratchDir } from "./disk"; +import { cacheFor, privateDir, repoDir, scratchDir } from "./disk"; import { readBuilt, readEvents, type Built } from "./engine"; import { engineSpans, Phases } from "./telemetry"; @@ -51,6 +51,12 @@ export function cloneLimitOf(cfg: Config, attempt = 1): number { } /** How long the queue lets one attempt at a Build run: its clone, its two runs of commitscape, its git data and the time to store what they wrote. */ +/** The seconds a full build may count lines for: the person-facing budget, or for a quiet Build counting the lines left the longer one, kept two minutes inside the engine's time limit for the history walk and the export. */ +export function linesBudgetOf(cfg: Config, binLimit: number, more: boolean): number { + if (!more) return cfg.linesBudget; + return Math.max(cfg.linesBudget, Math.min(cfg.moreLinesBudget, binLimit - 120)); +} + export function jobLimitOf(cfg: Config, attempt = 1): number { return cloneLimitOf(cfg, attempt) + 2 * timeLimitOf(cfg, attempt) + (cfg.git?.seconds ?? 0) + 600; } @@ -74,6 +80,29 @@ function lowered(pid: number, nice: number): boolean { } /** Runs a command with only safe environment variables, at a lower priority when `nice` is given, killing it and its children after `timeoutMs`. */ +export type Runner = (cmd: string, args: string[], env: NodeJS.ProcessEnv, timeoutMs: number, opts?: RunOptions) => Promise; + +/** A runner through which at most `slots` runs of the engine (`bin`) go at once, the rest waiting in the order they asked; every other command (git, the network) runs at once. A run's time limit starts when it gets its slot. */ +export function sharingEngine(runner: Runner, bin: string, slots: number): Runner { + let free = Math.max(1, Math.floor(slots)); + const waiting: (() => void)[] = []; + const take = () => (free > 0 ? ((free -= 1), Promise.resolve()) : new Promise((r) => waiting.push(r))); + const give = () => { + const next = waiting.shift(); + if (next) next(); + else free += 1; + }; + return async (cmd, args, env, timeoutMs, opts) => { + if (cmd !== bin) return runner(cmd, args, env, timeoutMs, opts); + await take(); + try { + return await runner(cmd, args, env, timeoutMs, opts); + } finally { + give(); + } + }; +} + export function run(cmd: string, args: string[], env: NodeJS.ProcessEnv, timeoutMs: number, opts: RunOptions = {}): Promise { return new Promise((resolve) => { const child = spawn(cmd, args, { env: { ...passed(), ...env }, stdio: [opts.input === undefined ? "ignore" : "pipe", "pipe", "pipe"], detached: true }); @@ -155,7 +184,7 @@ export async function build(req: BuildTarget, cfg: Config, deps: Deps): Promise< const env = gitEnv(req.token); const engineEnv: NodeJS.ProcessEnv = { ...env, ...(cfg.threads ? { COMMITSCAPE_THREADS: String(cfg.threads) } : {}) }; const url = cloneUrl(cfg, req.owner, req.name); - const cache = ["--cache-dir", join(home, "cache"), "--cache-key", req.repo]; + const cache = ["--cache-dir", await cacheFor(cfg, { isPrivate: !!req.private, owner: req.owner, name: req.name, home }), "--cache-key", req.repo]; const warm = existsSync(join(full, ".git")); phases.kind = warm ? "warm" : "cold"; const seconds = () => Math.round((Date.now() - started) / 100) / 10; @@ -170,7 +199,7 @@ export async function build(req: BuildTarget, cfg: Config, deps: Deps): Promise< await rm(out, { recursive: true, force: true }); await rm(events, { force: true }); const before = await deps.index.live(); - const args = ["build", ...(phase === "quick" ? ["--no-lines"] : ["--lines-budget", String(cfg.linesBudget)]), "--offline", ...cache, "--events", events, "--out", out]; + const args = ["build", ...(phase === "quick" ? ["--no-lines"] : ["--lines-budget", String(linesBudgetOf(cfg, binLimit, !!req.more))]), "--offline", ...cache, "--events", events, "--out", out]; if (accounts) args.push("--accounts", accounts); if (appendable(before)) { const frontier = join(scratch, `${phase}.frontier`); diff --git a/apps/builder/src/survival.test.ts b/apps/builder/src/survival.test.ts index 141fabb..5ffd5c2 100644 --- a/apps/builder/src/survival.test.ts +++ b/apps/builder/src/survival.test.ts @@ -31,7 +31,7 @@ async function setup(run: (cmd: string, args: string[], env: NodeJS.ProcessEnv, await mkdir(join(args.at(-1) ?? "", ".git"), { recursive: true }); return { code: 0, stderr: "", timedOut: false }; }; - const ctx = { db, storage: memoryStorage(), cfg: { bin: "commitscape", threads: undefined, linesBudget: 120, nice: 10, work, concurrency: 1, maxMb: undefined, timeLimit: 60, cloneLimit: 120, largeMb: 1500, largeConcurrency: 1, logins: 300, diskGb: 20, gitBase: undefined }, app: null, run: cloning, github: { api: "http://github.test", token: "t", fetcher: (async () => Response.json({ data: { repository: { c0: { author: { user: { login: "ada" } } } } } })) as unknown as typeof fetch }, log: () => {}, queueCounts: async (job: SurvivalJob) => void queued.push(job), budget: 60 } as JobContext & { budget: number }; + const ctx = { db, storage: memoryStorage(), cfg: { bin: "commitscape", threads: undefined, linesBudget: 120, nice: 10, work, concurrency: 1, maxMb: undefined, timeLimit: 60, cloneLimit: 120, largeMb: 1500, largeConcurrency: 1, logins: 300, diskGb: 20, cacheGb: 5, engineSlots: 1, moreLinesBudget: 600, gitBase: undefined }, app: null, run: cloning, github: { api: "http://github.test", token: "t", fetcher: (async () => Response.json({ data: { repository: { c0: { author: { user: { login: "ada" } } } } } })) as unknown as typeof fetch }, log: () => {}, queueCounts: async (job: SurvivalJob) => void queued.push(job), budget: 60 } as JobContext & { budget: number }; return { db, ctx }; } @@ -52,7 +52,7 @@ test("each person's count is recorded at the Report's head; one over budget gets expect((await rows(db))[1]?.[1]).toBe("queued"); const home = join(ctx.cfg.work, "repos", "acme", "rocket"); const accounts = asked[asked.indexOf("--accounts") + 1] ?? ""; - expect(asked).toEqual(["surviving", "--budget-seconds", "60", "--cache-dir", join(home, "cache"), "--cache-key", "acme/rocket", "--offline", "--accounts", accounts, "--person", "3", "--person", "4", "--", join(home, "full")]); + expect(asked).toEqual(["surviving", "--budget-seconds", "60", "--cache-dir", join(ctx.cfg.work, "caches", "acme", "rocket"), "--cache-key", "acme/rocket", "--offline", "--accounts", accounts, "--person", "3", "--person", "4", "--", join(home, "full")]); expect(accounts.startsWith(join(ctx.cfg.work, "jobs", "surviving-"))).toBe(true); expect(seen).toEqual([{ "ada@example.com": "ada" }]); expect(await readdir(join(ctx.cfg.work, "jobs"))).toEqual([]); diff --git a/apps/builder/src/survival.ts b/apps/builder/src/survival.ts index 39d29c2..4ff2795 100644 --- a/apps/builder/src/survival.ts +++ b/apps/builder/src/survival.ts @@ -5,7 +5,7 @@ import { and, eq, inArray } from "drizzle-orm"; import { installationToken, now, randomId, schema, type SurvivalJob } from "@commitscape/server"; import { cloneUrl, ensureClone, gitEnv, locked } from "./clone"; import { accountsFor, writeAccounts } from "./accounts"; -import { holding, privateDir, repoDir, scratchDir } from "./disk"; +import { cacheFor, holding, privateDir, repoDir, scratchDir } from "./disk"; import type { JobContext } from "./job"; import { NAME, type Ran } from "./run"; @@ -74,7 +74,7 @@ export async function runSurvival(job: SurvivalJob, ctx: JobContext & { budget: await mkdir(scratch, { recursive: true }); const gh = { ...ctx.github, token: token ?? ctx.github.token }; const scope = repo.isPrivate ? repo.id : "public"; - const cache = ["--cache-dir", join(home, "cache"), "--cache-key", repo.id]; + const cache = ["--cache-dir", await cacheFor(cfg, { isPrivate: repo.isPrivate, owner: repo.owner, name: repo.name, home }), "--cache-key", repo.id]; const engineEnv = { ...env, ...(cfg.threads ? { COMMITSCAPE_THREADS: String(cfg.threads) } : {}) }; const accounts = await writeAccounts(ctx.run, { bin: cfg.bin, dir: full, scratch, cache, env: engineEnv, timeoutMs: cfg.timeLimit * 1000, nice: cfg.nice, log: ctx.log }, async (signatures) => (await accountsFor(db, gh, { owner: repo.owner, name: repo.name, scope }, signatures, cfg.logins)).accounts); const args = ["surviving", "--budget-seconds", String(budget), ...cache, "--offline"]; From 3fddd5e94c754205f114af1778f57f1ef2bd16dd Mon Sep 17 00:00:00 2001 From: Dev Talan <84081651+devchaudhary24k@users.noreply.github.com> Date: Tue, 27 Oct 2026 04:09:06 +0530 Subject: [PATCH 04/82] perf(builder): measure a kept folder again only once it was used Pruning walked every file of every kept clone and cache after every Build. Sizes are now kept in work/sizes.json with the folder's time, and only a folder used since it was measured is walked again; a Build touches its clone's folder when it ends, so what it fetched is counted. --- apps/builder/src/builder.test.ts | 14 ++++++++++++ apps/builder/src/disk.ts | 38 +++++++++++++++++++++++++++++--- apps/builder/src/run.ts | 1 + 3 files changed, 50 insertions(+), 3 deletions(-) diff --git a/apps/builder/src/builder.test.ts b/apps/builder/src/builder.test.ts index 2a9aeb1..8a956ae 100644 --- a/apps/builder/src/builder.test.ts +++ b/apps/builder/src/builder.test.ts @@ -438,6 +438,20 @@ test("the least recently used repository folders go first when the disk budget i expect(await prune(work, 1500, [join(work, "repos", "acme", "mid")])).toEqual([join(work, "repos", "acme", "new")]); }); +test("a kept folder is measured again only once it was used after it was last measured", async () => { + const work = await mkdtemp(join(tmpdir(), "builder-")); + const dir = join(work, "repos", "acme", "rocket"); + await mkdir(join(dir, "full"), { recursive: true }); + await writeFile(join(dir, "full", "pack"), Buffer.alloc(1000)); + await utimes(dir, 1000, 1000); + expect(await prune(work, 5000)).toEqual([]); + await writeFile(join(dir, "full", "pack"), Buffer.alloc(9000)); + await utimes(dir, 1000, 1000); + expect(await prune(work, 5000)).toEqual([]); + await utimes(dir, 2000, 2000); + expect(await prune(work, 5000)).toEqual([dir]); +}); + test("a public repository's cache lives apart from its clone, moved out of the clone's folder where older Builders kept it", async () => { const work = await mkdtemp(join(tmpdir(), "builder-")); const cfg = { work } as Config; diff --git a/apps/builder/src/disk.ts b/apps/builder/src/disk.ts index 6971217..cbdb856 100644 --- a/apps/builder/src/disk.ts +++ b/apps/builder/src/disk.ts @@ -1,5 +1,5 @@ import { existsSync } from "node:fs"; -import { mkdir, readdir, rename, rm, stat, utimes } from "node:fs/promises"; +import { mkdir, readdir, readFile, rename, rm, stat, utimes, writeFile } from "node:fs/promises"; import { dirname, join } from "node:path"; import { and, eq, gt, inArray, or } from "drizzle-orm"; import { now, schema, type Db } from "@commitscape/server"; @@ -48,6 +48,26 @@ async function size(path: string): Promise { export type Kept = "repos" | "caches"; +type Sizes = Record; + +const SIZES = "sizes.json"; + +async function readSizes(work: string): Promise { + const text = await readFile(join(work, SIZES), "utf8").catch(() => "{}"); + try { + return JSON.parse(text) as Sizes; + } catch { + return {}; + } +} + +async function writeSizes(work: string, sizes: Sizes): Promise { + const tmp = join(work, `${SIZES}.${process.pid}.tmp`); + await writeFile(tmp, JSON.stringify(sizes)) + .then(() => rename(tmp, join(work, SIZES))) + .catch(() => rm(tmp, { force: true })); +} + async function kept(work: string, folder: Kept): Promise { const out: string[] = []; for (const owner of await readdir(join(work, folder)).catch(() => [])) { @@ -73,10 +93,17 @@ export async function inUse(db: Db, cfg: Config, where: (cfg: Config, owner: str return repos.map((r) => where(cfg, r.owner, r.name)); } -/** Deletes the least recently used repository folders (clones, or with `folder` caches) until they fit the budget, leaving the ones in `keep`. */ +/** Deletes the least recently used repository folders (clones, or with `folder` caches) until they fit the budget, leaving the ones in `keep`. A folder is measured again only when it was used since it was last measured. */ export async function prune(work: string, budget: number, keep: Iterable = [], folder: Kept = "repos"): Promise { const left = new Set(keep); - const found = await Promise.all((await kept(work, folder)).map(async (path) => ({ path, bytes: await size(path), at: (await stat(path)).mtimeMs }))); + const known = await readSizes(work); + const found = await Promise.all( + (await kept(work, folder)).map(async (path) => { + const at = (await stat(path)).mtimeMs; + const was = known[path]; + return { path, bytes: was?.at === at ? was.bytes : await size(path), at }; + }), + ); let total = found.reduce((n, c) => n + c.bytes, 0); const deleted: string[] = []; for (const c of found.sort((a, b) => a.at - b.at)) { @@ -86,6 +113,11 @@ export async function prune(work: string, budget: number, keep: Iterable total -= c.bytes; deleted.push(c.path); } + const sizes = await readSizes(work); + const prefix = join(work, folder) + "/"; + for (const path of Object.keys(sizes)) if (path.startsWith(prefix)) delete sizes[path]; + for (const c of found) if (!deleted.includes(c.path)) sizes[c.path] = { bytes: c.bytes, at: c.at }; + await writeSizes(work, sizes); return deleted; } diff --git a/apps/builder/src/run.ts b/apps/builder/src/run.ts index 330ff5f..eba1fd7 100644 --- a/apps/builder/src/run.ts +++ b/apps/builder/src/run.ts @@ -330,5 +330,6 @@ export async function build(req: BuildTarget, cfg: Config, deps: Deps): Promise< } finally { await rm(scratch, { recursive: true, force: true }); if (req.private && !resumable) await rm(home, { recursive: true, force: true }); + else await utimes(home, new Date(), new Date()).catch(() => undefined); } } From 7a227320c3f798b912775edea46f664895324c93 Mon Sep 17 00:00:00 2001 From: Dev Talan <84081651+devchaudhary24k@users.noreply.github.com> Date: Tue, 27 Oct 2026 04:09:30 +0530 Subject: [PATCH 05/82] perf(server): keep each commit's Lines Changed in a narrow table Counting the lines of a commit already loaded rewrote its whole index_commits row (subject, files, changes), which left 1.37M dead rows and about 10 GB of writes per fill-in on linux. Lines Changed now go to index_commit_lines (si, sha, added, removed): the sums, since Postgres only ever read the sums. A backfill migration fills it from the arrays, and the trigger that deletes a Stored Index's rows covers it. The arrays stay in index_commits, no longer written, so a Site still running during a deploy keeps working; they go with the per-file arrays. linux: a Build that fills in lines went from 194 s of Postgres to 9 s, and index_commits from 953 MB to 510 MB. --- apps/site/src/server/day-commits.test.ts | 36 + apps/site/src/server/day-commits.ts | 9 +- docs/index-in-postgres.md | 13 +- .../server/drizzle/0034_pale_agent_brand.sql | 7 + .../server/drizzle/0035_organic_leopardon.sql | 16 + .../server/drizzle/meta/0034_snapshot.json | 3337 +++++++++++++++++ .../server/drizzle/meta/0035_snapshot.json | 3337 +++++++++++++++++ packages/server/drizzle/meta/_journal.json | 14 + packages/server/src/db/schema.ts | 11 + packages/server/src/index-commits.ts | 12 +- packages/server/src/index-seed.ts | 9 +- packages/server/src/stored-index.test.ts | 16 +- packages/server/src/stored-index.ts | 23 +- 13 files changed, 6807 insertions(+), 33 deletions(-) create mode 100644 apps/site/src/server/day-commits.test.ts create mode 100644 packages/server/drizzle/0034_pale_agent_brand.sql create mode 100644 packages/server/drizzle/0035_organic_leopardon.sql create mode 100644 packages/server/drizzle/meta/0034_snapshot.json create mode 100644 packages/server/drizzle/meta/0035_snapshot.json diff --git a/apps/site/src/server/day-commits.test.ts b/apps/site/src/server/day-commits.test.ts new file mode 100644 index 0000000..eaf80fb --- /dev/null +++ b/apps/site/src/server/day-commits.test.ts @@ -0,0 +1,36 @@ +import { expect, test } from "vitest"; +import { now, schema, seedIndex } from "@commitscape/server"; +import { testDeps } from "#/test/deps"; +import { commitsOnDay } from "./day-commits"; + +const { repoPeople, repositories } = schema; + +const sha = (c: string) => c.repeat(20); + +test("a day's commits carry the Lines Changed counted for them, none for a commit that changed no file or one not yet counted", async () => { + const deps = await testDeps(); + await deps.db.insert(repositories).values([ + { id: "acme/rocket", owner: "acme", name: "rocket", status: "ok", factsAt: now(), reportKey: "r/rocket/b1", reportAt: 500 }, + { id: "acme/quick", owner: "acme", name: "quick", status: "ok", factsAt: now(), reportKey: "r/quick/b1", reportAt: 500 }, + ]); + const person = (repoId: string, reportKey: string) => ({ repoId, reportKey, personId: 3, name: "Alice", login: "alice", commits: 2, linesAdded: 7, linesRemoved: 1, first: 1, last: 2 }); + await deps.db.insert(repoPeople).values([person("acme/rocket", "r/rocket/b1"), person("acme/quick", "r/quick/b1")]); + const persons = [{ id: 3, name: "Alice", login: "alice" }]; + const files = [ + { file: 0, path: "a.ts" }, + { file: 1, path: "b.ts" }, + ]; + await seedIndex(deps.db, "acme/rocket", { + anchor: 1000, + persons, + files, + commits: [ + { sha: sha("a1"), at: 100, person: 3, subject: "feat: launch", files: [0, 1], added: [3, 4], removed: [1, 0] }, + { sha: sha("b2"), at: 200, person: 3, subject: "Merge branch", files: [], merge: true }, + ], + }); + await seedIndex(deps.db, "acme/quick", { anchor: 1000, persons, files, lines: false, commits: [{ sha: sha("c3"), at: 300, person: 3, subject: "fix: fuel", files: [0] }] }); + const day = await commitsOnDay(deps, "alice", 0); + const lines = Object.fromEntries(day.repos.flatMap((r) => r.commits.map((c) => [c.subject, [c.added, c.removed]]))); + expect(lines).toEqual({ "feat: launch": [7, 1], "Merge branch": [null, null], "fix: fuel": [null, null] }); +}); diff --git a/apps/site/src/server/day-commits.ts b/apps/site/src/server/day-commits.ts index c85b790..c90a2bc 100644 --- a/apps/site/src/server/day-commits.ts +++ b/apps/site/src/server/day-commits.ts @@ -5,7 +5,7 @@ import { SiteError } from "./http"; import { isHidden } from "./people"; import type { Deps } from "./repos"; -const { indexCommits, indexPeople, repoPeople, repositories } = schema; +const { indexCommitLines, indexCommits, indexPeople, repoPeople, repositories } = schema; export const DAY_COMMITS_SHOWN = 200; @@ -55,13 +55,14 @@ async function indexedOnDay(deps: Pick, login: string, day: number): at: sql`${time}::bigint`.mapWith(Number), offset: indexCommits.offset, merge: sql`(${indexCommits.flags} & 1) = 1`, - added: sql`(SELECT sum(x) FROM unnest(${indexCommits.added}) AS x)`.mapWith((v) => (v === null ? null : Number(v))), - removed: sql`(SELECT sum(x) FROM unnest(${indexCommits.removed}) AS x)`.mapWith((v) => (v === null ? null : Number(v))), + added: sql`CASE WHEN cardinality(${indexCommits.files}) > 0 THEN ${indexCommitLines.added} END`, + removed: sql`CASE WHEN cardinality(${indexCommits.files}) > 0 THEN ${indexCommitLines.removed} END`, }) .from(repoPeople) .innerJoin(repositories, and(eq(repositories.id, repoPeople.repoId), eq(repositories.reportKey, repoPeople.reportKey))) .innerJoin(indexPeople, and(eq(indexPeople.si, repositories.indexId), eq(indexPeople.person, repoPeople.personId))) - .innerJoin(indexCommits, and(eq(indexCommits.si, indexPeople.si), eq(indexCommits.signature, indexPeople.signature))); + .innerJoin(indexCommits, and(eq(indexCommits.si, indexPeople.si), eq(indexCommits.signature, indexPeople.signature))) + .leftJoin(indexCommitLines, and(eq(indexCommitLines.si, indexCommits.si), eq(indexCommitLines.sha, indexCommits.sha))); const [rows, [total]] = await Promise.all([ base().where(theirs).orderBy(desc(indexCommits.at)).limit(DAY_COMMITS_SHOWN), deps.db diff --git a/docs/index-in-postgres.md b/docs/index-in-postgres.md index 2980d83..1406d7d 100644 --- a/docs/index-in-postgres.md +++ b/docs/index-in-postgres.md @@ -69,10 +69,15 @@ counted), `lines_left` (commits the line pass has not reached yet), `pack` - `index_commits`: `si`, `sha` bytea, `at`, `offset`, `author_delta`, `signature`, `kind`, `flags` (merge, bulk, ignored by blame, reachable from HEAD, first-parent), `arrival` (Main Arrival), `subject`, - `files int4[]`, `changes int2[]` (added, modified, deleted, renamed), - `added int4[]`, `removed int4[]` (null until counted). Keys: `(si, sha)`; - `(si, at)`; `(si, signature, at)`; GIN `(si, files)` with `btree_gin` - (GIN on `files` alone where the extension is missing, as in PGlite). + `files int4[]`, `changes int2[]` (added, modified, deleted, renamed). + Keys: `(si, sha)`; `(si, at)`; `(si, signature, at)`; GIN `(si, files)` + with `btree_gin` (GIN on `files` alone where the extension is missing, as + in PGlite). `added int4[]` and `removed int4[]` are no longer written and + go with the per-file arrays. +- `index_commit_lines`: `si`, `sha`, `added`, `removed`: each commit's Lines + Changed, summed, once counted. A narrow row of its own, so counting the + lines of a commit already loaded inserts a row instead of writing the + whole commit row again. Key: `(si, sha)`. - `index_files`: `si`, `file` (File Identity), `path` (where it is now, or was last, with a hash index), `folder` (id), `born`, `last`, `alive`. `index_file_paths`: `si`, `file`, `path` for every earlier path, so diff --git a/packages/server/drizzle/0034_pale_agent_brand.sql b/packages/server/drizzle/0034_pale_agent_brand.sql new file mode 100644 index 0000000..663b49c --- /dev/null +++ b/packages/server/drizzle/0034_pale_agent_brand.sql @@ -0,0 +1,7 @@ +CREATE TABLE "index_commit_lines" ( + "si" integer NOT NULL, + "sha" "bytea" NOT NULL, + "added" integer NOT NULL, + "removed" integer NOT NULL, + CONSTRAINT "index_commit_lines_si_sha_pk" PRIMARY KEY("si","sha") +); diff --git a/packages/server/drizzle/0035_organic_leopardon.sql b/packages/server/drizzle/0035_organic_leopardon.sql new file mode 100644 index 0000000..305669f --- /dev/null +++ b/packages/server/drizzle/0035_organic_leopardon.sql @@ -0,0 +1,16 @@ +CREATE OR REPLACE FUNCTION "stored_index_deleted"() RETURNS trigger LANGUAGE plpgsql AS $$ +BEGIN + DELETE FROM "index_commits" WHERE "si" = OLD."id"; + DELETE FROM "index_commit_lines" WHERE "si" = OLD."id"; + DELETE FROM "index_files" WHERE "si" = OLD."id"; + DELETE FROM "index_file_paths" WHERE "si" = OLD."id"; + DELETE FROM "index_folders" WHERE "si" = OLD."id"; + DELETE FROM "index_persons" WHERE "si" = OLD."id"; + DELETE FROM "index_people" WHERE "si" = OLD."id"; + DELETE FROM "index_head_files" WHERE "si" = OLD."id"; + RETURN OLD; +END $$;--> statement-breakpoint +INSERT INTO "index_commit_lines" ("si", "sha", "added", "removed") +SELECT "si", "sha", coalesce((SELECT sum(x) FROM unnest("added") AS x), 0), coalesce((SELECT sum(x) FROM unnest("removed") AS x), 0) +FROM "index_commits" WHERE "added" IS NOT NULL +ON CONFLICT DO NOTHING; diff --git a/packages/server/drizzle/meta/0034_snapshot.json b/packages/server/drizzle/meta/0034_snapshot.json new file mode 100644 index 0000000..376df70 --- /dev/null +++ b/packages/server/drizzle/meta/0034_snapshot.json @@ -0,0 +1,3337 @@ +{ + "id": "4564477e-b835-46b7-95e3-6e38710489e1", + "prevId": "eb693c74-4779-4705-bfb3-99c52cd6a1ce", + "version": "7", + "dialect": "postgresql", + "tables": { + "public.access": { + "name": "access", + "schema": "", + "columns": { + "session_id": { + "name": "session_id", + "type": "text", + "primaryKey": false, + "notNull": true + }, + "repo_id": { + "name": "repo_id", + "type": "text", + "primaryKey": false, + "notNull": true + }, + "allowed": { + "name": "allowed", + "type": "boolean", + "primaryKey": false, + "notNull": true + }, + "until": { + "name": "until", + "type": "bigint", + "primaryKey": false, + "notNull": true + } + }, + "indexes": {}, + "foreignKeys": { + "access_session_id_session_id_fk": { + "name": "access_session_id_session_id_fk", + "tableFrom": "access", + "tableTo": "session", + "columnsFrom": [ + "session_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": { + "access_session_id_repo_id_pk": { + "name": "access_session_id_repo_id_pk", + "columns": [ + "session_id", + "repo_id" + ] + } + }, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.account": { + "name": "account", + "schema": "", + "columns": { + "id": { + "name": "id", + "type": "text", + "primaryKey": true, + "notNull": true + }, + "account_id": { + "name": "account_id", + "type": "text", + "primaryKey": false, + "notNull": true + }, + "provider_id": { + "name": "provider_id", + "type": "text", + "primaryKey": false, + "notNull": true + }, + "user_id": { + "name": "user_id", + "type": "text", + "primaryKey": false, + "notNull": true + }, + "access_token": { + "name": "access_token", + "type": "text", + "primaryKey": false, + "notNull": false + }, + "refresh_token": { + "name": "refresh_token", + "type": "text", + "primaryKey": false, + "notNull": false + }, + "id_token": { + "name": "id_token", + "type": "text", + "primaryKey": false, + "notNull": false + }, + "access_token_expires_at": { + "name": "access_token_expires_at", + "type": "timestamp", + "primaryKey": false, + "notNull": false + }, + "refresh_token_expires_at": { + "name": "refresh_token_expires_at", + "type": "timestamp", + "primaryKey": false, + "notNull": false + }, + "scope": { + "name": "scope", + "type": "text", + "primaryKey": false, + "notNull": false + }, + "password": { + "name": "password", + "type": "text", + "primaryKey": false, + "notNull": false + }, + "created_at": { + "name": "created_at", + "type": "timestamp", + "primaryKey": false, + "notNull": true, + "default": "now()" + }, + "updated_at": { + "name": "updated_at", + "type": "timestamp", + "primaryKey": false, + "notNull": true + } + }, + "indexes": { + "account_user_id": { + "name": "account_user_id", + "columns": [ + { + "expression": "user_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": { + "account_user_id_user_id_fk": { + "name": "account_user_id_user_id_fk", + "tableFrom": "account", + "tableTo": "user", + "columnsFrom": [ + "user_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.builds": { + "name": "builds", + "schema": "", + "columns": { + "id": { + "name": "id", + "type": "text", + "primaryKey": true, + "notNull": true + }, + "repo_id": { + "name": "repo_id", + "type": "text", + "primaryKey": false, + "notNull": true + }, + "state": { + "name": "state", + "type": "text", + "primaryKey": false, + "notNull": true + }, + "step": { + "name": "step", + "type": "text", + "primaryKey": false, + "notNull": false + }, + "reason": { + "name": "reason", + "type": "text", + "primaryKey": false, + "notNull": false + }, + "detail": { + "name": "detail", + "type": "text", + "primaryKey": false, + "notNull": false + }, + "seconds": { + "name": "seconds", + "type": "integer", + "primaryKey": false, + "notNull": false + }, + "partial": { + "name": "partial", + "type": "boolean", + "primaryKey": false, + "notNull": false + }, + "requested_at": { + "name": "requested_at", + "type": "bigint", + "primaryKey": false, + "notNull": true + }, + "started_at": { + "name": "started_at", + "type": "bigint", + "primaryKey": false, + "notNull": false + }, + "finished_at": { + "name": "finished_at", + "type": "bigint", + "primaryKey": false, + "notNull": false + } + }, + "indexes": { + "builds_repo_requested": { + "name": "builds_repo_requested", + "columns": [ + { + "expression": "repo_id", + "isExpression": false, + "asc": true, + "nulls": "last" + }, + { + "expression": "requested_at", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "builds_state": { + "name": "builds_state", + "columns": [ + { + "expression": "state", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": { + "builds_repo_id_repositories_id_fk": { + "name": "builds_repo_id_repositories_id_fk", + "tableFrom": "builds", + "tableTo": "repositories", + "columnsFrom": [ + "repo_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.github_cache": { + "name": "github_cache", + "schema": "", + "columns": { + "key": { + "name": "key", + "type": "text", + "primaryKey": true, + "notNull": true + }, + "etag": { + "name": "etag", + "type": "text", + "primaryKey": false, + "notNull": false + }, + "status": { + "name": "status", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "body": { + "name": "body", + "type": "text", + "primaryKey": false, + "notNull": false + }, + "fetched_at": { + "name": "fetched_at", + "type": "bigint", + "primaryKey": false, + "notNull": true + }, + "until": { + "name": "until", + "type": "bigint", + "primaryKey": false, + "notNull": true + } + }, + "indexes": { + "github_cache_until": { + "name": "github_cache_until", + "columns": [ + { + "expression": "until", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": {}, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.index_commit_lines": { + "name": "index_commit_lines", + "schema": "", + "columns": { + "si": { + "name": "si", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "sha": { + "name": "sha", + "type": "bytea", + "primaryKey": false, + "notNull": true + }, + "added": { + "name": "added", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "removed": { + "name": "removed", + "type": "integer", + "primaryKey": false, + "notNull": true + } + }, + "indexes": {}, + "foreignKeys": {}, + "compositePrimaryKeys": { + "index_commit_lines_si_sha_pk": { + "name": "index_commit_lines_si_sha_pk", + "columns": [ + "si", + "sha" + ] + } + }, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.index_commits": { + "name": "index_commits", + "schema": "", + "columns": { + "si": { + "name": "si", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "sha": { + "name": "sha", + "type": "bytea", + "primaryKey": false, + "notNull": true + }, + "at": { + "name": "at", + "type": "bigint", + "primaryKey": false, + "notNull": true + }, + "offset": { + "name": "offset", + "type": "smallint", + "primaryKey": false, + "notNull": true + }, + "author_delta": { + "name": "author_delta", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "signature": { + "name": "signature", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "kind": { + "name": "kind", + "type": "smallint", + "primaryKey": false, + "notNull": true + }, + "flags": { + "name": "flags", + "type": "smallint", + "primaryKey": false, + "notNull": true + }, + "arrival": { + "name": "arrival", + "type": "bigint", + "primaryKey": false, + "notNull": false + }, + "subject": { + "name": "subject", + "type": "text", + "primaryKey": false, + "notNull": true + }, + "files": { + "name": "files", + "type": "integer[]", + "primaryKey": false, + "notNull": true + }, + "changes": { + "name": "changes", + "type": "smallint[]", + "primaryKey": false, + "notNull": true + }, + "added": { + "name": "added", + "type": "integer[]", + "primaryKey": false, + "notNull": false + }, + "removed": { + "name": "removed", + "type": "integer[]", + "primaryKey": false, + "notNull": false + } + }, + "indexes": { + "index_commits_at": { + "name": "index_commits_at", + "columns": [ + { + "expression": "si", + "isExpression": false, + "asc": true, + "nulls": "last" + }, + { + "expression": "at", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "index_commits_signature": { + "name": "index_commits_signature", + "columns": [ + { + "expression": "si", + "isExpression": false, + "asc": true, + "nulls": "last" + }, + { + "expression": "signature", + "isExpression": false, + "asc": true, + "nulls": "last" + }, + { + "expression": "at", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": {}, + "compositePrimaryKeys": { + "index_commits_si_sha_pk": { + "name": "index_commits_si_sha_pk", + "columns": [ + "si", + "sha" + ] + } + }, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.index_file_paths": { + "name": "index_file_paths", + "schema": "", + "columns": { + "si": { + "name": "si", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "file": { + "name": "file", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "path": { + "name": "path", + "type": "text", + "primaryKey": false, + "notNull": true + } + }, + "indexes": {}, + "foreignKeys": {}, + "compositePrimaryKeys": { + "index_file_paths_si_file_path_pk": { + "name": "index_file_paths_si_file_path_pk", + "columns": [ + "si", + "file", + "path" + ] + } + }, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.index_files": { + "name": "index_files", + "schema": "", + "columns": { + "si": { + "name": "si", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "file": { + "name": "file", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "path": { + "name": "path", + "type": "text", + "primaryKey": false, + "notNull": true + }, + "folder": { + "name": "folder", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "born": { + "name": "born", + "type": "bigint", + "primaryKey": false, + "notNull": true + }, + "last": { + "name": "last", + "type": "bigint", + "primaryKey": false, + "notNull": true + }, + "alive": { + "name": "alive", + "type": "boolean", + "primaryKey": false, + "notNull": true + }, + "role": { + "name": "role", + "type": "smallint", + "primaryKey": false, + "notNull": true, + "default": 0 + }, + "language": { + "name": "language", + "type": "text", + "primaryKey": false, + "notNull": false + }, + "guessed_generated": { + "name": "guessed_generated", + "type": "boolean", + "primaryKey": false, + "notNull": true, + "default": false + }, + "lockfile": { + "name": "lockfile", + "type": "boolean", + "primaryKey": false, + "notNull": true, + "default": false + } + }, + "indexes": { + "index_files_folder": { + "name": "index_files_folder", + "columns": [ + { + "expression": "si", + "isExpression": false, + "asc": true, + "nulls": "last" + }, + { + "expression": "folder", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": {}, + "compositePrimaryKeys": { + "index_files_si_file_pk": { + "name": "index_files_si_file_pk", + "columns": [ + "si", + "file" + ] + } + }, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.index_folders": { + "name": "index_folders", + "schema": "", + "columns": { + "si": { + "name": "si", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "id": { + "name": "id", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "path": { + "name": "path", + "type": "text", + "primaryKey": false, + "notNull": true + }, + "parent": { + "name": "parent", + "type": "integer", + "primaryKey": false, + "notNull": false + }, + "depth": { + "name": "depth", + "type": "smallint", + "primaryKey": false, + "notNull": true + } + }, + "indexes": { + "index_folders_path": { + "name": "index_folders_path", + "columns": [ + { + "expression": "si", + "isExpression": false, + "asc": true, + "nulls": "last" + }, + { + "expression": "path", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": true, + "concurrently": false, + "method": "btree", + "with": {} + }, + "index_folders_parent": { + "name": "index_folders_parent", + "columns": [ + { + "expression": "si", + "isExpression": false, + "asc": true, + "nulls": "last" + }, + { + "expression": "parent", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": {}, + "compositePrimaryKeys": { + "index_folders_si_id_pk": { + "name": "index_folders_si_id_pk", + "columns": [ + "si", + "id" + ] + } + }, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.index_head_files": { + "name": "index_head_files", + "schema": "", + "columns": { + "si": { + "name": "si", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "file": { + "name": "file", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "blob": { + "name": "blob", + "type": "bytea", + "primaryKey": false, + "notNull": true + }, + "bytes": { + "name": "bytes", + "type": "bigint", + "primaryKey": false, + "notNull": true + }, + "lines": { + "name": "lines", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "class": { + "name": "class", + "type": "text", + "primaryKey": false, + "notNull": true + }, + "indent_levels": { + "name": "indent_levels", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "indent_mean": { + "name": "indent_mean", + "type": "real", + "primaryKey": false, + "notNull": true + }, + "indent_stddev": { + "name": "indent_stddev", + "type": "real", + "primaryKey": false, + "notNull": true + } + }, + "indexes": {}, + "foreignKeys": {}, + "compositePrimaryKeys": { + "index_head_files_si_file_pk": { + "name": "index_head_files_si_file_pk", + "columns": [ + "si", + "file" + ] + } + }, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.index_people": { + "name": "index_people", + "schema": "", + "columns": { + "si": { + "name": "si", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "signature": { + "name": "signature", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "name": { + "name": "name", + "type": "text", + "primaryKey": false, + "notNull": true + }, + "person": { + "name": "person", + "type": "integer", + "primaryKey": false, + "notNull": false + }, + "person_name": { + "name": "person_name", + "type": "text", + "primaryKey": false, + "notNull": false + }, + "colour": { + "name": "colour", + "type": "smallint", + "primaryKey": false, + "notNull": false + }, + "login": { + "name": "login", + "type": "text", + "primaryKey": false, + "notNull": false + }, + "bot": { + "name": "bot", + "type": "boolean", + "primaryKey": false, + "notNull": true + } + }, + "indexes": { + "index_people_person": { + "name": "index_people_person", + "columns": [ + { + "expression": "si", + "isExpression": false, + "asc": true, + "nulls": "last" + }, + { + "expression": "person", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": {}, + "compositePrimaryKeys": { + "index_people_si_signature_pk": { + "name": "index_people_si_signature_pk", + "columns": [ + "si", + "signature" + ] + } + }, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.index_persons": { + "name": "index_persons", + "schema": "", + "columns": { + "si": { + "name": "si", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "person": { + "name": "person", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "traits": { + "name": "traits", + "type": "smallint", + "primaryKey": false, + "notNull": true + }, + "identities": { + "name": "identities", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "commits": { + "name": "commits", + "type": "integer", + "primaryKey": false, + "notNull": true + } + }, + "indexes": {}, + "foreignKeys": {}, + "compositePrimaryKeys": { + "index_persons_si_person_pk": { + "name": "index_persons_si_person_pk", + "columns": [ + "si", + "person" + ] + } + }, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.lent_tokens": { + "name": "lent_tokens", + "schema": "", + "columns": { + "repo_id": { + "name": "repo_id", + "type": "text", + "primaryKey": true, + "notNull": true + }, + "user_id": { + "name": "user_id", + "type": "text", + "primaryKey": false, + "notNull": true + }, + "token": { + "name": "token", + "type": "text", + "primaryKey": false, + "notNull": true + }, + "until": { + "name": "until", + "type": "bigint", + "primaryKey": false, + "notNull": true + } + }, + "indexes": {}, + "foreignKeys": { + "lent_tokens_repo_id_repositories_id_fk": { + "name": "lent_tokens_repo_id_repositories_id_fk", + "tableFrom": "lent_tokens", + "tableTo": "repositories", + "columnsFrom": [ + "repo_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + }, + "lent_tokens_user_id_user_id_fk": { + "name": "lent_tokens_user_id_user_id_fk", + "tableFrom": "lent_tokens", + "tableTo": "user", + "columnsFrom": [ + "user_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.people": { + "name": "people", + "schema": "", + "columns": { + "login": { + "name": "login", + "type": "text", + "primaryKey": true, + "notNull": true + }, + "user_id": { + "name": "user_id", + "type": "text", + "primaryKey": false, + "notNull": false + }, + "hidden": { + "name": "hidden", + "type": "boolean", + "primaryKey": false, + "notNull": true, + "default": false + }, + "name_private": { + "name": "name_private", + "type": "boolean", + "primaryKey": false, + "notNull": true, + "default": false + }, + "updated_at": { + "name": "updated_at", + "type": "bigint", + "primaryKey": false, + "notNull": true + } + }, + "indexes": { + "people_user": { + "name": "people_user", + "columns": [ + { + "expression": "user_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": { + "people_user_id_user_id_fk": { + "name": "people_user_id_user_id_fk", + "tableFrom": "people", + "tableTo": "user", + "columnsFrom": [ + "user_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.private_work": { + "name": "private_work", + "schema": "", + "columns": { + "login": { + "name": "login", + "type": "text", + "primaryKey": false, + "notNull": true + }, + "repo": { + "name": "repo", + "type": "text", + "primaryKey": false, + "notNull": true + }, + "show": { + "name": "show", + "type": "text", + "primaryKey": false, + "notNull": true + }, + "updated_at": { + "name": "updated_at", + "type": "bigint", + "primaryKey": false, + "notNull": true + } + }, + "indexes": {}, + "foreignKeys": {}, + "compositePrimaryKeys": { + "private_work_login_repo_pk": { + "name": "private_work_login_repo_pk", + "columns": [ + "login", + "repo" + ] + } + }, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.profiles": { + "name": "profiles", + "schema": "", + "columns": { + "login": { + "name": "login", + "type": "text", + "primaryKey": false, + "notNull": true + }, + "scope": { + "name": "scope", + "type": "text", + "primaryKey": false, + "notNull": true + }, + "github_id": { + "name": "github_id", + "type": "bigint", + "primaryKey": false, + "notNull": false + }, + "identity": { + "name": "identity", + "type": "text", + "primaryKey": false, + "notNull": true + }, + "identity_at": { + "name": "identity_at", + "type": "bigint", + "primaryKey": false, + "notNull": true + }, + "data": { + "name": "data", + "type": "text", + "primaryKey": false, + "notNull": false + }, + "raw": { + "name": "raw", + "type": "text", + "primaryKey": false, + "notNull": false + }, + "fetched_at": { + "name": "fetched_at", + "type": "bigint", + "primaryKey": false, + "notNull": false + } + }, + "indexes": { + "profiles_github_id": { + "name": "profiles_github_id", + "columns": [ + { + "expression": "github_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": {}, + "compositePrimaryKeys": { + "profiles_login_scope_pk": { + "name": "profiles_login_scope_pk", + "columns": [ + "login", + "scope" + ] + } + }, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.proofs": { + "name": "proofs", + "schema": "", + "columns": { + "id": { + "name": "id", + "type": "text", + "primaryKey": true, + "notNull": true + }, + "login": { + "name": "login", + "type": "text", + "primaryKey": false, + "notNull": true + }, + "user_id": { + "name": "user_id", + "type": "text", + "primaryKey": false, + "notNull": true + }, + "data": { + "name": "data", + "type": "text", + "primaryKey": false, + "notNull": true + }, + "created_at": { + "name": "created_at", + "type": "bigint", + "primaryKey": false, + "notNull": true + } + }, + "indexes": { + "proofs_login": { + "name": "proofs_login", + "columns": [ + { + "expression": "login", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": { + "proofs_user_id_user_id_fk": { + "name": "proofs_user_id_user_id_fk", + "tableFrom": "proofs", + "tableTo": "user", + "columnsFrom": [ + "user_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.pull_requests": { + "name": "pull_requests", + "schema": "", + "columns": { + "repo_id": { + "name": "repo_id", + "type": "text", + "primaryKey": false, + "notNull": true + }, + "number": { + "name": "number", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "author": { + "name": "author", + "type": "text", + "primaryKey": false, + "notNull": false + }, + "state": { + "name": "state", + "type": "text", + "primaryKey": false, + "notNull": true + }, + "title": { + "name": "title", + "type": "text", + "primaryKey": false, + "notNull": true + }, + "created_at": { + "name": "created_at", + "type": "bigint", + "primaryKey": false, + "notNull": true + }, + "merged_at": { + "name": "merged_at", + "type": "bigint", + "primaryKey": false, + "notNull": false + }, + "updated_at": { + "name": "updated_at", + "type": "bigint", + "primaryKey": false, + "notNull": true + }, + "additions": { + "name": "additions", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "deletions": { + "name": "deletions", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "head_ref": { + "name": "head_ref", + "type": "text", + "primaryKey": false, + "notNull": false + }, + "closed_at": { + "name": "closed_at", + "type": "bigint", + "primaryKey": false, + "notNull": false + }, + "merged_by": { + "name": "merged_by", + "type": "text", + "primaryKey": false, + "notNull": false + }, + "base_ref": { + "name": "base_ref", + "type": "text", + "primaryKey": false, + "notNull": false + }, + "draft": { + "name": "draft", + "type": "boolean", + "primaryKey": false, + "notNull": false + }, + "changed_files": { + "name": "changed_files", + "type": "integer", + "primaryKey": false, + "notNull": false + }, + "commits": { + "name": "commits", + "type": "integer", + "primaryKey": false, + "notNull": false + }, + "head_owner": { + "name": "head_owner", + "type": "text", + "primaryKey": false, + "notNull": false + }, + "from_fork": { + "name": "from_fork", + "type": "boolean", + "primaryKey": false, + "notNull": false + }, + "labels": { + "name": "labels", + "type": "jsonb", + "primaryKey": false, + "notNull": false + }, + "review_decision": { + "name": "review_decision", + "type": "text", + "primaryKey": false, + "notNull": false + }, + "merge_commit": { + "name": "merge_commit", + "type": "text", + "primaryKey": false, + "notNull": false + }, + "comments": { + "name": "comments", + "type": "integer", + "primaryKey": false, + "notNull": false + } + }, + "indexes": { + "pull_requests_head": { + "name": "pull_requests_head", + "columns": [ + { + "expression": "repo_id", + "isExpression": false, + "asc": true, + "nulls": "last" + }, + { + "expression": "head_ref", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": { + "pull_requests_repo_id_repositories_id_fk": { + "name": "pull_requests_repo_id_repositories_id_fk", + "tableFrom": "pull_requests", + "tableTo": "repositories", + "columnsFrom": [ + "repo_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": { + "pull_requests_repo_id_number_pk": { + "name": "pull_requests_repo_id_number_pk", + "columns": [ + "repo_id", + "number" + ] + } + }, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.pull_reviews": { + "name": "pull_reviews", + "schema": "", + "columns": { + "repo_id": { + "name": "repo_id", + "type": "text", + "primaryKey": false, + "notNull": true + }, + "number": { + "name": "number", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "reviewer": { + "name": "reviewer", + "type": "text", + "primaryKey": false, + "notNull": true + }, + "reviews": { + "name": "reviews", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "first_at": { + "name": "first_at", + "type": "bigint", + "primaryKey": false, + "notNull": true + }, + "last_at": { + "name": "last_at", + "type": "bigint", + "primaryKey": false, + "notNull": false + }, + "state": { + "name": "state", + "type": "text", + "primaryKey": false, + "notNull": false + }, + "approved_at": { + "name": "approved_at", + "type": "bigint", + "primaryKey": false, + "notNull": false + } + }, + "indexes": {}, + "foreignKeys": { + "pull_reviews_repo_id_repositories_id_fk": { + "name": "pull_reviews_repo_id_repositories_id_fk", + "tableFrom": "pull_reviews", + "tableTo": "repositories", + "columnsFrom": [ + "repo_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": { + "pull_reviews_repo_id_number_reviewer_pk": { + "name": "pull_reviews_repo_id_number_reviewer_pk", + "columns": [ + "repo_id", + "number", + "reviewer" + ] + } + }, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.rate_limits": { + "name": "rate_limits", + "schema": "", + "columns": { + "key": { + "name": "key", + "type": "text", + "primaryKey": true, + "notNull": true + }, + "count": { + "name": "count", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "until": { + "name": "until", + "type": "bigint", + "primaryKey": false, + "notNull": true + } + }, + "indexes": {}, + "foreignKeys": {}, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.repo_blobs": { + "name": "repo_blobs", + "schema": "", + "columns": { + "repo_id": { + "name": "repo_id", + "type": "text", + "primaryKey": false, + "notNull": true + }, + "sha": { + "name": "sha", + "type": "text", + "primaryKey": false, + "notNull": true + }, + "lines": { + "name": "lines", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "binary": { + "name": "binary", + "type": "boolean", + "primaryKey": false, + "notNull": true + } + }, + "indexes": {}, + "foreignKeys": { + "repo_blobs_repo_id_repositories_id_fk": { + "name": "repo_blobs_repo_id_repositories_id_fk", + "tableFrom": "repo_blobs", + "tableTo": "repositories", + "columnsFrom": [ + "repo_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": { + "repo_blobs_repo_id_sha_pk": { + "name": "repo_blobs_repo_id_sha_pk", + "columns": [ + "repo_id", + "sha" + ] + } + }, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.repo_branch_details": { + "name": "repo_branch_details", + "schema": "", + "columns": { + "repo_id": { + "name": "repo_id", + "type": "text", + "primaryKey": false, + "notNull": true + }, + "position": { + "name": "position", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "against": { + "name": "against", + "type": "text", + "primaryKey": false, + "notNull": true + }, + "commits": { + "name": "commits", + "type": "jsonb", + "primaryKey": false, + "notNull": true + }, + "commits_total": { + "name": "commits_total", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "files": { + "name": "files", + "type": "jsonb", + "primaryKey": false, + "notNull": true + }, + "files_total": { + "name": "files_total", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "added": { + "name": "added", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "removed": { + "name": "removed", + "type": "integer", + "primaryKey": false, + "notNull": true + } + }, + "indexes": {}, + "foreignKeys": { + "repo_branch_details_repo_id_repositories_id_fk": { + "name": "repo_branch_details_repo_id_repositories_id_fk", + "tableFrom": "repo_branch_details", + "tableTo": "repositories", + "columnsFrom": [ + "repo_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": { + "repo_branch_details_repo_id_position_pk": { + "name": "repo_branch_details_repo_id_position_pk", + "columns": [ + "repo_id", + "position" + ] + } + }, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.repo_branches": { + "name": "repo_branches", + "schema": "", + "columns": { + "repo_id": { + "name": "repo_id", + "type": "text", + "primaryKey": false, + "notNull": true + }, + "position": { + "name": "position", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "name": { + "name": "name", + "type": "text", + "primaryKey": false, + "notNull": true + }, + "sha": { + "name": "sha", + "type": "text", + "primaryKey": false, + "notNull": true + }, + "at": { + "name": "at", + "type": "bigint", + "primaryKey": false, + "notNull": true + }, + "author": { + "name": "author", + "type": "text", + "primaryKey": false, + "notNull": true + }, + "login": { + "name": "login", + "type": "text", + "primaryKey": false, + "notNull": false + }, + "subject": { + "name": "subject", + "type": "text", + "primaryKey": false, + "notNull": true + }, + "ahead": { + "name": "ahead", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "behind": { + "name": "behind", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "base": { + "name": "base", + "type": "text", + "primaryKey": false, + "notNull": true + }, + "base_at": { + "name": "base_at", + "type": "bigint", + "primaryKey": false, + "notNull": true + }, + "merged": { + "name": "merged", + "type": "boolean", + "primaryKey": false, + "notNull": true + }, + "squashed": { + "name": "squashed", + "type": "boolean", + "primaryKey": false, + "notNull": true, + "default": false + }, + "parent": { + "name": "parent", + "type": "text", + "primaryKey": false, + "notNull": false + }, + "shared": { + "name": "shared", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "bot": { + "name": "bot", + "type": "boolean", + "primaryKey": false, + "notNull": true, + "default": false + } + }, + "indexes": {}, + "foreignKeys": { + "repo_branches_repo_id_repositories_id_fk": { + "name": "repo_branches_repo_id_repositories_id_fk", + "tableFrom": "repo_branches", + "tableTo": "repositories", + "columnsFrom": [ + "repo_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": { + "repo_branches_repo_id_position_pk": { + "name": "repo_branches_repo_id_position_pk", + "columns": [ + "repo_id", + "position" + ] + } + }, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.repo_events": { + "name": "repo_events", + "schema": "", + "columns": { + "id": { + "name": "id", + "type": "text", + "primaryKey": true, + "notNull": true + }, + "repo_id": { + "name": "repo_id", + "type": "text", + "primaryKey": false, + "notNull": true + }, + "kind": { + "name": "kind", + "type": "text", + "primaryKey": false, + "notNull": true + }, + "actor": { + "name": "actor", + "type": "text", + "primaryKey": false, + "notNull": false + }, + "title": { + "name": "title", + "type": "text", + "primaryKey": false, + "notNull": false + }, + "url": { + "name": "url", + "type": "text", + "primaryKey": false, + "notNull": false + }, + "count": { + "name": "count", + "type": "integer", + "primaryKey": false, + "notNull": false + }, + "at": { + "name": "at", + "type": "bigint", + "primaryKey": false, + "notNull": true + } + }, + "indexes": { + "repo_events_repo_at": { + "name": "repo_events_repo_at", + "columns": [ + { + "expression": "repo_id", + "isExpression": false, + "asc": true, + "nulls": "last" + }, + { + "expression": "at", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": { + "repo_events_repo_id_repositories_id_fk": { + "name": "repo_events_repo_id_repositories_id_fk", + "tableFrom": "repo_events", + "tableTo": "repositories", + "columnsFrom": [ + "repo_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.repo_git": { + "name": "repo_git", + "schema": "", + "columns": { + "repo_id": { + "name": "repo_id", + "type": "text", + "primaryKey": true, + "notNull": true + }, + "prefix": { + "name": "prefix", + "type": "text", + "primaryKey": false, + "notNull": true + }, + "build_id": { + "name": "build_id", + "type": "text", + "primaryKey": false, + "notNull": true + }, + "built_at": { + "name": "built_at", + "type": "bigint", + "primaryKey": false, + "notNull": true + }, + "head": { + "name": "head", + "type": "text", + "primaryKey": false, + "notNull": true + }, + "branch": { + "name": "branch", + "type": "text", + "primaryKey": false, + "notNull": true + }, + "branches": { + "name": "branches", + "type": "integer", + "primaryKey": false, + "notNull": true, + "default": 0 + }, + "tags": { + "name": "tags", + "type": "integer", + "primaryKey": false, + "notNull": true, + "default": 0 + }, + "files": { + "name": "files", + "type": "integer", + "primaryKey": false, + "notNull": true, + "default": 0 + }, + "stored": { + "name": "stored", + "type": "integer", + "primaryKey": false, + "notNull": true, + "default": 0 + }, + "pulls": { + "name": "pulls", + "type": "integer", + "primaryKey": false, + "notNull": true, + "default": 0 + }, + "bytes": { + "name": "bytes", + "type": "bigint", + "primaryKey": false, + "notNull": true, + "default": 0 + }, + "logged": { + "name": "logged", + "type": "integer", + "primaryKey": false, + "notNull": true, + "default": 0 + }, + "complete": { + "name": "complete", + "type": "boolean", + "primaryKey": false, + "notNull": true, + "default": false + }, + "seconds": { + "name": "seconds", + "type": "real", + "primaryKey": false, + "notNull": true, + "default": 0 + }, + "steps": { + "name": "steps", + "type": "text", + "primaryKey": false, + "notNull": true, + "default": "'[]'" + }, + "branches_total": { + "name": "branches_total", + "type": "integer", + "primaryKey": false, + "notNull": true, + "default": 0 + }, + "tags_total": { + "name": "tags_total", + "type": "integer", + "primaryKey": false, + "notNull": true, + "default": 0 + }, + "inferred": { + "name": "inferred", + "type": "boolean", + "primaryKey": false, + "notNull": true, + "default": false + } + }, + "indexes": {}, + "foreignKeys": { + "repo_git_repo_id_repositories_id_fk": { + "name": "repo_git_repo_id_repositories_id_fk", + "tableFrom": "repo_git", + "tableTo": "repositories", + "columnsFrom": [ + "repo_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.repo_names": { + "name": "repo_names", + "schema": "", + "columns": { + "id": { + "name": "id", + "type": "text", + "primaryKey": true, + "notNull": true + }, + "repo_id": { + "name": "repo_id", + "type": "text", + "primaryKey": false, + "notNull": true + }, + "at": { + "name": "at", + "type": "bigint", + "primaryKey": false, + "notNull": true + } + }, + "indexes": { + "repo_names_repo": { + "name": "repo_names_repo", + "columns": [ + { + "expression": "repo_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": { + "repo_names_repo_id_repositories_id_fk": { + "name": "repo_names_repo_id_repositories_id_fk", + "tableFrom": "repo_names", + "tableTo": "repositories", + "columnsFrom": [ + "repo_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.repo_people": { + "name": "repo_people", + "schema": "", + "columns": { + "repo_id": { + "name": "repo_id", + "type": "text", + "primaryKey": false, + "notNull": true + }, + "person_id": { + "name": "person_id", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "name": { + "name": "name", + "type": "text", + "primaryKey": false, + "notNull": true + }, + "login": { + "name": "login", + "type": "text", + "primaryKey": false, + "notNull": false + }, + "commits": { + "name": "commits", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "lines_added": { + "name": "lines_added", + "type": "integer", + "primaryKey": false, + "notNull": false + }, + "lines_removed": { + "name": "lines_removed", + "type": "integer", + "primaryKey": false, + "notNull": false + }, + "first": { + "name": "first", + "type": "bigint", + "primaryKey": false, + "notNull": false + }, + "last": { + "name": "last", + "type": "bigint", + "primaryKey": false, + "notNull": false + }, + "report_key": { + "name": "report_key", + "type": "text", + "primaryKey": false, + "notNull": true + } + }, + "indexes": { + "repo_people_lower_login": { + "name": "repo_people_lower_login", + "columns": [ + { + "expression": "lower(\"login\")", + "asc": true, + "isExpression": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": { + "repo_people_repo_id_repositories_id_fk": { + "name": "repo_people_repo_id_repositories_id_fk", + "tableFrom": "repo_people", + "tableTo": "repositories", + "columnsFrom": [ + "repo_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": { + "repo_people_repo_id_person_id_pk": { + "name": "repo_people_repo_id_person_id_pk", + "columns": [ + "repo_id", + "person_id" + ] + } + }, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.repo_tags": { + "name": "repo_tags", + "schema": "", + "columns": { + "repo_id": { + "name": "repo_id", + "type": "text", + "primaryKey": false, + "notNull": true + }, + "position": { + "name": "position", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "name": { + "name": "name", + "type": "text", + "primaryKey": false, + "notNull": true + }, + "sha": { + "name": "sha", + "type": "text", + "primaryKey": false, + "notNull": true + }, + "at": { + "name": "at", + "type": "bigint", + "primaryKey": false, + "notNull": true + } + }, + "indexes": {}, + "foreignKeys": { + "repo_tags_repo_id_repositories_id_fk": { + "name": "repo_tags_repo_id_repositories_id_fk", + "tableFrom": "repo_tags", + "tableTo": "repositories", + "columnsFrom": [ + "repo_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": { + "repo_tags_repo_id_position_pk": { + "name": "repo_tags_repo_id_position_pk", + "columns": [ + "repo_id", + "position" + ] + } + }, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.repositories": { + "name": "repositories", + "schema": "", + "columns": { + "id": { + "name": "id", + "type": "text", + "primaryKey": true, + "notNull": true + }, + "owner": { + "name": "owner", + "type": "text", + "primaryKey": false, + "notNull": true + }, + "name": { + "name": "name", + "type": "text", + "primaryKey": false, + "notNull": true + }, + "github_id": { + "name": "github_id", + "type": "bigint", + "primaryKey": false, + "notNull": false + }, + "private": { + "name": "private", + "type": "boolean", + "primaryKey": false, + "notNull": true, + "default": false + }, + "status": { + "name": "status", + "type": "text", + "primaryKey": false, + "notNull": true, + "default": "'ok'" + }, + "facts": { + "name": "facts", + "type": "text", + "primaryKey": false, + "notNull": false + }, + "facts_at": { + "name": "facts_at", + "type": "bigint", + "primaryKey": false, + "notNull": false + }, + "size_kb": { + "name": "size_kb", + "type": "integer", + "primaryKey": false, + "notNull": false + }, + "report_key": { + "name": "report_key", + "type": "text", + "primaryKey": false, + "notNull": false + }, + "report_at": { + "name": "report_at", + "type": "bigint", + "primaryKey": false, + "notNull": false + }, + "report_bytes": { + "name": "report_bytes", + "type": "integer", + "primaryKey": false, + "notNull": false + }, + "report_lines": { + "name": "report_lines", + "type": "boolean", + "primaryKey": false, + "notNull": false + }, + "viewed_at": { + "name": "viewed_at", + "type": "bigint", + "primaryKey": false, + "notNull": false + }, + "installation_id": { + "name": "installation_id", + "type": "bigint", + "primaryKey": false, + "notNull": false + }, + "connected_by": { + "name": "connected_by", + "type": "text", + "primaryKey": false, + "notNull": false + }, + "seed": { + "name": "seed", + "type": "boolean", + "primaryKey": false, + "notNull": true, + "default": false + }, + "language": { + "name": "language", + "type": "text", + "primaryKey": false, + "notNull": false + }, + "stars": { + "name": "stars", + "type": "integer", + "primaryKey": false, + "notNull": false + }, + "bus_factor": { + "name": "bus_factor", + "type": "integer", + "primaryKey": false, + "notNull": false + }, + "maintainers": { + "name": "maintainers", + "type": "integer", + "primaryKey": false, + "notNull": false + }, + "commits_30d": { + "name": "commits_30d", + "type": "integer", + "primaryKey": false, + "notNull": false + }, + "code_lines": { + "name": "code_lines", + "type": "integer", + "primaryKey": false, + "notNull": false + }, + "pulls_at": { + "name": "pulls_at", + "type": "text", + "primaryKey": false, + "notNull": false + }, + "pulls_read_at": { + "name": "pulls_read_at", + "type": "bigint", + "primaryKey": false, + "notNull": false + }, + "pulls_cursor": { + "name": "pulls_cursor", + "type": "text", + "primaryKey": false, + "notNull": false + }, + "pulls_mark": { + "name": "pulls_mark", + "type": "text", + "primaryKey": false, + "notNull": false + }, + "pulls_version": { + "name": "pulls_version", + "type": "integer", + "primaryKey": false, + "notNull": true, + "default": 0 + }, + "index_id": { + "name": "index_id", + "type": "integer", + "primaryKey": false, + "notNull": false + }, + "report_meta": { + "name": "report_meta", + "type": "jsonb", + "primaryKey": false, + "notNull": false + }, + "report_stats": { + "name": "report_stats", + "type": "jsonb", + "primaryKey": false, + "notNull": false + } + }, + "indexes": { + "repositories_installation": { + "name": "repositories_installation", + "columns": [ + { + "expression": "installation_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "repositories_seed": { + "name": "repositories_seed", + "columns": [ + { + "expression": "seed", + "isExpression": false, + "asc": true, + "nulls": "last" + }, + { + "expression": "report_at", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "repositories_github_id": { + "name": "repositories_github_id", + "columns": [ + { + "expression": "github_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": { + "repositories_connected_by_user_id_fk": { + "name": "repositories_connected_by_user_id_fk", + "tableFrom": "repositories", + "tableTo": "user", + "columnsFrom": [ + "connected_by" + ], + "columnsTo": [ + "id" + ], + "onDelete": "set null", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.session": { + "name": "session", + "schema": "", + "columns": { + "id": { + "name": "id", + "type": "text", + "primaryKey": true, + "notNull": true + }, + "expires_at": { + "name": "expires_at", + "type": "timestamp", + "primaryKey": false, + "notNull": true + }, + "token": { + "name": "token", + "type": "text", + "primaryKey": false, + "notNull": true + }, + "created_at": { + "name": "created_at", + "type": "timestamp", + "primaryKey": false, + "notNull": true, + "default": "now()" + }, + "updated_at": { + "name": "updated_at", + "type": "timestamp", + "primaryKey": false, + "notNull": true + }, + "ip_address": { + "name": "ip_address", + "type": "text", + "primaryKey": false, + "notNull": false + }, + "user_agent": { + "name": "user_agent", + "type": "text", + "primaryKey": false, + "notNull": false + }, + "user_id": { + "name": "user_id", + "type": "text", + "primaryKey": false, + "notNull": true + } + }, + "indexes": { + "session_user_id": { + "name": "session_user_id", + "columns": [ + { + "expression": "user_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": { + "session_user_id_user_id_fk": { + "name": "session_user_id_user_id_fk", + "tableFrom": "session", + "tableTo": "user", + "columnsFrom": [ + "user_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": { + "session_token_unique": { + "name": "session_token_unique", + "nullsNotDistinct": false, + "columns": [ + "token" + ] + } + }, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.shares": { + "name": "shares", + "schema": "", + "columns": { + "id": { + "name": "id", + "type": "text", + "primaryKey": true, + "notNull": true + }, + "bytes": { + "name": "bytes", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "created_at": { + "name": "created_at", + "type": "bigint", + "primaryKey": false, + "notNull": true + }, + "expires_at": { + "name": "expires_at", + "type": "bigint", + "primaryKey": false, + "notNull": true + }, + "delete_hash": { + "name": "delete_hash", + "type": "text", + "primaryKey": false, + "notNull": true + }, + "upload_hash": { + "name": "upload_hash", + "type": "text", + "primaryKey": false, + "notNull": false + }, + "uploaded": { + "name": "uploaded", + "type": "boolean", + "primaryKey": false, + "notNull": true, + "default": false + } + }, + "indexes": { + "shares_expires": { + "name": "shares_expires", + "columns": [ + { + "expression": "expires_at", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": {}, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.stored_indexes": { + "name": "stored_indexes", + "schema": "", + "columns": { + "id": { + "name": "id", + "type": "serial", + "primaryKey": true, + "notNull": true + }, + "repo_id": { + "name": "repo_id", + "type": "text", + "primaryKey": false, + "notNull": true + }, + "lineage": { + "name": "lineage", + "type": "text", + "primaryKey": false, + "notNull": true + }, + "kept": { + "name": "kept", + "type": "boolean", + "primaryKey": false, + "notNull": true + }, + "state": { + "name": "state", + "type": "text", + "primaryKey": false, + "notNull": true + }, + "head": { + "name": "head", + "type": "text", + "primaryKey": false, + "notNull": false + }, + "frontier": { + "name": "frontier", + "type": "text[]", + "primaryKey": false, + "notNull": true, + "default": "'{}'" + }, + "lines": { + "name": "lines", + "type": "boolean", + "primaryKey": false, + "notNull": true + }, + "lines_left": { + "name": "lines_left", + "type": "integer", + "primaryKey": false, + "notNull": false + }, + "commits": { + "name": "commits", + "type": "integer", + "primaryKey": false, + "notNull": true, + "default": 0 + }, + "built_at": { + "name": "built_at", + "type": "bigint", + "primaryKey": false, + "notNull": true + }, + "loaded_at": { + "name": "loaded_at", + "type": "bigint", + "primaryKey": false, + "notNull": false + }, + "anchor": { + "name": "anchor", + "type": "bigint", + "primaryKey": false, + "notNull": true, + "default": 0 + }, + "options": { + "name": "options", + "type": "jsonb", + "primaryKey": false, + "notNull": true, + "default": "'{\"max_changeset_size\":50,\"coupling_support\":5,\"ownership_min_commits\":10}'::jsonb" + }, + "snapshot": { + "name": "snapshot", + "type": "jsonb", + "primaryKey": false, + "notNull": false + }, + "pack": { + "name": "pack", + "type": "text", + "primaryKey": false, + "notNull": false + } + }, + "indexes": { + "stored_indexes_repo": { + "name": "stored_indexes_repo", + "columns": [ + { + "expression": "repo_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": { + "stored_indexes_repo_id_repositories_id_fk": { + "name": "stored_indexes_repo_id_repositories_id_fk", + "tableFrom": "stored_indexes", + "tableTo": "repositories", + "columnsFrom": [ + "repo_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.surviving": { + "name": "surviving", + "schema": "", + "columns": { + "repo_id": { + "name": "repo_id", + "type": "text", + "primaryKey": false, + "notNull": true + }, + "report_key": { + "name": "report_key", + "type": "text", + "primaryKey": false, + "notNull": true + }, + "person_id": { + "name": "person_id", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "status": { + "name": "status", + "type": "text", + "primaryKey": false, + "notNull": true + }, + "lines": { + "name": "lines", + "type": "integer", + "primaryKey": false, + "notNull": false + }, + "added": { + "name": "added", + "type": "integer", + "primaryKey": false, + "notNull": false + }, + "files": { + "name": "files", + "type": "integer", + "primaryKey": false, + "notNull": false + }, + "seconds": { + "name": "seconds", + "type": "real", + "primaryKey": false, + "notNull": false + }, + "head": { + "name": "head", + "type": "text", + "primaryKey": false, + "notNull": false + }, + "oldest": { + "name": "oldest", + "type": "bigint", + "primaryKey": false, + "notNull": false + }, + "asked_at": { + "name": "asked_at", + "type": "bigint", + "primaryKey": false, + "notNull": true + }, + "counted_at": { + "name": "counted_at", + "type": "bigint", + "primaryKey": false, + "notNull": false + } + }, + "indexes": { + "surviving_status": { + "name": "surviving_status", + "columns": [ + { + "expression": "status", + "isExpression": false, + "asc": true, + "nulls": "last" + }, + { + "expression": "asked_at", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": { + "surviving_repo_id_repositories_id_fk": { + "name": "surviving_repo_id_repositories_id_fk", + "tableFrom": "surviving", + "tableTo": "repositories", + "columnsFrom": [ + "repo_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": { + "surviving_repo_id_report_key_person_id_pk": { + "name": "surviving_repo_id_report_key_person_id_pk", + "columns": [ + "repo_id", + "report_key", + "person_id" + ] + } + }, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.user": { + "name": "user", + "schema": "", + "columns": { + "id": { + "name": "id", + "type": "text", + "primaryKey": true, + "notNull": true + }, + "name": { + "name": "name", + "type": "text", + "primaryKey": false, + "notNull": true + }, + "email": { + "name": "email", + "type": "text", + "primaryKey": false, + "notNull": true + }, + "email_verified": { + "name": "email_verified", + "type": "boolean", + "primaryKey": false, + "notNull": true, + "default": false + }, + "image": { + "name": "image", + "type": "text", + "primaryKey": false, + "notNull": false + }, + "login": { + "name": "login", + "type": "text", + "primaryKey": false, + "notNull": false + }, + "created_at": { + "name": "created_at", + "type": "timestamp", + "primaryKey": false, + "notNull": true, + "default": "now()" + }, + "updated_at": { + "name": "updated_at", + "type": "timestamp", + "primaryKey": false, + "notNull": true, + "default": "now()" + } + }, + "indexes": {}, + "foreignKeys": {}, + "compositePrimaryKeys": {}, + "uniqueConstraints": { + "user_email_unique": { + "name": "user_email_unique", + "nullsNotDistinct": false, + "columns": [ + "email" + ] + } + }, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.verification": { + "name": "verification", + "schema": "", + "columns": { + "id": { + "name": "id", + "type": "text", + "primaryKey": true, + "notNull": true + }, + "identifier": { + "name": "identifier", + "type": "text", + "primaryKey": false, + "notNull": true + }, + "value": { + "name": "value", + "type": "text", + "primaryKey": false, + "notNull": true + }, + "expires_at": { + "name": "expires_at", + "type": "timestamp", + "primaryKey": false, + "notNull": true + }, + "created_at": { + "name": "created_at", + "type": "timestamp", + "primaryKey": false, + "notNull": true, + "default": "now()" + }, + "updated_at": { + "name": "updated_at", + "type": "timestamp", + "primaryKey": false, + "notNull": true, + "default": "now()" + } + }, + "indexes": { + "verification_identifier": { + "name": "verification_identifier", + "columns": [ + { + "expression": "identifier", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": {}, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + } + }, + "enums": {}, + "schemas": {}, + "sequences": {}, + "roles": {}, + "policies": {}, + "views": {}, + "_meta": { + "columns": {}, + "schemas": {}, + "tables": {} + } +} \ No newline at end of file diff --git a/packages/server/drizzle/meta/0035_snapshot.json b/packages/server/drizzle/meta/0035_snapshot.json new file mode 100644 index 0000000..893f416 --- /dev/null +++ b/packages/server/drizzle/meta/0035_snapshot.json @@ -0,0 +1,3337 @@ +{ + "id": "b99743d6-b988-4b15-900d-81736606a149", + "prevId": "4564477e-b835-46b7-95e3-6e38710489e1", + "version": "7", + "dialect": "postgresql", + "tables": { + "public.access": { + "name": "access", + "schema": "", + "columns": { + "session_id": { + "name": "session_id", + "type": "text", + "primaryKey": false, + "notNull": true + }, + "repo_id": { + "name": "repo_id", + "type": "text", + "primaryKey": false, + "notNull": true + }, + "allowed": { + "name": "allowed", + "type": "boolean", + "primaryKey": false, + "notNull": true + }, + "until": { + "name": "until", + "type": "bigint", + "primaryKey": false, + "notNull": true + } + }, + "indexes": {}, + "foreignKeys": { + "access_session_id_session_id_fk": { + "name": "access_session_id_session_id_fk", + "tableFrom": "access", + "columnsFrom": [ + "session_id" + ], + "tableTo": "session", + "columnsTo": [ + "id" + ], + "onUpdate": "no action", + "onDelete": "cascade" + } + }, + "compositePrimaryKeys": { + "access_session_id_repo_id_pk": { + "name": "access_session_id_repo_id_pk", + "columns": [ + "session_id", + "repo_id" + ] + } + }, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.account": { + "name": "account", + "schema": "", + "columns": { + "id": { + "name": "id", + "type": "text", + "primaryKey": true, + "notNull": true + }, + "account_id": { + "name": "account_id", + "type": "text", + "primaryKey": false, + "notNull": true + }, + "provider_id": { + "name": "provider_id", + "type": "text", + "primaryKey": false, + "notNull": true + }, + "user_id": { + "name": "user_id", + "type": "text", + "primaryKey": false, + "notNull": true + }, + "access_token": { + "name": "access_token", + "type": "text", + "primaryKey": false, + "notNull": false + }, + "refresh_token": { + "name": "refresh_token", + "type": "text", + "primaryKey": false, + "notNull": false + }, + "id_token": { + "name": "id_token", + "type": "text", + "primaryKey": false, + "notNull": false + }, + "access_token_expires_at": { + "name": "access_token_expires_at", + "type": "timestamp", + "primaryKey": false, + "notNull": false + }, + "refresh_token_expires_at": { + "name": "refresh_token_expires_at", + "type": "timestamp", + "primaryKey": false, + "notNull": false + }, + "scope": { + "name": "scope", + "type": "text", + "primaryKey": false, + "notNull": false + }, + "password": { + "name": "password", + "type": "text", + "primaryKey": false, + "notNull": false + }, + "created_at": { + "name": "created_at", + "type": "timestamp", + "primaryKey": false, + "notNull": true, + "default": "now()" + }, + "updated_at": { + "name": "updated_at", + "type": "timestamp", + "primaryKey": false, + "notNull": true + } + }, + "indexes": { + "account_user_id": { + "name": "account_user_id", + "columns": [ + { + "expression": "user_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "with": {}, + "method": "btree", + "concurrently": false + } + }, + "foreignKeys": { + "account_user_id_user_id_fk": { + "name": "account_user_id_user_id_fk", + "tableFrom": "account", + "columnsFrom": [ + "user_id" + ], + "tableTo": "user", + "columnsTo": [ + "id" + ], + "onUpdate": "no action", + "onDelete": "cascade" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.builds": { + "name": "builds", + "schema": "", + "columns": { + "id": { + "name": "id", + "type": "text", + "primaryKey": true, + "notNull": true + }, + "repo_id": { + "name": "repo_id", + "type": "text", + "primaryKey": false, + "notNull": true + }, + "state": { + "name": "state", + "type": "text", + "primaryKey": false, + "notNull": true + }, + "step": { + "name": "step", + "type": "text", + "primaryKey": false, + "notNull": false + }, + "reason": { + "name": "reason", + "type": "text", + "primaryKey": false, + "notNull": false + }, + "detail": { + "name": "detail", + "type": "text", + "primaryKey": false, + "notNull": false + }, + "seconds": { + "name": "seconds", + "type": "integer", + "primaryKey": false, + "notNull": false + }, + "partial": { + "name": "partial", + "type": "boolean", + "primaryKey": false, + "notNull": false + }, + "requested_at": { + "name": "requested_at", + "type": "bigint", + "primaryKey": false, + "notNull": true + }, + "started_at": { + "name": "started_at", + "type": "bigint", + "primaryKey": false, + "notNull": false + }, + "finished_at": { + "name": "finished_at", + "type": "bigint", + "primaryKey": false, + "notNull": false + } + }, + "indexes": { + "builds_repo_requested": { + "name": "builds_repo_requested", + "columns": [ + { + "expression": "repo_id", + "isExpression": false, + "asc": true, + "nulls": "last" + }, + { + "expression": "requested_at", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "with": {}, + "method": "btree", + "concurrently": false + }, + "builds_state": { + "name": "builds_state", + "columns": [ + { + "expression": "state", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "with": {}, + "method": "btree", + "concurrently": false + } + }, + "foreignKeys": { + "builds_repo_id_repositories_id_fk": { + "name": "builds_repo_id_repositories_id_fk", + "tableFrom": "builds", + "columnsFrom": [ + "repo_id" + ], + "tableTo": "repositories", + "columnsTo": [ + "id" + ], + "onUpdate": "no action", + "onDelete": "cascade" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.github_cache": { + "name": "github_cache", + "schema": "", + "columns": { + "key": { + "name": "key", + "type": "text", + "primaryKey": true, + "notNull": true + }, + "etag": { + "name": "etag", + "type": "text", + "primaryKey": false, + "notNull": false + }, + "status": { + "name": "status", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "body": { + "name": "body", + "type": "text", + "primaryKey": false, + "notNull": false + }, + "fetched_at": { + "name": "fetched_at", + "type": "bigint", + "primaryKey": false, + "notNull": true + }, + "until": { + "name": "until", + "type": "bigint", + "primaryKey": false, + "notNull": true + } + }, + "indexes": { + "github_cache_until": { + "name": "github_cache_until", + "columns": [ + { + "expression": "until", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "with": {}, + "method": "btree", + "concurrently": false + } + }, + "foreignKeys": {}, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.index_commit_lines": { + "name": "index_commit_lines", + "schema": "", + "columns": { + "si": { + "name": "si", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "sha": { + "name": "sha", + "type": "bytea", + "primaryKey": false, + "notNull": true + }, + "added": { + "name": "added", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "removed": { + "name": "removed", + "type": "integer", + "primaryKey": false, + "notNull": true + } + }, + "indexes": {}, + "foreignKeys": {}, + "compositePrimaryKeys": { + "index_commit_lines_si_sha_pk": { + "name": "index_commit_lines_si_sha_pk", + "columns": [ + "si", + "sha" + ] + } + }, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.index_commits": { + "name": "index_commits", + "schema": "", + "columns": { + "si": { + "name": "si", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "sha": { + "name": "sha", + "type": "bytea", + "primaryKey": false, + "notNull": true + }, + "at": { + "name": "at", + "type": "bigint", + "primaryKey": false, + "notNull": true + }, + "offset": { + "name": "offset", + "type": "smallint", + "primaryKey": false, + "notNull": true + }, + "author_delta": { + "name": "author_delta", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "signature": { + "name": "signature", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "kind": { + "name": "kind", + "type": "smallint", + "primaryKey": false, + "notNull": true + }, + "flags": { + "name": "flags", + "type": "smallint", + "primaryKey": false, + "notNull": true + }, + "arrival": { + "name": "arrival", + "type": "bigint", + "primaryKey": false, + "notNull": false + }, + "subject": { + "name": "subject", + "type": "text", + "primaryKey": false, + "notNull": true + }, + "files": { + "name": "files", + "type": "integer[]", + "primaryKey": false, + "notNull": true + }, + "changes": { + "name": "changes", + "type": "smallint[]", + "primaryKey": false, + "notNull": true + }, + "added": { + "name": "added", + "type": "integer[]", + "primaryKey": false, + "notNull": false + }, + "removed": { + "name": "removed", + "type": "integer[]", + "primaryKey": false, + "notNull": false + } + }, + "indexes": { + "index_commits_at": { + "name": "index_commits_at", + "columns": [ + { + "expression": "si", + "isExpression": false, + "asc": true, + "nulls": "last" + }, + { + "expression": "at", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "with": {}, + "method": "btree", + "concurrently": false + }, + "index_commits_signature": { + "name": "index_commits_signature", + "columns": [ + { + "expression": "si", + "isExpression": false, + "asc": true, + "nulls": "last" + }, + { + "expression": "signature", + "isExpression": false, + "asc": true, + "nulls": "last" + }, + { + "expression": "at", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "with": {}, + "method": "btree", + "concurrently": false + } + }, + "foreignKeys": {}, + "compositePrimaryKeys": { + "index_commits_si_sha_pk": { + "name": "index_commits_si_sha_pk", + "columns": [ + "si", + "sha" + ] + } + }, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.index_file_paths": { + "name": "index_file_paths", + "schema": "", + "columns": { + "si": { + "name": "si", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "file": { + "name": "file", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "path": { + "name": "path", + "type": "text", + "primaryKey": false, + "notNull": true + } + }, + "indexes": {}, + "foreignKeys": {}, + "compositePrimaryKeys": { + "index_file_paths_si_file_path_pk": { + "name": "index_file_paths_si_file_path_pk", + "columns": [ + "si", + "file", + "path" + ] + } + }, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.index_files": { + "name": "index_files", + "schema": "", + "columns": { + "si": { + "name": "si", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "file": { + "name": "file", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "path": { + "name": "path", + "type": "text", + "primaryKey": false, + "notNull": true + }, + "folder": { + "name": "folder", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "born": { + "name": "born", + "type": "bigint", + "primaryKey": false, + "notNull": true + }, + "last": { + "name": "last", + "type": "bigint", + "primaryKey": false, + "notNull": true + }, + "alive": { + "name": "alive", + "type": "boolean", + "primaryKey": false, + "notNull": true + }, + "role": { + "name": "role", + "type": "smallint", + "primaryKey": false, + "notNull": true, + "default": 0 + }, + "language": { + "name": "language", + "type": "text", + "primaryKey": false, + "notNull": false + }, + "guessed_generated": { + "name": "guessed_generated", + "type": "boolean", + "primaryKey": false, + "notNull": true, + "default": false + }, + "lockfile": { + "name": "lockfile", + "type": "boolean", + "primaryKey": false, + "notNull": true, + "default": false + } + }, + "indexes": { + "index_files_folder": { + "name": "index_files_folder", + "columns": [ + { + "expression": "si", + "isExpression": false, + "asc": true, + "nulls": "last" + }, + { + "expression": "folder", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "with": {}, + "method": "btree", + "concurrently": false + } + }, + "foreignKeys": {}, + "compositePrimaryKeys": { + "index_files_si_file_pk": { + "name": "index_files_si_file_pk", + "columns": [ + "si", + "file" + ] + } + }, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.index_folders": { + "name": "index_folders", + "schema": "", + "columns": { + "si": { + "name": "si", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "id": { + "name": "id", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "path": { + "name": "path", + "type": "text", + "primaryKey": false, + "notNull": true + }, + "parent": { + "name": "parent", + "type": "integer", + "primaryKey": false, + "notNull": false + }, + "depth": { + "name": "depth", + "type": "smallint", + "primaryKey": false, + "notNull": true + } + }, + "indexes": { + "index_folders_path": { + "name": "index_folders_path", + "columns": [ + { + "expression": "si", + "isExpression": false, + "asc": true, + "nulls": "last" + }, + { + "expression": "path", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": true, + "with": {}, + "method": "btree", + "concurrently": false + }, + "index_folders_parent": { + "name": "index_folders_parent", + "columns": [ + { + "expression": "si", + "isExpression": false, + "asc": true, + "nulls": "last" + }, + { + "expression": "parent", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "with": {}, + "method": "btree", + "concurrently": false + } + }, + "foreignKeys": {}, + "compositePrimaryKeys": { + "index_folders_si_id_pk": { + "name": "index_folders_si_id_pk", + "columns": [ + "si", + "id" + ] + } + }, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.index_head_files": { + "name": "index_head_files", + "schema": "", + "columns": { + "si": { + "name": "si", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "file": { + "name": "file", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "blob": { + "name": "blob", + "type": "bytea", + "primaryKey": false, + "notNull": true + }, + "bytes": { + "name": "bytes", + "type": "bigint", + "primaryKey": false, + "notNull": true + }, + "lines": { + "name": "lines", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "class": { + "name": "class", + "type": "text", + "primaryKey": false, + "notNull": true + }, + "indent_levels": { + "name": "indent_levels", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "indent_mean": { + "name": "indent_mean", + "type": "real", + "primaryKey": false, + "notNull": true + }, + "indent_stddev": { + "name": "indent_stddev", + "type": "real", + "primaryKey": false, + "notNull": true + } + }, + "indexes": {}, + "foreignKeys": {}, + "compositePrimaryKeys": { + "index_head_files_si_file_pk": { + "name": "index_head_files_si_file_pk", + "columns": [ + "si", + "file" + ] + } + }, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.index_people": { + "name": "index_people", + "schema": "", + "columns": { + "si": { + "name": "si", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "signature": { + "name": "signature", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "name": { + "name": "name", + "type": "text", + "primaryKey": false, + "notNull": true + }, + "person": { + "name": "person", + "type": "integer", + "primaryKey": false, + "notNull": false + }, + "person_name": { + "name": "person_name", + "type": "text", + "primaryKey": false, + "notNull": false + }, + "colour": { + "name": "colour", + "type": "smallint", + "primaryKey": false, + "notNull": false + }, + "login": { + "name": "login", + "type": "text", + "primaryKey": false, + "notNull": false + }, + "bot": { + "name": "bot", + "type": "boolean", + "primaryKey": false, + "notNull": true + } + }, + "indexes": { + "index_people_person": { + "name": "index_people_person", + "columns": [ + { + "expression": "si", + "isExpression": false, + "asc": true, + "nulls": "last" + }, + { + "expression": "person", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "with": {}, + "method": "btree", + "concurrently": false + } + }, + "foreignKeys": {}, + "compositePrimaryKeys": { + "index_people_si_signature_pk": { + "name": "index_people_si_signature_pk", + "columns": [ + "si", + "signature" + ] + } + }, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.index_persons": { + "name": "index_persons", + "schema": "", + "columns": { + "si": { + "name": "si", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "person": { + "name": "person", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "traits": { + "name": "traits", + "type": "smallint", + "primaryKey": false, + "notNull": true + }, + "identities": { + "name": "identities", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "commits": { + "name": "commits", + "type": "integer", + "primaryKey": false, + "notNull": true + } + }, + "indexes": {}, + "foreignKeys": {}, + "compositePrimaryKeys": { + "index_persons_si_person_pk": { + "name": "index_persons_si_person_pk", + "columns": [ + "si", + "person" + ] + } + }, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.lent_tokens": { + "name": "lent_tokens", + "schema": "", + "columns": { + "repo_id": { + "name": "repo_id", + "type": "text", + "primaryKey": true, + "notNull": true + }, + "user_id": { + "name": "user_id", + "type": "text", + "primaryKey": false, + "notNull": true + }, + "token": { + "name": "token", + "type": "text", + "primaryKey": false, + "notNull": true + }, + "until": { + "name": "until", + "type": "bigint", + "primaryKey": false, + "notNull": true + } + }, + "indexes": {}, + "foreignKeys": { + "lent_tokens_repo_id_repositories_id_fk": { + "name": "lent_tokens_repo_id_repositories_id_fk", + "tableFrom": "lent_tokens", + "columnsFrom": [ + "repo_id" + ], + "tableTo": "repositories", + "columnsTo": [ + "id" + ], + "onUpdate": "no action", + "onDelete": "cascade" + }, + "lent_tokens_user_id_user_id_fk": { + "name": "lent_tokens_user_id_user_id_fk", + "tableFrom": "lent_tokens", + "columnsFrom": [ + "user_id" + ], + "tableTo": "user", + "columnsTo": [ + "id" + ], + "onUpdate": "no action", + "onDelete": "cascade" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.people": { + "name": "people", + "schema": "", + "columns": { + "login": { + "name": "login", + "type": "text", + "primaryKey": true, + "notNull": true + }, + "user_id": { + "name": "user_id", + "type": "text", + "primaryKey": false, + "notNull": false + }, + "hidden": { + "name": "hidden", + "type": "boolean", + "primaryKey": false, + "notNull": true, + "default": false + }, + "name_private": { + "name": "name_private", + "type": "boolean", + "primaryKey": false, + "notNull": true, + "default": false + }, + "updated_at": { + "name": "updated_at", + "type": "bigint", + "primaryKey": false, + "notNull": true + } + }, + "indexes": { + "people_user": { + "name": "people_user", + "columns": [ + { + "expression": "user_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "with": {}, + "method": "btree", + "concurrently": false + } + }, + "foreignKeys": { + "people_user_id_user_id_fk": { + "name": "people_user_id_user_id_fk", + "tableFrom": "people", + "columnsFrom": [ + "user_id" + ], + "tableTo": "user", + "columnsTo": [ + "id" + ], + "onUpdate": "no action", + "onDelete": "cascade" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.private_work": { + "name": "private_work", + "schema": "", + "columns": { + "login": { + "name": "login", + "type": "text", + "primaryKey": false, + "notNull": true + }, + "repo": { + "name": "repo", + "type": "text", + "primaryKey": false, + "notNull": true + }, + "show": { + "name": "show", + "type": "text", + "primaryKey": false, + "notNull": true + }, + "updated_at": { + "name": "updated_at", + "type": "bigint", + "primaryKey": false, + "notNull": true + } + }, + "indexes": {}, + "foreignKeys": {}, + "compositePrimaryKeys": { + "private_work_login_repo_pk": { + "name": "private_work_login_repo_pk", + "columns": [ + "login", + "repo" + ] + } + }, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.profiles": { + "name": "profiles", + "schema": "", + "columns": { + "login": { + "name": "login", + "type": "text", + "primaryKey": false, + "notNull": true + }, + "scope": { + "name": "scope", + "type": "text", + "primaryKey": false, + "notNull": true + }, + "github_id": { + "name": "github_id", + "type": "bigint", + "primaryKey": false, + "notNull": false + }, + "identity": { + "name": "identity", + "type": "text", + "primaryKey": false, + "notNull": true + }, + "identity_at": { + "name": "identity_at", + "type": "bigint", + "primaryKey": false, + "notNull": true + }, + "data": { + "name": "data", + "type": "text", + "primaryKey": false, + "notNull": false + }, + "raw": { + "name": "raw", + "type": "text", + "primaryKey": false, + "notNull": false + }, + "fetched_at": { + "name": "fetched_at", + "type": "bigint", + "primaryKey": false, + "notNull": false + } + }, + "indexes": { + "profiles_github_id": { + "name": "profiles_github_id", + "columns": [ + { + "expression": "github_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "with": {}, + "method": "btree", + "concurrently": false + } + }, + "foreignKeys": {}, + "compositePrimaryKeys": { + "profiles_login_scope_pk": { + "name": "profiles_login_scope_pk", + "columns": [ + "login", + "scope" + ] + } + }, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.proofs": { + "name": "proofs", + "schema": "", + "columns": { + "id": { + "name": "id", + "type": "text", + "primaryKey": true, + "notNull": true + }, + "login": { + "name": "login", + "type": "text", + "primaryKey": false, + "notNull": true + }, + "user_id": { + "name": "user_id", + "type": "text", + "primaryKey": false, + "notNull": true + }, + "data": { + "name": "data", + "type": "text", + "primaryKey": false, + "notNull": true + }, + "created_at": { + "name": "created_at", + "type": "bigint", + "primaryKey": false, + "notNull": true + } + }, + "indexes": { + "proofs_login": { + "name": "proofs_login", + "columns": [ + { + "expression": "login", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "with": {}, + "method": "btree", + "concurrently": false + } + }, + "foreignKeys": { + "proofs_user_id_user_id_fk": { + "name": "proofs_user_id_user_id_fk", + "tableFrom": "proofs", + "columnsFrom": [ + "user_id" + ], + "tableTo": "user", + "columnsTo": [ + "id" + ], + "onUpdate": "no action", + "onDelete": "cascade" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.pull_requests": { + "name": "pull_requests", + "schema": "", + "columns": { + "repo_id": { + "name": "repo_id", + "type": "text", + "primaryKey": false, + "notNull": true + }, + "number": { + "name": "number", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "author": { + "name": "author", + "type": "text", + "primaryKey": false, + "notNull": false + }, + "state": { + "name": "state", + "type": "text", + "primaryKey": false, + "notNull": true + }, + "title": { + "name": "title", + "type": "text", + "primaryKey": false, + "notNull": true + }, + "created_at": { + "name": "created_at", + "type": "bigint", + "primaryKey": false, + "notNull": true + }, + "merged_at": { + "name": "merged_at", + "type": "bigint", + "primaryKey": false, + "notNull": false + }, + "updated_at": { + "name": "updated_at", + "type": "bigint", + "primaryKey": false, + "notNull": true + }, + "additions": { + "name": "additions", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "deletions": { + "name": "deletions", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "head_ref": { + "name": "head_ref", + "type": "text", + "primaryKey": false, + "notNull": false + }, + "closed_at": { + "name": "closed_at", + "type": "bigint", + "primaryKey": false, + "notNull": false + }, + "merged_by": { + "name": "merged_by", + "type": "text", + "primaryKey": false, + "notNull": false + }, + "base_ref": { + "name": "base_ref", + "type": "text", + "primaryKey": false, + "notNull": false + }, + "draft": { + "name": "draft", + "type": "boolean", + "primaryKey": false, + "notNull": false + }, + "changed_files": { + "name": "changed_files", + "type": "integer", + "primaryKey": false, + "notNull": false + }, + "commits": { + "name": "commits", + "type": "integer", + "primaryKey": false, + "notNull": false + }, + "head_owner": { + "name": "head_owner", + "type": "text", + "primaryKey": false, + "notNull": false + }, + "from_fork": { + "name": "from_fork", + "type": "boolean", + "primaryKey": false, + "notNull": false + }, + "labels": { + "name": "labels", + "type": "jsonb", + "primaryKey": false, + "notNull": false + }, + "review_decision": { + "name": "review_decision", + "type": "text", + "primaryKey": false, + "notNull": false + }, + "merge_commit": { + "name": "merge_commit", + "type": "text", + "primaryKey": false, + "notNull": false + }, + "comments": { + "name": "comments", + "type": "integer", + "primaryKey": false, + "notNull": false + } + }, + "indexes": { + "pull_requests_head": { + "name": "pull_requests_head", + "columns": [ + { + "expression": "repo_id", + "isExpression": false, + "asc": true, + "nulls": "last" + }, + { + "expression": "head_ref", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "with": {}, + "method": "btree", + "concurrently": false + } + }, + "foreignKeys": { + "pull_requests_repo_id_repositories_id_fk": { + "name": "pull_requests_repo_id_repositories_id_fk", + "tableFrom": "pull_requests", + "columnsFrom": [ + "repo_id" + ], + "tableTo": "repositories", + "columnsTo": [ + "id" + ], + "onUpdate": "no action", + "onDelete": "cascade" + } + }, + "compositePrimaryKeys": { + "pull_requests_repo_id_number_pk": { + "name": "pull_requests_repo_id_number_pk", + "columns": [ + "repo_id", + "number" + ] + } + }, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.pull_reviews": { + "name": "pull_reviews", + "schema": "", + "columns": { + "repo_id": { + "name": "repo_id", + "type": "text", + "primaryKey": false, + "notNull": true + }, + "number": { + "name": "number", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "reviewer": { + "name": "reviewer", + "type": "text", + "primaryKey": false, + "notNull": true + }, + "reviews": { + "name": "reviews", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "first_at": { + "name": "first_at", + "type": "bigint", + "primaryKey": false, + "notNull": true + }, + "last_at": { + "name": "last_at", + "type": "bigint", + "primaryKey": false, + "notNull": false + }, + "state": { + "name": "state", + "type": "text", + "primaryKey": false, + "notNull": false + }, + "approved_at": { + "name": "approved_at", + "type": "bigint", + "primaryKey": false, + "notNull": false + } + }, + "indexes": {}, + "foreignKeys": { + "pull_reviews_repo_id_repositories_id_fk": { + "name": "pull_reviews_repo_id_repositories_id_fk", + "tableFrom": "pull_reviews", + "columnsFrom": [ + "repo_id" + ], + "tableTo": "repositories", + "columnsTo": [ + "id" + ], + "onUpdate": "no action", + "onDelete": "cascade" + } + }, + "compositePrimaryKeys": { + "pull_reviews_repo_id_number_reviewer_pk": { + "name": "pull_reviews_repo_id_number_reviewer_pk", + "columns": [ + "repo_id", + "number", + "reviewer" + ] + } + }, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.rate_limits": { + "name": "rate_limits", + "schema": "", + "columns": { + "key": { + "name": "key", + "type": "text", + "primaryKey": true, + "notNull": true + }, + "count": { + "name": "count", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "until": { + "name": "until", + "type": "bigint", + "primaryKey": false, + "notNull": true + } + }, + "indexes": {}, + "foreignKeys": {}, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.repo_blobs": { + "name": "repo_blobs", + "schema": "", + "columns": { + "repo_id": { + "name": "repo_id", + "type": "text", + "primaryKey": false, + "notNull": true + }, + "sha": { + "name": "sha", + "type": "text", + "primaryKey": false, + "notNull": true + }, + "lines": { + "name": "lines", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "binary": { + "name": "binary", + "type": "boolean", + "primaryKey": false, + "notNull": true + } + }, + "indexes": {}, + "foreignKeys": { + "repo_blobs_repo_id_repositories_id_fk": { + "name": "repo_blobs_repo_id_repositories_id_fk", + "tableFrom": "repo_blobs", + "columnsFrom": [ + "repo_id" + ], + "tableTo": "repositories", + "columnsTo": [ + "id" + ], + "onUpdate": "no action", + "onDelete": "cascade" + } + }, + "compositePrimaryKeys": { + "repo_blobs_repo_id_sha_pk": { + "name": "repo_blobs_repo_id_sha_pk", + "columns": [ + "repo_id", + "sha" + ] + } + }, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.repo_branch_details": { + "name": "repo_branch_details", + "schema": "", + "columns": { + "repo_id": { + "name": "repo_id", + "type": "text", + "primaryKey": false, + "notNull": true + }, + "position": { + "name": "position", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "against": { + "name": "against", + "type": "text", + "primaryKey": false, + "notNull": true + }, + "commits": { + "name": "commits", + "type": "jsonb", + "primaryKey": false, + "notNull": true + }, + "commits_total": { + "name": "commits_total", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "files": { + "name": "files", + "type": "jsonb", + "primaryKey": false, + "notNull": true + }, + "files_total": { + "name": "files_total", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "added": { + "name": "added", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "removed": { + "name": "removed", + "type": "integer", + "primaryKey": false, + "notNull": true + } + }, + "indexes": {}, + "foreignKeys": { + "repo_branch_details_repo_id_repositories_id_fk": { + "name": "repo_branch_details_repo_id_repositories_id_fk", + "tableFrom": "repo_branch_details", + "columnsFrom": [ + "repo_id" + ], + "tableTo": "repositories", + "columnsTo": [ + "id" + ], + "onUpdate": "no action", + "onDelete": "cascade" + } + }, + "compositePrimaryKeys": { + "repo_branch_details_repo_id_position_pk": { + "name": "repo_branch_details_repo_id_position_pk", + "columns": [ + "repo_id", + "position" + ] + } + }, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.repo_branches": { + "name": "repo_branches", + "schema": "", + "columns": { + "repo_id": { + "name": "repo_id", + "type": "text", + "primaryKey": false, + "notNull": true + }, + "position": { + "name": "position", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "name": { + "name": "name", + "type": "text", + "primaryKey": false, + "notNull": true + }, + "sha": { + "name": "sha", + "type": "text", + "primaryKey": false, + "notNull": true + }, + "at": { + "name": "at", + "type": "bigint", + "primaryKey": false, + "notNull": true + }, + "author": { + "name": "author", + "type": "text", + "primaryKey": false, + "notNull": true + }, + "login": { + "name": "login", + "type": "text", + "primaryKey": false, + "notNull": false + }, + "subject": { + "name": "subject", + "type": "text", + "primaryKey": false, + "notNull": true + }, + "ahead": { + "name": "ahead", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "behind": { + "name": "behind", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "base": { + "name": "base", + "type": "text", + "primaryKey": false, + "notNull": true + }, + "base_at": { + "name": "base_at", + "type": "bigint", + "primaryKey": false, + "notNull": true + }, + "merged": { + "name": "merged", + "type": "boolean", + "primaryKey": false, + "notNull": true + }, + "squashed": { + "name": "squashed", + "type": "boolean", + "primaryKey": false, + "notNull": true, + "default": false + }, + "parent": { + "name": "parent", + "type": "text", + "primaryKey": false, + "notNull": false + }, + "shared": { + "name": "shared", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "bot": { + "name": "bot", + "type": "boolean", + "primaryKey": false, + "notNull": true, + "default": false + } + }, + "indexes": {}, + "foreignKeys": { + "repo_branches_repo_id_repositories_id_fk": { + "name": "repo_branches_repo_id_repositories_id_fk", + "tableFrom": "repo_branches", + "columnsFrom": [ + "repo_id" + ], + "tableTo": "repositories", + "columnsTo": [ + "id" + ], + "onUpdate": "no action", + "onDelete": "cascade" + } + }, + "compositePrimaryKeys": { + "repo_branches_repo_id_position_pk": { + "name": "repo_branches_repo_id_position_pk", + "columns": [ + "repo_id", + "position" + ] + } + }, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.repo_events": { + "name": "repo_events", + "schema": "", + "columns": { + "id": { + "name": "id", + "type": "text", + "primaryKey": true, + "notNull": true + }, + "repo_id": { + "name": "repo_id", + "type": "text", + "primaryKey": false, + "notNull": true + }, + "kind": { + "name": "kind", + "type": "text", + "primaryKey": false, + "notNull": true + }, + "actor": { + "name": "actor", + "type": "text", + "primaryKey": false, + "notNull": false + }, + "title": { + "name": "title", + "type": "text", + "primaryKey": false, + "notNull": false + }, + "url": { + "name": "url", + "type": "text", + "primaryKey": false, + "notNull": false + }, + "count": { + "name": "count", + "type": "integer", + "primaryKey": false, + "notNull": false + }, + "at": { + "name": "at", + "type": "bigint", + "primaryKey": false, + "notNull": true + } + }, + "indexes": { + "repo_events_repo_at": { + "name": "repo_events_repo_at", + "columns": [ + { + "expression": "repo_id", + "isExpression": false, + "asc": true, + "nulls": "last" + }, + { + "expression": "at", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "with": {}, + "method": "btree", + "concurrently": false + } + }, + "foreignKeys": { + "repo_events_repo_id_repositories_id_fk": { + "name": "repo_events_repo_id_repositories_id_fk", + "tableFrom": "repo_events", + "columnsFrom": [ + "repo_id" + ], + "tableTo": "repositories", + "columnsTo": [ + "id" + ], + "onUpdate": "no action", + "onDelete": "cascade" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.repo_git": { + "name": "repo_git", + "schema": "", + "columns": { + "repo_id": { + "name": "repo_id", + "type": "text", + "primaryKey": true, + "notNull": true + }, + "prefix": { + "name": "prefix", + "type": "text", + "primaryKey": false, + "notNull": true + }, + "build_id": { + "name": "build_id", + "type": "text", + "primaryKey": false, + "notNull": true + }, + "built_at": { + "name": "built_at", + "type": "bigint", + "primaryKey": false, + "notNull": true + }, + "head": { + "name": "head", + "type": "text", + "primaryKey": false, + "notNull": true + }, + "branch": { + "name": "branch", + "type": "text", + "primaryKey": false, + "notNull": true + }, + "branches": { + "name": "branches", + "type": "integer", + "primaryKey": false, + "notNull": true, + "default": 0 + }, + "tags": { + "name": "tags", + "type": "integer", + "primaryKey": false, + "notNull": true, + "default": 0 + }, + "files": { + "name": "files", + "type": "integer", + "primaryKey": false, + "notNull": true, + "default": 0 + }, + "stored": { + "name": "stored", + "type": "integer", + "primaryKey": false, + "notNull": true, + "default": 0 + }, + "pulls": { + "name": "pulls", + "type": "integer", + "primaryKey": false, + "notNull": true, + "default": 0 + }, + "bytes": { + "name": "bytes", + "type": "bigint", + "primaryKey": false, + "notNull": true, + "default": 0 + }, + "logged": { + "name": "logged", + "type": "integer", + "primaryKey": false, + "notNull": true, + "default": 0 + }, + "complete": { + "name": "complete", + "type": "boolean", + "primaryKey": false, + "notNull": true, + "default": false + }, + "seconds": { + "name": "seconds", + "type": "real", + "primaryKey": false, + "notNull": true, + "default": 0 + }, + "steps": { + "name": "steps", + "type": "text", + "primaryKey": false, + "notNull": true, + "default": "'[]'" + }, + "branches_total": { + "name": "branches_total", + "type": "integer", + "primaryKey": false, + "notNull": true, + "default": 0 + }, + "tags_total": { + "name": "tags_total", + "type": "integer", + "primaryKey": false, + "notNull": true, + "default": 0 + }, + "inferred": { + "name": "inferred", + "type": "boolean", + "primaryKey": false, + "notNull": true, + "default": false + } + }, + "indexes": {}, + "foreignKeys": { + "repo_git_repo_id_repositories_id_fk": { + "name": "repo_git_repo_id_repositories_id_fk", + "tableFrom": "repo_git", + "columnsFrom": [ + "repo_id" + ], + "tableTo": "repositories", + "columnsTo": [ + "id" + ], + "onUpdate": "no action", + "onDelete": "cascade" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.repo_names": { + "name": "repo_names", + "schema": "", + "columns": { + "id": { + "name": "id", + "type": "text", + "primaryKey": true, + "notNull": true + }, + "repo_id": { + "name": "repo_id", + "type": "text", + "primaryKey": false, + "notNull": true + }, + "at": { + "name": "at", + "type": "bigint", + "primaryKey": false, + "notNull": true + } + }, + "indexes": { + "repo_names_repo": { + "name": "repo_names_repo", + "columns": [ + { + "expression": "repo_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "with": {}, + "method": "btree", + "concurrently": false + } + }, + "foreignKeys": { + "repo_names_repo_id_repositories_id_fk": { + "name": "repo_names_repo_id_repositories_id_fk", + "tableFrom": "repo_names", + "columnsFrom": [ + "repo_id" + ], + "tableTo": "repositories", + "columnsTo": [ + "id" + ], + "onUpdate": "no action", + "onDelete": "cascade" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.repo_people": { + "name": "repo_people", + "schema": "", + "columns": { + "repo_id": { + "name": "repo_id", + "type": "text", + "primaryKey": false, + "notNull": true + }, + "person_id": { + "name": "person_id", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "name": { + "name": "name", + "type": "text", + "primaryKey": false, + "notNull": true + }, + "login": { + "name": "login", + "type": "text", + "primaryKey": false, + "notNull": false + }, + "commits": { + "name": "commits", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "lines_added": { + "name": "lines_added", + "type": "integer", + "primaryKey": false, + "notNull": false + }, + "lines_removed": { + "name": "lines_removed", + "type": "integer", + "primaryKey": false, + "notNull": false + }, + "first": { + "name": "first", + "type": "bigint", + "primaryKey": false, + "notNull": false + }, + "last": { + "name": "last", + "type": "bigint", + "primaryKey": false, + "notNull": false + }, + "report_key": { + "name": "report_key", + "type": "text", + "primaryKey": false, + "notNull": true + } + }, + "indexes": { + "repo_people_lower_login": { + "name": "repo_people_lower_login", + "columns": [ + { + "expression": "lower(\"login\")", + "isExpression": true, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "with": {}, + "method": "btree", + "concurrently": false + } + }, + "foreignKeys": { + "repo_people_repo_id_repositories_id_fk": { + "name": "repo_people_repo_id_repositories_id_fk", + "tableFrom": "repo_people", + "columnsFrom": [ + "repo_id" + ], + "tableTo": "repositories", + "columnsTo": [ + "id" + ], + "onUpdate": "no action", + "onDelete": "cascade" + } + }, + "compositePrimaryKeys": { + "repo_people_repo_id_person_id_pk": { + "name": "repo_people_repo_id_person_id_pk", + "columns": [ + "repo_id", + "person_id" + ] + } + }, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.repo_tags": { + "name": "repo_tags", + "schema": "", + "columns": { + "repo_id": { + "name": "repo_id", + "type": "text", + "primaryKey": false, + "notNull": true + }, + "position": { + "name": "position", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "name": { + "name": "name", + "type": "text", + "primaryKey": false, + "notNull": true + }, + "sha": { + "name": "sha", + "type": "text", + "primaryKey": false, + "notNull": true + }, + "at": { + "name": "at", + "type": "bigint", + "primaryKey": false, + "notNull": true + } + }, + "indexes": {}, + "foreignKeys": { + "repo_tags_repo_id_repositories_id_fk": { + "name": "repo_tags_repo_id_repositories_id_fk", + "tableFrom": "repo_tags", + "columnsFrom": [ + "repo_id" + ], + "tableTo": "repositories", + "columnsTo": [ + "id" + ], + "onUpdate": "no action", + "onDelete": "cascade" + } + }, + "compositePrimaryKeys": { + "repo_tags_repo_id_position_pk": { + "name": "repo_tags_repo_id_position_pk", + "columns": [ + "repo_id", + "position" + ] + } + }, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.repositories": { + "name": "repositories", + "schema": "", + "columns": { + "id": { + "name": "id", + "type": "text", + "primaryKey": true, + "notNull": true + }, + "owner": { + "name": "owner", + "type": "text", + "primaryKey": false, + "notNull": true + }, + "name": { + "name": "name", + "type": "text", + "primaryKey": false, + "notNull": true + }, + "github_id": { + "name": "github_id", + "type": "bigint", + "primaryKey": false, + "notNull": false + }, + "private": { + "name": "private", + "type": "boolean", + "primaryKey": false, + "notNull": true, + "default": false + }, + "status": { + "name": "status", + "type": "text", + "primaryKey": false, + "notNull": true, + "default": "'ok'" + }, + "facts": { + "name": "facts", + "type": "text", + "primaryKey": false, + "notNull": false + }, + "facts_at": { + "name": "facts_at", + "type": "bigint", + "primaryKey": false, + "notNull": false + }, + "size_kb": { + "name": "size_kb", + "type": "integer", + "primaryKey": false, + "notNull": false + }, + "report_key": { + "name": "report_key", + "type": "text", + "primaryKey": false, + "notNull": false + }, + "report_at": { + "name": "report_at", + "type": "bigint", + "primaryKey": false, + "notNull": false + }, + "report_bytes": { + "name": "report_bytes", + "type": "integer", + "primaryKey": false, + "notNull": false + }, + "report_lines": { + "name": "report_lines", + "type": "boolean", + "primaryKey": false, + "notNull": false + }, + "viewed_at": { + "name": "viewed_at", + "type": "bigint", + "primaryKey": false, + "notNull": false + }, + "installation_id": { + "name": "installation_id", + "type": "bigint", + "primaryKey": false, + "notNull": false + }, + "connected_by": { + "name": "connected_by", + "type": "text", + "primaryKey": false, + "notNull": false + }, + "seed": { + "name": "seed", + "type": "boolean", + "primaryKey": false, + "notNull": true, + "default": false + }, + "language": { + "name": "language", + "type": "text", + "primaryKey": false, + "notNull": false + }, + "stars": { + "name": "stars", + "type": "integer", + "primaryKey": false, + "notNull": false + }, + "bus_factor": { + "name": "bus_factor", + "type": "integer", + "primaryKey": false, + "notNull": false + }, + "maintainers": { + "name": "maintainers", + "type": "integer", + "primaryKey": false, + "notNull": false + }, + "commits_30d": { + "name": "commits_30d", + "type": "integer", + "primaryKey": false, + "notNull": false + }, + "code_lines": { + "name": "code_lines", + "type": "integer", + "primaryKey": false, + "notNull": false + }, + "pulls_at": { + "name": "pulls_at", + "type": "text", + "primaryKey": false, + "notNull": false + }, + "pulls_read_at": { + "name": "pulls_read_at", + "type": "bigint", + "primaryKey": false, + "notNull": false + }, + "pulls_cursor": { + "name": "pulls_cursor", + "type": "text", + "primaryKey": false, + "notNull": false + }, + "pulls_mark": { + "name": "pulls_mark", + "type": "text", + "primaryKey": false, + "notNull": false + }, + "pulls_version": { + "name": "pulls_version", + "type": "integer", + "primaryKey": false, + "notNull": true, + "default": 0 + }, + "index_id": { + "name": "index_id", + "type": "integer", + "primaryKey": false, + "notNull": false + }, + "report_meta": { + "name": "report_meta", + "type": "jsonb", + "primaryKey": false, + "notNull": false + }, + "report_stats": { + "name": "report_stats", + "type": "jsonb", + "primaryKey": false, + "notNull": false + } + }, + "indexes": { + "repositories_installation": { + "name": "repositories_installation", + "columns": [ + { + "expression": "installation_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "with": {}, + "method": "btree", + "concurrently": false + }, + "repositories_seed": { + "name": "repositories_seed", + "columns": [ + { + "expression": "seed", + "isExpression": false, + "asc": true, + "nulls": "last" + }, + { + "expression": "report_at", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "with": {}, + "method": "btree", + "concurrently": false + }, + "repositories_github_id": { + "name": "repositories_github_id", + "columns": [ + { + "expression": "github_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "with": {}, + "method": "btree", + "concurrently": false + } + }, + "foreignKeys": { + "repositories_connected_by_user_id_fk": { + "name": "repositories_connected_by_user_id_fk", + "tableFrom": "repositories", + "columnsFrom": [ + "connected_by" + ], + "tableTo": "user", + "columnsTo": [ + "id" + ], + "onUpdate": "no action", + "onDelete": "set null" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.session": { + "name": "session", + "schema": "", + "columns": { + "id": { + "name": "id", + "type": "text", + "primaryKey": true, + "notNull": true + }, + "expires_at": { + "name": "expires_at", + "type": "timestamp", + "primaryKey": false, + "notNull": true + }, + "token": { + "name": "token", + "type": "text", + "primaryKey": false, + "notNull": true + }, + "created_at": { + "name": "created_at", + "type": "timestamp", + "primaryKey": false, + "notNull": true, + "default": "now()" + }, + "updated_at": { + "name": "updated_at", + "type": "timestamp", + "primaryKey": false, + "notNull": true + }, + "ip_address": { + "name": "ip_address", + "type": "text", + "primaryKey": false, + "notNull": false + }, + "user_agent": { + "name": "user_agent", + "type": "text", + "primaryKey": false, + "notNull": false + }, + "user_id": { + "name": "user_id", + "type": "text", + "primaryKey": false, + "notNull": true + } + }, + "indexes": { + "session_user_id": { + "name": "session_user_id", + "columns": [ + { + "expression": "user_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "with": {}, + "method": "btree", + "concurrently": false + } + }, + "foreignKeys": { + "session_user_id_user_id_fk": { + "name": "session_user_id_user_id_fk", + "tableFrom": "session", + "columnsFrom": [ + "user_id" + ], + "tableTo": "user", + "columnsTo": [ + "id" + ], + "onUpdate": "no action", + "onDelete": "cascade" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": { + "session_token_unique": { + "name": "session_token_unique", + "columns": [ + "token" + ], + "nullsNotDistinct": false + } + }, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.shares": { + "name": "shares", + "schema": "", + "columns": { + "id": { + "name": "id", + "type": "text", + "primaryKey": true, + "notNull": true + }, + "bytes": { + "name": "bytes", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "created_at": { + "name": "created_at", + "type": "bigint", + "primaryKey": false, + "notNull": true + }, + "expires_at": { + "name": "expires_at", + "type": "bigint", + "primaryKey": false, + "notNull": true + }, + "delete_hash": { + "name": "delete_hash", + "type": "text", + "primaryKey": false, + "notNull": true + }, + "upload_hash": { + "name": "upload_hash", + "type": "text", + "primaryKey": false, + "notNull": false + }, + "uploaded": { + "name": "uploaded", + "type": "boolean", + "primaryKey": false, + "notNull": true, + "default": false + } + }, + "indexes": { + "shares_expires": { + "name": "shares_expires", + "columns": [ + { + "expression": "expires_at", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "with": {}, + "method": "btree", + "concurrently": false + } + }, + "foreignKeys": {}, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.stored_indexes": { + "name": "stored_indexes", + "schema": "", + "columns": { + "id": { + "name": "id", + "type": "serial", + "primaryKey": true, + "notNull": true + }, + "repo_id": { + "name": "repo_id", + "type": "text", + "primaryKey": false, + "notNull": true + }, + "lineage": { + "name": "lineage", + "type": "text", + "primaryKey": false, + "notNull": true + }, + "kept": { + "name": "kept", + "type": "boolean", + "primaryKey": false, + "notNull": true + }, + "state": { + "name": "state", + "type": "text", + "primaryKey": false, + "notNull": true + }, + "head": { + "name": "head", + "type": "text", + "primaryKey": false, + "notNull": false + }, + "frontier": { + "name": "frontier", + "type": "text[]", + "primaryKey": false, + "notNull": true, + "default": "'{}'" + }, + "lines": { + "name": "lines", + "type": "boolean", + "primaryKey": false, + "notNull": true + }, + "lines_left": { + "name": "lines_left", + "type": "integer", + "primaryKey": false, + "notNull": false + }, + "commits": { + "name": "commits", + "type": "integer", + "primaryKey": false, + "notNull": true, + "default": 0 + }, + "built_at": { + "name": "built_at", + "type": "bigint", + "primaryKey": false, + "notNull": true + }, + "loaded_at": { + "name": "loaded_at", + "type": "bigint", + "primaryKey": false, + "notNull": false + }, + "anchor": { + "name": "anchor", + "type": "bigint", + "primaryKey": false, + "notNull": true, + "default": 0 + }, + "options": { + "name": "options", + "type": "jsonb", + "primaryKey": false, + "notNull": true, + "default": "'{\"max_changeset_size\":50,\"coupling_support\":5,\"ownership_min_commits\":10}'::jsonb" + }, + "snapshot": { + "name": "snapshot", + "type": "jsonb", + "primaryKey": false, + "notNull": false + }, + "pack": { + "name": "pack", + "type": "text", + "primaryKey": false, + "notNull": false + } + }, + "indexes": { + "stored_indexes_repo": { + "name": "stored_indexes_repo", + "columns": [ + { + "expression": "repo_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "with": {}, + "method": "btree", + "concurrently": false + } + }, + "foreignKeys": { + "stored_indexes_repo_id_repositories_id_fk": { + "name": "stored_indexes_repo_id_repositories_id_fk", + "tableFrom": "stored_indexes", + "columnsFrom": [ + "repo_id" + ], + "tableTo": "repositories", + "columnsTo": [ + "id" + ], + "onUpdate": "no action", + "onDelete": "cascade" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.surviving": { + "name": "surviving", + "schema": "", + "columns": { + "repo_id": { + "name": "repo_id", + "type": "text", + "primaryKey": false, + "notNull": true + }, + "report_key": { + "name": "report_key", + "type": "text", + "primaryKey": false, + "notNull": true + }, + "person_id": { + "name": "person_id", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "status": { + "name": "status", + "type": "text", + "primaryKey": false, + "notNull": true + }, + "lines": { + "name": "lines", + "type": "integer", + "primaryKey": false, + "notNull": false + }, + "added": { + "name": "added", + "type": "integer", + "primaryKey": false, + "notNull": false + }, + "files": { + "name": "files", + "type": "integer", + "primaryKey": false, + "notNull": false + }, + "seconds": { + "name": "seconds", + "type": "real", + "primaryKey": false, + "notNull": false + }, + "head": { + "name": "head", + "type": "text", + "primaryKey": false, + "notNull": false + }, + "oldest": { + "name": "oldest", + "type": "bigint", + "primaryKey": false, + "notNull": false + }, + "asked_at": { + "name": "asked_at", + "type": "bigint", + "primaryKey": false, + "notNull": true + }, + "counted_at": { + "name": "counted_at", + "type": "bigint", + "primaryKey": false, + "notNull": false + } + }, + "indexes": { + "surviving_status": { + "name": "surviving_status", + "columns": [ + { + "expression": "status", + "isExpression": false, + "asc": true, + "nulls": "last" + }, + { + "expression": "asked_at", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "with": {}, + "method": "btree", + "concurrently": false + } + }, + "foreignKeys": { + "surviving_repo_id_repositories_id_fk": { + "name": "surviving_repo_id_repositories_id_fk", + "tableFrom": "surviving", + "columnsFrom": [ + "repo_id" + ], + "tableTo": "repositories", + "columnsTo": [ + "id" + ], + "onUpdate": "no action", + "onDelete": "cascade" + } + }, + "compositePrimaryKeys": { + "surviving_repo_id_report_key_person_id_pk": { + "name": "surviving_repo_id_report_key_person_id_pk", + "columns": [ + "repo_id", + "report_key", + "person_id" + ] + } + }, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.user": { + "name": "user", + "schema": "", + "columns": { + "id": { + "name": "id", + "type": "text", + "primaryKey": true, + "notNull": true + }, + "name": { + "name": "name", + "type": "text", + "primaryKey": false, + "notNull": true + }, + "email": { + "name": "email", + "type": "text", + "primaryKey": false, + "notNull": true + }, + "email_verified": { + "name": "email_verified", + "type": "boolean", + "primaryKey": false, + "notNull": true, + "default": false + }, + "image": { + "name": "image", + "type": "text", + "primaryKey": false, + "notNull": false + }, + "login": { + "name": "login", + "type": "text", + "primaryKey": false, + "notNull": false + }, + "created_at": { + "name": "created_at", + "type": "timestamp", + "primaryKey": false, + "notNull": true, + "default": "now()" + }, + "updated_at": { + "name": "updated_at", + "type": "timestamp", + "primaryKey": false, + "notNull": true, + "default": "now()" + } + }, + "indexes": {}, + "foreignKeys": {}, + "compositePrimaryKeys": {}, + "uniqueConstraints": { + "user_email_unique": { + "name": "user_email_unique", + "columns": [ + "email" + ], + "nullsNotDistinct": false + } + }, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.verification": { + "name": "verification", + "schema": "", + "columns": { + "id": { + "name": "id", + "type": "text", + "primaryKey": true, + "notNull": true + }, + "identifier": { + "name": "identifier", + "type": "text", + "primaryKey": false, + "notNull": true + }, + "value": { + "name": "value", + "type": "text", + "primaryKey": false, + "notNull": true + }, + "expires_at": { + "name": "expires_at", + "type": "timestamp", + "primaryKey": false, + "notNull": true + }, + "created_at": { + "name": "created_at", + "type": "timestamp", + "primaryKey": false, + "notNull": true, + "default": "now()" + }, + "updated_at": { + "name": "updated_at", + "type": "timestamp", + "primaryKey": false, + "notNull": true, + "default": "now()" + } + }, + "indexes": { + "verification_identifier": { + "name": "verification_identifier", + "columns": [ + { + "expression": "identifier", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "with": {}, + "method": "btree", + "concurrently": false + } + }, + "foreignKeys": {}, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + } + }, + "enums": {}, + "schemas": {}, + "views": {}, + "sequences": {}, + "roles": {}, + "policies": {}, + "_meta": { + "columns": {}, + "schemas": {}, + "tables": {} + } +} \ No newline at end of file diff --git a/packages/server/drizzle/meta/_journal.json b/packages/server/drizzle/meta/_journal.json index 4088d68..bd27b2d 100644 --- a/packages/server/drizzle/meta/_journal.json +++ b/packages/server/drizzle/meta/_journal.json @@ -239,6 +239,20 @@ "when": 1792959128187, "tag": "0033_marvelous_morg", "breakpoints": true + }, + { + "idx": 34, + "version": "7", + "when": 1793046306204, + "tag": "0034_pale_agent_brand", + "breakpoints": true + }, + { + "idx": 35, + "version": "7", + "when": 1793046314802, + "tag": "0035_organic_leopardon", + "breakpoints": true } ] } \ No newline at end of file diff --git a/packages/server/src/db/schema.ts b/packages/server/src/db/schema.ts index e760926..e6b70d1 100644 --- a/packages/server/src/db/schema.ts +++ b/packages/server/src/db/schema.ts @@ -520,6 +520,17 @@ export const indexCommits = pgTable( (t) => [primaryKey({ columns: [t.si, t.sha] }), index("index_commits_at").on(t.si, t.at), index("index_commits_signature").on(t.si, t.signature, t.at)], ); +export const indexCommitLines = pgTable( + "index_commit_lines", + { + si: si(), + sha: bytea("sha").notNull(), + added: integer("added").notNull(), + removed: integer("removed").notNull(), + }, + (t) => [primaryKey({ columns: [t.si, t.sha] })], +); + export const indexFiles = pgTable( "index_files", { diff --git a/packages/server/src/index-commits.ts b/packages/server/src/index-commits.ts index a849af8..cb502b1 100644 --- a/packages/server/src/index-commits.ts +++ b/packages/server/src/index-commits.ts @@ -1,7 +1,7 @@ import { and, count, desc, eq, ilike, or, sql, type SQL } from "drizzle-orm"; import { afterCommit, afterOf, pageLimit, seqOf, UNKNOWN_PERSON, wordsOf, type CommitPage, type CommitQuery, type CommitRow, type PersonRef } from "@commitscape/data"; import type { Db } from "./db/client"; -import { indexCommits, indexPeople, storedIndexes } from "./db/schema"; +import { indexCommitLines, indexCommits, indexPeople, storedIndexes } from "./db/schema"; export const COMMIT_KINDS = ["features", "fixes", "docs", "refactors", "tests", "performance", "style", "build and CI", "chores", "reverts", "other"]; @@ -80,11 +80,11 @@ export async function indexCommitPage(db: Db, ask: IndexCommitAsk): Promise`cardinality(${indexCommits.files})`.mapWith(Number), - added: sql`(SELECT sum(x) FROM unnest(${indexCommits.added}) AS x)`.mapWith((v) => (v === null ? null : Number(v))), - removed: sql`(SELECT sum(x) FROM unnest(${indexCommits.removed}) AS x)`.mapWith((v) => (v === null ? null : Number(v))), - hasLines: sql`${indexCommits.added} IS NOT NULL`, + added: indexCommitLines.added, + removed: indexCommitLines.removed, }) .from(indexCommits) + .leftJoin(indexCommitLines, and(eq(indexCommitLines.si, indexCommits.si), eq(indexCommitLines.sha, indexCommits.sha))) .where(and(...page)) .orderBy(desc(indexCommits.at), desc(indexCommits.sha)) .offset(skip) @@ -119,8 +119,8 @@ export async function indexCommitPage(db: Db, ask: IndexCommitAsk): Promise 1), - added: seed.lines === false ? null : (c.added ?? c.files.map(() => 1)), - removed: seed.lines === false ? null : (c.removed ?? c.files.map(() => 0)), })), ); + const total = (list: number[]) => list.reduce((a, b) => a + b, 0); + if (seed.commits.length && seed.lines !== false) + await db.insert(indexCommitLines).values( + seed.commits.map((c) => ({ si, sha: Buffer.from(c.sha, "hex"), added: total(c.added ?? c.files.map(() => 1)), removed: total(c.removed ?? []) })), + ); await db.update(repositories).set({ indexId: si }).where(eq(repositories.id, repoId)); return si; } diff --git a/packages/server/src/stored-index.test.ts b/packages/server/src/stored-index.test.ts index f674dee..a740a47 100644 --- a/packages/server/src/stored-index.test.ts +++ b/packages/server/src/stored-index.test.ts @@ -9,7 +9,7 @@ import { migrate } from "drizzle-orm/pglite/migrator"; import { afterAll, describe, expect, test } from "vitest"; import { createDb, runMigrations, type Db } from "./db/client"; import * as schema from "./db/schema"; -import { indexCommits, indexFiles, indexFolders, indexPeople, repositories, storedIndexes } from "./db/schema"; +import { indexCommitLines, indexCommits, indexFiles, indexFolders, indexPeople, repositories, storedIndexes } from "./db/schema"; import { appendable, EXPORT_FORMAT, listenForLoads, liveIndex, loadExport, type ExportManifest } from "./stored-index"; const url = process.env.TEST_DATABASE_URL; @@ -81,9 +81,11 @@ test("deleting a Stored Index deletes its rows, with no foreign key checked on e const [row] = await db.insert(storedIndexes).values({ repoId: "acme/rocket", lineage: "1", kept: true, state: "live", lines: true, builtAt: 1 }).returning({ id: storedIndexes.id }); const si = row?.id ?? 0; await db.insert(indexCommits).values({ si, sha: Buffer.from(hex(1), "hex"), at: 1, offset: 0, authorDelta: 0, signature: 0, kind: 10, flags: 0, subject: "", files: [], changes: [] }); + await db.insert(indexCommitLines).values({ si, sha: Buffer.from(hex(1), "hex"), added: 3, removed: 1 }); await db.insert(indexFiles).values({ si, file: 0, path: "a", folder: 0, born: 1, last: 1, alive: true }); await db.delete(repositories).where(eq(repositories.id, "acme/rocket")); expect(await db.select().from(indexCommits)).toEqual([]); + expect(await db.select().from(indexCommitLines)).toEqual([]); expect(await db.select().from(indexFiles)).toEqual([]); }); @@ -101,8 +103,9 @@ describe.skipIf(!url)("loading an export into Postgres", async () => { const commitRows = (si: number) => db - .select({ sha: sql`encode(${indexCommits.sha}, 'hex')`, flags: indexCommits.flags, arrival: indexCommits.arrival, added: indexCommits.added }) + .select({ sha: sql`encode(${indexCommits.sha}, 'hex')`, flags: indexCommits.flags, arrival: indexCommits.arrival, added: indexCommitLines.added, removed: indexCommitLines.removed }) .from(indexCommits) + .leftJoin(indexCommitLines, and(eq(indexCommitLines.si, indexCommits.si), eq(indexCommitLines.sha, indexCommits.sha))) .where(eq(indexCommits.si, si)) .orderBy(asc(indexCommits.at)); @@ -114,9 +117,9 @@ describe.skipIf(!url)("loading an export into Postgres", async () => { const live = await liveIndex(db, repo); expect(live).toMatchObject({ id: loaded.si, lineage: "7", lines: true, kept: true }); expect(await db.select({ person: indexPeople.person, login: indexPeople.login }).from(indexPeople).where(eq(indexPeople.si, loaded.si))).toHaveLength(2); - expect((await commitRows(loaded.si)).map((r) => [r.flags, r.arrival])).toEqual([ - [24, 86_400], - [8, 3 * 86_400], + expect((await commitRows(loaded.si)).map((r) => [r.flags, r.arrival, r.added, r.removed])).toEqual([ + [24, 86_400, 7, 0], + [8, 3 * 86_400, 5, 0], ]); const [index] = await db.select({ snapshot: storedIndexes.snapshot }).from(storedIndexes).where(eq(storedIndexes.id, loaded.si)); expect(index?.snapshot?.release_shas).toEqual({ "v1.0": hex(2) }); @@ -159,7 +162,7 @@ describe.skipIf(!url)("loading an export into Postgres", async () => { const filled = await loadExport(pool, repo, writeExport({ full: false, lines: true, total: 2 }, [], { lines: [{ n: 1, added: [9] }, { n: 2, added: [1, 1] }] })); expect(filled).toMatchObject({ si: quick.si, commits: 0, lines: 1 }); expect(await liveIndex(db, repo)).toMatchObject({ id: quick.si, lines: true, linesLeft: 0 }); - expect((await commitRows(quick.si)).map((r) => r.added)).toEqual([[9], [7, 8]]); + expect((await commitRows(quick.si)).map((r) => r.added)).toEqual([9, 15]); expect(await db.select().from(storedIndexes).where(eq(storedIndexes.repoId, repo))).toHaveLength(1); }); @@ -169,6 +172,7 @@ describe.skipIf(!url)("loading an export into Postgres", async () => { expect(loaded.si).not.toBe(before?.id); expect(await db.select().from(storedIndexes).where(eq(storedIndexes.repoId, repo))).toHaveLength(1); expect(await db.select().from(indexCommits).where(and(eq(indexCommits.si, before?.id ?? -1)))).toHaveLength(0); + expect(await db.select().from(indexCommitLines).where(eq(indexCommitLines.si, before?.id ?? -1))).toHaveLength(0); }); test("an export of what is new from another lineage is refused and changes nothing", async () => { diff --git a/packages/server/src/stored-index.ts b/packages/server/src/stored-index.ts index 03d5aa4..7540d70 100644 --- a/packages/server/src/stored-index.ts +++ b/packages/server/src/stored-index.ts @@ -2,7 +2,7 @@ import { createReadStream, existsSync } from "node:fs"; import { readFile } from "node:fs/promises"; import { join } from "node:path"; import { pipeline } from "node:stream/promises"; -import { count, eq, sql } from "drizzle-orm"; +import { count, eq, sql, type SQL } from "drizzle-orm"; import { drizzle } from "drizzle-orm/node-postgres"; import pg from "pg"; import { from as copyFrom } from "pg-copy-streams"; @@ -148,10 +148,17 @@ function rowCount(result: unknown): number { async function merge(db: Db, si: number, manifest: ExportManifest): Promise<{ mainline: number; lines: number }> { await db.execute(sql` - INSERT INTO index_commits (si, sha, at, "offset", author_delta, signature, kind, flags, arrival, subject, files, changes, added, removed) - SELECT ${si}, sha, at, "offset", author_delta, signature, kind, flags, arrival, subject, files, changes, added, removed FROM s_commits - ON CONFLICT (si, sha) DO UPDATE SET added = excluded.added, removed = excluded.removed - WHERE index_commits.added IS NULL AND excluded.added IS NOT NULL`); + INSERT INTO index_commits (si, sha, at, "offset", author_delta, signature, kind, flags, arrival, subject, files, changes) + SELECT ${si}, sha, at, "offset", author_delta, signature, kind, flags, arrival, subject, files, changes FROM s_commits + ON CONFLICT (si, sha) DO NOTHING`); + const lines = (from: SQL) => + db.execute(sql` + INSERT INTO index_commit_lines (si, sha, added, removed) + SELECT ${si}, l.sha, coalesce((SELECT sum(x) FROM unnest(l.added) AS x), 0), coalesce((SELECT sum(x) FROM unnest(l.removed) AS x), 0) + FROM ${from} l JOIN index_commits c ON c.si = ${si} AND c.sha = l.sha + WHERE l.added IS NOT NULL + ON CONFLICT (si, sha) DO NOTHING`); + await lines(sql`s_commits`); const changed = { mainline: 0, lines: 0 }; if (!manifest.full) { changed.mainline = rowCount( @@ -159,11 +166,7 @@ async function merge(db: Db, si: number, manifest: ExportManifest): Promise<{ ma UPDATE index_commits c SET flags = m.flags, arrival = m.arrival FROM s_mainline m WHERE c.si = ${si} AND c.sha = m.sha AND (c.flags <> m.flags OR c.arrival IS DISTINCT FROM m.arrival)`), ); - changed.lines = rowCount( - await db.execute(sql` - UPDATE index_commits c SET added = l.added, removed = l.removed FROM s_lines l - WHERE c.si = ${si} AND c.sha = l.sha AND c.added IS NULL`), - ); + changed.lines = rowCount(await lines(sql`s_lines`)); } await db.execute(sql` WITH existing AS (SELECT id, path FROM index_folders WHERE si = ${si}), From 6da100f5e54a1b80ac8382374fb54ad0108538cb Mon Sep 17 00:00:00 2001 From: Dev Talan <84081651+devchaudhary24k@users.noreply.github.com> Date: Tue, 27 Oct 2026 04:09:37 +0530 Subject: [PATCH 06/82] perf: send only the Mainline that moved and the lines counted since the last load A warm export resent every commit's Mainline and every counted commit's Lines Changed: 104 MB for a linux Build that counted 30 s more lines. Each export now leaves a mark in its manifest: the head its Mainline was worked out from, how far the line store's log had got with a hash of it, and a fingerprint of what else the rows depend on (the format, the Bulk Commit size, the commits blame passes through, a cut-short history). The Site keeps it on stored_indexes.mark and the Builder hands it back with --since. While it holds, mainline.tsv holds only the commits whose Mainline moved since that head, and lines.tsv only the commits counted into the log since; anything that does not match sends everything as before. Full exports no longer write mainline.tsv, which the loader never read. Export format 4. linux: 104 MB to 8 MB (the lines counted in that run) and 9 s to 4.9 s of Postgres; react with nothing new: 5.6 MB to nothing, 1.0 s to 0.17 s. --- apps/builder/src/builder.test.ts | 7 +- apps/builder/src/fake.ts | 2 + apps/builder/src/run.ts | 2 +- .../commitscape-index/src/cache/line_store.rs | 37 + crates/commitscape-index/src/cache/mod.rs | 2 +- crates/commitscape-index/src/lib.rs | 2 +- crates/commitscape-index/src/mainline.rs | 91 +- crates/commitscape-index/tests/lines.rs | 34 +- crates/commitscape-index/tests/mainline.rs | 55 + crates/commitscape-report/src/export.rs | 105 +- crates/commitscape/src/build.rs | 73 +- crates/commitscape/src/main.rs | 1 + crates/commitscape/src/mark.rs | 108 + crates/commitscape/tests/build.rs | 76 +- docs/index-in-postgres.md | 6 +- docs/working.md | 7 +- packages/server/drizzle/0036_past_swarm.sql | 1 + .../server/drizzle/meta/0036_snapshot.json | 3343 +++++++++++++++++ packages/server/drizzle/meta/_journal.json | 7 + packages/server/src/db/schema.ts | 1 + packages/server/src/stored-index.test.ts | 9 +- packages/server/src/stored-index.ts | 9 +- 22 files changed, 3908 insertions(+), 70 deletions(-) create mode 100644 crates/commitscape/src/mark.rs create mode 100644 packages/server/drizzle/0036_past_swarm.sql create mode 100644 packages/server/drizzle/meta/0036_snapshot.json diff --git a/apps/builder/src/builder.test.ts b/apps/builder/src/builder.test.ts index 8a956ae..87a5b4c 100644 --- a/apps/builder/src/builder.test.ts +++ b/apps/builder/src/builder.test.ts @@ -78,7 +78,7 @@ function fake(answer: (call: Call) => Ran | Promise = () => ok, built: Fake load: async (dir): Promise => { const m = await readManifest(dir); loads.push({ full: m.full, lines: m.lines_mainline }); - index.live = { id: 1, lineage: m.lineage, kept: true, frontier: m.frontier, lines: m.lines_mainline, linesLeft: m.lines_left, head: m.head, pack: null }; + index.live = { id: 1, lineage: m.lineage, kept: true, frontier: m.frontier, lines: m.lines_mainline, linesLeft: m.lines_left, head: m.head, pack: null, mark: m.mark }; return { si: 1, full: m.full, commits: m.commits, total: m.total, mainline: 0, lines: 0, seconds: 0 }; }, }, @@ -127,6 +127,7 @@ test("a cold Build clones quickly without old contents and in full at once, publ expect(second?.args).not.toContain("--no-lines"); expect(flagOf(second?.args ?? [], "--lines-budget")).toBe("120"); expect(flagOf(second?.args ?? [], "--lineage")).toBe("7"); + expect(flagOf(second?.args ?? [], "--since")).toBe(`${"a".repeat(40)}.-.-.0`); expect(second?.args.at(-1)).toBe(full); for (const call of f.calls.filter((c) => c.cmd !== "git")) { expect(flagOf(call.args, "--cache-dir")).toBe(join(work, "caches", "acme", "rocket")); @@ -152,7 +153,7 @@ test("a warm Build brings the kept clone up to date and goes straight to the ful const work = await mkdtemp(join(tmpdir(), "builder-")); const full = join(work, "repos", "acme", "rocket", "full"); await mkdir(join(full, ".git"), { recursive: true }); - const f = fake(() => ok, {}, { id: 1, lineage: "7", kept: true, frontier: ["b".repeat(40)], lines: true, linesLeft: 0, head: "b".repeat(40), pack: "packs/acme/rocket/1/b-lines.pack" }); + const f = fake(() => ok, {}, { id: 1, lineage: "7", kept: true, frontier: ["b".repeat(40)], lines: true, linesLeft: 0, head: "b".repeat(40), pack: "packs/acme/rocket/1/b-lines.pack", mark: null }); const outcome = await build(req(), cfg(work), f.deps); expect(outcome).toMatchObject({ published: "full", kind: "warm" }); expect(commands(f.calls)).toEqual(["git rev-parse", "git fetch", "git reset", "signatures", "build"]); @@ -168,7 +169,7 @@ test("a warm Build brings the kept clone up to date and goes straight to the ful test("a cold Build of a repository whose Stored Index has lines skips the quick phase, and so does one whose Report has them", async () => { const work = await mkdtemp(join(tmpdir(), "builder-")); - const f = fake(() => ok, {}, { id: 1, lineage: "7", kept: true, frontier: ["b".repeat(40)], lines: true, linesLeft: 3, head: "b".repeat(40), pack: null }); + const f = fake(() => ok, {}, { id: 1, lineage: "7", kept: true, frontier: ["b".repeat(40)], lines: true, linesLeft: 3, head: "b".repeat(40), pack: null, mark: null }); expect(await build(req(), cfg(work), f.deps)).toMatchObject({ published: "full", kind: "cold" }); expect(commands(f.calls)).toEqual(["git clone", "git commit-graph", "signatures", "build"]); expect(f.published).toEqual(["full"]); diff --git a/apps/builder/src/fake.ts b/apps/builder/src/fake.ts index aa3a4c6..7a43fc1 100644 --- a/apps/builder/src/fake.ts +++ b/apps/builder/src/fake.ts @@ -35,6 +35,8 @@ export async function writeBuilt(args: string[], over: FakeBuild = {}): Promise< max_changeset_size: 50, coupling_support: 5, ownership_min_commits: 10, + mark: `${head}.${noLines ? "-.-" : `${total}.1`}.0`, + changes_only: after && args.includes("--since"), }; const summary: Summary = { meta: { name: "rocket", windows: ["all"], window: "all", anchor: 1, history: "complete", lines: noLines ? "off" : "counted", avatars: false }, diff --git a/apps/builder/src/run.ts b/apps/builder/src/run.ts index eba1fd7..e4fe23d 100644 --- a/apps/builder/src/run.ts +++ b/apps/builder/src/run.ts @@ -204,7 +204,7 @@ export async function build(req: BuildTarget, cfg: Config, deps: Deps): Promise< if (appendable(before)) { const frontier = join(scratch, `${phase}.frontier`); await writeFile(frontier, before.frontier.join("\n")); - args.push("--after", frontier, "--lineage", before.lineage); + args.push("--after", frontier, "--lineage", before.lineage, ...(before.mark ? ["--since", before.mark] : [])); } args.push("--", dir); const t = Date.now(); diff --git a/crates/commitscape-index/src/cache/line_store.rs b/crates/commitscape-index/src/cache/line_store.rs index 6e4a90c..8fae4fe 100644 --- a/crates/commitscape-index/src/cache/line_store.rs +++ b/crates/commitscape-index/src/cache/line_store.rs @@ -3,6 +3,7 @@ use std::path::{Path, PathBuf}; use commitscape_core::{LineDelta, Oid, RepoIdentity}; use foldhash::{HashMap, HashMapExt}; +use xxhash_rust::xxh3::xxh3_64; use super::CacheOptions; @@ -16,6 +17,12 @@ pub struct LineStore { pub type Counted = HashMap>>; +#[derive(Debug, Clone, Copy, PartialEq, Eq)] +pub struct LogMark { + pub len: u64, + pub hash: u64, +} + impl LineStore { pub fn for_repo(options: &CacheOptions, repo: &RepoIdentity) -> Option { Some(LineStore { @@ -42,6 +49,36 @@ impl LineStore { counted } + /// Where the store's log ends now, and the commits counted into it after `mark`, an earlier end: `None` when the log no longer begins with what `mark` covered. + pub fn since(&self, mark: Option) -> (LogMark, Option>) { + let bytes = std::fs::read(self.path()).unwrap_or_default(); + let from = mark.map_or(0, |m| m.len); + let mut after = Vec::new(); + let mut whole = 0usize; + if let Some(mut rest) = bytes.strip_prefix(MAGIC) { + whole = MAGIC.len(); + while let Some((id, _, next)) = record(rest) { + if whole as u64 >= from { + after.push(id); + } + whole += rest.len() - next.len(); + rest = next; + } + } + let hash_of = |len: u64| { + usize::try_from(len) + .ok() + .and_then(|n| bytes.get(..n.min(whole)).filter(|b| b.len() == n)) + .map(xxh3_64) + }; + let now = LogMark { + len: whole as u64, + hash: hash_of(whole as u64).unwrap_or_default(), + }; + let held = mark.filter(|m| hash_of(m.len) == Some(m.hash)); + (now, held.map(|_| after)) + } + pub fn append(&self, counted: &[(Oid, Vec>)]) -> io::Result<()> { let mut out = Vec::new(); for (id, deltas) in counted { diff --git a/crates/commitscape-index/src/cache/mod.rs b/crates/commitscape-index/src/cache/mod.rs index 315b826..d44c896 100644 --- a/crates/commitscape-index/src/cache/mod.rs +++ b/crates/commitscape-index/src/cache/mod.rs @@ -19,7 +19,7 @@ use format::{BlockEntry, Head, Previous, SortedIds, Unusable}; pub use blame_store::{BlameStore, Known, Moved}; pub use identity_store::IdentityStore; pub(crate) use line_store::Counted; -pub use line_store::LineStore; +pub use line_store::{LineStore, LogMark}; pub use location::default_cache_root; const LOAD_LOCK: &str = "index.load"; diff --git a/crates/commitscape-index/src/lib.rs b/crates/commitscape-index/src/lib.rs index 32c0a2a..7ee3330 100644 --- a/crates/commitscape-index/src/lib.rs +++ b/crates/commitscape-index/src/lib.rs @@ -20,7 +20,7 @@ mod threads; pub use build::IndexBuilder; pub use cache::{ default_cache_root, load, repo_dir, BlameStore, CacheOptions, Freshness, IdentityStore, - LineStore, Loaded, Progress, RebuildReason, + LineStore, Loaded, LogMark, Progress, RebuildReason, }; pub use commitscape_core::LinePass; pub use gix_source::{GixError, GixRepo, GixThreads}; diff --git a/crates/commitscape-index/src/mainline.rs b/crates/commitscape-index/src/mainline.rs index 9b7d96b..198efef 100644 --- a/crates/commitscape-index/src/mainline.rs +++ b/crates/commitscape-index/src/mainline.rs @@ -16,29 +16,25 @@ pub struct Mainline { /// Works out the Mainline of an Index from its repository's HEAD: which commits HEAD reaches (bit 8), which are on its first-parent line (bit 16), and when each reached the default branch, aligned with `index.commits`. pub fn mainline(source: &S, index: &Index) -> Result { + Ok(mainline_since(source, index, None)?.0) +} + +/// Works out the Mainline as `mainline` does, and which commits' Mainline moved since it was worked out from `before`, an earlier HEAD: `None` when `before` is not in HEAD's history. +pub fn mainline_since( + source: &S, + index: &Index, + before: Option, +) -> Result<(Mainline, Option>), S::Error> { let span = tracing::info_span!("mainline", reachable = Empty, first_parent = Empty); let _entered = span.enter(); let mut graph = Graph::default(); let head = source.head_history(&mut |id, time, parents| graph.push(id, time, parents))?; - let (bits, arrival) = graph.mainline(head); - let mut at: HashMap = HashMap::with_capacity(index.commits.len()); for (i, c) in index.commits.iter().enumerate() { at.insert(c.id, i); } - let mut out = Mainline { - bits: vec![0; index.commits.len()], - arrival: vec![None; index.commits.len()], - }; - for ((id, b), a) in graph.ids.iter().zip(bits).zip(arrival) { - let Some(&i) = at.get(id) else { - continue; - }; - if let (Some(slot), Some(when)) = (out.bits.get_mut(i), out.arrival.get_mut(i)) { - *slot = b; - *when = a; - } - } + let (bits, arrival) = graph.mainline(head); + let out = graph.place(&at, index.commits.len(), bits, arrival); span.record( "reachable", out.bits.iter().filter(|b| *b & REACHABLE != 0).count(), @@ -47,7 +43,28 @@ pub fn mainline(source: &S, index: &Index) -> Result, + len: usize, + bits: Vec, + arrival: Vec>, + ) -> Mainline { + let mut out = Mainline { + bits: vec![0; len], + arrival: vec![None; len], + }; + for ((id, b), a) in self.ids.iter().zip(bits).zip(arrival) { + let Some(&i) = at.get(id) else { + continue; + }; + if let (Some(slot), Some(when)) = (out.bits.get_mut(i), out.arrival.get_mut(i)) { + *slot = b; + *when = a; + } + } + out + } + + fn reached_from(&self, from: Oid) -> Option> { + let at: HashMap = self + .ids + .iter() + .enumerate() + .map(|(i, id)| (*id, i)) + .collect(); + let mut reached = vec![false; self.ids.len()]; + let mut stack = vec![*at.get(&from)?]; + while let Some(i) = stack.pop() { + match reached.get_mut(i) { + Some(r) if !*r => *r = true, + _ => continue, + } + stack.extend(self.parents_of(i).iter().filter_map(|p| at.get(p).copied())); + } + Some(reached) + } + fn parents_of(&self, i: usize) -> &[Oid] { let start = match i { 0 => 0, diff --git a/crates/commitscape-index/tests/lines.rs b/crates/commitscape-index/tests/lines.rs index e23d191..2860514 100644 --- a/crates/commitscape-index/tests/lines.rs +++ b/crates/commitscape-index/tests/lines.rs @@ -3,7 +3,7 @@ use commitscape_core::{LineDelta, Oid}; use commitscape_index::source::RawChangeKind::{Added, Deleted, Modified}; use commitscape_index::{ - index_from_scratch, line_pass, CacheOptions, LinePlan, LineStore, ScriptedRepo, + index_from_scratch, line_pass, CacheOptions, LinePlan, LineStore, LogMark, ScriptedRepo, }; const ALICE: (&str, &str) = ("Alice Example", "alice@example.com"); @@ -283,3 +283,35 @@ fn a_spent_budget_counts_nothing_and_the_next_run_carries_on() { assert_eq!(asked.last(), Some(&(3, 3))); assert_eq!((rest.counted, rest.left), (3, 0)); } + +#[test] +fn the_log_names_what_was_counted_after_a_mark_and_refuses_a_mark_it_does_not_begin_with() { + let dir = tempfile::tempdir().expect("temp dir"); + let options = CacheOptions { + root: Some(dir.path().to_path_buf()), + key: None, + }; + let idx = index_from_scratch(&repo()).expect("indexing"); + let store = LineStore::for_repo(&options, &idx.repo).expect("a store"); + let (empty, all) = store.since(None); + assert_eq!(all, None); + store + .append(&[(blob(1), vec![d(1, 0)]), (blob(2), vec![d(2, 1)])]) + .expect("append"); + let (first, after_empty) = store.since(Some(empty)); + assert_eq!(after_empty, Some(vec![blob(1), blob(2)])); + store.append(&[(blob(3), vec![None])]).expect("append"); + let (second, after_first) = store.since(Some(first)); + assert_eq!(after_first, Some(vec![blob(3)])); + assert_eq!(store.since(Some(second)).1, Some(vec![])); + let forged = LogMark { + hash: first.hash ^ 1, + ..first + }; + assert_eq!(store.since(Some(forged)).1, None); + let past = LogMark { + len: second.len + 1, + ..second + }; + assert_eq!(store.since(Some(past)).1, None); +} diff --git a/crates/commitscape-index/tests/mainline.rs b/crates/commitscape-index/tests/mainline.rs index efdcd07..1fb8de6 100644 --- a/crates/commitscape-index/tests/mainline.rs +++ b/crates/commitscape-index/tests/mainline.rs @@ -5,6 +5,7 @@ use std::path::PathBuf; use std::process::Command; use commitscape_core::{Index, Oid}; +use commitscape_index::mainline::mainline_since; use commitscape_index::mainline::{FIRST_PARENT, REACHABLE}; use commitscape_index::{index_from_scratch, mainline, GixRepo, ScriptedRepo}; @@ -212,3 +213,57 @@ fn the_mainline_of_every_fixture_is_what_the_builder_worked_out_from_git() { } assert!(reachable > 50); } + +fn moved(build: fn() -> ScriptedRepo, before: u32, after: u32) -> Option> { + let now = build().at(after); + let index = index_from_scratch(&build()).expect("indexing"); + let then = mainline(&build().at(before), &index).expect("the earlier mainline"); + let (found, moved) = + mainline_since(&now, &index, Some(now.commit_id(before))).expect("the mainline since"); + let by_hand = mainline(&now, &index).expect("the mainline"); + assert_eq!(found, by_hand); + let expected: Vec = (0..index.commits.len()) + .map(|i| (by_hand.bits[i], by_hand.arrival[i]) != (then.bits[i], then.arrival[i])) + .collect(); + if let Some(m) = &moved { + assert_eq!(m, &expected); + } + moved +} + +fn twice_merged() -> ScriptedRepo { + ScriptedRepo::new() + .commit(10, A, &[]) + .commit(30, A, &[]) + .commit(50, A, &[]) + .commit(80, A, &[]) + .at(1) + .commit(40, A, &[]) + .merge(60, A, 3, &[]) + .commit(70, A, &[]) + .merge(90, A, 4, &[]) + .commit(100, A, &[]) + .at(9) + .commit(110, A, &[]) +} + +#[test] +fn the_mainline_since_an_earlier_head_names_the_commits_a_later_merge_moved_and_no_others() { + let moved = moved(twice_merged, 6, 8).expect("the earlier head is in the history"); + assert_eq!(moved.iter().filter(|m| **m).count(), 3); + assert_eq!( + self::moved(twice_merged, 8, 8).expect("the same head"), + vec![false; moved.len()] + ); +} + +#[test] +fn a_head_whose_first_parent_line_changed_moves_the_commits_that_left_the_line() { + let moved = moved(twice_merged, 3, 6).expect("the earlier head is in the history"); + assert_eq!(moved.iter().filter(|m| **m).count(), 4); +} + +#[test] +fn an_earlier_head_the_history_no_longer_holds_moves_everything() { + assert_eq!(moved(twice_merged, 10, 9), None); +} diff --git a/crates/commitscape-report/src/export.rs b/crates/commitscape-report/src/export.rs index 47e5b9a..49cc40c 100644 --- a/crates/commitscape-report/src/export.rs +++ b/crates/commitscape-report/src/export.rs @@ -13,7 +13,7 @@ use serde::Serialize; use crate::api; -pub const FORMAT: u32 = 3; +pub const FORMAT: u32 = 4; const REACHABLE: u8 = 8; @@ -27,10 +27,18 @@ pub struct Export<'a> { pub lines: Option>, pub mainline: Mainline<'a>, pub known: Option<&'a HashSet>, + pub since: Since<'a>, + pub mark: String, pub lineage: u64, pub kept: bool, } +#[derive(Debug, Clone, Copy, Default)] +pub struct Since<'a> { + pub moved: Option<&'a [bool]>, + pub counted: Option<&'a HashSet>, +} + #[derive(Debug, Clone, Copy)] pub struct Lines<'a> { pub settled: &'a [bool], @@ -72,9 +80,11 @@ pub struct Manifest { pub max_changeset_size: u32, pub coupling_support: u32, pub ownership_min_commits: u32, + pub mark: String, + pub changes_only: bool, } -/// Writes the Index, or what is new since the commits the Site already holds, as Postgres `COPY` text files and a manifest: new commits, every commit's Mainline, and the Lines Changed of earlier commits now settled. +/// Writes the Index, or what is new since the commits the Site already holds, as Postgres `COPY` text files and a manifest: new commits, the Mainline of earlier commits, and the Lines Changed of earlier commits now settled; only what moved and what was counted after the Site's mark, when it still holds. pub fn write(e: &Export<'_>, dir: &Path) -> std::io::Result { std::fs::create_dir_all(dir)?; let index = e.index; @@ -115,6 +125,8 @@ pub fn write(e: &Export<'_>, dir: &Path) -> std::io::Result { max_changeset_size: e.options.max_changeset_size, coupling_support: e.options.coupling_support, ownership_min_commits: e.options.ownership_min_commits, + mark: e.mark.clone(), + changes_only: !full && e.since.moved.is_some() && e.since.counted.is_some(), }; let json = serde_json::to_vec_pretty(&manifest).map_err(std::io::Error::other)?; std::fs::write(dir.join("manifest.json"), json)?; @@ -312,13 +324,22 @@ fn lines_of(out: &mut Copy, changes: &[FileChange], settled: bool) { fn write_mainline(dir: &Path, index: &Index, e: &Export<'_>) -> std::io::Result<()> { let mut out = Copy::create(dir, "mainline.tsv")?; - for (at, c) in index.commits.iter().enumerate() { - out.oid(c.id).num(c.flags.0 | e.mainline.bits(at)); - match e.mainline.arrival(at) { - Some(t) => out.num(t), - None => out.null(), - }; - out.end()?; + if let Some(known) = e.known { + for (at, c) in index.commits.iter().enumerate() { + let moved = e + .since + .moved + .is_none_or(|m| m.get(at).copied().unwrap_or(true)); + if !moved || !known.contains(&c.id) { + continue; + } + out.oid(c.id).num(c.flags.0 | e.mainline.bits(at)); + match e.mainline.arrival(at) { + Some(t) => out.num(t), + None => out.null(), + }; + out.end()?; + } } out.finish() } @@ -327,7 +348,8 @@ fn write_lines(dir: &Path, index: &Index, e: &Export<'_>) -> std::io::Result<()> let mut out = Copy::create(dir, "lines.tsv")?; if let Some(known) = e.known { for (at, c) in index.commits.iter().enumerate() { - if !known.contains(&c.id) || !settled(e, at) { + let counted = e.since.counted.is_none_or(|s| s.contains(&c.id)); + if !counted || !known.contains(&c.id) || !settled(e, at) { continue; } out.oid(c.id); @@ -653,6 +675,16 @@ mod tests { known: Option<&HashSet>, lines: Option>, dir: &Path, + ) -> Manifest { + export_since(index, known, lines, Since::default(), dir) + } + + fn export_since( + index: &Index, + known: Option<&HashSet>, + lines: Option>, + since: Since<'_>, + dir: &Path, ) -> Manifest { let bits = [ REACHABLE | FIRST_PARENT, @@ -674,6 +706,8 @@ mod tests { arrival: &arrival, }, known, + since, + mark: "a mark".to_string(), lineage: 7, kept: true, }, @@ -720,14 +754,7 @@ mod tests { assert_eq!(columns[6], "8"); assert_eq!(columns[7], (DAY0 + 2 * DAY).to_string()); assert_eq!(&columns[11..], ["\\N", "\\N"]); - assert_eq!( - lines(&dir, "mainline.tsv"), - vec![ - format!("{}\t24\t{DAY0}", sha(&index, 0)), - format!("{}\t8\t{}", sha(&index, 1), DAY0 + 2 * DAY), - format!("{}\t24\t{}", sha(&index, 2), DAY0 + 2 * DAY), - ] - ); + assert!(lines(&dir, "mainline.tsv").is_empty()); assert!(lines(&dir, "lines.tsv").is_empty()); assert_eq!(lines(&dir, "files.tsv").len(), 3); for gone in [ @@ -748,7 +775,9 @@ mod tests { let manifest: serde_json::Value = serde_json::from_slice(&std::fs::read(dir.join("manifest.json")).expect("read")) .expect("JSON"); - assert_eq!(manifest["format"], 3); + assert_eq!(manifest["format"], 4); + assert_eq!(manifest["mark"], "a mark"); + assert_eq!(manifest["changes_only"], false); let _ = std::fs::remove_dir_all(dir); } @@ -776,7 +805,7 @@ mod tests { assert_eq!(files.len(), 1); assert!(files[0].contains("src/deep/b.rs\tsrc/deep")); assert_eq!(lines(&dir, "commits.tsv").len(), 1); - assert_eq!(lines(&dir, "mainline.tsv").len(), 3); + assert_eq!(lines(&dir, "mainline.tsv").len(), 2); assert_eq!( lines(&dir, "lines.tsv"), vec![format!("{}\t{{NULL,NULL}}\t{{NULL,NULL}}", sha(&index, 0))] @@ -784,6 +813,40 @@ mod tests { let _ = std::fs::remove_dir_all(dir); } + #[test] + fn an_export_after_a_mark_that_holds_writes_only_the_mainline_that_moved_and_the_lines_counted_since( + ) { + let index = index_of(&repo()); + let known: HashSet = index.commits.iter().map(|c| c.id).collect(); + let dir = scratch("since"); + let settled = [true; 3]; + let moved = [false, true, false]; + let counted: HashSet = [index.commits[2].id].into_iter().collect(); + let m = export_since( + &index, + Some(&known), + Some(Lines { + settled: &settled, + counted: 3, + left: 0, + }), + Since { + moved: Some(&moved), + counted: Some(&counted), + }, + &dir, + ); + assert!(!m.full && m.changes_only); + assert_eq!( + lines(&dir, "mainline.tsv"), + vec![format!("{}\t8\t{}", sha(&index, 1), DAY0 + 2 * DAY)] + ); + let filled = lines(&dir, "lines.tsv"); + assert_eq!(filled.len(), 1); + assert!(filled[0].starts_with(&sha(&index, 2))); + let _ = std::fs::remove_dir_all(dir); + } + #[test] fn lines_are_complete_once_nothing_is_left_to_count() { let index = index_of(&repo()); @@ -832,6 +895,8 @@ mod tests { arrival: &arrival, }, known: None, + since: Since::default(), + mark: String::new(), lineage: 7, kept: true, }, diff --git a/crates/commitscape/src/build.rs b/crates/commitscape/src/build.rs index 0ad3027..2ae2c56 100644 --- a/crates/commitscape/src/build.rs +++ b/crates/commitscape/src/build.rs @@ -4,13 +4,15 @@ use std::path::{Path, PathBuf}; use clap::Args; use commitscape_core::{CommitFlags, Index, Oid}; -use commitscape_index::{load, GixRepo, Loaded, Mainline, RepoSource}; +use commitscape_index::mainline::mainline_since; +use commitscape_index::{load, GixRepo, LineStore, Loaded, Mainline, RepoSource}; use commitscape_metrics::Span; -use commitscape_report::export::{self, Manifest}; +use commitscape_report::export::{self, Manifest, Since}; use commitscape_report::pack::{write_pack, Pack, Reading}; use commitscape_report::report::{summary, Report}; use tracing::field::Empty; +use crate::mark::{fingerprint, Mark}; use crate::{ commit_link, count_lines_into, events, read_accounts, repo_name, with_accounts, Common, LineCount, ProgressLine, RunArgs, @@ -44,6 +46,12 @@ pub struct ExportArgs { #[arg(long)] lineage: Option, + /// The mark the export the Site last loaded left in its manifest. While + /// it holds, only the Mainline that moved and the Lines Changed counted + /// since are written for the commits the Site has. + #[arg(long, value_name = "MARK", requires = "after")] + since: Option, + #[command(flatten)] run: RunArgs, @@ -58,6 +66,9 @@ struct Read { lines: Option, accounts: HashMap, known: Option>, + moved: Option>, + counted: Option>, + mark: Mark, releases: Vec<(String, i64)>, release_commits: Vec<(String, Oid)>, anchor: i64, @@ -70,7 +81,26 @@ fn read(args: &ExportArgs) -> anyhow::Result { let mut meter = ProgressLine::new(); let mut loaded = load(&repo, &options, &mut |p| meter.show(p))?; meter.clear(); - let mainline = commitscape_index::mainline(&repo, &loaded.index)?; + let known = match (&args.after, args.lineage) { + (Some(file), Some(lineage)) if lineage == loaded.lineage => { + repo.ancestors(&frontier(file)?)? + } + _ => None, + }; + let ignored = repo.blame_ignore_revs()?; + let truncated = loaded.index.history_truncated; + let fingerprint = fingerprint( + args.common.metrics().max_changeset_size, + &ignored, + truncated, + ); + let held = args + .since + .as_deref() + .and_then(Mark::parse) + .filter(|m| known.is_some() && m.fingerprint == fingerprint); + let before = held.and_then(|m| m.head).filter(|_| !truncated); + let (mainline, moved) = mainline_since(&repo, &loaded.index, before)?; let lines = if args.no_lines { None } else { @@ -83,14 +113,24 @@ fn read(args: &ExportArgs) -> anyhow::Result { Some(mainline.bits.clone()), )?) }; - mark_ignored(&repo, &mut loaded.index)?; - let accounts = with_accounts(&repo, &options, &mut loaded.index, given.as_ref())?; - let known = match (&args.after, args.lineage) { - (Some(file), Some(lineage)) if lineage == loaded.lineage => { - repo.ancestors(&frontier(file)?)? + let (log, counted) = match LineStore::for_repo(&options, &loaded.index.repo) { + Some(store) => { + let (now, after) = store.since(held.and_then(|m| m.lines)); + (Some(now), after.map(|a| a.into_iter().collect())) } - _ => None, + None => (None, None), }; + let mark = Mark { + head: loaded.index.head_commit, + lines: match (&lines, &known) { + (Some(_), _) => log, + (None, Some(_)) => held.and_then(|m| m.lines), + (None, None) => None, + }, + fingerprint, + }; + mark_ignored(&mut loaded.index, &ignored); + let accounts = with_accounts(&repo, &options, &mut loaded.index, given.as_ref())?; let tags = repo.release_tags(); Ok(Read { releases: tags.iter().map(|(n, t, _)| (n.clone(), *t)).collect(), @@ -101,6 +141,9 @@ fn read(args: &ExportArgs) -> anyhow::Result { lines, accounts, known, + moved, + counted, + mark, anchor: args.common.anchor(), }) } @@ -112,17 +155,16 @@ fn frontier(file: &Path) -> anyhow::Result> { .collect() } -fn mark_ignored(repo: &GixRepo, index: &mut Index) -> anyhow::Result<()> { - let ignored: HashSet = repo.blame_ignore_revs()?.into_iter().collect(); +fn mark_ignored(index: &mut Index, ignored: &[Oid]) { + let ignored: HashSet = ignored.iter().copied().collect(); if ignored.is_empty() { - return Ok(()); + return; } for c in &mut index.commits { if ignored.contains(&c.id) { c.flags = c.flags.with(CommitFlags::BLAME_IGNORED); } } - Ok(()) } fn write_export(r: &Read, args: &ExportArgs) -> anyhow::Result { @@ -146,6 +188,11 @@ fn write_export(r: &Read, args: &ExportArgs) -> anyhow::Result { arrival: &r.mainline.arrival, }, known: r.known.as_ref(), + since: Since { + moved: r.moved.as_deref(), + counted: r.counted.as_ref(), + }, + mark: r.mark.to_string(), lineage: r.loaded.lineage, kept: r.loaded.kept, }, diff --git a/crates/commitscape/src/main.rs b/crates/commitscape/src/main.rs index 38e5b4f..7b6c7c8 100644 --- a/crates/commitscape/src/main.rs +++ b/crates/commitscape/src/main.rs @@ -3,6 +3,7 @@ mod clone; mod events; mod format; mod health; +mod mark; mod share; mod signatures; mod surviving; diff --git a/crates/commitscape/src/mark.rs b/crates/commitscape/src/mark.rs new file mode 100644 index 0000000..d6de628 --- /dev/null +++ b/crates/commitscape/src/mark.rs @@ -0,0 +1,108 @@ +use std::fmt; + +use commitscape_core::Oid; +use commitscape_index::LogMark; +use commitscape_report::export::FORMAT; +use sha2::{Digest, Sha256}; + +#[derive(Debug, Clone, Copy, PartialEq, Eq)] +pub(crate) struct Mark { + pub(crate) head: Option, + pub(crate) lines: Option, + pub(crate) fingerprint: u64, +} + +impl Mark { + /// Reads a mark an earlier export wrote into its manifest; `None` for anything else. + pub(crate) fn parse(text: &str) -> Option { + let mut parts = text.trim().split('.'); + let head = match parts.next()? { + "-" => None, + hex => Some(Oid::from_hex(hex)?), + }; + let lines = match (parts.next()?, parts.next()?) { + ("-", "-") => None, + (len, hash) => Some(LogMark { + len: len.parse().ok()?, + hash: u64::from_str_radix(hash, 16).ok()?, + }), + }; + let fingerprint = u64::from_str_radix(parts.next()?, 16).ok()?; + parts.next().is_none().then_some(Mark { + head, + lines, + fingerprint, + }) + } +} + +impl fmt::Display for Mark { + fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { + match self.head { + Some(head) => write!(f, "{}", head.to_hex())?, + None => write!(f, "-")?, + } + match self.lines { + Some(l) => write!(f, ".{}.{:x}", l.len, l.hash)?, + None => write!(f, ".-.-")?, + } + write!(f, ".{:x}", self.fingerprint) + } +} + +/// What an export's rows depend on beside the commits themselves: the export format, the Bulk Commit size, the commits blame passes through and whether the history was cut short. +pub(crate) fn fingerprint(max_changeset_size: u32, ignored: &[Oid], truncated: bool) -> u64 { + let mut ignored = ignored.to_vec(); + ignored.sort_unstable(); + let mut h = Sha256::new(); + h.update(FORMAT.to_le_bytes()); + h.update(max_changeset_size.to_le_bytes()); + h.update([u8::from(truncated)]); + for id in &ignored { + h.update(id.0); + } + let digest = h.finalize(); + let mut first = [0u8; 8]; + first.copy_from_slice(digest.get(..8).unwrap_or(&[0; 8])); + u64::from_le_bytes(first) +} + +#[cfg(test)] +mod tests { + use super::*; + + #[test] + fn a_mark_reads_back_as_it_was_written_and_nothing_else_reads_as_one() { + let marks = [ + Mark { + head: Some(Oid([7; 20])), + lines: Some(LogMark { + len: 1234, + hash: 0xfeed, + }), + fingerprint: fingerprint(100, &[Oid([1; 20])], false), + }, + Mark { + head: None, + lines: None, + fingerprint: 0, + }, + ]; + for mark in marks { + assert_eq!(Mark::parse(&mark.to_string()), Some(mark)); + } + for text in ["", "-", "-.-.-", "zz.-.-.0", "-.1.2.3.4", "-.x.2.3"] { + assert_eq!(Mark::parse(text), None, "{text}"); + } + } + + #[test] + fn the_fingerprint_changes_with_what_the_rows_depend_on_and_not_with_order() { + let (a, b) = (Oid([1; 20]), Oid([2; 20])); + let base = fingerprint(100, &[a, b], false); + assert_eq!(base, fingerprint(100, &[b, a], false)); + assert_ne!(base, fingerprint(101, &[a, b], false)); + assert_ne!(base, fingerprint(100, &[a], false)); + assert_ne!(base, fingerprint(100, &[a, b], true)); + } +} diff --git a/crates/commitscape/tests/build.rs b/crates/commitscape/tests/build.rs index 1a1a0e4..1ee6862 100644 --- a/crates/commitscape/tests/build.rs +++ b/crates/commitscape/tests/build.rs @@ -102,7 +102,7 @@ fn build_writes_the_export_the_pack_and_the_meta_from_one_reading() { ); let manifest = json(&out.join("manifest.json")); - assert_eq!(manifest["format"], 3); + assert_eq!(manifest["format"], 4); assert_eq!(manifest["full"], true); assert_eq!(manifest["lines"], true); assert_eq!(manifest["lines_counted"], 6); @@ -118,11 +118,14 @@ fn build_writes_the_export_the_pack_and_the_meta_from_one_reading() { assert!(!out.join(gone).exists(), "{gone}"); } let commits = rows(&out.join("commits.tsv")); - let mainline = rows(&out.join("mainline.tsv")); assert_eq!(commits.len(), 7); - assert_eq!(mainline.len(), 7); assert!(commits.iter().all(|c| c.len() == 13)); + assert!(rows(&out.join("mainline.tsv")).is_empty()); assert!(rows(&out.join("lines.tsv")).is_empty()); + let mainline: Vec> = commits + .iter() + .map(|c| vec![c[0].clone(), c[6].clone(), c[7].clone()]) + .collect(); let reformat = git(&["-C", repo.to_str().unwrap_or("."), "rev-parse", "HEAD~2"]); let flags: Vec<(String, u8)> = mainline .iter() @@ -175,7 +178,7 @@ fn build_writes_the_export_the_pack_and_the_meta_from_one_reading() { let row = mainline .iter() .find(|r| r[0].ends_with(&c.id.to_hex())) - .expect("in mainline.tsv"); + .expect("in commits.tsv"); assert_eq!(row[1], (c.flags.0 | bits).to_string()); assert_eq!(row[2], arrival.map_or("\\N".to_string(), |a| a.to_string())); } @@ -405,3 +408,68 @@ fn two_clones_with_one_cache_key_walk_the_history_once() { ); assert_eq!(field(&events(&unkeyed), "load", "freshness"), "built"); } + +#[test] +fn a_build_after_the_mark_the_site_holds_writes_only_what_changed_since() { + let dir = tempfile::tempdir().expect("a temporary directory"); + let cache = dir.path().join("cache"); + let repo = fixture("lines"); + let build = |name: &str, extra: &[&str], after: Option<&Value>| -> Value { + let out = dir.path().join(name); + let mut args = vec!["build", "--offline", "--cache-key", "acme/rocket"]; + args.extend_from_slice(extra); + let frontier = dir.path().join(format!("{name}.frontier")); + let (lineage, mark); + if let Some(m) = after { + let tips: Vec<&str> = m["frontier"] + .as_array() + .expect("a frontier") + .iter() + .filter_map(Value::as_str) + .collect(); + std::fs::write(&frontier, tips.join("\n")).expect("the frontier"); + lineage = m["lineage"].as_str().unwrap_or("").to_string(); + mark = m["mark"].as_str().unwrap_or("").to_string(); + args.extend_from_slice(&["--lineage", &lineage, "--since", &mark]); + args.push("--after"); + commitscape( + &args, + &[ + &frontier, + Path::new("--cache-dir"), + &cache, + Path::new("--out"), + &out, + &repo, + ], + ); + } else { + args.push("--cache-dir"); + commitscape(&args, &[&cache, Path::new("--out"), &out, &repo]); + } + let mut manifest = json(&out.join("manifest.json")); + manifest["mainline_rows"] = rows(&out.join("mainline.tsv")).len().into(); + manifest["lines_rows"] = rows(&out.join("lines.tsv")).len().into(); + manifest + }; + + let quick = build("quick", &["--no-lines"], None); + assert!(quick["mark"].as_str().expect("a mark").contains(".-.-.")); + let counted = build("counted", &[], Some(&quick)); + assert_eq!(counted["full"], false); + assert_eq!(counted["changes_only"], false); + assert_eq!(counted["mainline_rows"], 0); + assert!(counted["lines_rows"].as_u64().unwrap_or(0) >= 6); + let quiet = build("quiet", &[], Some(&counted)); + assert_eq!(quiet["changes_only"], true); + assert_eq!( + (quiet["mainline_rows"].clone(), quiet["lines_rows"].clone()), + (0.into(), 0.into()) + ); + let mut lost = counted.clone(); + lost["mark"] = "not a mark".into(); + let resent = build("resent", &[], Some(&lost)); + assert_eq!(resent["changes_only"], false); + assert_eq!(resent["mainline_rows"], 7); + assert_eq!(resent["lines_rows"], counted["lines_rows"]); +} diff --git a/docs/index-in-postgres.md b/docs/index-in-postgres.md index 1406d7d..d9de582 100644 --- a/docs/index-in-postgres.md +++ b/docs/index-in-postgres.md @@ -61,8 +61,10 @@ rename touches one row. the next export may append), `head`, `frontier` (the heads the export was made at), `commits`, `lines` (whether the Mainline's Lines Changed are all counted), `lines_left` (commits the line pass has not reached yet), `pack` -(the R2 key of the current pack), `state` (`loading`, `live`), `built_at`, -`loaded_at`. `repositories.index_id` points at the live one. +(the R2 key of the current pack), `mark` (where the last loaded export left +the Stored Index: the next export writes only the Mainline that moved and +the Lines Changed counted after it), `state` (`loading`, `live`), +`built_at`, `loaded_at`. `repositories.index_id` points at the live one. **Facts, appended** diff --git a/docs/working.md b/docs/working.md index c85ea9a..d415d2d 100644 --- a/docs/working.md +++ b/docs/working.md @@ -123,7 +123,7 @@ commitscape health owner/name `signatures`, `build`, `export` and `report` are hidden: they are the Builder's and the tests'. `build` writes, from one reading of the history, -the export (the Index as Postgres `COPY` files, export format 3, with each +the export (the Index as Postgres `COPY` files, export format 4, with each commit's Mainline and Main Arrival), the pack the engine service answers from (`pack.bin`, no email addresses in it) and the Report's meta, stats and people (`meta.json`). `export` writes only the `COPY` files, and `report` @@ -134,7 +134,10 @@ next run carries on where it stopped), `--events FILE` writes one JSON line per finished step with its start, end and counts, and `COMMITSCAPE_THREADS` caps the threads every step uses. `--cache-key KEY` names the cache by KEY instead of the clone's path, so the Build's two clones share one cache and -the history is walked once. `--anchor SECONDS` ends every Window there +the history is walked once. `--after FILE --lineage N` writes only the +commits the frontier in FILE does not reach, and `--since MARK`, the mark +the last loaded export left, narrows the earlier commits' rows to the +Mainline that moved and the Lines Changed counted since. `--anchor SECONDS` ends every Window there instead of now, so the output comes out the same every time. `COMMITSCAPE_SITE` points `share` at another Site. diff --git a/packages/server/drizzle/0036_past_swarm.sql b/packages/server/drizzle/0036_past_swarm.sql new file mode 100644 index 0000000..3283771 --- /dev/null +++ b/packages/server/drizzle/0036_past_swarm.sql @@ -0,0 +1 @@ +ALTER TABLE "stored_indexes" ADD COLUMN "mark" text; \ No newline at end of file diff --git a/packages/server/drizzle/meta/0036_snapshot.json b/packages/server/drizzle/meta/0036_snapshot.json new file mode 100644 index 0000000..bc7b720 --- /dev/null +++ b/packages/server/drizzle/meta/0036_snapshot.json @@ -0,0 +1,3343 @@ +{ + "id": "a4a5a5ea-bc22-4300-8198-bb5dbd7280e2", + "prevId": "b99743d6-b988-4b15-900d-81736606a149", + "version": "7", + "dialect": "postgresql", + "tables": { + "public.access": { + "name": "access", + "schema": "", + "columns": { + "session_id": { + "name": "session_id", + "type": "text", + "primaryKey": false, + "notNull": true + }, + "repo_id": { + "name": "repo_id", + "type": "text", + "primaryKey": false, + "notNull": true + }, + "allowed": { + "name": "allowed", + "type": "boolean", + "primaryKey": false, + "notNull": true + }, + "until": { + "name": "until", + "type": "bigint", + "primaryKey": false, + "notNull": true + } + }, + "indexes": {}, + "foreignKeys": { + "access_session_id_session_id_fk": { + "name": "access_session_id_session_id_fk", + "tableFrom": "access", + "tableTo": "session", + "columnsFrom": [ + "session_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": { + "access_session_id_repo_id_pk": { + "name": "access_session_id_repo_id_pk", + "columns": [ + "session_id", + "repo_id" + ] + } + }, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.account": { + "name": "account", + "schema": "", + "columns": { + "id": { + "name": "id", + "type": "text", + "primaryKey": true, + "notNull": true + }, + "account_id": { + "name": "account_id", + "type": "text", + "primaryKey": false, + "notNull": true + }, + "provider_id": { + "name": "provider_id", + "type": "text", + "primaryKey": false, + "notNull": true + }, + "user_id": { + "name": "user_id", + "type": "text", + "primaryKey": false, + "notNull": true + }, + "access_token": { + "name": "access_token", + "type": "text", + "primaryKey": false, + "notNull": false + }, + "refresh_token": { + "name": "refresh_token", + "type": "text", + "primaryKey": false, + "notNull": false + }, + "id_token": { + "name": "id_token", + "type": "text", + "primaryKey": false, + "notNull": false + }, + "access_token_expires_at": { + "name": "access_token_expires_at", + "type": "timestamp", + "primaryKey": false, + "notNull": false + }, + "refresh_token_expires_at": { + "name": "refresh_token_expires_at", + "type": "timestamp", + "primaryKey": false, + "notNull": false + }, + "scope": { + "name": "scope", + "type": "text", + "primaryKey": false, + "notNull": false + }, + "password": { + "name": "password", + "type": "text", + "primaryKey": false, + "notNull": false + }, + "created_at": { + "name": "created_at", + "type": "timestamp", + "primaryKey": false, + "notNull": true, + "default": "now()" + }, + "updated_at": { + "name": "updated_at", + "type": "timestamp", + "primaryKey": false, + "notNull": true + } + }, + "indexes": { + "account_user_id": { + "name": "account_user_id", + "columns": [ + { + "expression": "user_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": { + "account_user_id_user_id_fk": { + "name": "account_user_id_user_id_fk", + "tableFrom": "account", + "tableTo": "user", + "columnsFrom": [ + "user_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.builds": { + "name": "builds", + "schema": "", + "columns": { + "id": { + "name": "id", + "type": "text", + "primaryKey": true, + "notNull": true + }, + "repo_id": { + "name": "repo_id", + "type": "text", + "primaryKey": false, + "notNull": true + }, + "state": { + "name": "state", + "type": "text", + "primaryKey": false, + "notNull": true + }, + "step": { + "name": "step", + "type": "text", + "primaryKey": false, + "notNull": false + }, + "reason": { + "name": "reason", + "type": "text", + "primaryKey": false, + "notNull": false + }, + "detail": { + "name": "detail", + "type": "text", + "primaryKey": false, + "notNull": false + }, + "seconds": { + "name": "seconds", + "type": "integer", + "primaryKey": false, + "notNull": false + }, + "partial": { + "name": "partial", + "type": "boolean", + "primaryKey": false, + "notNull": false + }, + "requested_at": { + "name": "requested_at", + "type": "bigint", + "primaryKey": false, + "notNull": true + }, + "started_at": { + "name": "started_at", + "type": "bigint", + "primaryKey": false, + "notNull": false + }, + "finished_at": { + "name": "finished_at", + "type": "bigint", + "primaryKey": false, + "notNull": false + } + }, + "indexes": { + "builds_repo_requested": { + "name": "builds_repo_requested", + "columns": [ + { + "expression": "repo_id", + "isExpression": false, + "asc": true, + "nulls": "last" + }, + { + "expression": "requested_at", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "builds_state": { + "name": "builds_state", + "columns": [ + { + "expression": "state", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": { + "builds_repo_id_repositories_id_fk": { + "name": "builds_repo_id_repositories_id_fk", + "tableFrom": "builds", + "tableTo": "repositories", + "columnsFrom": [ + "repo_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.github_cache": { + "name": "github_cache", + "schema": "", + "columns": { + "key": { + "name": "key", + "type": "text", + "primaryKey": true, + "notNull": true + }, + "etag": { + "name": "etag", + "type": "text", + "primaryKey": false, + "notNull": false + }, + "status": { + "name": "status", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "body": { + "name": "body", + "type": "text", + "primaryKey": false, + "notNull": false + }, + "fetched_at": { + "name": "fetched_at", + "type": "bigint", + "primaryKey": false, + "notNull": true + }, + "until": { + "name": "until", + "type": "bigint", + "primaryKey": false, + "notNull": true + } + }, + "indexes": { + "github_cache_until": { + "name": "github_cache_until", + "columns": [ + { + "expression": "until", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": {}, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.index_commit_lines": { + "name": "index_commit_lines", + "schema": "", + "columns": { + "si": { + "name": "si", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "sha": { + "name": "sha", + "type": "bytea", + "primaryKey": false, + "notNull": true + }, + "added": { + "name": "added", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "removed": { + "name": "removed", + "type": "integer", + "primaryKey": false, + "notNull": true + } + }, + "indexes": {}, + "foreignKeys": {}, + "compositePrimaryKeys": { + "index_commit_lines_si_sha_pk": { + "name": "index_commit_lines_si_sha_pk", + "columns": [ + "si", + "sha" + ] + } + }, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.index_commits": { + "name": "index_commits", + "schema": "", + "columns": { + "si": { + "name": "si", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "sha": { + "name": "sha", + "type": "bytea", + "primaryKey": false, + "notNull": true + }, + "at": { + "name": "at", + "type": "bigint", + "primaryKey": false, + "notNull": true + }, + "offset": { + "name": "offset", + "type": "smallint", + "primaryKey": false, + "notNull": true + }, + "author_delta": { + "name": "author_delta", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "signature": { + "name": "signature", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "kind": { + "name": "kind", + "type": "smallint", + "primaryKey": false, + "notNull": true + }, + "flags": { + "name": "flags", + "type": "smallint", + "primaryKey": false, + "notNull": true + }, + "arrival": { + "name": "arrival", + "type": "bigint", + "primaryKey": false, + "notNull": false + }, + "subject": { + "name": "subject", + "type": "text", + "primaryKey": false, + "notNull": true + }, + "files": { + "name": "files", + "type": "integer[]", + "primaryKey": false, + "notNull": true + }, + "changes": { + "name": "changes", + "type": "smallint[]", + "primaryKey": false, + "notNull": true + }, + "added": { + "name": "added", + "type": "integer[]", + "primaryKey": false, + "notNull": false + }, + "removed": { + "name": "removed", + "type": "integer[]", + "primaryKey": false, + "notNull": false + } + }, + "indexes": { + "index_commits_at": { + "name": "index_commits_at", + "columns": [ + { + "expression": "si", + "isExpression": false, + "asc": true, + "nulls": "last" + }, + { + "expression": "at", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "index_commits_signature": { + "name": "index_commits_signature", + "columns": [ + { + "expression": "si", + "isExpression": false, + "asc": true, + "nulls": "last" + }, + { + "expression": "signature", + "isExpression": false, + "asc": true, + "nulls": "last" + }, + { + "expression": "at", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": {}, + "compositePrimaryKeys": { + "index_commits_si_sha_pk": { + "name": "index_commits_si_sha_pk", + "columns": [ + "si", + "sha" + ] + } + }, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.index_file_paths": { + "name": "index_file_paths", + "schema": "", + "columns": { + "si": { + "name": "si", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "file": { + "name": "file", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "path": { + "name": "path", + "type": "text", + "primaryKey": false, + "notNull": true + } + }, + "indexes": {}, + "foreignKeys": {}, + "compositePrimaryKeys": { + "index_file_paths_si_file_path_pk": { + "name": "index_file_paths_si_file_path_pk", + "columns": [ + "si", + "file", + "path" + ] + } + }, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.index_files": { + "name": "index_files", + "schema": "", + "columns": { + "si": { + "name": "si", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "file": { + "name": "file", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "path": { + "name": "path", + "type": "text", + "primaryKey": false, + "notNull": true + }, + "folder": { + "name": "folder", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "born": { + "name": "born", + "type": "bigint", + "primaryKey": false, + "notNull": true + }, + "last": { + "name": "last", + "type": "bigint", + "primaryKey": false, + "notNull": true + }, + "alive": { + "name": "alive", + "type": "boolean", + "primaryKey": false, + "notNull": true + }, + "role": { + "name": "role", + "type": "smallint", + "primaryKey": false, + "notNull": true, + "default": 0 + }, + "language": { + "name": "language", + "type": "text", + "primaryKey": false, + "notNull": false + }, + "guessed_generated": { + "name": "guessed_generated", + "type": "boolean", + "primaryKey": false, + "notNull": true, + "default": false + }, + "lockfile": { + "name": "lockfile", + "type": "boolean", + "primaryKey": false, + "notNull": true, + "default": false + } + }, + "indexes": { + "index_files_folder": { + "name": "index_files_folder", + "columns": [ + { + "expression": "si", + "isExpression": false, + "asc": true, + "nulls": "last" + }, + { + "expression": "folder", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": {}, + "compositePrimaryKeys": { + "index_files_si_file_pk": { + "name": "index_files_si_file_pk", + "columns": [ + "si", + "file" + ] + } + }, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.index_folders": { + "name": "index_folders", + "schema": "", + "columns": { + "si": { + "name": "si", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "id": { + "name": "id", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "path": { + "name": "path", + "type": "text", + "primaryKey": false, + "notNull": true + }, + "parent": { + "name": "parent", + "type": "integer", + "primaryKey": false, + "notNull": false + }, + "depth": { + "name": "depth", + "type": "smallint", + "primaryKey": false, + "notNull": true + } + }, + "indexes": { + "index_folders_path": { + "name": "index_folders_path", + "columns": [ + { + "expression": "si", + "isExpression": false, + "asc": true, + "nulls": "last" + }, + { + "expression": "path", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": true, + "concurrently": false, + "method": "btree", + "with": {} + }, + "index_folders_parent": { + "name": "index_folders_parent", + "columns": [ + { + "expression": "si", + "isExpression": false, + "asc": true, + "nulls": "last" + }, + { + "expression": "parent", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": {}, + "compositePrimaryKeys": { + "index_folders_si_id_pk": { + "name": "index_folders_si_id_pk", + "columns": [ + "si", + "id" + ] + } + }, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.index_head_files": { + "name": "index_head_files", + "schema": "", + "columns": { + "si": { + "name": "si", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "file": { + "name": "file", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "blob": { + "name": "blob", + "type": "bytea", + "primaryKey": false, + "notNull": true + }, + "bytes": { + "name": "bytes", + "type": "bigint", + "primaryKey": false, + "notNull": true + }, + "lines": { + "name": "lines", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "class": { + "name": "class", + "type": "text", + "primaryKey": false, + "notNull": true + }, + "indent_levels": { + "name": "indent_levels", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "indent_mean": { + "name": "indent_mean", + "type": "real", + "primaryKey": false, + "notNull": true + }, + "indent_stddev": { + "name": "indent_stddev", + "type": "real", + "primaryKey": false, + "notNull": true + } + }, + "indexes": {}, + "foreignKeys": {}, + "compositePrimaryKeys": { + "index_head_files_si_file_pk": { + "name": "index_head_files_si_file_pk", + "columns": [ + "si", + "file" + ] + } + }, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.index_people": { + "name": "index_people", + "schema": "", + "columns": { + "si": { + "name": "si", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "signature": { + "name": "signature", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "name": { + "name": "name", + "type": "text", + "primaryKey": false, + "notNull": true + }, + "person": { + "name": "person", + "type": "integer", + "primaryKey": false, + "notNull": false + }, + "person_name": { + "name": "person_name", + "type": "text", + "primaryKey": false, + "notNull": false + }, + "colour": { + "name": "colour", + "type": "smallint", + "primaryKey": false, + "notNull": false + }, + "login": { + "name": "login", + "type": "text", + "primaryKey": false, + "notNull": false + }, + "bot": { + "name": "bot", + "type": "boolean", + "primaryKey": false, + "notNull": true + } + }, + "indexes": { + "index_people_person": { + "name": "index_people_person", + "columns": [ + { + "expression": "si", + "isExpression": false, + "asc": true, + "nulls": "last" + }, + { + "expression": "person", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": {}, + "compositePrimaryKeys": { + "index_people_si_signature_pk": { + "name": "index_people_si_signature_pk", + "columns": [ + "si", + "signature" + ] + } + }, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.index_persons": { + "name": "index_persons", + "schema": "", + "columns": { + "si": { + "name": "si", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "person": { + "name": "person", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "traits": { + "name": "traits", + "type": "smallint", + "primaryKey": false, + "notNull": true + }, + "identities": { + "name": "identities", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "commits": { + "name": "commits", + "type": "integer", + "primaryKey": false, + "notNull": true + } + }, + "indexes": {}, + "foreignKeys": {}, + "compositePrimaryKeys": { + "index_persons_si_person_pk": { + "name": "index_persons_si_person_pk", + "columns": [ + "si", + "person" + ] + } + }, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.lent_tokens": { + "name": "lent_tokens", + "schema": "", + "columns": { + "repo_id": { + "name": "repo_id", + "type": "text", + "primaryKey": true, + "notNull": true + }, + "user_id": { + "name": "user_id", + "type": "text", + "primaryKey": false, + "notNull": true + }, + "token": { + "name": "token", + "type": "text", + "primaryKey": false, + "notNull": true + }, + "until": { + "name": "until", + "type": "bigint", + "primaryKey": false, + "notNull": true + } + }, + "indexes": {}, + "foreignKeys": { + "lent_tokens_repo_id_repositories_id_fk": { + "name": "lent_tokens_repo_id_repositories_id_fk", + "tableFrom": "lent_tokens", + "tableTo": "repositories", + "columnsFrom": [ + "repo_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + }, + "lent_tokens_user_id_user_id_fk": { + "name": "lent_tokens_user_id_user_id_fk", + "tableFrom": "lent_tokens", + "tableTo": "user", + "columnsFrom": [ + "user_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.people": { + "name": "people", + "schema": "", + "columns": { + "login": { + "name": "login", + "type": "text", + "primaryKey": true, + "notNull": true + }, + "user_id": { + "name": "user_id", + "type": "text", + "primaryKey": false, + "notNull": false + }, + "hidden": { + "name": "hidden", + "type": "boolean", + "primaryKey": false, + "notNull": true, + "default": false + }, + "name_private": { + "name": "name_private", + "type": "boolean", + "primaryKey": false, + "notNull": true, + "default": false + }, + "updated_at": { + "name": "updated_at", + "type": "bigint", + "primaryKey": false, + "notNull": true + } + }, + "indexes": { + "people_user": { + "name": "people_user", + "columns": [ + { + "expression": "user_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": { + "people_user_id_user_id_fk": { + "name": "people_user_id_user_id_fk", + "tableFrom": "people", + "tableTo": "user", + "columnsFrom": [ + "user_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.private_work": { + "name": "private_work", + "schema": "", + "columns": { + "login": { + "name": "login", + "type": "text", + "primaryKey": false, + "notNull": true + }, + "repo": { + "name": "repo", + "type": "text", + "primaryKey": false, + "notNull": true + }, + "show": { + "name": "show", + "type": "text", + "primaryKey": false, + "notNull": true + }, + "updated_at": { + "name": "updated_at", + "type": "bigint", + "primaryKey": false, + "notNull": true + } + }, + "indexes": {}, + "foreignKeys": {}, + "compositePrimaryKeys": { + "private_work_login_repo_pk": { + "name": "private_work_login_repo_pk", + "columns": [ + "login", + "repo" + ] + } + }, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.profiles": { + "name": "profiles", + "schema": "", + "columns": { + "login": { + "name": "login", + "type": "text", + "primaryKey": false, + "notNull": true + }, + "scope": { + "name": "scope", + "type": "text", + "primaryKey": false, + "notNull": true + }, + "github_id": { + "name": "github_id", + "type": "bigint", + "primaryKey": false, + "notNull": false + }, + "identity": { + "name": "identity", + "type": "text", + "primaryKey": false, + "notNull": true + }, + "identity_at": { + "name": "identity_at", + "type": "bigint", + "primaryKey": false, + "notNull": true + }, + "data": { + "name": "data", + "type": "text", + "primaryKey": false, + "notNull": false + }, + "raw": { + "name": "raw", + "type": "text", + "primaryKey": false, + "notNull": false + }, + "fetched_at": { + "name": "fetched_at", + "type": "bigint", + "primaryKey": false, + "notNull": false + } + }, + "indexes": { + "profiles_github_id": { + "name": "profiles_github_id", + "columns": [ + { + "expression": "github_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": {}, + "compositePrimaryKeys": { + "profiles_login_scope_pk": { + "name": "profiles_login_scope_pk", + "columns": [ + "login", + "scope" + ] + } + }, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.proofs": { + "name": "proofs", + "schema": "", + "columns": { + "id": { + "name": "id", + "type": "text", + "primaryKey": true, + "notNull": true + }, + "login": { + "name": "login", + "type": "text", + "primaryKey": false, + "notNull": true + }, + "user_id": { + "name": "user_id", + "type": "text", + "primaryKey": false, + "notNull": true + }, + "data": { + "name": "data", + "type": "text", + "primaryKey": false, + "notNull": true + }, + "created_at": { + "name": "created_at", + "type": "bigint", + "primaryKey": false, + "notNull": true + } + }, + "indexes": { + "proofs_login": { + "name": "proofs_login", + "columns": [ + { + "expression": "login", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": { + "proofs_user_id_user_id_fk": { + "name": "proofs_user_id_user_id_fk", + "tableFrom": "proofs", + "tableTo": "user", + "columnsFrom": [ + "user_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.pull_requests": { + "name": "pull_requests", + "schema": "", + "columns": { + "repo_id": { + "name": "repo_id", + "type": "text", + "primaryKey": false, + "notNull": true + }, + "number": { + "name": "number", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "author": { + "name": "author", + "type": "text", + "primaryKey": false, + "notNull": false + }, + "state": { + "name": "state", + "type": "text", + "primaryKey": false, + "notNull": true + }, + "title": { + "name": "title", + "type": "text", + "primaryKey": false, + "notNull": true + }, + "created_at": { + "name": "created_at", + "type": "bigint", + "primaryKey": false, + "notNull": true + }, + "merged_at": { + "name": "merged_at", + "type": "bigint", + "primaryKey": false, + "notNull": false + }, + "updated_at": { + "name": "updated_at", + "type": "bigint", + "primaryKey": false, + "notNull": true + }, + "additions": { + "name": "additions", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "deletions": { + "name": "deletions", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "head_ref": { + "name": "head_ref", + "type": "text", + "primaryKey": false, + "notNull": false + }, + "closed_at": { + "name": "closed_at", + "type": "bigint", + "primaryKey": false, + "notNull": false + }, + "merged_by": { + "name": "merged_by", + "type": "text", + "primaryKey": false, + "notNull": false + }, + "base_ref": { + "name": "base_ref", + "type": "text", + "primaryKey": false, + "notNull": false + }, + "draft": { + "name": "draft", + "type": "boolean", + "primaryKey": false, + "notNull": false + }, + "changed_files": { + "name": "changed_files", + "type": "integer", + "primaryKey": false, + "notNull": false + }, + "commits": { + "name": "commits", + "type": "integer", + "primaryKey": false, + "notNull": false + }, + "head_owner": { + "name": "head_owner", + "type": "text", + "primaryKey": false, + "notNull": false + }, + "from_fork": { + "name": "from_fork", + "type": "boolean", + "primaryKey": false, + "notNull": false + }, + "labels": { + "name": "labels", + "type": "jsonb", + "primaryKey": false, + "notNull": false + }, + "review_decision": { + "name": "review_decision", + "type": "text", + "primaryKey": false, + "notNull": false + }, + "merge_commit": { + "name": "merge_commit", + "type": "text", + "primaryKey": false, + "notNull": false + }, + "comments": { + "name": "comments", + "type": "integer", + "primaryKey": false, + "notNull": false + } + }, + "indexes": { + "pull_requests_head": { + "name": "pull_requests_head", + "columns": [ + { + "expression": "repo_id", + "isExpression": false, + "asc": true, + "nulls": "last" + }, + { + "expression": "head_ref", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": { + "pull_requests_repo_id_repositories_id_fk": { + "name": "pull_requests_repo_id_repositories_id_fk", + "tableFrom": "pull_requests", + "tableTo": "repositories", + "columnsFrom": [ + "repo_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": { + "pull_requests_repo_id_number_pk": { + "name": "pull_requests_repo_id_number_pk", + "columns": [ + "repo_id", + "number" + ] + } + }, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.pull_reviews": { + "name": "pull_reviews", + "schema": "", + "columns": { + "repo_id": { + "name": "repo_id", + "type": "text", + "primaryKey": false, + "notNull": true + }, + "number": { + "name": "number", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "reviewer": { + "name": "reviewer", + "type": "text", + "primaryKey": false, + "notNull": true + }, + "reviews": { + "name": "reviews", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "first_at": { + "name": "first_at", + "type": "bigint", + "primaryKey": false, + "notNull": true + }, + "last_at": { + "name": "last_at", + "type": "bigint", + "primaryKey": false, + "notNull": false + }, + "state": { + "name": "state", + "type": "text", + "primaryKey": false, + "notNull": false + }, + "approved_at": { + "name": "approved_at", + "type": "bigint", + "primaryKey": false, + "notNull": false + } + }, + "indexes": {}, + "foreignKeys": { + "pull_reviews_repo_id_repositories_id_fk": { + "name": "pull_reviews_repo_id_repositories_id_fk", + "tableFrom": "pull_reviews", + "tableTo": "repositories", + "columnsFrom": [ + "repo_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": { + "pull_reviews_repo_id_number_reviewer_pk": { + "name": "pull_reviews_repo_id_number_reviewer_pk", + "columns": [ + "repo_id", + "number", + "reviewer" + ] + } + }, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.rate_limits": { + "name": "rate_limits", + "schema": "", + "columns": { + "key": { + "name": "key", + "type": "text", + "primaryKey": true, + "notNull": true + }, + "count": { + "name": "count", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "until": { + "name": "until", + "type": "bigint", + "primaryKey": false, + "notNull": true + } + }, + "indexes": {}, + "foreignKeys": {}, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.repo_blobs": { + "name": "repo_blobs", + "schema": "", + "columns": { + "repo_id": { + "name": "repo_id", + "type": "text", + "primaryKey": false, + "notNull": true + }, + "sha": { + "name": "sha", + "type": "text", + "primaryKey": false, + "notNull": true + }, + "lines": { + "name": "lines", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "binary": { + "name": "binary", + "type": "boolean", + "primaryKey": false, + "notNull": true + } + }, + "indexes": {}, + "foreignKeys": { + "repo_blobs_repo_id_repositories_id_fk": { + "name": "repo_blobs_repo_id_repositories_id_fk", + "tableFrom": "repo_blobs", + "tableTo": "repositories", + "columnsFrom": [ + "repo_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": { + "repo_blobs_repo_id_sha_pk": { + "name": "repo_blobs_repo_id_sha_pk", + "columns": [ + "repo_id", + "sha" + ] + } + }, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.repo_branch_details": { + "name": "repo_branch_details", + "schema": "", + "columns": { + "repo_id": { + "name": "repo_id", + "type": "text", + "primaryKey": false, + "notNull": true + }, + "position": { + "name": "position", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "against": { + "name": "against", + "type": "text", + "primaryKey": false, + "notNull": true + }, + "commits": { + "name": "commits", + "type": "jsonb", + "primaryKey": false, + "notNull": true + }, + "commits_total": { + "name": "commits_total", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "files": { + "name": "files", + "type": "jsonb", + "primaryKey": false, + "notNull": true + }, + "files_total": { + "name": "files_total", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "added": { + "name": "added", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "removed": { + "name": "removed", + "type": "integer", + "primaryKey": false, + "notNull": true + } + }, + "indexes": {}, + "foreignKeys": { + "repo_branch_details_repo_id_repositories_id_fk": { + "name": "repo_branch_details_repo_id_repositories_id_fk", + "tableFrom": "repo_branch_details", + "tableTo": "repositories", + "columnsFrom": [ + "repo_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": { + "repo_branch_details_repo_id_position_pk": { + "name": "repo_branch_details_repo_id_position_pk", + "columns": [ + "repo_id", + "position" + ] + } + }, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.repo_branches": { + "name": "repo_branches", + "schema": "", + "columns": { + "repo_id": { + "name": "repo_id", + "type": "text", + "primaryKey": false, + "notNull": true + }, + "position": { + "name": "position", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "name": { + "name": "name", + "type": "text", + "primaryKey": false, + "notNull": true + }, + "sha": { + "name": "sha", + "type": "text", + "primaryKey": false, + "notNull": true + }, + "at": { + "name": "at", + "type": "bigint", + "primaryKey": false, + "notNull": true + }, + "author": { + "name": "author", + "type": "text", + "primaryKey": false, + "notNull": true + }, + "login": { + "name": "login", + "type": "text", + "primaryKey": false, + "notNull": false + }, + "subject": { + "name": "subject", + "type": "text", + "primaryKey": false, + "notNull": true + }, + "ahead": { + "name": "ahead", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "behind": { + "name": "behind", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "base": { + "name": "base", + "type": "text", + "primaryKey": false, + "notNull": true + }, + "base_at": { + "name": "base_at", + "type": "bigint", + "primaryKey": false, + "notNull": true + }, + "merged": { + "name": "merged", + "type": "boolean", + "primaryKey": false, + "notNull": true + }, + "squashed": { + "name": "squashed", + "type": "boolean", + "primaryKey": false, + "notNull": true, + "default": false + }, + "parent": { + "name": "parent", + "type": "text", + "primaryKey": false, + "notNull": false + }, + "shared": { + "name": "shared", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "bot": { + "name": "bot", + "type": "boolean", + "primaryKey": false, + "notNull": true, + "default": false + } + }, + "indexes": {}, + "foreignKeys": { + "repo_branches_repo_id_repositories_id_fk": { + "name": "repo_branches_repo_id_repositories_id_fk", + "tableFrom": "repo_branches", + "tableTo": "repositories", + "columnsFrom": [ + "repo_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": { + "repo_branches_repo_id_position_pk": { + "name": "repo_branches_repo_id_position_pk", + "columns": [ + "repo_id", + "position" + ] + } + }, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.repo_events": { + "name": "repo_events", + "schema": "", + "columns": { + "id": { + "name": "id", + "type": "text", + "primaryKey": true, + "notNull": true + }, + "repo_id": { + "name": "repo_id", + "type": "text", + "primaryKey": false, + "notNull": true + }, + "kind": { + "name": "kind", + "type": "text", + "primaryKey": false, + "notNull": true + }, + "actor": { + "name": "actor", + "type": "text", + "primaryKey": false, + "notNull": false + }, + "title": { + "name": "title", + "type": "text", + "primaryKey": false, + "notNull": false + }, + "url": { + "name": "url", + "type": "text", + "primaryKey": false, + "notNull": false + }, + "count": { + "name": "count", + "type": "integer", + "primaryKey": false, + "notNull": false + }, + "at": { + "name": "at", + "type": "bigint", + "primaryKey": false, + "notNull": true + } + }, + "indexes": { + "repo_events_repo_at": { + "name": "repo_events_repo_at", + "columns": [ + { + "expression": "repo_id", + "isExpression": false, + "asc": true, + "nulls": "last" + }, + { + "expression": "at", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": { + "repo_events_repo_id_repositories_id_fk": { + "name": "repo_events_repo_id_repositories_id_fk", + "tableFrom": "repo_events", + "tableTo": "repositories", + "columnsFrom": [ + "repo_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.repo_git": { + "name": "repo_git", + "schema": "", + "columns": { + "repo_id": { + "name": "repo_id", + "type": "text", + "primaryKey": true, + "notNull": true + }, + "prefix": { + "name": "prefix", + "type": "text", + "primaryKey": false, + "notNull": true + }, + "build_id": { + "name": "build_id", + "type": "text", + "primaryKey": false, + "notNull": true + }, + "built_at": { + "name": "built_at", + "type": "bigint", + "primaryKey": false, + "notNull": true + }, + "head": { + "name": "head", + "type": "text", + "primaryKey": false, + "notNull": true + }, + "branch": { + "name": "branch", + "type": "text", + "primaryKey": false, + "notNull": true + }, + "branches": { + "name": "branches", + "type": "integer", + "primaryKey": false, + "notNull": true, + "default": 0 + }, + "tags": { + "name": "tags", + "type": "integer", + "primaryKey": false, + "notNull": true, + "default": 0 + }, + "files": { + "name": "files", + "type": "integer", + "primaryKey": false, + "notNull": true, + "default": 0 + }, + "stored": { + "name": "stored", + "type": "integer", + "primaryKey": false, + "notNull": true, + "default": 0 + }, + "pulls": { + "name": "pulls", + "type": "integer", + "primaryKey": false, + "notNull": true, + "default": 0 + }, + "bytes": { + "name": "bytes", + "type": "bigint", + "primaryKey": false, + "notNull": true, + "default": 0 + }, + "logged": { + "name": "logged", + "type": "integer", + "primaryKey": false, + "notNull": true, + "default": 0 + }, + "complete": { + "name": "complete", + "type": "boolean", + "primaryKey": false, + "notNull": true, + "default": false + }, + "seconds": { + "name": "seconds", + "type": "real", + "primaryKey": false, + "notNull": true, + "default": 0 + }, + "steps": { + "name": "steps", + "type": "text", + "primaryKey": false, + "notNull": true, + "default": "'[]'" + }, + "branches_total": { + "name": "branches_total", + "type": "integer", + "primaryKey": false, + "notNull": true, + "default": 0 + }, + "tags_total": { + "name": "tags_total", + "type": "integer", + "primaryKey": false, + "notNull": true, + "default": 0 + }, + "inferred": { + "name": "inferred", + "type": "boolean", + "primaryKey": false, + "notNull": true, + "default": false + } + }, + "indexes": {}, + "foreignKeys": { + "repo_git_repo_id_repositories_id_fk": { + "name": "repo_git_repo_id_repositories_id_fk", + "tableFrom": "repo_git", + "tableTo": "repositories", + "columnsFrom": [ + "repo_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.repo_names": { + "name": "repo_names", + "schema": "", + "columns": { + "id": { + "name": "id", + "type": "text", + "primaryKey": true, + "notNull": true + }, + "repo_id": { + "name": "repo_id", + "type": "text", + "primaryKey": false, + "notNull": true + }, + "at": { + "name": "at", + "type": "bigint", + "primaryKey": false, + "notNull": true + } + }, + "indexes": { + "repo_names_repo": { + "name": "repo_names_repo", + "columns": [ + { + "expression": "repo_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": { + "repo_names_repo_id_repositories_id_fk": { + "name": "repo_names_repo_id_repositories_id_fk", + "tableFrom": "repo_names", + "tableTo": "repositories", + "columnsFrom": [ + "repo_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.repo_people": { + "name": "repo_people", + "schema": "", + "columns": { + "repo_id": { + "name": "repo_id", + "type": "text", + "primaryKey": false, + "notNull": true + }, + "person_id": { + "name": "person_id", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "name": { + "name": "name", + "type": "text", + "primaryKey": false, + "notNull": true + }, + "login": { + "name": "login", + "type": "text", + "primaryKey": false, + "notNull": false + }, + "commits": { + "name": "commits", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "lines_added": { + "name": "lines_added", + "type": "integer", + "primaryKey": false, + "notNull": false + }, + "lines_removed": { + "name": "lines_removed", + "type": "integer", + "primaryKey": false, + "notNull": false + }, + "first": { + "name": "first", + "type": "bigint", + "primaryKey": false, + "notNull": false + }, + "last": { + "name": "last", + "type": "bigint", + "primaryKey": false, + "notNull": false + }, + "report_key": { + "name": "report_key", + "type": "text", + "primaryKey": false, + "notNull": true + } + }, + "indexes": { + "repo_people_lower_login": { + "name": "repo_people_lower_login", + "columns": [ + { + "expression": "lower(\"login\")", + "asc": true, + "isExpression": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": { + "repo_people_repo_id_repositories_id_fk": { + "name": "repo_people_repo_id_repositories_id_fk", + "tableFrom": "repo_people", + "tableTo": "repositories", + "columnsFrom": [ + "repo_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": { + "repo_people_repo_id_person_id_pk": { + "name": "repo_people_repo_id_person_id_pk", + "columns": [ + "repo_id", + "person_id" + ] + } + }, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.repo_tags": { + "name": "repo_tags", + "schema": "", + "columns": { + "repo_id": { + "name": "repo_id", + "type": "text", + "primaryKey": false, + "notNull": true + }, + "position": { + "name": "position", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "name": { + "name": "name", + "type": "text", + "primaryKey": false, + "notNull": true + }, + "sha": { + "name": "sha", + "type": "text", + "primaryKey": false, + "notNull": true + }, + "at": { + "name": "at", + "type": "bigint", + "primaryKey": false, + "notNull": true + } + }, + "indexes": {}, + "foreignKeys": { + "repo_tags_repo_id_repositories_id_fk": { + "name": "repo_tags_repo_id_repositories_id_fk", + "tableFrom": "repo_tags", + "tableTo": "repositories", + "columnsFrom": [ + "repo_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": { + "repo_tags_repo_id_position_pk": { + "name": "repo_tags_repo_id_position_pk", + "columns": [ + "repo_id", + "position" + ] + } + }, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.repositories": { + "name": "repositories", + "schema": "", + "columns": { + "id": { + "name": "id", + "type": "text", + "primaryKey": true, + "notNull": true + }, + "owner": { + "name": "owner", + "type": "text", + "primaryKey": false, + "notNull": true + }, + "name": { + "name": "name", + "type": "text", + "primaryKey": false, + "notNull": true + }, + "github_id": { + "name": "github_id", + "type": "bigint", + "primaryKey": false, + "notNull": false + }, + "private": { + "name": "private", + "type": "boolean", + "primaryKey": false, + "notNull": true, + "default": false + }, + "status": { + "name": "status", + "type": "text", + "primaryKey": false, + "notNull": true, + "default": "'ok'" + }, + "facts": { + "name": "facts", + "type": "text", + "primaryKey": false, + "notNull": false + }, + "facts_at": { + "name": "facts_at", + "type": "bigint", + "primaryKey": false, + "notNull": false + }, + "size_kb": { + "name": "size_kb", + "type": "integer", + "primaryKey": false, + "notNull": false + }, + "report_key": { + "name": "report_key", + "type": "text", + "primaryKey": false, + "notNull": false + }, + "report_at": { + "name": "report_at", + "type": "bigint", + "primaryKey": false, + "notNull": false + }, + "report_bytes": { + "name": "report_bytes", + "type": "integer", + "primaryKey": false, + "notNull": false + }, + "report_lines": { + "name": "report_lines", + "type": "boolean", + "primaryKey": false, + "notNull": false + }, + "viewed_at": { + "name": "viewed_at", + "type": "bigint", + "primaryKey": false, + "notNull": false + }, + "installation_id": { + "name": "installation_id", + "type": "bigint", + "primaryKey": false, + "notNull": false + }, + "connected_by": { + "name": "connected_by", + "type": "text", + "primaryKey": false, + "notNull": false + }, + "seed": { + "name": "seed", + "type": "boolean", + "primaryKey": false, + "notNull": true, + "default": false + }, + "language": { + "name": "language", + "type": "text", + "primaryKey": false, + "notNull": false + }, + "stars": { + "name": "stars", + "type": "integer", + "primaryKey": false, + "notNull": false + }, + "bus_factor": { + "name": "bus_factor", + "type": "integer", + "primaryKey": false, + "notNull": false + }, + "maintainers": { + "name": "maintainers", + "type": "integer", + "primaryKey": false, + "notNull": false + }, + "commits_30d": { + "name": "commits_30d", + "type": "integer", + "primaryKey": false, + "notNull": false + }, + "code_lines": { + "name": "code_lines", + "type": "integer", + "primaryKey": false, + "notNull": false + }, + "pulls_at": { + "name": "pulls_at", + "type": "text", + "primaryKey": false, + "notNull": false + }, + "pulls_read_at": { + "name": "pulls_read_at", + "type": "bigint", + "primaryKey": false, + "notNull": false + }, + "pulls_cursor": { + "name": "pulls_cursor", + "type": "text", + "primaryKey": false, + "notNull": false + }, + "pulls_mark": { + "name": "pulls_mark", + "type": "text", + "primaryKey": false, + "notNull": false + }, + "pulls_version": { + "name": "pulls_version", + "type": "integer", + "primaryKey": false, + "notNull": true, + "default": 0 + }, + "index_id": { + "name": "index_id", + "type": "integer", + "primaryKey": false, + "notNull": false + }, + "report_meta": { + "name": "report_meta", + "type": "jsonb", + "primaryKey": false, + "notNull": false + }, + "report_stats": { + "name": "report_stats", + "type": "jsonb", + "primaryKey": false, + "notNull": false + } + }, + "indexes": { + "repositories_installation": { + "name": "repositories_installation", + "columns": [ + { + "expression": "installation_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "repositories_seed": { + "name": "repositories_seed", + "columns": [ + { + "expression": "seed", + "isExpression": false, + "asc": true, + "nulls": "last" + }, + { + "expression": "report_at", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "repositories_github_id": { + "name": "repositories_github_id", + "columns": [ + { + "expression": "github_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": { + "repositories_connected_by_user_id_fk": { + "name": "repositories_connected_by_user_id_fk", + "tableFrom": "repositories", + "tableTo": "user", + "columnsFrom": [ + "connected_by" + ], + "columnsTo": [ + "id" + ], + "onDelete": "set null", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.session": { + "name": "session", + "schema": "", + "columns": { + "id": { + "name": "id", + "type": "text", + "primaryKey": true, + "notNull": true + }, + "expires_at": { + "name": "expires_at", + "type": "timestamp", + "primaryKey": false, + "notNull": true + }, + "token": { + "name": "token", + "type": "text", + "primaryKey": false, + "notNull": true + }, + "created_at": { + "name": "created_at", + "type": "timestamp", + "primaryKey": false, + "notNull": true, + "default": "now()" + }, + "updated_at": { + "name": "updated_at", + "type": "timestamp", + "primaryKey": false, + "notNull": true + }, + "ip_address": { + "name": "ip_address", + "type": "text", + "primaryKey": false, + "notNull": false + }, + "user_agent": { + "name": "user_agent", + "type": "text", + "primaryKey": false, + "notNull": false + }, + "user_id": { + "name": "user_id", + "type": "text", + "primaryKey": false, + "notNull": true + } + }, + "indexes": { + "session_user_id": { + "name": "session_user_id", + "columns": [ + { + "expression": "user_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": { + "session_user_id_user_id_fk": { + "name": "session_user_id_user_id_fk", + "tableFrom": "session", + "tableTo": "user", + "columnsFrom": [ + "user_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": { + "session_token_unique": { + "name": "session_token_unique", + "nullsNotDistinct": false, + "columns": [ + "token" + ] + } + }, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.shares": { + "name": "shares", + "schema": "", + "columns": { + "id": { + "name": "id", + "type": "text", + "primaryKey": true, + "notNull": true + }, + "bytes": { + "name": "bytes", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "created_at": { + "name": "created_at", + "type": "bigint", + "primaryKey": false, + "notNull": true + }, + "expires_at": { + "name": "expires_at", + "type": "bigint", + "primaryKey": false, + "notNull": true + }, + "delete_hash": { + "name": "delete_hash", + "type": "text", + "primaryKey": false, + "notNull": true + }, + "upload_hash": { + "name": "upload_hash", + "type": "text", + "primaryKey": false, + "notNull": false + }, + "uploaded": { + "name": "uploaded", + "type": "boolean", + "primaryKey": false, + "notNull": true, + "default": false + } + }, + "indexes": { + "shares_expires": { + "name": "shares_expires", + "columns": [ + { + "expression": "expires_at", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": {}, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.stored_indexes": { + "name": "stored_indexes", + "schema": "", + "columns": { + "id": { + "name": "id", + "type": "serial", + "primaryKey": true, + "notNull": true + }, + "repo_id": { + "name": "repo_id", + "type": "text", + "primaryKey": false, + "notNull": true + }, + "lineage": { + "name": "lineage", + "type": "text", + "primaryKey": false, + "notNull": true + }, + "kept": { + "name": "kept", + "type": "boolean", + "primaryKey": false, + "notNull": true + }, + "state": { + "name": "state", + "type": "text", + "primaryKey": false, + "notNull": true + }, + "head": { + "name": "head", + "type": "text", + "primaryKey": false, + "notNull": false + }, + "frontier": { + "name": "frontier", + "type": "text[]", + "primaryKey": false, + "notNull": true, + "default": "'{}'" + }, + "lines": { + "name": "lines", + "type": "boolean", + "primaryKey": false, + "notNull": true + }, + "lines_left": { + "name": "lines_left", + "type": "integer", + "primaryKey": false, + "notNull": false + }, + "commits": { + "name": "commits", + "type": "integer", + "primaryKey": false, + "notNull": true, + "default": 0 + }, + "built_at": { + "name": "built_at", + "type": "bigint", + "primaryKey": false, + "notNull": true + }, + "loaded_at": { + "name": "loaded_at", + "type": "bigint", + "primaryKey": false, + "notNull": false + }, + "anchor": { + "name": "anchor", + "type": "bigint", + "primaryKey": false, + "notNull": true, + "default": 0 + }, + "options": { + "name": "options", + "type": "jsonb", + "primaryKey": false, + "notNull": true, + "default": "'{\"max_changeset_size\":50,\"coupling_support\":5,\"ownership_min_commits\":10}'::jsonb" + }, + "snapshot": { + "name": "snapshot", + "type": "jsonb", + "primaryKey": false, + "notNull": false + }, + "pack": { + "name": "pack", + "type": "text", + "primaryKey": false, + "notNull": false + }, + "mark": { + "name": "mark", + "type": "text", + "primaryKey": false, + "notNull": false + } + }, + "indexes": { + "stored_indexes_repo": { + "name": "stored_indexes_repo", + "columns": [ + { + "expression": "repo_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": { + "stored_indexes_repo_id_repositories_id_fk": { + "name": "stored_indexes_repo_id_repositories_id_fk", + "tableFrom": "stored_indexes", + "tableTo": "repositories", + "columnsFrom": [ + "repo_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.surviving": { + "name": "surviving", + "schema": "", + "columns": { + "repo_id": { + "name": "repo_id", + "type": "text", + "primaryKey": false, + "notNull": true + }, + "report_key": { + "name": "report_key", + "type": "text", + "primaryKey": false, + "notNull": true + }, + "person_id": { + "name": "person_id", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "status": { + "name": "status", + "type": "text", + "primaryKey": false, + "notNull": true + }, + "lines": { + "name": "lines", + "type": "integer", + "primaryKey": false, + "notNull": false + }, + "added": { + "name": "added", + "type": "integer", + "primaryKey": false, + "notNull": false + }, + "files": { + "name": "files", + "type": "integer", + "primaryKey": false, + "notNull": false + }, + "seconds": { + "name": "seconds", + "type": "real", + "primaryKey": false, + "notNull": false + }, + "head": { + "name": "head", + "type": "text", + "primaryKey": false, + "notNull": false + }, + "oldest": { + "name": "oldest", + "type": "bigint", + "primaryKey": false, + "notNull": false + }, + "asked_at": { + "name": "asked_at", + "type": "bigint", + "primaryKey": false, + "notNull": true + }, + "counted_at": { + "name": "counted_at", + "type": "bigint", + "primaryKey": false, + "notNull": false + } + }, + "indexes": { + "surviving_status": { + "name": "surviving_status", + "columns": [ + { + "expression": "status", + "isExpression": false, + "asc": true, + "nulls": "last" + }, + { + "expression": "asked_at", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": { + "surviving_repo_id_repositories_id_fk": { + "name": "surviving_repo_id_repositories_id_fk", + "tableFrom": "surviving", + "tableTo": "repositories", + "columnsFrom": [ + "repo_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": { + "surviving_repo_id_report_key_person_id_pk": { + "name": "surviving_repo_id_report_key_person_id_pk", + "columns": [ + "repo_id", + "report_key", + "person_id" + ] + } + }, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.user": { + "name": "user", + "schema": "", + "columns": { + "id": { + "name": "id", + "type": "text", + "primaryKey": true, + "notNull": true + }, + "name": { + "name": "name", + "type": "text", + "primaryKey": false, + "notNull": true + }, + "email": { + "name": "email", + "type": "text", + "primaryKey": false, + "notNull": true + }, + "email_verified": { + "name": "email_verified", + "type": "boolean", + "primaryKey": false, + "notNull": true, + "default": false + }, + "image": { + "name": "image", + "type": "text", + "primaryKey": false, + "notNull": false + }, + "login": { + "name": "login", + "type": "text", + "primaryKey": false, + "notNull": false + }, + "created_at": { + "name": "created_at", + "type": "timestamp", + "primaryKey": false, + "notNull": true, + "default": "now()" + }, + "updated_at": { + "name": "updated_at", + "type": "timestamp", + "primaryKey": false, + "notNull": true, + "default": "now()" + } + }, + "indexes": {}, + "foreignKeys": {}, + "compositePrimaryKeys": {}, + "uniqueConstraints": { + "user_email_unique": { + "name": "user_email_unique", + "nullsNotDistinct": false, + "columns": [ + "email" + ] + } + }, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.verification": { + "name": "verification", + "schema": "", + "columns": { + "id": { + "name": "id", + "type": "text", + "primaryKey": true, + "notNull": true + }, + "identifier": { + "name": "identifier", + "type": "text", + "primaryKey": false, + "notNull": true + }, + "value": { + "name": "value", + "type": "text", + "primaryKey": false, + "notNull": true + }, + "expires_at": { + "name": "expires_at", + "type": "timestamp", + "primaryKey": false, + "notNull": true + }, + "created_at": { + "name": "created_at", + "type": "timestamp", + "primaryKey": false, + "notNull": true, + "default": "now()" + }, + "updated_at": { + "name": "updated_at", + "type": "timestamp", + "primaryKey": false, + "notNull": true, + "default": "now()" + } + }, + "indexes": { + "verification_identifier": { + "name": "verification_identifier", + "columns": [ + { + "expression": "identifier", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": {}, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + } + }, + "enums": {}, + "schemas": {}, + "sequences": {}, + "roles": {}, + "policies": {}, + "views": {}, + "_meta": { + "columns": {}, + "schemas": {}, + "tables": {} + } +} \ No newline at end of file diff --git a/packages/server/drizzle/meta/_journal.json b/packages/server/drizzle/meta/_journal.json index bd27b2d..88c360e 100644 --- a/packages/server/drizzle/meta/_journal.json +++ b/packages/server/drizzle/meta/_journal.json @@ -253,6 +253,13 @@ "when": 1793046314802, "tag": "0035_organic_leopardon", "breakpoints": true + }, + { + "idx": 36, + "version": "7", + "when": 1793047363511, + "tag": "0036_past_swarm", + "breakpoints": true } ] } \ No newline at end of file diff --git a/packages/server/src/db/schema.ts b/packages/server/src/db/schema.ts index e6b70d1..ac51fb7 100644 --- a/packages/server/src/db/schema.ts +++ b/packages/server/src/db/schema.ts @@ -493,6 +493,7 @@ export const storedIndexes = pgTable( options: jsonb("options").$type().notNull().default({ max_changeset_size: 50, coupling_support: 5, ownership_min_commits: 10 }), snapshot: jsonb("snapshot").$type(), pack: text("pack"), + mark: text("mark"), }, (t) => [index("stored_indexes_repo").on(t.repoId)], ); diff --git a/packages/server/src/stored-index.test.ts b/packages/server/src/stored-index.test.ts index a740a47..6d312ca 100644 --- a/packages/server/src/stored-index.test.ts +++ b/packages/server/src/stored-index.test.ts @@ -41,6 +41,8 @@ function writeExport(manifest: Partial, commits: Commit[], extra max_changeset_size: 50, coupling_support: 5, ownership_min_commits: 10, + mark: "full mark", + changes_only: false, ...manifest, }; const arr = (xs: number[] | null) => (xs ? `{${xs.join(",")}}` : "\\N"); @@ -61,7 +63,7 @@ function writeExport(manifest: Partial, commits: Commit[], extra } describe("appendable", () => { - const live = { id: 1, lineage: "7", kept: true, frontier: ["a"], lines: true, linesLeft: 0, head: "a", pack: null }; + const live = { id: 1, lineage: "7", kept: true, frontier: ["a"], lines: true, linesLeft: 0, head: "a", pack: null, mark: null }; test("only a kept Stored Index with a frontier takes what is new", () => { expect(appendable(live)).toBe(true); expect(appendable(null)).toBe(false); @@ -115,7 +117,7 @@ describe.skipIf(!url)("loading an export into Postgres", async () => { const loaded = await loadExport(pool, repo, dir); expect(loaded).toMatchObject({ full: true, total: 2, mainline: 0, lines: 0 }); const live = await liveIndex(db, repo); - expect(live).toMatchObject({ id: loaded.si, lineage: "7", lines: true, kept: true }); + expect(live).toMatchObject({ id: loaded.si, lineage: "7", lines: true, kept: true, mark: "full mark" }); expect(await db.select({ person: indexPeople.person, login: indexPeople.login }).from(indexPeople).where(eq(indexPeople.si, loaded.si))).toHaveLength(2); expect((await commitRows(loaded.si)).map((r) => [r.flags, r.arrival, r.added, r.removed])).toEqual([ [24, 86_400, 7, 0], @@ -129,7 +131,7 @@ describe.skipIf(!url)("loading an export into Postgres", async () => { const live = await liveIndex(db, repo); if (!live) throw new Error("no live Stored Index"); const [before] = await db.select({ loadedAt: storedIndexes.loadedAt }).from(storedIndexes).where(eq(storedIndexes.id, live.id)); - const dir = writeExport({ full: false, total: 3 }, [{ n: 3, at: 2 * 86_400 + 60, signature: 0, files: [1], added: [1], flags: 25, arrival: 2 * 86_400 + 60 }], { + const dir = writeExport({ full: false, total: 3, mark: "appended mark", changes_only: true }, [{ n: 3, at: 2 * 86_400 + 60, signature: 0, files: [1], added: [1], flags: 25, arrival: 2 * 86_400 + 60 }], { mainline: [ { n: 1, flags: 24, arrival: 86_400 }, { n: 2, flags: 8, arrival: 2 * 86_400 + 60 }, @@ -138,6 +140,7 @@ describe.skipIf(!url)("loading an export into Postgres", async () => { }); const loaded = await loadExport(pool, repo, dir); expect(loaded).toMatchObject({ si: live.id, full: false, commits: 1, total: 3, mainline: 1 }); + expect((await liveIndex(db, repo))?.mark).toBe("appended mark"); expect((await commitRows(live.id)).map((r) => [r.flags, r.arrival])).toEqual([ [24, 86_400], [8, 2 * 86_400 + 60], diff --git a/packages/server/src/stored-index.ts b/packages/server/src/stored-index.ts index 7540d70..43d0af6 100644 --- a/packages/server/src/stored-index.ts +++ b/packages/server/src/stored-index.ts @@ -11,7 +11,7 @@ import * as schema from "./db/schema"; import { indexCommits, repositories, storedIndexes, type IndexSnapshot } from "./db/schema"; import { now } from "./time"; -export const EXPORT_FORMAT = 3; +export const EXPORT_FORMAT = 4; export type ExportManifest = { format: number; @@ -30,11 +30,13 @@ export type ExportManifest = { max_changeset_size: number; coupling_support: number; ownership_min_commits: number; + mark: string; + changes_only: boolean; }; export const LOADED = "stored_index_loaded"; -export type LiveIndex = { id: number; lineage: string; kept: boolean; frontier: string[]; lines: boolean; linesLeft: number | null; head: string | null; pack: string | null }; +export type LiveIndex = { id: number; lineage: string; kept: boolean; frontier: string[]; lines: boolean; linesLeft: number | null; head: string | null; pack: string | null; mark: string | null }; export type Loaded = { si: number; full: boolean; commits: number; total: number; mainline: number; lines: number; seconds: number }; @@ -65,7 +67,7 @@ async function readSnapshot(dir: string): Promise { /** The repository's live Stored Index, or null when it has none. */ export async function liveIndex(db: Db, repoId: string): Promise { const [row] = await db - .select({ id: storedIndexes.id, lineage: storedIndexes.lineage, kept: storedIndexes.kept, frontier: storedIndexes.frontier, lines: storedIndexes.lines, linesLeft: storedIndexes.linesLeft, head: storedIndexes.head, pack: storedIndexes.pack }) + .select({ id: storedIndexes.id, lineage: storedIndexes.lineage, kept: storedIndexes.kept, frontier: storedIndexes.frontier, lines: storedIndexes.lines, linesLeft: storedIndexes.linesLeft, head: storedIndexes.head, pack: storedIndexes.pack, mark: storedIndexes.mark }) .from(repositories) .innerJoin(storedIndexes, eq(storedIndexes.id, repositories.indexId)) .where(eq(repositories.id, repoId)); @@ -111,6 +113,7 @@ export async function loadExport(pool: pg.Pool, repoId: string, dir: string): Pr anchor: manifest.anchor, options: { max_changeset_size: manifest.max_changeset_size, coupling_support: manifest.coupling_support, ownership_min_commits: manifest.ownership_min_commits }, snapshot: await readSnapshot(dir), + mark: manifest.mark, }) .where(eq(storedIndexes.id, si)); await db.update(repositories).set({ indexId: si }).where(eq(repositories.id, repoId)); From e6e47968fc2800d56eddabcd94ded19c451f81d2 Mon Sep 17 00:00:00 2001 From: Dev Talan <84081651+devchaudhary24k@users.noreply.github.com> Date: Tue, 27 Oct 2026 04:29:38 +0530 Subject: [PATCH 07/82] perf(builder): skip Builds whose head did not move A Build whose Report is whole (its pack, every Mainline line counted and none left, built within a week) now asks the remote where the default branch's head is with one `git ls-remote`. When it is still the head the Report was built from, the Build ends there: no clone, no engine run, no load and no upload. repositories.checked_at records when a Report was found current, and the Site counts a Report checked within a day as fresh. Quiet Builds and retries skip the check, and a Report a week old is built again so the time Windows never drift further than that. Seeds follow the same rule: their heads are asked of GitHub's GraphQL API a hundred repositories to a request, an unmoved one is only marked checked, and a moved one is queued when someone viewed it since its last Build, or once its Report is a week old. A Build with nothing new (react, linux; this box, 2 cores): before, a fetch, a warm engine run (linux ~20 s, 1,082 MB anon), a Postgres load, a pack upload and an Atlas on the Site; after, 1.0-2.3 s wall, all of it the round trip to GitHub, about 40 ms of Node CPU and 30 ms of git. --- CONTEXT.md | 2 +- DEPLOY.md | 2 +- apps/builder/src/clone.ts | 7 + apps/builder/src/job.test.ts | 118 +- apps/builder/src/job.ts | 22 + apps/builder/src/main.ts | 4 +- apps/builder/src/seeds.ts | 65 +- apps/site/src/server/repos.ts | 3 +- apps/site/src/server/security.test.ts | 12 + docs/working.md | 9 +- .../drizzle/0037_petite_jamie_braddock.sql | 1 + .../server/drizzle/meta/0037_snapshot.json | 3349 +++++++++++++++++ packages/server/drizzle/meta/_journal.json | 7 + packages/server/src/builds.test.ts | 20 +- packages/server/src/builds.ts | 19 + packages/server/src/db/schema.ts | 1 + 16 files changed, 3619 insertions(+), 22 deletions(-) create mode 100644 packages/server/drizzle/0037_petite_jamie_braddock.sql create mode 100644 packages/server/drizzle/meta/0037_snapshot.json diff --git a/CONTEXT.md b/CONTEXT.md index a1b1ca4..052da9a 100644 --- a/CONTEXT.md +++ b/CONTEXT.md @@ -197,7 +197,7 @@ What reads a repository's history for the Site: it clones the repository, runs t _Avoid_: worker, backend, crawler. **Build**: -One run of the Builder for one repository, from clone to published Pack, in two phases at once: a clone without old file contents gives a Report without Lines Changed, shown at once, while a full clone counts them, the Mainline first, and replaces it. Quiet Builds that follow count the lines left. A repository's Report is rebuilt when someone asks for it and it is more than a day old, or after a push where commitscape's GitHub App is installed. +One run of the Builder for one repository, from clone to published Pack, in two phases at once: a clone without old file contents gives a Report without Lines Changed, shown at once, while a full clone counts them, the Mainline first, and replaces it. Quiet Builds that follow count the lines left. A repository's Report is rebuilt when someone asks for it and it is more than a day old, or after a push where commitscape's GitHub App is installed. A Build whose Report is whole (every line counted, built within a week) ends at once when the default branch's head has not moved since, and the Report counts as current from then. A seed repository is built again when its head moved and someone viewed it since its last Build, and at least weekly. _Avoid_: job, scan, analysis, refresh. **Engine service**: diff --git a/DEPLOY.md b/DEPLOY.md index b193b52..ca96bc6 100644 --- a/DEPLOY.md +++ b/DEPLOY.md @@ -227,7 +227,7 @@ In Schedules, add two jobs for this application: | Cron | Command | What it does | |---|---|---| | `*/15 * * * *` | `node builder.mjs cleanup` | Deletes expired Shared Reports, old rate-limit counts, expired GitHub answers, ended sessions, and Connected Repositories' Reports unseen for 30 days | -| `0 3 * * *` | `node builder.mjs seed` | Queues the night's seed Builds | +| `0 3 * * *` | `node builder.mjs seed` | Queues the night's seed Builds: a seed whose Report is whole is queued only when its head moved (asked of GitHub's GraphQL API, a hundred repositories to a request) and someone viewed it since its last Build, or when its Report is a week old | `node builder.mjs rebuild` queues a Build, at the lowest priority, for every repository whose live Stored Index has no pack. Run it once after upgrading diff --git a/apps/builder/src/clone.ts b/apps/builder/src/clone.ts index cab7d9a..c5f4130 100644 --- a/apps/builder/src/clone.ts +++ b/apps/builder/src/clone.ts @@ -91,6 +91,13 @@ export async function ensureClone( return { ok: true, fresh: true, seconds: seconds() }; } +/** The commit a repository's HEAD points at on its remote, asked without fetching anything; null when the remote cannot tell. */ +export async function remoteHead(run: typeof runCommand, url: string, env: NodeJS.ProcessEnv, timeoutMs: number): Promise { + const ran = await run("git", ["ls-remote", "--", url, "HEAD"], env, timeoutMs); + if (ran.code !== 0) return null; + return /^([0-9a-f]{40}|[0-9a-f]{64})\tHEAD$/m.exec(ran.stdout ?? "")?.[1] ?? null; +} + const inClone = (dir: string, env: NodeJS.ProcessEnv) => ({ ...env, GIT_DIR: join(dir, ".git") }); /** The objects every ref of a clone points at. */ diff --git a/apps/builder/src/job.test.ts b/apps/builder/src/job.test.ts index 4a612ff..f5869f9 100644 --- a/apps/builder/src/job.test.ts +++ b/apps/builder/src/job.test.ts @@ -11,9 +11,9 @@ import { lendToken, memoryStorage, now, PRIORITY, readManifest, schema, settleRe import type { Config } from "./config"; import { cacheDir, inUse, sweep } from "./disk"; import { fakePerson, flagOf, writeBuilt, type FakeBuild } from "./fake"; -import { MORE_LINES_AFTER, MORE_LINES_MAX, runJob, type JobContext } from "./job"; +import { MORE_LINES_AFTER, MORE_LINES_MAX, runJob, type JobAsked, type JobContext } from "./job"; import { BUILD_ATTEMPTS, type Ran } from "./run"; -import { queueSeeds } from "./seeds"; +import { headsOf, queueSeeds, type Named } from "./seeds"; import type { Telemetry, Who } from "./telemetry"; const { builds, repoPeople, repositories, storedIndexes, surviving } = schema; @@ -246,6 +246,65 @@ test("a Build of a repository found renamed while it ran stores its Report and p expect((await db.select().from(builds)).map((b) => [b.repoId, b.state])).toEqual([["react/react", "done"]]); }); +async function wholeReport(db: Db, id: string, head: string, over: Partial = {}) { + const [owner = "", name = ""] = id.split("/"); + await db.insert(repositories).values({ id, owner, name, sizeKb: 10, reportKey: `reports/gh/${id}/b0`, reportAt: now() - 3 * 24 * 3600, reportLines: true, ...over }); + const [si] = await db + .insert(storedIndexes) + .values({ repoId: id, lineage: "7", kept: true, head, frontier: [head], lines: true, linesLeft: 0, pack: `packs/${id}/1/${head}-b0-lines.pack`, state: "live", builtAt: 1 }) + .returning({ id: storedIndexes.id }); + await db.update(repositories).set({ indexId: si?.id ?? null }).where(eq(repositories.id, id)); +} + +test("a Build whose Report is whole and whose head has not moved ends at its head check, without a clone, the engine or an upload", async () => { + const db = await database(); + const head = "c".repeat(40); + const ran: string[] = []; + const ctx = await context(db, { + run: async (cmd, args) => { + ran.push(`${cmd} ${args[0]}`); + return cmd === "git" && args[0] === "ls-remote" ? { ...ok, stdout: `${head}\tHEAD\n` } : ok; + }, + }); + await wholeReport(db, "acme/rocket", head); + await db.insert(builds).values({ id: "b1", repoId: "acme/rocket", state: "queued", requestedAt: 1 }); + await runJob("b1", ctx); + expect(ran).toEqual(["git ls-remote"]); + expect(await db.select().from(builds)).toMatchObject([{ state: "done", partial: false, reason: null }]); + const repo = await repoRow(db); + expect(repo?.checkedAt).toBeGreaterThan(now() - 60); + expect(repo?.reportKey).toBe("reports/gh/acme/rocket/b0"); + expect(ctx.captured.map((c) => c[0])).toEqual(["build started", "build unchanged"]); + expect(packs(ctx)).toEqual([]); +}); + +test("a Build goes on when the head moved, when the Report is not whole, or for quiet Builds and retries, and asks the remote only when the Report is whole", async () => { + const head = "c".repeat(40); + const cases: [string, Partial, string, number, JobAsked, boolean][] = [ + ["moved", {}, "d".repeat(40), 1, {}, true], + ["a week old", { reportAt: now() - 8 * 24 * 3600 }, head, 1, {}, false], + ["without lines", { reportLines: false }, head, 1, {}, false], + ["quiet", {}, head, 1, { more: 1 }, false], + ["a retry", {}, head, 2, {}, false], + ]; + for (const [label, over, remote, attempt, asked, asks] of cases) { + const db = await database(); + const ran: string[] = []; + const base = tools(); + const ctx = await context(db, { + run: async (cmd, args) => { + ran.push(`${cmd} ${args[0]}`); + return cmd === "git" && args[0] === "ls-remote" ? { ...ok, stdout: `${remote}\tHEAD\n` } : base(cmd, args); + }, + }); + await wholeReport(db, "acme/rocket", head, over); + await db.insert(builds).values({ id: "b1", repoId: "acme/rocket", state: "queued", requestedAt: 1 }); + await runJob("b1", ctx, attempt, asked); + expect([label, ran.includes("git ls-remote")]).toEqual([label, asks]); + expect([label, ran.some((r) => r.startsWith("commitscape build"))]).toEqual([label, true]); + } +}); + test("seeds are kept under the name GitHub's search gives, and a row under an older name moves there", async () => { const db = await database(); const storage = memoryStorage(); @@ -261,6 +320,61 @@ test("seeds are kept under the name GitHub's search gives, and a row under an ol expect((await db.select().from(builds)).map((b) => b.repoId)).toEqual(["a/one"]); }); +test("a whole seed is built again only when its head moved and someone viewed it since, or once it is a week old; an unmoved one is marked checked", async () => { + const db = await database(); + const head = "c".repeat(40); + const week = 8 * 24 * 3600; + const seen = now() - 3 * 24 * 3600 + 60; + await wholeReport(db, "a/unmoved", head, { seed: true, viewedAt: seen }); + await wholeReport(db, "a/moved-unseen", head, { seed: true }); + await wholeReport(db, "a/moved-seen", head, { seed: true, viewedAt: seen }); + await wholeReport(db, "a/old", head, { seed: true, reportAt: now() - week }); + await wholeReport(db, "a/unknown-unseen", head, { seed: true }); + await db.insert(repositories).values({ id: "a/never", owner: "a", name: "never", seed: true }); + const asked: Named[][] = []; + const heads = async (repos: Named[]) => { + asked.push(repos); + const moved = "d".repeat(40); + return new Map([ + ["a/unmoved", head], + ["a/moved-unseen", moved], + ["a/moved-seen", moved], + ["a/old", head], + ]); + }; + const sent: string[] = []; + const queue: Queue = { send: async (job) => void sent.push(job.repoId ?? "") }; + expect(await queueSeeds(db, queue, [], 10, null, heads)).toBe(3); + expect(sent.sort()).toEqual(["a/moved-seen", "a/never", "a/old"]); + expect(asked.flat().map((r) => r.id).sort()).toEqual(["a/moved-seen", "a/moved-unseen", "a/unknown-unseen", "a/unmoved"]); + const rows = await db.select().from(repositories); + expect(rows.filter((r) => r.checkedAt !== null).map((r) => r.id)).toEqual(["a/unmoved"]); +}); + +test("heads are asked of GitHub's GraphQL API a hundred repositories to a request, and one GitHub does not know is left out", async () => { + const bodies: { query: string; variables: Record }[] = []; + const fetcher = (async (_url: string, init: RequestInit) => { + const body = JSON.parse(String(init.body)) as { query: string; variables: Record }; + bodies.push(body); + const data = Object.fromEntries( + Object.keys(body.variables) + .filter((k) => k.startsWith("o")) + .map((k) => { + const j = k.slice(1); + const name = body.variables[`n${j}`] ?? ""; + return [`r${j}`, name === "gone" ? null : { defaultBranchRef: { target: { oid: name.padEnd(40, "0") } } }]; + }), + ); + return new Response(JSON.stringify({ data }), { status: 200 }); + }) as unknown as typeof fetch; + const repos = Array.from({ length: 150 }, (_, i) => ({ id: `o/r${i}`, owner: "o", name: i === 7 ? "gone" : `r${i}` })); + const heads = await headsOf({ api: "http://github.test", token: "t", fetcher }, repos); + expect(bodies).toHaveLength(2); + expect(heads.size).toBe(149); + expect(heads.get("o/r0")).toBe("r0".padEnd(40, "0")); + expect(heads.has("o/r7")).toBe(false); +}); + test("a private repository with no installation token fails as private and reads nothing", async () => { const db = await database(); let ran = 0; diff --git a/apps/builder/src/job.ts b/apps/builder/src/job.ts index a71ae23..abfcef0 100644 --- a/apps/builder/src/job.ts +++ b/apps/builder/src/job.ts @@ -17,10 +17,13 @@ import { type Loaded, type Storage, type SurvivalJob, + unchanged, + whole, } from "@commitscape/server"; import type { BuildFailure, Meta } from "@commitscape/data"; import { accountsFor } from "./accounts"; import { replaceIndex } from "./atlas"; +import { cloneUrl, gitEnv, remoteHead } from "./clone"; import type { Config } from "./config"; import type { SummaryPerson } from "./engine"; import type { GitHubApi } from "./github"; @@ -37,6 +40,8 @@ const COUNTED_AT_ONCE = 10; export const MORE_LINES_MAX = 3; export const MORE_LINES_AFTER = 60; +const HEAD_CHECK_MS = 30_000; + export type JobContext = { db: Db; pool?: ReturnType["pool"]; @@ -110,6 +115,13 @@ async function claimedJob(buildId: string, ctx: JobContext, attempt: number, ask const gh: GitHubApi = { ...ctx.github, token: token ?? ctx.github.token }; let pullsQueued = !!more; const started = Date.now(); + if (!more && attempt === 1 && (await keptUnchanged(ctx, repo, repo.isPrivate ? token : null))) { + const seconds = (Date.now() - started) / 1000; + await end("done", { seconds, partial: false }); + ctx.telemetry?.capture("build unchanged", who, { ...about, seconds }); + log(`build ${buildId} ${repo.id}: its head has not moved, so the Report is kept, in ${seconds.toFixed(2)} s`); + return; + } const load = ctx.loadIndex ?? (ctx.pool ? (repoId: string, dir: string) => loadExport(ctx.pool as NonNullable, repoId, dir) : null); const publish = async (made: Made): Promise => { @@ -213,6 +225,16 @@ async function claimedJob(buildId: string, ctx: JobContext, attempt: number, ask ctx.telemetry?.capture("build failed", who, { ...summary, reason: why?.reason ?? "error", published: outcome.published }); } +/** Whether a Build can end at its head check: the Report is whole and the remote's default branch is still at the head it was built from, asked with one `git ls-remote`, without a clone, the engine or an upload. Records when that was found. */ +async function keptUnchanged(ctx: JobContext, repo: typeof repositories.$inferSelect, token: string | null): Promise { + const live = await liveIndex(ctx.db, repo.id); + if (!whole(repo, live)) return false; + const head = await remoteHead(ctx.run, cloneUrl(ctx.cfg, repo.owner, repo.name), gitEnv(token), HEAD_CHECK_MS).catch(() => null); + if (!unchanged(repo, live, head)) return false; + await ctx.db.update(repositories).set({ checkedAt: now() }).where(eq(repositories.id, repo.id)); + return true; +} + async function queueMoreLines(ctx: JobContext, repoId: string, more: number): Promise { if (!ctx.queueBuild || more > MORE_LINES_MAX) return; const id = randomId(); diff --git a/apps/builder/src/main.ts b/apps/builder/src/main.ts index 8655e09..6549093 100644 --- a/apps/builder/src/main.ts +++ b/apps/builder/src/main.ts @@ -31,7 +31,7 @@ import { jobLimitOf, run, sharingEngine } from "./run"; import { pullsToken, readPulls } from "./pulls"; import { budgetOf, runSurvival } from "./survival"; import { queueRebuilds } from "./rebuild"; -import { queueSeeds, seedConfig, seedList } from "./seeds"; +import { headsOf, queueSeeds, seedConfig, seedList } from "./seeds"; const env = loadEnv(); const telemetry = startTelemetry({ @@ -178,7 +178,7 @@ async function once(what: string) { const s = { ...seedConfig(env), token: await site.ready() }; const list = await seedList(s); const boss = await startQueue(env.DATABASE_URL, { worker: false }); - const queued = await queueSeeds(db, bossQueue(boss), list, s.budget, storage); + const queued = await queueSeeds(db, bossQueue(boss), list, s.budget, storage, (repos) => headsOf({ api: env.GITHUB_API, token: s.token ?? null }, repos)); await boss.stop(); console.log(`seeds: ${list.length} from GitHub's search, ${queued} queued`); } else if (what === "rebuild") { diff --git a/apps/builder/src/seeds.ts b/apps/builder/src/seeds.ts index 2eab376..7ee1447 100644 --- a/apps/builder/src/seeds.ts +++ b/apps/builder/src/seeds.ts @@ -1,8 +1,34 @@ -import { and, desc, eq, sql } from "drizzle-orm"; -import { busy, now, PRIORITY, queueBuild, REPORT_FOR, repoId, schema, settleRepository, type Db, type Queue, type Storage } from "@commitscape/server"; +import { and, desc, eq, inArray, sql } from "drizzle-orm"; +import { busy, now, PRIORITY, queueBuild, REPORT_FOR, repoId, schema, settleRepository, unchanged, whole, type Db, type Queue, type Storage } from "@commitscape/server"; import type { Env } from "./config"; +import { graphql, type GitHubApi } from "./github"; -const { builds, repositories } = schema; +const { builds, repositories, storedIndexes } = schema; + +const HEADS_ASKED = 100; + +export type Named = { id: string; owner: string; name: string }; + +export type Heads = (repos: Named[]) => Promise>; + +type HeadAnswer = Record; + +/** The head of each repository's default branch, asked of GitHub's GraphQL API a hundred repositories to a request; a repository GitHub does not answer for, or a request that fails, is left out. */ +export async function headsOf(gh: GitHubApi, repos: Named[]): Promise> { + const out = new Map(); + for (let i = 0; i < repos.length; i += HEADS_ASKED) { + const chunk = repos.slice(i, i + HEADS_ASKED); + const params = chunk.map((_, j) => `$o${j}: String!, $n${j}: String!`).join(", "); + const fields = chunk.map((_, j) => `r${j}: repository(owner: $o${j}, name: $n${j}) { defaultBranchRef { target { oid } } }`).join(" "); + const variables = Object.fromEntries(chunk.flatMap((r, j) => [[`o${j}`, r.owner], [`n${j}`, r.name]])); + const data = await graphql(gh, `query(${params}) { ${fields} }`, variables).catch(() => null); + chunk.forEach((r, j) => { + const oid = data?.[`r${j}`]?.defaultBranchRef?.target?.oid; + if (oid) out.set(r.id, oid); + }); + } + return out; +} export type SeedConfig = { languages: string[]; @@ -59,8 +85,8 @@ function pause(ms: number): Promise { return new Promise((r) => setTimeout(r, ms)); } -/** Marks the list as seeds under their current names, moving rows kept under older ones, and queues tonight's Builds within the budget. */ -export async function queueSeeds(db: Db, queue: Queue, list: Seed[], budget: number, storage: Storage | null = null): Promise { +/** Marks the list as seeds under their current names, moving rows kept under older ones, and queues tonight's Builds within the budget, the longest unbuilt first. A seed whose Report is whole is built again only when its head moved and someone viewed it since its last Build; its heads are asked in batches, and one whose head has not moved is marked checked. Every seed is built at least weekly. */ +export async function queueSeeds(db: Db, queue: Queue, list: Seed[], budget: number, storage: Storage | null = null, heads: Heads | null = null): Promise { const valid = list.filter((r) => repoId(r.owner, r.name)).slice(0, 500); for (const r of valid) { const fields = { seed: true, language: r.language, stars: r.stars, sizeKb: r.sizeKb }; @@ -73,20 +99,33 @@ export async function queueSeeds(db: Db, queue: Queue, list: Seed[], budget: num .values({ id: repoId(r.owner, r.name) ?? "", owner: r.owner, name: r.name, ...fields }) .onConflictDoUpdate({ target: repositories.id, set: fields }); } - const due = await db - .select() - .from(repositories) - .where(and(eq(repositories.seed, true), eq(repositories.isPrivate, false))) - .orderBy(sql`coalesce(${repositories.reportAt}, 0)`) - .limit(budget * 2); + const at = now(); + const due = ( + await db + .select({ row: repositories, live: { pack: storedIndexes.pack, lines: storedIndexes.lines, linesLeft: storedIndexes.linesLeft, head: storedIndexes.head } }) + .from(repositories) + .leftJoin(storedIndexes, eq(storedIndexes.id, repositories.indexId)) + .where(and(eq(repositories.seed, true), eq(repositories.isPrivate, false))) + .orderBy(sql`coalesce(${repositories.reportAt}, 0)`) + ).filter(({ row }) => !(row.reportAt && row.reportAt > at - REPORT_FOR && row.reportLines !== false)); + const kept = due.filter(({ row, live }) => whole(row, live, at)); + const head = heads && kept.length > 0 ? await heads(kept.map(({ row }) => row)).catch(() => new Map()) : new Map(); + const checked: string[] = []; let queued = 0; - for (const row of due) { + for (const { row, live } of due) { if (queued >= budget) break; - if (row.reportAt && row.reportAt > now() - REPORT_FOR && row.reportLines !== false) continue; + if (whole(row, live, at)) { + if (unchanged(row, live, head.get(row.id) ?? null, at)) { + checked.push(row.id); + continue; + } + if ((row.viewedAt ?? 0) <= (row.reportAt ?? 0)) continue; + } const [last] = await db.select().from(builds).where(eq(builds.repoId, row.id)).orderBy(desc(builds.requestedAt)).limit(1); if (busy(last)) continue; await queueBuild(db, queue, row.id, PRIORITY.seed); queued++; } + if (checked.length > 0) await db.update(repositories).set({ checkedAt: at }).where(inArray(repositories.id, checked)); return queued; } diff --git a/apps/site/src/server/repos.ts b/apps/site/src/server/repos.ts index c46aa70..214ca6e 100644 --- a/apps/site/src/server/repos.ts +++ b/apps/site/src/server/repos.ts @@ -4,6 +4,7 @@ import { FAILURE_WORDS, key as keyOf, limited, NOT_IN_REPORT, topOf, withoutTop, import { busy, cachedGet, + currentAt, installationOf, now, PRIORITY, @@ -171,7 +172,7 @@ export async function lastBuild(db: Db, id: string) { export function lookupOf(row: Row, build: Awaited>, seen: Lookup["access"] = "public", at = now()): Lookup { const visible = row.status === "ok" || seen === "allowed"; - const stale = (!!row.reportAt && row.reportAt < at - REPORT_FOR) || (!!row.reportKey && row.reportLines === false); + const stale = (!!row.reportAt && currentAt(row) < at - REPORT_FOR) || (!!row.reportKey && row.reportLines === false); return { id: row.id, owner: row.owner, diff --git a/apps/site/src/server/security.test.ts b/apps/site/src/server/security.test.ts index 61427bb..12848a1 100644 --- a/apps/site/src/server/security.test.ts +++ b/apps/site/src/server/security.test.ts @@ -113,6 +113,18 @@ describe("repositories", () => { expect(deps.sent).toHaveLength(1); }); + test("a Report a day old is stale, unless the Builder found its head unmoved since", async () => { + const deps = await testDeps(); + const meta = { name: "rocket", windows: ["all"], window: "all", anchor: 1, history: "complete", lines: "counted", avatars: false }; + const old = now() - 2 * 24 * 3600; + await deps.db.insert(repositories).values([ + { id: "acme/rocket", owner: "acme", name: "rocket", githubId: 1, reportKey: reportPrefix("acme/rocket", "b1"), reportAt: old, reportLines: true, reportMeta: meta, factsAt: now() }, + { id: "acme/other", owner: "acme", name: "other", githubId: 3, reportKey: reportPrefix("acme/other", "b1"), reportAt: old, checkedAt: now() - 60, reportLines: true, reportMeta: { ...meta, name: "other" }, factsAt: now() }, + ]); + expect(await lookup(deps, viewer(), "acme", "rocket")).toMatchObject({ stale: true, report: { at: old } }); + expect(await lookup(deps, viewer(), "acme", "other")).toMatchObject({ stale: false, canBuild: false, report: { at: old } }); + }); + test("a Build asked for by someone signed out is refused, and nothing is queued", async () => { const deps = await testDeps(); vi.stubGlobal("fetch", fakeGitHub({ "/repos/acme/rocket": repoFacts(1) }).fetcher); diff --git a/docs/working.md b/docs/working.md index d415d2d..f2db3f8 100644 --- a/docs/working.md +++ b/docs/working.md @@ -31,12 +31,19 @@ The engine service never reads git either: it reads packs. A signed-in person opens `/gh//`. The Site reads GitHub's facts (through the Postgres cache, see [github-api.md](./github-api.md)), and when -there is no Report, or it is more than a day old, it queues a Build. A push +there is no Report, or it is more than a day old (built, or found unchanged, +`checked_at`), it queues a Build. A push to a repository the App is installed on, the nightly seeds and `node builder.mjs rebuild` queue Builds too. Then the Builder: 1. **Claims the Build** in one database update, on the `builds` queue, or `builds-large` for a repository over `LARGE_REPOSITORY_MB`. + When the Report is whole (its pack, every Mainline line counted and + none left, built within a week), one `git ls-remote` asks where the + default branch's head is; if it is still the head the Report was built + from, the Build ends there, without a clone, the engine or an upload, + and `repositories.checked_at` records that the Report is current. Quiet + Builds and retries skip the check. 2. **Starts two clones at once** on a cold Build: a quick clone without old file contents (`git clone --filter=blob:none`) into the Build's scratch folder, and the full clone, kept under `WORK_DIR/repos///full` diff --git a/packages/server/drizzle/0037_petite_jamie_braddock.sql b/packages/server/drizzle/0037_petite_jamie_braddock.sql new file mode 100644 index 0000000..3853831 --- /dev/null +++ b/packages/server/drizzle/0037_petite_jamie_braddock.sql @@ -0,0 +1 @@ +ALTER TABLE "repositories" ADD COLUMN "checked_at" bigint; \ No newline at end of file diff --git a/packages/server/drizzle/meta/0037_snapshot.json b/packages/server/drizzle/meta/0037_snapshot.json new file mode 100644 index 0000000..ac2ba81 --- /dev/null +++ b/packages/server/drizzle/meta/0037_snapshot.json @@ -0,0 +1,3349 @@ +{ + "id": "ab8d97f8-cf87-4883-a33f-3e668e8d192a", + "prevId": "a4a5a5ea-bc22-4300-8198-bb5dbd7280e2", + "version": "7", + "dialect": "postgresql", + "tables": { + "public.access": { + "name": "access", + "schema": "", + "columns": { + "session_id": { + "name": "session_id", + "type": "text", + "primaryKey": false, + "notNull": true + }, + "repo_id": { + "name": "repo_id", + "type": "text", + "primaryKey": false, + "notNull": true + }, + "allowed": { + "name": "allowed", + "type": "boolean", + "primaryKey": false, + "notNull": true + }, + "until": { + "name": "until", + "type": "bigint", + "primaryKey": false, + "notNull": true + } + }, + "indexes": {}, + "foreignKeys": { + "access_session_id_session_id_fk": { + "name": "access_session_id_session_id_fk", + "tableFrom": "access", + "tableTo": "session", + "columnsFrom": [ + "session_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": { + "access_session_id_repo_id_pk": { + "name": "access_session_id_repo_id_pk", + "columns": [ + "session_id", + "repo_id" + ] + } + }, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.account": { + "name": "account", + "schema": "", + "columns": { + "id": { + "name": "id", + "type": "text", + "primaryKey": true, + "notNull": true + }, + "account_id": { + "name": "account_id", + "type": "text", + "primaryKey": false, + "notNull": true + }, + "provider_id": { + "name": "provider_id", + "type": "text", + "primaryKey": false, + "notNull": true + }, + "user_id": { + "name": "user_id", + "type": "text", + "primaryKey": false, + "notNull": true + }, + "access_token": { + "name": "access_token", + "type": "text", + "primaryKey": false, + "notNull": false + }, + "refresh_token": { + "name": "refresh_token", + "type": "text", + "primaryKey": false, + "notNull": false + }, + "id_token": { + "name": "id_token", + "type": "text", + "primaryKey": false, + "notNull": false + }, + "access_token_expires_at": { + "name": "access_token_expires_at", + "type": "timestamp", + "primaryKey": false, + "notNull": false + }, + "refresh_token_expires_at": { + "name": "refresh_token_expires_at", + "type": "timestamp", + "primaryKey": false, + "notNull": false + }, + "scope": { + "name": "scope", + "type": "text", + "primaryKey": false, + "notNull": false + }, + "password": { + "name": "password", + "type": "text", + "primaryKey": false, + "notNull": false + }, + "created_at": { + "name": "created_at", + "type": "timestamp", + "primaryKey": false, + "notNull": true, + "default": "now()" + }, + "updated_at": { + "name": "updated_at", + "type": "timestamp", + "primaryKey": false, + "notNull": true + } + }, + "indexes": { + "account_user_id": { + "name": "account_user_id", + "columns": [ + { + "expression": "user_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": { + "account_user_id_user_id_fk": { + "name": "account_user_id_user_id_fk", + "tableFrom": "account", + "tableTo": "user", + "columnsFrom": [ + "user_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.builds": { + "name": "builds", + "schema": "", + "columns": { + "id": { + "name": "id", + "type": "text", + "primaryKey": true, + "notNull": true + }, + "repo_id": { + "name": "repo_id", + "type": "text", + "primaryKey": false, + "notNull": true + }, + "state": { + "name": "state", + "type": "text", + "primaryKey": false, + "notNull": true + }, + "step": { + "name": "step", + "type": "text", + "primaryKey": false, + "notNull": false + }, + "reason": { + "name": "reason", + "type": "text", + "primaryKey": false, + "notNull": false + }, + "detail": { + "name": "detail", + "type": "text", + "primaryKey": false, + "notNull": false + }, + "seconds": { + "name": "seconds", + "type": "integer", + "primaryKey": false, + "notNull": false + }, + "partial": { + "name": "partial", + "type": "boolean", + "primaryKey": false, + "notNull": false + }, + "requested_at": { + "name": "requested_at", + "type": "bigint", + "primaryKey": false, + "notNull": true + }, + "started_at": { + "name": "started_at", + "type": "bigint", + "primaryKey": false, + "notNull": false + }, + "finished_at": { + "name": "finished_at", + "type": "bigint", + "primaryKey": false, + "notNull": false + } + }, + "indexes": { + "builds_repo_requested": { + "name": "builds_repo_requested", + "columns": [ + { + "expression": "repo_id", + "isExpression": false, + "asc": true, + "nulls": "last" + }, + { + "expression": "requested_at", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "builds_state": { + "name": "builds_state", + "columns": [ + { + "expression": "state", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": { + "builds_repo_id_repositories_id_fk": { + "name": "builds_repo_id_repositories_id_fk", + "tableFrom": "builds", + "tableTo": "repositories", + "columnsFrom": [ + "repo_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.github_cache": { + "name": "github_cache", + "schema": "", + "columns": { + "key": { + "name": "key", + "type": "text", + "primaryKey": true, + "notNull": true + }, + "etag": { + "name": "etag", + "type": "text", + "primaryKey": false, + "notNull": false + }, + "status": { + "name": "status", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "body": { + "name": "body", + "type": "text", + "primaryKey": false, + "notNull": false + }, + "fetched_at": { + "name": "fetched_at", + "type": "bigint", + "primaryKey": false, + "notNull": true + }, + "until": { + "name": "until", + "type": "bigint", + "primaryKey": false, + "notNull": true + } + }, + "indexes": { + "github_cache_until": { + "name": "github_cache_until", + "columns": [ + { + "expression": "until", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": {}, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.index_commit_lines": { + "name": "index_commit_lines", + "schema": "", + "columns": { + "si": { + "name": "si", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "sha": { + "name": "sha", + "type": "bytea", + "primaryKey": false, + "notNull": true + }, + "added": { + "name": "added", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "removed": { + "name": "removed", + "type": "integer", + "primaryKey": false, + "notNull": true + } + }, + "indexes": {}, + "foreignKeys": {}, + "compositePrimaryKeys": { + "index_commit_lines_si_sha_pk": { + "name": "index_commit_lines_si_sha_pk", + "columns": [ + "si", + "sha" + ] + } + }, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.index_commits": { + "name": "index_commits", + "schema": "", + "columns": { + "si": { + "name": "si", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "sha": { + "name": "sha", + "type": "bytea", + "primaryKey": false, + "notNull": true + }, + "at": { + "name": "at", + "type": "bigint", + "primaryKey": false, + "notNull": true + }, + "offset": { + "name": "offset", + "type": "smallint", + "primaryKey": false, + "notNull": true + }, + "author_delta": { + "name": "author_delta", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "signature": { + "name": "signature", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "kind": { + "name": "kind", + "type": "smallint", + "primaryKey": false, + "notNull": true + }, + "flags": { + "name": "flags", + "type": "smallint", + "primaryKey": false, + "notNull": true + }, + "arrival": { + "name": "arrival", + "type": "bigint", + "primaryKey": false, + "notNull": false + }, + "subject": { + "name": "subject", + "type": "text", + "primaryKey": false, + "notNull": true + }, + "files": { + "name": "files", + "type": "integer[]", + "primaryKey": false, + "notNull": true + }, + "changes": { + "name": "changes", + "type": "smallint[]", + "primaryKey": false, + "notNull": true + }, + "added": { + "name": "added", + "type": "integer[]", + "primaryKey": false, + "notNull": false + }, + "removed": { + "name": "removed", + "type": "integer[]", + "primaryKey": false, + "notNull": false + } + }, + "indexes": { + "index_commits_at": { + "name": "index_commits_at", + "columns": [ + { + "expression": "si", + "isExpression": false, + "asc": true, + "nulls": "last" + }, + { + "expression": "at", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "index_commits_signature": { + "name": "index_commits_signature", + "columns": [ + { + "expression": "si", + "isExpression": false, + "asc": true, + "nulls": "last" + }, + { + "expression": "signature", + "isExpression": false, + "asc": true, + "nulls": "last" + }, + { + "expression": "at", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": {}, + "compositePrimaryKeys": { + "index_commits_si_sha_pk": { + "name": "index_commits_si_sha_pk", + "columns": [ + "si", + "sha" + ] + } + }, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.index_file_paths": { + "name": "index_file_paths", + "schema": "", + "columns": { + "si": { + "name": "si", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "file": { + "name": "file", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "path": { + "name": "path", + "type": "text", + "primaryKey": false, + "notNull": true + } + }, + "indexes": {}, + "foreignKeys": {}, + "compositePrimaryKeys": { + "index_file_paths_si_file_path_pk": { + "name": "index_file_paths_si_file_path_pk", + "columns": [ + "si", + "file", + "path" + ] + } + }, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.index_files": { + "name": "index_files", + "schema": "", + "columns": { + "si": { + "name": "si", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "file": { + "name": "file", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "path": { + "name": "path", + "type": "text", + "primaryKey": false, + "notNull": true + }, + "folder": { + "name": "folder", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "born": { + "name": "born", + "type": "bigint", + "primaryKey": false, + "notNull": true + }, + "last": { + "name": "last", + "type": "bigint", + "primaryKey": false, + "notNull": true + }, + "alive": { + "name": "alive", + "type": "boolean", + "primaryKey": false, + "notNull": true + }, + "role": { + "name": "role", + "type": "smallint", + "primaryKey": false, + "notNull": true, + "default": 0 + }, + "language": { + "name": "language", + "type": "text", + "primaryKey": false, + "notNull": false + }, + "guessed_generated": { + "name": "guessed_generated", + "type": "boolean", + "primaryKey": false, + "notNull": true, + "default": false + }, + "lockfile": { + "name": "lockfile", + "type": "boolean", + "primaryKey": false, + "notNull": true, + "default": false + } + }, + "indexes": { + "index_files_folder": { + "name": "index_files_folder", + "columns": [ + { + "expression": "si", + "isExpression": false, + "asc": true, + "nulls": "last" + }, + { + "expression": "folder", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": {}, + "compositePrimaryKeys": { + "index_files_si_file_pk": { + "name": "index_files_si_file_pk", + "columns": [ + "si", + "file" + ] + } + }, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.index_folders": { + "name": "index_folders", + "schema": "", + "columns": { + "si": { + "name": "si", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "id": { + "name": "id", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "path": { + "name": "path", + "type": "text", + "primaryKey": false, + "notNull": true + }, + "parent": { + "name": "parent", + "type": "integer", + "primaryKey": false, + "notNull": false + }, + "depth": { + "name": "depth", + "type": "smallint", + "primaryKey": false, + "notNull": true + } + }, + "indexes": { + "index_folders_path": { + "name": "index_folders_path", + "columns": [ + { + "expression": "si", + "isExpression": false, + "asc": true, + "nulls": "last" + }, + { + "expression": "path", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": true, + "concurrently": false, + "method": "btree", + "with": {} + }, + "index_folders_parent": { + "name": "index_folders_parent", + "columns": [ + { + "expression": "si", + "isExpression": false, + "asc": true, + "nulls": "last" + }, + { + "expression": "parent", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": {}, + "compositePrimaryKeys": { + "index_folders_si_id_pk": { + "name": "index_folders_si_id_pk", + "columns": [ + "si", + "id" + ] + } + }, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.index_head_files": { + "name": "index_head_files", + "schema": "", + "columns": { + "si": { + "name": "si", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "file": { + "name": "file", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "blob": { + "name": "blob", + "type": "bytea", + "primaryKey": false, + "notNull": true + }, + "bytes": { + "name": "bytes", + "type": "bigint", + "primaryKey": false, + "notNull": true + }, + "lines": { + "name": "lines", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "class": { + "name": "class", + "type": "text", + "primaryKey": false, + "notNull": true + }, + "indent_levels": { + "name": "indent_levels", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "indent_mean": { + "name": "indent_mean", + "type": "real", + "primaryKey": false, + "notNull": true + }, + "indent_stddev": { + "name": "indent_stddev", + "type": "real", + "primaryKey": false, + "notNull": true + } + }, + "indexes": {}, + "foreignKeys": {}, + "compositePrimaryKeys": { + "index_head_files_si_file_pk": { + "name": "index_head_files_si_file_pk", + "columns": [ + "si", + "file" + ] + } + }, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.index_people": { + "name": "index_people", + "schema": "", + "columns": { + "si": { + "name": "si", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "signature": { + "name": "signature", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "name": { + "name": "name", + "type": "text", + "primaryKey": false, + "notNull": true + }, + "person": { + "name": "person", + "type": "integer", + "primaryKey": false, + "notNull": false + }, + "person_name": { + "name": "person_name", + "type": "text", + "primaryKey": false, + "notNull": false + }, + "colour": { + "name": "colour", + "type": "smallint", + "primaryKey": false, + "notNull": false + }, + "login": { + "name": "login", + "type": "text", + "primaryKey": false, + "notNull": false + }, + "bot": { + "name": "bot", + "type": "boolean", + "primaryKey": false, + "notNull": true + } + }, + "indexes": { + "index_people_person": { + "name": "index_people_person", + "columns": [ + { + "expression": "si", + "isExpression": false, + "asc": true, + "nulls": "last" + }, + { + "expression": "person", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": {}, + "compositePrimaryKeys": { + "index_people_si_signature_pk": { + "name": "index_people_si_signature_pk", + "columns": [ + "si", + "signature" + ] + } + }, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.index_persons": { + "name": "index_persons", + "schema": "", + "columns": { + "si": { + "name": "si", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "person": { + "name": "person", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "traits": { + "name": "traits", + "type": "smallint", + "primaryKey": false, + "notNull": true + }, + "identities": { + "name": "identities", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "commits": { + "name": "commits", + "type": "integer", + "primaryKey": false, + "notNull": true + } + }, + "indexes": {}, + "foreignKeys": {}, + "compositePrimaryKeys": { + "index_persons_si_person_pk": { + "name": "index_persons_si_person_pk", + "columns": [ + "si", + "person" + ] + } + }, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.lent_tokens": { + "name": "lent_tokens", + "schema": "", + "columns": { + "repo_id": { + "name": "repo_id", + "type": "text", + "primaryKey": true, + "notNull": true + }, + "user_id": { + "name": "user_id", + "type": "text", + "primaryKey": false, + "notNull": true + }, + "token": { + "name": "token", + "type": "text", + "primaryKey": false, + "notNull": true + }, + "until": { + "name": "until", + "type": "bigint", + "primaryKey": false, + "notNull": true + } + }, + "indexes": {}, + "foreignKeys": { + "lent_tokens_repo_id_repositories_id_fk": { + "name": "lent_tokens_repo_id_repositories_id_fk", + "tableFrom": "lent_tokens", + "tableTo": "repositories", + "columnsFrom": [ + "repo_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + }, + "lent_tokens_user_id_user_id_fk": { + "name": "lent_tokens_user_id_user_id_fk", + "tableFrom": "lent_tokens", + "tableTo": "user", + "columnsFrom": [ + "user_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.people": { + "name": "people", + "schema": "", + "columns": { + "login": { + "name": "login", + "type": "text", + "primaryKey": true, + "notNull": true + }, + "user_id": { + "name": "user_id", + "type": "text", + "primaryKey": false, + "notNull": false + }, + "hidden": { + "name": "hidden", + "type": "boolean", + "primaryKey": false, + "notNull": true, + "default": false + }, + "name_private": { + "name": "name_private", + "type": "boolean", + "primaryKey": false, + "notNull": true, + "default": false + }, + "updated_at": { + "name": "updated_at", + "type": "bigint", + "primaryKey": false, + "notNull": true + } + }, + "indexes": { + "people_user": { + "name": "people_user", + "columns": [ + { + "expression": "user_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": { + "people_user_id_user_id_fk": { + "name": "people_user_id_user_id_fk", + "tableFrom": "people", + "tableTo": "user", + "columnsFrom": [ + "user_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.private_work": { + "name": "private_work", + "schema": "", + "columns": { + "login": { + "name": "login", + "type": "text", + "primaryKey": false, + "notNull": true + }, + "repo": { + "name": "repo", + "type": "text", + "primaryKey": false, + "notNull": true + }, + "show": { + "name": "show", + "type": "text", + "primaryKey": false, + "notNull": true + }, + "updated_at": { + "name": "updated_at", + "type": "bigint", + "primaryKey": false, + "notNull": true + } + }, + "indexes": {}, + "foreignKeys": {}, + "compositePrimaryKeys": { + "private_work_login_repo_pk": { + "name": "private_work_login_repo_pk", + "columns": [ + "login", + "repo" + ] + } + }, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.profiles": { + "name": "profiles", + "schema": "", + "columns": { + "login": { + "name": "login", + "type": "text", + "primaryKey": false, + "notNull": true + }, + "scope": { + "name": "scope", + "type": "text", + "primaryKey": false, + "notNull": true + }, + "github_id": { + "name": "github_id", + "type": "bigint", + "primaryKey": false, + "notNull": false + }, + "identity": { + "name": "identity", + "type": "text", + "primaryKey": false, + "notNull": true + }, + "identity_at": { + "name": "identity_at", + "type": "bigint", + "primaryKey": false, + "notNull": true + }, + "data": { + "name": "data", + "type": "text", + "primaryKey": false, + "notNull": false + }, + "raw": { + "name": "raw", + "type": "text", + "primaryKey": false, + "notNull": false + }, + "fetched_at": { + "name": "fetched_at", + "type": "bigint", + "primaryKey": false, + "notNull": false + } + }, + "indexes": { + "profiles_github_id": { + "name": "profiles_github_id", + "columns": [ + { + "expression": "github_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": {}, + "compositePrimaryKeys": { + "profiles_login_scope_pk": { + "name": "profiles_login_scope_pk", + "columns": [ + "login", + "scope" + ] + } + }, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.proofs": { + "name": "proofs", + "schema": "", + "columns": { + "id": { + "name": "id", + "type": "text", + "primaryKey": true, + "notNull": true + }, + "login": { + "name": "login", + "type": "text", + "primaryKey": false, + "notNull": true + }, + "user_id": { + "name": "user_id", + "type": "text", + "primaryKey": false, + "notNull": true + }, + "data": { + "name": "data", + "type": "text", + "primaryKey": false, + "notNull": true + }, + "created_at": { + "name": "created_at", + "type": "bigint", + "primaryKey": false, + "notNull": true + } + }, + "indexes": { + "proofs_login": { + "name": "proofs_login", + "columns": [ + { + "expression": "login", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": { + "proofs_user_id_user_id_fk": { + "name": "proofs_user_id_user_id_fk", + "tableFrom": "proofs", + "tableTo": "user", + "columnsFrom": [ + "user_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.pull_requests": { + "name": "pull_requests", + "schema": "", + "columns": { + "repo_id": { + "name": "repo_id", + "type": "text", + "primaryKey": false, + "notNull": true + }, + "number": { + "name": "number", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "author": { + "name": "author", + "type": "text", + "primaryKey": false, + "notNull": false + }, + "state": { + "name": "state", + "type": "text", + "primaryKey": false, + "notNull": true + }, + "title": { + "name": "title", + "type": "text", + "primaryKey": false, + "notNull": true + }, + "created_at": { + "name": "created_at", + "type": "bigint", + "primaryKey": false, + "notNull": true + }, + "merged_at": { + "name": "merged_at", + "type": "bigint", + "primaryKey": false, + "notNull": false + }, + "updated_at": { + "name": "updated_at", + "type": "bigint", + "primaryKey": false, + "notNull": true + }, + "additions": { + "name": "additions", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "deletions": { + "name": "deletions", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "head_ref": { + "name": "head_ref", + "type": "text", + "primaryKey": false, + "notNull": false + }, + "closed_at": { + "name": "closed_at", + "type": "bigint", + "primaryKey": false, + "notNull": false + }, + "merged_by": { + "name": "merged_by", + "type": "text", + "primaryKey": false, + "notNull": false + }, + "base_ref": { + "name": "base_ref", + "type": "text", + "primaryKey": false, + "notNull": false + }, + "draft": { + "name": "draft", + "type": "boolean", + "primaryKey": false, + "notNull": false + }, + "changed_files": { + "name": "changed_files", + "type": "integer", + "primaryKey": false, + "notNull": false + }, + "commits": { + "name": "commits", + "type": "integer", + "primaryKey": false, + "notNull": false + }, + "head_owner": { + "name": "head_owner", + "type": "text", + "primaryKey": false, + "notNull": false + }, + "from_fork": { + "name": "from_fork", + "type": "boolean", + "primaryKey": false, + "notNull": false + }, + "labels": { + "name": "labels", + "type": "jsonb", + "primaryKey": false, + "notNull": false + }, + "review_decision": { + "name": "review_decision", + "type": "text", + "primaryKey": false, + "notNull": false + }, + "merge_commit": { + "name": "merge_commit", + "type": "text", + "primaryKey": false, + "notNull": false + }, + "comments": { + "name": "comments", + "type": "integer", + "primaryKey": false, + "notNull": false + } + }, + "indexes": { + "pull_requests_head": { + "name": "pull_requests_head", + "columns": [ + { + "expression": "repo_id", + "isExpression": false, + "asc": true, + "nulls": "last" + }, + { + "expression": "head_ref", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": { + "pull_requests_repo_id_repositories_id_fk": { + "name": "pull_requests_repo_id_repositories_id_fk", + "tableFrom": "pull_requests", + "tableTo": "repositories", + "columnsFrom": [ + "repo_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": { + "pull_requests_repo_id_number_pk": { + "name": "pull_requests_repo_id_number_pk", + "columns": [ + "repo_id", + "number" + ] + } + }, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.pull_reviews": { + "name": "pull_reviews", + "schema": "", + "columns": { + "repo_id": { + "name": "repo_id", + "type": "text", + "primaryKey": false, + "notNull": true + }, + "number": { + "name": "number", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "reviewer": { + "name": "reviewer", + "type": "text", + "primaryKey": false, + "notNull": true + }, + "reviews": { + "name": "reviews", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "first_at": { + "name": "first_at", + "type": "bigint", + "primaryKey": false, + "notNull": true + }, + "last_at": { + "name": "last_at", + "type": "bigint", + "primaryKey": false, + "notNull": false + }, + "state": { + "name": "state", + "type": "text", + "primaryKey": false, + "notNull": false + }, + "approved_at": { + "name": "approved_at", + "type": "bigint", + "primaryKey": false, + "notNull": false + } + }, + "indexes": {}, + "foreignKeys": { + "pull_reviews_repo_id_repositories_id_fk": { + "name": "pull_reviews_repo_id_repositories_id_fk", + "tableFrom": "pull_reviews", + "tableTo": "repositories", + "columnsFrom": [ + "repo_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": { + "pull_reviews_repo_id_number_reviewer_pk": { + "name": "pull_reviews_repo_id_number_reviewer_pk", + "columns": [ + "repo_id", + "number", + "reviewer" + ] + } + }, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.rate_limits": { + "name": "rate_limits", + "schema": "", + "columns": { + "key": { + "name": "key", + "type": "text", + "primaryKey": true, + "notNull": true + }, + "count": { + "name": "count", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "until": { + "name": "until", + "type": "bigint", + "primaryKey": false, + "notNull": true + } + }, + "indexes": {}, + "foreignKeys": {}, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.repo_blobs": { + "name": "repo_blobs", + "schema": "", + "columns": { + "repo_id": { + "name": "repo_id", + "type": "text", + "primaryKey": false, + "notNull": true + }, + "sha": { + "name": "sha", + "type": "text", + "primaryKey": false, + "notNull": true + }, + "lines": { + "name": "lines", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "binary": { + "name": "binary", + "type": "boolean", + "primaryKey": false, + "notNull": true + } + }, + "indexes": {}, + "foreignKeys": { + "repo_blobs_repo_id_repositories_id_fk": { + "name": "repo_blobs_repo_id_repositories_id_fk", + "tableFrom": "repo_blobs", + "tableTo": "repositories", + "columnsFrom": [ + "repo_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": { + "repo_blobs_repo_id_sha_pk": { + "name": "repo_blobs_repo_id_sha_pk", + "columns": [ + "repo_id", + "sha" + ] + } + }, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.repo_branch_details": { + "name": "repo_branch_details", + "schema": "", + "columns": { + "repo_id": { + "name": "repo_id", + "type": "text", + "primaryKey": false, + "notNull": true + }, + "position": { + "name": "position", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "against": { + "name": "against", + "type": "text", + "primaryKey": false, + "notNull": true + }, + "commits": { + "name": "commits", + "type": "jsonb", + "primaryKey": false, + "notNull": true + }, + "commits_total": { + "name": "commits_total", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "files": { + "name": "files", + "type": "jsonb", + "primaryKey": false, + "notNull": true + }, + "files_total": { + "name": "files_total", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "added": { + "name": "added", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "removed": { + "name": "removed", + "type": "integer", + "primaryKey": false, + "notNull": true + } + }, + "indexes": {}, + "foreignKeys": { + "repo_branch_details_repo_id_repositories_id_fk": { + "name": "repo_branch_details_repo_id_repositories_id_fk", + "tableFrom": "repo_branch_details", + "tableTo": "repositories", + "columnsFrom": [ + "repo_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": { + "repo_branch_details_repo_id_position_pk": { + "name": "repo_branch_details_repo_id_position_pk", + "columns": [ + "repo_id", + "position" + ] + } + }, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.repo_branches": { + "name": "repo_branches", + "schema": "", + "columns": { + "repo_id": { + "name": "repo_id", + "type": "text", + "primaryKey": false, + "notNull": true + }, + "position": { + "name": "position", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "name": { + "name": "name", + "type": "text", + "primaryKey": false, + "notNull": true + }, + "sha": { + "name": "sha", + "type": "text", + "primaryKey": false, + "notNull": true + }, + "at": { + "name": "at", + "type": "bigint", + "primaryKey": false, + "notNull": true + }, + "author": { + "name": "author", + "type": "text", + "primaryKey": false, + "notNull": true + }, + "login": { + "name": "login", + "type": "text", + "primaryKey": false, + "notNull": false + }, + "subject": { + "name": "subject", + "type": "text", + "primaryKey": false, + "notNull": true + }, + "ahead": { + "name": "ahead", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "behind": { + "name": "behind", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "base": { + "name": "base", + "type": "text", + "primaryKey": false, + "notNull": true + }, + "base_at": { + "name": "base_at", + "type": "bigint", + "primaryKey": false, + "notNull": true + }, + "merged": { + "name": "merged", + "type": "boolean", + "primaryKey": false, + "notNull": true + }, + "squashed": { + "name": "squashed", + "type": "boolean", + "primaryKey": false, + "notNull": true, + "default": false + }, + "parent": { + "name": "parent", + "type": "text", + "primaryKey": false, + "notNull": false + }, + "shared": { + "name": "shared", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "bot": { + "name": "bot", + "type": "boolean", + "primaryKey": false, + "notNull": true, + "default": false + } + }, + "indexes": {}, + "foreignKeys": { + "repo_branches_repo_id_repositories_id_fk": { + "name": "repo_branches_repo_id_repositories_id_fk", + "tableFrom": "repo_branches", + "tableTo": "repositories", + "columnsFrom": [ + "repo_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": { + "repo_branches_repo_id_position_pk": { + "name": "repo_branches_repo_id_position_pk", + "columns": [ + "repo_id", + "position" + ] + } + }, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.repo_events": { + "name": "repo_events", + "schema": "", + "columns": { + "id": { + "name": "id", + "type": "text", + "primaryKey": true, + "notNull": true + }, + "repo_id": { + "name": "repo_id", + "type": "text", + "primaryKey": false, + "notNull": true + }, + "kind": { + "name": "kind", + "type": "text", + "primaryKey": false, + "notNull": true + }, + "actor": { + "name": "actor", + "type": "text", + "primaryKey": false, + "notNull": false + }, + "title": { + "name": "title", + "type": "text", + "primaryKey": false, + "notNull": false + }, + "url": { + "name": "url", + "type": "text", + "primaryKey": false, + "notNull": false + }, + "count": { + "name": "count", + "type": "integer", + "primaryKey": false, + "notNull": false + }, + "at": { + "name": "at", + "type": "bigint", + "primaryKey": false, + "notNull": true + } + }, + "indexes": { + "repo_events_repo_at": { + "name": "repo_events_repo_at", + "columns": [ + { + "expression": "repo_id", + "isExpression": false, + "asc": true, + "nulls": "last" + }, + { + "expression": "at", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": { + "repo_events_repo_id_repositories_id_fk": { + "name": "repo_events_repo_id_repositories_id_fk", + "tableFrom": "repo_events", + "tableTo": "repositories", + "columnsFrom": [ + "repo_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.repo_git": { + "name": "repo_git", + "schema": "", + "columns": { + "repo_id": { + "name": "repo_id", + "type": "text", + "primaryKey": true, + "notNull": true + }, + "prefix": { + "name": "prefix", + "type": "text", + "primaryKey": false, + "notNull": true + }, + "build_id": { + "name": "build_id", + "type": "text", + "primaryKey": false, + "notNull": true + }, + "built_at": { + "name": "built_at", + "type": "bigint", + "primaryKey": false, + "notNull": true + }, + "head": { + "name": "head", + "type": "text", + "primaryKey": false, + "notNull": true + }, + "branch": { + "name": "branch", + "type": "text", + "primaryKey": false, + "notNull": true + }, + "branches": { + "name": "branches", + "type": "integer", + "primaryKey": false, + "notNull": true, + "default": 0 + }, + "tags": { + "name": "tags", + "type": "integer", + "primaryKey": false, + "notNull": true, + "default": 0 + }, + "files": { + "name": "files", + "type": "integer", + "primaryKey": false, + "notNull": true, + "default": 0 + }, + "stored": { + "name": "stored", + "type": "integer", + "primaryKey": false, + "notNull": true, + "default": 0 + }, + "pulls": { + "name": "pulls", + "type": "integer", + "primaryKey": false, + "notNull": true, + "default": 0 + }, + "bytes": { + "name": "bytes", + "type": "bigint", + "primaryKey": false, + "notNull": true, + "default": 0 + }, + "logged": { + "name": "logged", + "type": "integer", + "primaryKey": false, + "notNull": true, + "default": 0 + }, + "complete": { + "name": "complete", + "type": "boolean", + "primaryKey": false, + "notNull": true, + "default": false + }, + "seconds": { + "name": "seconds", + "type": "real", + "primaryKey": false, + "notNull": true, + "default": 0 + }, + "steps": { + "name": "steps", + "type": "text", + "primaryKey": false, + "notNull": true, + "default": "'[]'" + }, + "branches_total": { + "name": "branches_total", + "type": "integer", + "primaryKey": false, + "notNull": true, + "default": 0 + }, + "tags_total": { + "name": "tags_total", + "type": "integer", + "primaryKey": false, + "notNull": true, + "default": 0 + }, + "inferred": { + "name": "inferred", + "type": "boolean", + "primaryKey": false, + "notNull": true, + "default": false + } + }, + "indexes": {}, + "foreignKeys": { + "repo_git_repo_id_repositories_id_fk": { + "name": "repo_git_repo_id_repositories_id_fk", + "tableFrom": "repo_git", + "tableTo": "repositories", + "columnsFrom": [ + "repo_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.repo_names": { + "name": "repo_names", + "schema": "", + "columns": { + "id": { + "name": "id", + "type": "text", + "primaryKey": true, + "notNull": true + }, + "repo_id": { + "name": "repo_id", + "type": "text", + "primaryKey": false, + "notNull": true + }, + "at": { + "name": "at", + "type": "bigint", + "primaryKey": false, + "notNull": true + } + }, + "indexes": { + "repo_names_repo": { + "name": "repo_names_repo", + "columns": [ + { + "expression": "repo_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": { + "repo_names_repo_id_repositories_id_fk": { + "name": "repo_names_repo_id_repositories_id_fk", + "tableFrom": "repo_names", + "tableTo": "repositories", + "columnsFrom": [ + "repo_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.repo_people": { + "name": "repo_people", + "schema": "", + "columns": { + "repo_id": { + "name": "repo_id", + "type": "text", + "primaryKey": false, + "notNull": true + }, + "person_id": { + "name": "person_id", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "name": { + "name": "name", + "type": "text", + "primaryKey": false, + "notNull": true + }, + "login": { + "name": "login", + "type": "text", + "primaryKey": false, + "notNull": false + }, + "commits": { + "name": "commits", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "lines_added": { + "name": "lines_added", + "type": "integer", + "primaryKey": false, + "notNull": false + }, + "lines_removed": { + "name": "lines_removed", + "type": "integer", + "primaryKey": false, + "notNull": false + }, + "first": { + "name": "first", + "type": "bigint", + "primaryKey": false, + "notNull": false + }, + "last": { + "name": "last", + "type": "bigint", + "primaryKey": false, + "notNull": false + }, + "report_key": { + "name": "report_key", + "type": "text", + "primaryKey": false, + "notNull": true + } + }, + "indexes": { + "repo_people_lower_login": { + "name": "repo_people_lower_login", + "columns": [ + { + "expression": "lower(\"login\")", + "asc": true, + "isExpression": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": { + "repo_people_repo_id_repositories_id_fk": { + "name": "repo_people_repo_id_repositories_id_fk", + "tableFrom": "repo_people", + "tableTo": "repositories", + "columnsFrom": [ + "repo_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": { + "repo_people_repo_id_person_id_pk": { + "name": "repo_people_repo_id_person_id_pk", + "columns": [ + "repo_id", + "person_id" + ] + } + }, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.repo_tags": { + "name": "repo_tags", + "schema": "", + "columns": { + "repo_id": { + "name": "repo_id", + "type": "text", + "primaryKey": false, + "notNull": true + }, + "position": { + "name": "position", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "name": { + "name": "name", + "type": "text", + "primaryKey": false, + "notNull": true + }, + "sha": { + "name": "sha", + "type": "text", + "primaryKey": false, + "notNull": true + }, + "at": { + "name": "at", + "type": "bigint", + "primaryKey": false, + "notNull": true + } + }, + "indexes": {}, + "foreignKeys": { + "repo_tags_repo_id_repositories_id_fk": { + "name": "repo_tags_repo_id_repositories_id_fk", + "tableFrom": "repo_tags", + "tableTo": "repositories", + "columnsFrom": [ + "repo_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": { + "repo_tags_repo_id_position_pk": { + "name": "repo_tags_repo_id_position_pk", + "columns": [ + "repo_id", + "position" + ] + } + }, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.repositories": { + "name": "repositories", + "schema": "", + "columns": { + "id": { + "name": "id", + "type": "text", + "primaryKey": true, + "notNull": true + }, + "owner": { + "name": "owner", + "type": "text", + "primaryKey": false, + "notNull": true + }, + "name": { + "name": "name", + "type": "text", + "primaryKey": false, + "notNull": true + }, + "github_id": { + "name": "github_id", + "type": "bigint", + "primaryKey": false, + "notNull": false + }, + "private": { + "name": "private", + "type": "boolean", + "primaryKey": false, + "notNull": true, + "default": false + }, + "status": { + "name": "status", + "type": "text", + "primaryKey": false, + "notNull": true, + "default": "'ok'" + }, + "facts": { + "name": "facts", + "type": "text", + "primaryKey": false, + "notNull": false + }, + "facts_at": { + "name": "facts_at", + "type": "bigint", + "primaryKey": false, + "notNull": false + }, + "size_kb": { + "name": "size_kb", + "type": "integer", + "primaryKey": false, + "notNull": false + }, + "report_key": { + "name": "report_key", + "type": "text", + "primaryKey": false, + "notNull": false + }, + "report_at": { + "name": "report_at", + "type": "bigint", + "primaryKey": false, + "notNull": false + }, + "report_bytes": { + "name": "report_bytes", + "type": "integer", + "primaryKey": false, + "notNull": false + }, + "report_lines": { + "name": "report_lines", + "type": "boolean", + "primaryKey": false, + "notNull": false + }, + "viewed_at": { + "name": "viewed_at", + "type": "bigint", + "primaryKey": false, + "notNull": false + }, + "checked_at": { + "name": "checked_at", + "type": "bigint", + "primaryKey": false, + "notNull": false + }, + "installation_id": { + "name": "installation_id", + "type": "bigint", + "primaryKey": false, + "notNull": false + }, + "connected_by": { + "name": "connected_by", + "type": "text", + "primaryKey": false, + "notNull": false + }, + "seed": { + "name": "seed", + "type": "boolean", + "primaryKey": false, + "notNull": true, + "default": false + }, + "language": { + "name": "language", + "type": "text", + "primaryKey": false, + "notNull": false + }, + "stars": { + "name": "stars", + "type": "integer", + "primaryKey": false, + "notNull": false + }, + "bus_factor": { + "name": "bus_factor", + "type": "integer", + "primaryKey": false, + "notNull": false + }, + "maintainers": { + "name": "maintainers", + "type": "integer", + "primaryKey": false, + "notNull": false + }, + "commits_30d": { + "name": "commits_30d", + "type": "integer", + "primaryKey": false, + "notNull": false + }, + "code_lines": { + "name": "code_lines", + "type": "integer", + "primaryKey": false, + "notNull": false + }, + "pulls_at": { + "name": "pulls_at", + "type": "text", + "primaryKey": false, + "notNull": false + }, + "pulls_read_at": { + "name": "pulls_read_at", + "type": "bigint", + "primaryKey": false, + "notNull": false + }, + "pulls_cursor": { + "name": "pulls_cursor", + "type": "text", + "primaryKey": false, + "notNull": false + }, + "pulls_mark": { + "name": "pulls_mark", + "type": "text", + "primaryKey": false, + "notNull": false + }, + "pulls_version": { + "name": "pulls_version", + "type": "integer", + "primaryKey": false, + "notNull": true, + "default": 0 + }, + "index_id": { + "name": "index_id", + "type": "integer", + "primaryKey": false, + "notNull": false + }, + "report_meta": { + "name": "report_meta", + "type": "jsonb", + "primaryKey": false, + "notNull": false + }, + "report_stats": { + "name": "report_stats", + "type": "jsonb", + "primaryKey": false, + "notNull": false + } + }, + "indexes": { + "repositories_installation": { + "name": "repositories_installation", + "columns": [ + { + "expression": "installation_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "repositories_seed": { + "name": "repositories_seed", + "columns": [ + { + "expression": "seed", + "isExpression": false, + "asc": true, + "nulls": "last" + }, + { + "expression": "report_at", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "repositories_github_id": { + "name": "repositories_github_id", + "columns": [ + { + "expression": "github_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": { + "repositories_connected_by_user_id_fk": { + "name": "repositories_connected_by_user_id_fk", + "tableFrom": "repositories", + "tableTo": "user", + "columnsFrom": [ + "connected_by" + ], + "columnsTo": [ + "id" + ], + "onDelete": "set null", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.session": { + "name": "session", + "schema": "", + "columns": { + "id": { + "name": "id", + "type": "text", + "primaryKey": true, + "notNull": true + }, + "expires_at": { + "name": "expires_at", + "type": "timestamp", + "primaryKey": false, + "notNull": true + }, + "token": { + "name": "token", + "type": "text", + "primaryKey": false, + "notNull": true + }, + "created_at": { + "name": "created_at", + "type": "timestamp", + "primaryKey": false, + "notNull": true, + "default": "now()" + }, + "updated_at": { + "name": "updated_at", + "type": "timestamp", + "primaryKey": false, + "notNull": true + }, + "ip_address": { + "name": "ip_address", + "type": "text", + "primaryKey": false, + "notNull": false + }, + "user_agent": { + "name": "user_agent", + "type": "text", + "primaryKey": false, + "notNull": false + }, + "user_id": { + "name": "user_id", + "type": "text", + "primaryKey": false, + "notNull": true + } + }, + "indexes": { + "session_user_id": { + "name": "session_user_id", + "columns": [ + { + "expression": "user_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": { + "session_user_id_user_id_fk": { + "name": "session_user_id_user_id_fk", + "tableFrom": "session", + "tableTo": "user", + "columnsFrom": [ + "user_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": { + "session_token_unique": { + "name": "session_token_unique", + "nullsNotDistinct": false, + "columns": [ + "token" + ] + } + }, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.shares": { + "name": "shares", + "schema": "", + "columns": { + "id": { + "name": "id", + "type": "text", + "primaryKey": true, + "notNull": true + }, + "bytes": { + "name": "bytes", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "created_at": { + "name": "created_at", + "type": "bigint", + "primaryKey": false, + "notNull": true + }, + "expires_at": { + "name": "expires_at", + "type": "bigint", + "primaryKey": false, + "notNull": true + }, + "delete_hash": { + "name": "delete_hash", + "type": "text", + "primaryKey": false, + "notNull": true + }, + "upload_hash": { + "name": "upload_hash", + "type": "text", + "primaryKey": false, + "notNull": false + }, + "uploaded": { + "name": "uploaded", + "type": "boolean", + "primaryKey": false, + "notNull": true, + "default": false + } + }, + "indexes": { + "shares_expires": { + "name": "shares_expires", + "columns": [ + { + "expression": "expires_at", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": {}, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.stored_indexes": { + "name": "stored_indexes", + "schema": "", + "columns": { + "id": { + "name": "id", + "type": "serial", + "primaryKey": true, + "notNull": true + }, + "repo_id": { + "name": "repo_id", + "type": "text", + "primaryKey": false, + "notNull": true + }, + "lineage": { + "name": "lineage", + "type": "text", + "primaryKey": false, + "notNull": true + }, + "kept": { + "name": "kept", + "type": "boolean", + "primaryKey": false, + "notNull": true + }, + "state": { + "name": "state", + "type": "text", + "primaryKey": false, + "notNull": true + }, + "head": { + "name": "head", + "type": "text", + "primaryKey": false, + "notNull": false + }, + "frontier": { + "name": "frontier", + "type": "text[]", + "primaryKey": false, + "notNull": true, + "default": "'{}'" + }, + "lines": { + "name": "lines", + "type": "boolean", + "primaryKey": false, + "notNull": true + }, + "lines_left": { + "name": "lines_left", + "type": "integer", + "primaryKey": false, + "notNull": false + }, + "commits": { + "name": "commits", + "type": "integer", + "primaryKey": false, + "notNull": true, + "default": 0 + }, + "built_at": { + "name": "built_at", + "type": "bigint", + "primaryKey": false, + "notNull": true + }, + "loaded_at": { + "name": "loaded_at", + "type": "bigint", + "primaryKey": false, + "notNull": false + }, + "anchor": { + "name": "anchor", + "type": "bigint", + "primaryKey": false, + "notNull": true, + "default": 0 + }, + "options": { + "name": "options", + "type": "jsonb", + "primaryKey": false, + "notNull": true, + "default": "'{\"max_changeset_size\":50,\"coupling_support\":5,\"ownership_min_commits\":10}'::jsonb" + }, + "snapshot": { + "name": "snapshot", + "type": "jsonb", + "primaryKey": false, + "notNull": false + }, + "pack": { + "name": "pack", + "type": "text", + "primaryKey": false, + "notNull": false + }, + "mark": { + "name": "mark", + "type": "text", + "primaryKey": false, + "notNull": false + } + }, + "indexes": { + "stored_indexes_repo": { + "name": "stored_indexes_repo", + "columns": [ + { + "expression": "repo_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": { + "stored_indexes_repo_id_repositories_id_fk": { + "name": "stored_indexes_repo_id_repositories_id_fk", + "tableFrom": "stored_indexes", + "tableTo": "repositories", + "columnsFrom": [ + "repo_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.surviving": { + "name": "surviving", + "schema": "", + "columns": { + "repo_id": { + "name": "repo_id", + "type": "text", + "primaryKey": false, + "notNull": true + }, + "report_key": { + "name": "report_key", + "type": "text", + "primaryKey": false, + "notNull": true + }, + "person_id": { + "name": "person_id", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "status": { + "name": "status", + "type": "text", + "primaryKey": false, + "notNull": true + }, + "lines": { + "name": "lines", + "type": "integer", + "primaryKey": false, + "notNull": false + }, + "added": { + "name": "added", + "type": "integer", + "primaryKey": false, + "notNull": false + }, + "files": { + "name": "files", + "type": "integer", + "primaryKey": false, + "notNull": false + }, + "seconds": { + "name": "seconds", + "type": "real", + "primaryKey": false, + "notNull": false + }, + "head": { + "name": "head", + "type": "text", + "primaryKey": false, + "notNull": false + }, + "oldest": { + "name": "oldest", + "type": "bigint", + "primaryKey": false, + "notNull": false + }, + "asked_at": { + "name": "asked_at", + "type": "bigint", + "primaryKey": false, + "notNull": true + }, + "counted_at": { + "name": "counted_at", + "type": "bigint", + "primaryKey": false, + "notNull": false + } + }, + "indexes": { + "surviving_status": { + "name": "surviving_status", + "columns": [ + { + "expression": "status", + "isExpression": false, + "asc": true, + "nulls": "last" + }, + { + "expression": "asked_at", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": { + "surviving_repo_id_repositories_id_fk": { + "name": "surviving_repo_id_repositories_id_fk", + "tableFrom": "surviving", + "tableTo": "repositories", + "columnsFrom": [ + "repo_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": { + "surviving_repo_id_report_key_person_id_pk": { + "name": "surviving_repo_id_report_key_person_id_pk", + "columns": [ + "repo_id", + "report_key", + "person_id" + ] + } + }, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.user": { + "name": "user", + "schema": "", + "columns": { + "id": { + "name": "id", + "type": "text", + "primaryKey": true, + "notNull": true + }, + "name": { + "name": "name", + "type": "text", + "primaryKey": false, + "notNull": true + }, + "email": { + "name": "email", + "type": "text", + "primaryKey": false, + "notNull": true + }, + "email_verified": { + "name": "email_verified", + "type": "boolean", + "primaryKey": false, + "notNull": true, + "default": false + }, + "image": { + "name": "image", + "type": "text", + "primaryKey": false, + "notNull": false + }, + "login": { + "name": "login", + "type": "text", + "primaryKey": false, + "notNull": false + }, + "created_at": { + "name": "created_at", + "type": "timestamp", + "primaryKey": false, + "notNull": true, + "default": "now()" + }, + "updated_at": { + "name": "updated_at", + "type": "timestamp", + "primaryKey": false, + "notNull": true, + "default": "now()" + } + }, + "indexes": {}, + "foreignKeys": {}, + "compositePrimaryKeys": {}, + "uniqueConstraints": { + "user_email_unique": { + "name": "user_email_unique", + "nullsNotDistinct": false, + "columns": [ + "email" + ] + } + }, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.verification": { + "name": "verification", + "schema": "", + "columns": { + "id": { + "name": "id", + "type": "text", + "primaryKey": true, + "notNull": true + }, + "identifier": { + "name": "identifier", + "type": "text", + "primaryKey": false, + "notNull": true + }, + "value": { + "name": "value", + "type": "text", + "primaryKey": false, + "notNull": true + }, + "expires_at": { + "name": "expires_at", + "type": "timestamp", + "primaryKey": false, + "notNull": true + }, + "created_at": { + "name": "created_at", + "type": "timestamp", + "primaryKey": false, + "notNull": true, + "default": "now()" + }, + "updated_at": { + "name": "updated_at", + "type": "timestamp", + "primaryKey": false, + "notNull": true, + "default": "now()" + } + }, + "indexes": { + "verification_identifier": { + "name": "verification_identifier", + "columns": [ + { + "expression": "identifier", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": {}, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + } + }, + "enums": {}, + "schemas": {}, + "sequences": {}, + "roles": {}, + "policies": {}, + "views": {}, + "_meta": { + "columns": {}, + "schemas": {}, + "tables": {} + } +} \ No newline at end of file diff --git a/packages/server/drizzle/meta/_journal.json b/packages/server/drizzle/meta/_journal.json index 88c360e..0749b93 100644 --- a/packages/server/drizzle/meta/_journal.json +++ b/packages/server/drizzle/meta/_journal.json @@ -260,6 +260,13 @@ "when": 1793047363511, "tag": "0036_past_swarm", "breakpoints": true + }, + { + "idx": 37, + "version": "7", + "when": 1793054760824, + "tag": "0037_petite_jamie_braddock", + "breakpoints": true } ] } \ No newline at end of file diff --git a/packages/server/src/builds.test.ts b/packages/server/src/builds.test.ts index 04af544..f1ad227 100644 --- a/packages/server/src/builds.test.ts +++ b/packages/server/src/builds.test.ts @@ -3,7 +3,7 @@ import { PGlite } from "@electric-sql/pglite"; import { drizzle } from "drizzle-orm/pglite"; import { migrate } from "drizzle-orm/pglite/migrator"; import { expect, test } from "vitest"; -import { busy, queueBuild, reapBuilds, RESEND_AFTER, RETRY_AFTER } from "./builds"; +import { busy, currentAt, queueBuild, reapBuilds, RESEND_AFTER, RETRY_AFTER, UNCHANGED_FOR, unchanged, whole } from "./builds"; import type { Db } from "./db/client"; import * as schema from "./db/schema"; import { LONGEST_JOB_SECONDS, type BuildJob, type Queue } from "./queue"; @@ -25,6 +25,24 @@ test("a running Build stays busy until the longest a job may run, and one that e expect(busy({ state: "done", reason: null, requestedAt: 0, finishedAt: at - 60 }, at)).toBe(false); }); +test("a Report is whole when it has its pack, every line counted and none left, and was built within a week; only then may a Build stop at an unmoved head", () => { + const at = 10_000_000; + const row = { reportKey: "reports/x", reportAt: at - 3600, reportLines: true, checkedAt: null }; + const live = { pack: "packs/x.pack", lines: true, linesLeft: 0, head: "a".repeat(40) }; + expect(whole(row, live, at)).toBe(true); + expect(unchanged(row, live, "a".repeat(40), at)).toBe(true); + expect(unchanged(row, live, "b".repeat(40), at)).toBe(false); + expect(unchanged(row, live, null, at)).toBe(false); + expect(whole({ ...row, reportLines: false }, live, at)).toBe(false); + expect(whole({ ...row, reportAt: at - UNCHANGED_FOR }, live, at)).toBe(false); + expect(whole(row, { ...live, linesLeft: 12 }, at)).toBe(false); + expect(whole(row, { ...live, lines: false }, at)).toBe(false); + expect(whole(row, { ...live, pack: null }, at)).toBe(false); + expect(whole(row, null, at)).toBe(false); + expect(currentAt({ ...row, checkedAt: at - 60 })).toBe(at - 60); + expect(currentAt(row)).toBe(at - 3600); +}); + test("a queued Build is sent with its repository as the key that keeps its Builds one at a time", async () => { const db = await database(); await db.insert(schema.repositories).values({ id: "acme/rocket", owner: "acme", name: "rocket" }); diff --git a/packages/server/src/builds.ts b/packages/server/src/builds.ts index 9ec3255..9a5e907 100644 --- a/packages/server/src/builds.ts +++ b/packages/server/src/builds.ts @@ -3,12 +3,31 @@ import type { Db } from "./db/client"; import { builds, repositories } from "./db/schema"; import { LONGEST_JOB_SECONDS, PRIORITY, type BuildJob, type Queue } from "./queue"; import { randomId } from "./random"; +import type { LiveIndex } from "./stored-index"; import { now } from "./time"; export const BUILD_LOST_AFTER = 30 * 60; export const RETRY_AFTER = 3600; export const REPORT_FOR = 24 * 3600; export const RESEND_AFTER = 120; +export const UNCHANGED_FOR = 7 * 24 * 3600; + +type Reported = Pick & { checkedAt?: number | null }; + +/** When a repository's Report was last known current: built, or found with its head where the Build left it. */ +export function currentAt(row: Reported): number { + return Math.max(row.reportAt ?? 0, row.checkedAt ?? 0); +} + +/** Whether a repository's Report is whole: published with every Mainline line counted and none left to count, from a Stored Index with a pack, and built less than UNCHANGED_FOR ago, so the time Windows have not drifted further than that. Only a whole Report is kept when its head has not moved. */ +export function whole(row: Reported, live: Pick | null, at = now()): boolean { + return !!row.reportKey && row.reportLines === true && (row.reportAt ?? 0) > at - UNCHANGED_FOR && !!live?.pack && live.lines && (live.linesLeft ?? 0) === 0 && !!live.head; +} + +/** Whether a Build has nothing to do: the Report is whole and the default branch's head is still the one it was built from. */ +export function unchanged(row: Reported, live: Pick | null, head: string | null, at = now()): boolean { + return !!head && whole(row, live, at) && live?.head === head; +} type BuildState = Pick & { startedAt?: number | null }; diff --git a/packages/server/src/db/schema.ts b/packages/server/src/db/schema.ts index ac51fb7..e17ac95 100644 --- a/packages/server/src/db/schema.ts +++ b/packages/server/src/db/schema.ts @@ -96,6 +96,7 @@ export const repositories = pgTable( reportBytes: integer("report_bytes"), reportLines: boolean("report_lines"), viewedAt: seconds("viewed_at"), + checkedAt: seconds("checked_at"), installationId: bigint("installation_id", { mode: "number" }), connectedBy: text("connected_by").references(() => user.id, { onDelete: "set null" }), seed: boolean("seed").notNull().default(false), From c3c28bc9b4234e91176cdb05a2fdf8c3573fe39d Mon Sep 17 00:00:00 2001 From: Dev Talan <84081651+devchaudhary24k@users.noreply.github.com> Date: Tue, 27 Oct 2026 04:54:48 +0530 Subject: [PATCH 08/82] perf(index): keep the commit graph and bring the Mainline up to date from new commits Every Build walked git twice over the whole history: once from HEAD for the Mainline, once from the last export's frontier for the commits the Site already has. The engine cache now keeps the commit graph beside the Index: each commit's parents by its place in the Index, and the Mainline of the head it was last worked out for. A Build lines it up with the Index, asks git only for the parents of the commits added since, walks only the new part of the first-parent line when HEAD went forward along it, and works the rest out in memory. A history written again, a cut-short one or a graph that no longer lines up is made again from git, as before. The export takes the commits the frontier reaches as places in the Index. linux on 2 cores, commit-graph present as on the Builder, no line pass: - nothing new: Mainline and frontier 4.2 s -> 91 ms, the run 9.7 s -> 5.1 s, peak anon 599 -> 500 MB (the first run after this change makes the graph once, 2.6 s; the file is 25.7 MB) - 337 new commits: 3.6 s -> 191 ms, the run 11.5 s -> 6.0 s, peak anon 754 -> 607 MB; the export and the pack are byte for byte the same --- CONTEXT.md | 2 +- .../commitscape-index/src/gix_source/mod.rs | 52 +- crates/commitscape-index/src/graph.rs | 595 ++++++++++++++++++ crates/commitscape-index/src/lib.rs | 1 + crates/commitscape-index/src/scripted.rs | 27 +- crates/commitscape-index/src/source.rs | 6 + crates/commitscape-index/tests/graph.rs | 211 +++++++ crates/commitscape-report/src/export.rs | 20 +- crates/commitscape/src/build.rs | 33 +- docs/working.md | 6 +- 10 files changed, 932 insertions(+), 21 deletions(-) create mode 100644 crates/commitscape-index/src/graph.rs create mode 100644 crates/commitscape-index/tests/graph.rs diff --git a/CONTEXT.md b/CONTEXT.md index 052da9a..ce37e76 100644 --- a/CONTEXT.md +++ b/CONTEXT.md @@ -53,7 +53,7 @@ A repository's Index at one head as the engine service reads it, with its people _Avoid_: snapshot, bundle, cache, export. **Mainline**: -The commits of a Stored Index that the default branch holds: every commit reachable from HEAD, and among them the first-parent line, the commits HEAD itself went through. The Stored Index also holds commits only other branches and tags reach, which never reached the default branch; the Mainline tells them apart. A Build works it out again each time, since a merge brings older commits into it. +The commits of a Stored Index that the default branch holds: every commit reachable from HEAD, and among them the first-parent line, the commits HEAD itself went through. The Stored Index also holds commits only other branches and tags reach, which never reached the default branch; the Mainline tells them apart. A Build brings it up to date from the commits added since, walking only the new part of the first-parent line, and works it out again whole when that line no longer runs through the head it was last worked out for, since a merge can bring older commits into it. _Avoid_: main branch, trunk, reachable commits. **Main Arrival**: diff --git a/crates/commitscape-index/src/gix_source/mod.rs b/crates/commitscape-index/src/gix_source/mod.rs index 56c937e..b4b0aae 100644 --- a/crates/commitscape-index/src/gix_source/mod.rs +++ b/crates/commitscape-index/src/gix_source/mod.rs @@ -6,7 +6,7 @@ use gix::objs::TreeRefIter; use crate::mailmap::Mailmap; use crate::source::{ BlameCommit, BlameSource, BlameThreads, BlobSink, CommitSink, HeadChange, HeadEntry, InParent, - Indexed, LineSink, LineWork, Moves, RepoSource, WalkStats, + Indexed, LineSink, LineWork, Moves, Parents, RepoSource, WalkStats, }; macro_rules! git_ctx { @@ -490,6 +490,56 @@ impl RepoSource for GixRepo { Ok(Some(Self::to_oid(head.as_ref())?)) } + fn history_parents(&self, visit: &mut dyn FnMut(Oid, &[Oid])) -> Result<(), Self::Error> { + let tips: Vec = self.tips_gix()?.into_iter().map(|(_, id)| id).collect(); + if tips.is_empty() { + return Ok(()); + } + let walk = git_ctx!( + self.repo.rev_walk(tips).all(), + "walking the history the refs reach" + )?; + let mut parents = Vec::new(); + for info in walk { + let info = git_ctx!(info, "walking the history the refs reach")?; + parents.clear(); + for p in &info.parent_ids { + parents.push(Self::to_oid(p.as_ref())?); + } + visit(Self::to_oid(info.id.as_ref())?, &parents); + } + Ok(()) + } + + fn parents_of(&self, ids: &[Oid]) -> Result>, Self::Error> { + let time_of = |id: gix::ObjectId| -> Result, GixError> { + let Ok(commit) = self.repo.find_commit(id) else { + return Ok(None); + }; + Ok(Some( + git_ctx!(commit.time(), "reading a commit time")?.seconds, + )) + }; + let mut out = Vec::with_capacity(ids.len()); + for id in ids { + let Some(found) = Self::to_gix(*id).and_then(|id| self.repo.find_commit(id).ok()) + else { + out.push(None); + continue; + }; + let mut parents = Vec::new(); + for p in found.parent_ids() { + let Some(time) = time_of(p.detach())? else { + parents.clear(); + break; + }; + parents.push((Self::to_oid(p.as_ref())?, time)); + } + out.push((parents.len() == found.parent_ids().count()).then_some(parents)); + } + Ok(out) + } + fn blame_ignore_revs(&self) -> Result, Self::Error> { const NAME: &str = ".git-blame-ignore-revs"; let text = match self.worktree_file(NAME)? { diff --git a/crates/commitscape-index/src/graph.rs b/crates/commitscape-index/src/graph.rs new file mode 100644 index 0000000..f54e488 --- /dev/null +++ b/crates/commitscape-index/src/graph.rs @@ -0,0 +1,595 @@ +use std::io::Write as _; +use std::path::{Path, PathBuf}; + +use commitscape_core::{Index, Oid}; +use foldhash::{HashMap, HashMapExt, HashSet}; +use tracing::field::Empty; +use xxhash_rust::xxh3::{xxh3_64, Xxh3}; + +use crate::cache::{repo_dir, CacheOptions}; +use crate::mainline::{Mainline, FIRST_PARENT, REACHABLE}; +use crate::source::RepoSource; + +const FILE: &str = "graph"; +const MAGIC: [u8; 8] = *b"CSGRAPH\x01"; +const NONE: u32 = u32::MAX; +const UPDATE_MAX: usize = 50_000; + +struct Line { + head: Oid, + bits: Vec, + by: Vec, +} + +#[derive(Debug, Clone, Copy, PartialEq, Eq)] +pub enum Kept { + Same, + Updated { added: usize }, + Made, +} + +pub struct CommitGraph { + lineage: u64, + hashes: Vec, + ends: Vec, + parents: Vec, + line: Option, + path: Option, + changed: bool, + pub kept: Kept, +} + +fn short(id: &Oid) -> u32 { + xxh3_64(&id.0) as u32 +} + +fn ids_hash<'a>(ids: impl Iterator) -> u64 { + let mut h = Xxh3::new(); + for id in ids { + h.update(&id.0); + } + h.digest() +} + +fn place_of(index: &Index, id: Oid, time: i64) -> Option { + let at = index + .commits + .partition_point(|c| (c.time, c.id.0) < (time, id.0)); + let c = index.commits.get(at)?; + (c.id == id).then_some(at as u32) +} + +fn places_of(index: &Index, ids: &[Oid]) -> Vec> { + let wanted: HashSet = ids.iter().copied().collect(); + let mut found: HashMap = HashMap::with_capacity(ids.len()); + for (i, c) in index.commits.iter().enumerate() { + if wanted.contains(&c.id) { + found.insert(c.id, i as u32); + } + } + ids.iter().map(|id| found.get(id).copied()).collect() +} + +impl CommitGraph { + /// The graph of `index` from the cache when it still lines up with the Index, brought up to date from the commits added since, or made again by walking git. A cut-short history is always walked again. + pub fn of( + source: &S, + options: &CacheOptions, + index: &Index, + lineage: u64, + ) -> Result { + let span = tracing::info_span!("graph", kept = Empty, added = Empty); + let _entered = span.enter(); + let path = repo_dir(options, &index.repo).map(|d| d.join(FILE)); + let read = path + .as_deref() + .filter(|_| !index.history_truncated) + .and_then(read) + .filter(|g| g.lineage == lineage); + let lined = match read { + Some(stored) => stored.lined_up(source, index)?, + None => None, + }; + let mut graph = match lined { + Some(g) => g, + None => Self::made(source, index, lineage)?, + }; + graph.path = path.filter(|_| !index.history_truncated); + match graph.kept { + Kept::Same => span.record("kept", "same"), + Kept::Updated { added } => { + span.record("added", added); + span.record("kept", "updated") + } + Kept::Made => span.record("kept", "made"), + }; + Ok(graph) + } + + fn made( + source: &S, + index: &Index, + lineage: u64, + ) -> Result { + let n = index.commits.len(); + let mut at: HashMap = HashMap::with_capacity(n); + for (i, c) in index.commits.iter().enumerate() { + at.insert(c.id, i as u32); + } + let mut of: Vec>> = vec![None; n]; + source.history_parents(&mut |id, parents| { + if let Some(slot) = at.get(&id).and_then(|&i| of.get_mut(i as usize)) { + *slot = Some( + parents + .iter() + .map(|p| at.get(p).copied().unwrap_or(NONE)) + .collect(), + ); + } + })?; + drop(at); + let mut ends = Vec::with_capacity(n); + let mut parents = Vec::with_capacity(n + n / 8); + for p in of { + parents.extend(p.unwrap_or_default()); + ends.push(parents.len() as u32); + } + Ok(CommitGraph { + lineage, + hashes: index.commits.iter().map(|c| short(&c.id)).collect(), + ends, + parents, + line: None, + path: None, + changed: true, + kept: Kept::Made, + }) + } + + fn parents(&self, i: u32) -> &[u32] { + let i = i as usize; + let start = if i == 0 { + 0 + } else { + self.ends.get(i - 1).copied().unwrap_or(0) as usize + }; + let end = self.ends.get(i).copied().unwrap_or(0) as usize; + self.parents.get(start..end).unwrap_or(&[]) + } + + fn first_parent(&self, i: u32) -> Option { + self.parents(i).first().copied().filter(|&p| p != NONE) + } + + fn extend(&self, line: &[u32], bits: &mut [u8], by: &mut [u32], touched: &mut Vec) { + let mut stack: Vec = Vec::new(); + for &f in line.iter().rev() { + if let (Some(b), Some(w)) = (bits.get_mut(f as usize), by.get_mut(f as usize)) { + *b |= REACHABLE | FIRST_PARENT; + *w = f; + touched.push(f); + } + stack.extend(self.parents(f).iter().filter(|&&p| p != NONE).skip(1)); + while let Some(c) = stack.pop() { + match bits.get_mut(c as usize) { + Some(b) if *b & REACHABLE == 0 => *b |= REACHABLE, + _ => continue, + } + if let Some(w) = by.get_mut(c as usize) { + *w = f; + } + touched.push(c); + for &p in self.parents(c) { + if p != NONE && bits.get(p as usize).is_some_and(|b| b & REACHABLE == 0) { + stack.push(p); + } + } + } + } + } + + fn line_from(&self, head: u32, stop: Option) -> Option> { + let mut line = Vec::new(); + let mut seen = vec![false; self.hashes.len()]; + let mut next = Some(head); + while let Some(i) = next { + if Some(i) == stop { + return Some(line); + } + match seen.get_mut(i as usize) { + Some(s) if !*s => *s = true, + _ => break, + } + line.push(i); + next = self.first_parent(i); + } + stop.is_none().then_some(line) + } + + fn whole_line(&self, head: u32) -> (Vec, Vec) { + let n = self.hashes.len(); + let mut bits = vec![0u8; n]; + let mut by = vec![NONE; n]; + let line = self.line_from(head, None).unwrap_or_default(); + self.extend(&line, &mut bits, &mut by, &mut Vec::new()); + (bits, by) + } + + fn mainline_of(index: &Index, bits: &[u8], by: &[u32]) -> Mainline { + Mainline { + bits: bits.to_vec(), + arrival: by + .iter() + .map(|&f| { + (f != NONE) + .then(|| index.commits.get(f as usize).map(|c| c.time)) + .flatten() + }) + .collect(), + } + } + + /// The Mainline of the Index's HEAD, aligned with `index.commits`, and which commits' Mainline moved since it was worked out from `before`: `None` when `before` is not in HEAD's history. When HEAD went forward along its first-parent line from the head the graph kept the Mainline of, only the new part is walked; otherwise the whole line, in memory. + pub fn mainline_since( + &mut self, + index: &Index, + before: Option, + ) -> (Mainline, Option>) { + let span = tracing::info_span!( + "mainline", + reachable = Empty, + first_parent = Empty, + walked = Empty + ); + let _entered = span.enter(); + let n = self.hashes.len(); + let empty = || Mainline { + bits: vec![0; n], + arrival: vec![None; n], + }; + let Some(head) = index.head_commit else { + return (empty(), None); + }; + let kept = self.line.take(); + let wanted: Vec = [Some(head), before, kept.as_ref().map(|l| l.head)] + .into_iter() + .flatten() + .collect(); + let places: HashMap> = wanted + .iter() + .copied() + .zip(places_of(index, &wanted)) + .collect(); + let at = |id: Oid| places.get(&id).copied().flatten(); + let Some(h) = at(head) else { + return (empty(), None); + }; + let mut touched = Vec::new(); + let forward = kept.and_then(|l| { + if l.head == head { + return Some(l); + } + let line = self.line_from(h, Some(at(l.head)?))?; + let Line { + head: was, + mut bits, + mut by, + } = l; + self.extend(&line, &mut bits, &mut by, &mut touched); + Some(Line { + head: was, + bits, + by, + }) + }); + let (bits, by, from) = match forward { + Some(l) => (l.bits, l.by, Some(l.head)), + None => { + touched.clear(); + let (bits, by) = self.whole_line(h); + (bits, by, None) + } + }; + span.record("walked", touched.len()); + span.record( + "reachable", + bits.iter().filter(|b| *b & REACHABLE != 0).count(), + ); + span.record( + "first_parent", + bits.iter().filter(|b| *b & FIRST_PARENT != 0).count(), + ); + let out = Self::mainline_of(index, &bits, &by); + let moved = before.and_then(|before| { + if before == head { + return Some(vec![false; n]); + } + let b = at(before)?; + if bits.get(b as usize).is_none_or(|x| x & REACHABLE == 0) { + return None; + } + if from == Some(before) { + let mut moved = vec![false; n]; + for &t in &touched { + if let Some(m) = moved.get_mut(t as usize) { + *m = true; + } + } + return Some(moved); + } + let (then_bits, then_by) = self.whole_line(b); + let then = Self::mainline_of(index, &then_bits, &then_by); + Some( + out.bits + .iter() + .zip(&then.bits) + .zip(out.arrival.iter().zip(&then.arrival)) + .map(|((now, was), (came, had))| now != was || came != had) + .collect(), + ) + }); + if from != Some(head) { + self.changed = true; + } + self.line = Some(Line { head, bits, by }); + (out, moved) + } + + /// Which commits of the Index the given ones reach, aligned with `index.commits`; None when one of them is not in the Index. + pub fn reached_from(&self, index: &Index, from: &[Oid]) -> Option> { + let span = tracing::info_span!("reached", from = from.len(), reached = Empty); + let _entered = span.enter(); + let mut reached = vec![false; self.hashes.len()]; + let mut stack: Vec = Vec::with_capacity(from.len()); + for p in places_of(index, from) { + stack.push(p?); + } + let mut count = 0usize; + while let Some(i) = stack.pop() { + match reached.get_mut(i as usize) { + Some(r) if !*r => *r = true, + _ => continue, + } + count += 1; + stack.extend( + self.parents(i) + .iter() + .filter(|&&p| p != NONE && !reached.get(p as usize).copied().unwrap_or(true)), + ); + } + span.record("reached", count); + Some(reached) + } + + /// Writes the graph and its Mainline to the cache when either changed; a graph that cannot be written is made again next time. + pub fn keep(&mut self, index: &Index) { + let Some(path) = self.path.as_deref() else { + return; + }; + if !self.changed { + return; + } + if write(path, self, index).is_ok() { + self.changed = false; + } + } +} + +struct Stored { + lineage: u64, + ids: u64, + hashes: Vec, + ends: Vec, + parents: Vec, + line: Option, +} + +impl Stored { + fn lined_up( + self, + source: &S, + index: &Index, + ) -> Result, S::Error> { + let n = index.commits.len(); + let old = self.hashes.len(); + let mut new_of_old: Vec = Vec::with_capacity(old); + let mut added: Vec = Vec::new(); + for (p, c) in index.commits.iter().enumerate() { + if self.hashes.get(new_of_old.len()) == Some(&short(&c.id)) { + new_of_old.push(p as u32); + } else { + added.push(p); + } + } + if new_of_old.len() != old || added.len() > UPDATE_MAX { + return Ok(None); + } + let ids = new_of_old + .iter() + .filter_map(|&p| index.commits.get(p as usize).map(|c| &c.id)); + if ids_hash(ids) != self.ids { + return Ok(None); + } + if added.is_empty() { + return Ok(Some(CommitGraph { + lineage: self.lineage, + hashes: self.hashes, + ends: self.ends, + parents: self.parents, + line: self.line, + path: None, + changed: false, + kept: Kept::Same, + })); + } + let added_ids: Vec = added + .iter() + .filter_map(|&p| index.commits.get(p).map(|c| c.id)) + .collect(); + let asked = source.parents_of(&added_ids)?; + let mut new_parents: HashMap> = HashMap::with_capacity(added.len()); + for (&p, found) in added.iter().zip(asked) { + let Some(found) = found else { + return Ok(None); + }; + let mut places = Vec::with_capacity(found.len()); + for (id, time) in found { + places.push(place_of(index, id, time).unwrap_or(NONE)); + } + new_parents.insert(p as u32, places); + } + let move_place = |q: u32| { + if q == NONE { + NONE + } else { + new_of_old.get(q as usize).copied().unwrap_or(NONE) + } + }; + let mut ends = Vec::with_capacity(n); + let mut parents = Vec::with_capacity(self.parents.len() + added.len() * 2); + let mut o = 0usize; + for p in 0..n as u32 { + match new_parents.get(&p) { + Some(found) => parents.extend_from_slice(found), + None => { + let start = o + .checked_sub(1) + .and_then(|i| self.ends.get(i)) + .copied() + .unwrap_or(0) as usize; + let end = self.ends.get(o).copied().unwrap_or(0) as usize; + parents.extend( + self.parents + .get(start..end) + .unwrap_or(&[]) + .iter() + .map(|&q| move_place(q)), + ); + o += 1; + } + } + ends.push(parents.len() as u32); + } + let line = self.line.map(|l| { + let mut bits = vec![0u8; n]; + let mut by = vec![NONE; n]; + for (o, (&b, &f)) in l.bits.iter().zip(&l.by).enumerate() { + if let Some(&p) = new_of_old.get(o) { + if let (Some(slot), Some(from)) = + (bits.get_mut(p as usize), by.get_mut(p as usize)) + { + *slot = b; + *from = move_place(f); + } + } + } + Line { + head: l.head, + bits, + by, + } + }); + Ok(Some(CommitGraph { + lineage: self.lineage, + hashes: index.commits.iter().map(|c| short(&c.id)).collect(), + ends, + parents, + line, + path: None, + changed: true, + kept: Kept::Updated { added: added.len() }, + })) + } +} + +fn u32s(bytes: &[u8]) -> Vec { + bytes + .as_chunks::<4>() + .0 + .iter() + .map(|b| u32::from_le_bytes(*b)) + .collect() +} + +fn take<'a>(rest: &mut &'a [u8], len: usize) -> Option<&'a [u8]> { + let (head, tail) = rest.split_at_checked(len)?; + *rest = tail; + Some(head) +} + +fn take_u64(rest: &mut &[u8]) -> Option { + Some(u64::from_le_bytes(take(rest, 8)?.try_into().ok()?)) +} + +fn read(path: &Path) -> Option { + let bytes = std::fs::read(path).ok()?; + let (body, sum) = bytes.split_at_checked(bytes.len().checked_sub(8)?)?; + if xxh3_64(body).to_le_bytes() != sum { + return None; + } + let mut rest = body; + if take(&mut rest, 8)? != MAGIC { + return None; + } + let lineage = take_u64(&mut rest)?; + let ids = take_u64(&mut rest)?; + let n = usize::try_from(take_u64(&mut rest)?).ok()?; + let m = usize::try_from(take_u64(&mut rest)?).ok()?; + let hashes = u32s(take(&mut rest, n.checked_mul(4)?)?); + let ends = u32s(take(&mut rest, n.checked_mul(4)?)?); + let parents = u32s(take(&mut rest, m.checked_mul(4)?)?); + let line = match take(&mut rest, 1)?.first()? { + 0 => None, + _ => { + let head = Oid::from_bytes(take(&mut rest, 20)?)?; + let bits = take(&mut rest, n)?.to_vec(); + let by = u32s(take(&mut rest, n.checked_mul(4)?)?); + Some(Line { head, bits, by }) + } + }; + if !rest.is_empty() || ends.last().is_some_and(|&e| e as usize != m) { + return None; + } + Some(Stored { + lineage, + ids, + hashes, + ends, + parents, + line, + }) +} + +fn write(path: &Path, graph: &CommitGraph, index: &Index) -> std::io::Result<()> { + let n = graph.hashes.len(); + let mut out: Vec = Vec::with_capacity(48 + n * 13 + graph.parents.len() * 4 + 30); + out.extend_from_slice(&MAGIC); + out.extend_from_slice(&graph.lineage.to_le_bytes()); + out.extend_from_slice(&ids_hash(index.commits.iter().map(|c| &c.id)).to_le_bytes()); + out.extend_from_slice(&(n as u64).to_le_bytes()); + out.extend_from_slice(&(graph.parents.len() as u64).to_le_bytes()); + for v in [&graph.hashes, &graph.ends, &graph.parents] { + for x in v.iter() { + out.extend_from_slice(&x.to_le_bytes()); + } + } + match &graph.line { + Some(l) => { + out.push(1); + out.extend_from_slice(&l.head.0); + out.extend_from_slice(&l.bits); + for x in &l.by { + out.extend_from_slice(&x.to_le_bytes()); + } + } + None => out.push(0), + } + let sum = xxh3_64(&out); + out.extend_from_slice(&sum.to_le_bytes()); + let temp = path.with_extension("writing"); + { + let mut f = std::fs::File::create(&temp)?; + f.write_all(&out)?; + } + std::fs::rename(&temp, path) +} diff --git a/crates/commitscape-index/src/lib.rs b/crates/commitscape-index/src/lib.rs index 7ee3330..e7e4356 100644 --- a/crates/commitscape-index/src/lib.rs +++ b/crates/commitscape-index/src/lib.rs @@ -3,6 +3,7 @@ pub mod build; pub mod cache; mod classify; pub mod gix_source; +pub mod graph; mod hash_index; mod head_pass; pub mod identity; diff --git a/crates/commitscape-index/src/scripted.rs b/crates/commitscape-index/src/scripted.rs index 0e58536..fe875c8 100644 --- a/crates/commitscape-index/src/scripted.rs +++ b/crates/commitscape-index/src/scripted.rs @@ -6,7 +6,8 @@ use commitscape_core::{Oid, RepoIdentity}; use crate::mailmap::Mailmap; use crate::source::{ BlameCommit, BlameSource, BlameThreads, BlobSink, CommitSink, HeadChange, HeadEntry, InParent, - Indexed, LineSink, LineWork, Moves, RawChange, RawChangeKind, RawCommit, RepoSource, WalkStats, + Indexed, LineSink, LineWork, Moves, Parents, RawChange, RawChangeKind, RawCommit, RepoSource, + WalkStats, }; #[derive(Debug, Clone)] @@ -346,6 +347,30 @@ impl RepoSource for ScriptedRepo { Ok(None) } + fn history_parents(&self, visit: &mut dyn FnMut(Oid, &[Oid])) -> Result<(), Self::Error> { + let reachable = self.reachable(self.tips()?); + for c in self.commits.iter().rev() { + if reachable.contains(&c.id) { + visit(c.id, &c.parents); + } + } + Ok(()) + } + + fn parents_of(&self, ids: &[Oid]) -> Result>, Self::Error> { + Ok(ids + .iter() + .map(|id| { + self.find(*id).map(|c| { + c.parents + .iter() + .map(|p| (*p, self.find(*p).map_or(0, |q| q.time))) + .collect() + }) + }) + .collect()) + } + fn head_history( &self, visit: &mut dyn FnMut(Oid, i64, &[Oid]), diff --git a/crates/commitscape-index/src/source.rs b/crates/commitscape-index/src/source.rs index 766fc47..a9be562 100644 --- a/crates/commitscape-index/src/source.rs +++ b/crates/commitscape-index/src/source.rs @@ -7,6 +7,8 @@ use crate::mailmap::Mailmap; pub type Frontier = HashSet; +pub type Parents = Vec<(Oid, i64)>; + pub trait Indexed: Sync { fn contains(&self, id: &Oid) -> bool; } @@ -126,6 +128,10 @@ pub trait RepoSource { visit: &mut dyn FnMut(Oid, i64, &[Oid]), ) -> Result, Self::Error>; + fn history_parents(&self, visit: &mut dyn FnMut(Oid, &[Oid])) -> Result<(), Self::Error>; + + fn parents_of(&self, ids: &[Oid]) -> Result>, Self::Error>; + fn blame_ignore_revs(&self) -> Result, Self::Error>; } diff --git a/crates/commitscape-index/tests/graph.rs b/crates/commitscape-index/tests/graph.rs new file mode 100644 index 0000000..94b4cc7 --- /dev/null +++ b/crates/commitscape-index/tests/graph.rs @@ -0,0 +1,211 @@ +#![allow(clippy::expect_used, clippy::indexing_slicing)] + +use std::path::PathBuf; + +use commitscape_core::{Index, Oid}; +use commitscape_index::graph::{CommitGraph, Kept}; +use commitscape_index::mainline::REACHABLE; +use commitscape_index::{ + index_from_scratch, load, mainline, CacheOptions, GixRepo, Loaded, RepoSource, ScriptedRepo, +}; + +const A: (&str, &str) = ("Ada", "ada@example.com"); + +type Step = fn(ScriptedRepo) -> ScriptedRepo; + +const STEPS: &[Step] = &[ + |r| r.commit(10, A, &[]), + |r| r.commit(20, A, &[]), + |r| r.at(1).commit(15, A, &[]).at(2), + |r| r.merge(30, A, 3, &[]), + |r| r.commit(40, A, &[]), + |r| r.at(4).commit(35, A, &[]).at(5), + |r| r.commit(50, A, &[]), + |r| r.merge(60, A, 6, &[]), + |r| r.commit(65, A, &[]), + |r| r.at(6).merge(70, A, 9, &[]), + |r| r.commit(80, A, &[]), + |r| { + r.at(10) + .commit(85, A, &[]) + .at(11) + .commit(90, A, &[]) + .merge(95, A, 12, &[]) + }, +]; + +fn grown(steps: usize) -> ScriptedRepo { + STEPS + .iter() + .take(steps) + .fold(ScriptedRepo::new(), |r, step| step(r)) +} + +fn loaded(repo: &ScriptedRepo, options: &CacheOptions) -> Loaded { + match load(repo, options, &mut |_| {}) { + Ok(l) => l, + Err(never) => match never {}, + } +} + +fn graph(repo: &ScriptedRepo, options: &CacheOptions, l: &Loaded) -> CommitGraph { + match CommitGraph::of(repo, options, &l.index, l.lineage) { + Ok(g) => g, + Err(never) => match never {}, + } +} + +fn oracle(repo: &ScriptedRepo, index: &Index) -> commitscape_index::Mainline { + match mainline(repo, index) { + Ok(m) => m, + Err(never) => match never {}, + } +} + +fn scratch(name: &str) -> PathBuf { + let nanos = std::time::SystemTime::now() + .duration_since(std::time::UNIX_EPOCH) + .map(|d| d.as_nanos()) + .unwrap_or(0); + std::env::temp_dir().join(format!("commitscape-graph-{name}-{nanos}")) +} + +#[test] +fn the_kept_graph_gives_the_mainline_git_gives_at_every_head_as_the_history_grows() { + let root = scratch("grows"); + let options = CacheOptions { + root: Some(root.clone()), + key: None, + }; + let mut before: Option = None; + let mut kinds = Vec::new(); + for steps in 1..=STEPS.len() { + let repo = grown(steps); + let l = loaded(&repo, &options); + let mut g = graph(&repo, &options, &l); + kinds.push(g.kept); + let (found, moved) = g.mainline_since(&l.index, before); + g.keep(&l.index); + let want = oracle(&repo, &l.index); + assert_eq!(found, want, "the Mainline after step {steps}"); + if let Some(was) = before { + let k = (1..=l.index.commits.len() as u32) + .find(|&k| repo.commit_id(k) == was) + .expect("the earlier head"); + let then = oracle(&grown(steps).at(k), &l.index); + let expected: Vec = (0..l.index.commits.len()) + .map(|i| (want.bits[i], want.arrival[i]) != (then.bits[i], then.arrival[i])) + .collect(); + assert_eq!(moved, Some(expected), "what moved at step {steps}"); + } + let tips = repo.tips().expect("tips"); + assert_eq!( + g.reached_from(&l.index, &tips), + Some(vec![true; l.index.commits.len()]), + "every commit is reached from the tips at step {steps}" + ); + before = l.index.head_commit; + } + assert_eq!(kinds.first(), Some(&Kept::Made)); + assert!( + kinds + .iter() + .skip(1) + .all(|k| matches!(k, Kept::Updated { .. })), + "{kinds:?}" + ); + let repo = grown(STEPS.len()); + let l = loaded(&repo, &options); + assert_eq!(graph(&repo, &options, &l).kept, Kept::Same); + let _ = std::fs::remove_dir_all(root); +} + +#[test] +fn a_history_written_again_makes_the_graph_again() { + let root = scratch("rewritten"); + let options = CacheOptions { + root: Some(root.clone()), + key: None, + }; + let first = grown(5); + let l = loaded(&first, &options); + let mut g = graph(&first, &options, &l); + g.mainline_since(&l.index, None); + g.keep(&l.index); + let other = ScriptedRepo::new() + .commit(11, A, &[]) + .commit(21, A, &[]) + .commit(31, A, &[]); + let l = loaded(&other, &options); + let mut g = graph(&other, &options, &l); + assert_eq!(g.kept, Kept::Made); + assert_eq!(g.mainline_since(&l.index, None).0, oracle(&other, &l.index)); + let _ = std::fs::remove_dir_all(root); +} + +#[test] +fn commits_the_frontier_reaches_are_the_ones_it_reaches_in_git() { + let repo = grown(8); + let index = index_from_scratch(&repo).expect("indexing"); + let options = CacheOptions::default(); + let g = match CommitGraph::of(&repo, &options, &index, 1) { + Ok(g) => g, + Err(never) => match never {}, + }; + let from = [repo.commit_id(3), repo.commit_id(5)]; + let reached = g.reached_from(&index, &from).expect("in the Index"); + let names: Vec = (1..=8) + .filter(|&k| { + let at = index + .commits + .iter() + .position(|c| c.id == repo.commit_id(k)) + .expect("indexed"); + reached[at] + }) + .collect(); + assert_eq!(names, vec![1, 2, 3, 4, 5]); + assert_eq!(g.reached_from(&index, &[Oid([7; 20])]), None); +} + +fn fixture(name: &str) -> PathBuf { + PathBuf::from(env!("CARGO_MANIFEST_DIR")) + .join("../../fixtures") + .join(name) +} + +#[test] +fn the_graph_gives_the_mainline_git_gives_on_every_fixture() { + let mut reachable = 0; + for name in [ + "linear", + "coupling", + "ownership", + "renames", + "bulk", + "merges", + "conflict", + "rhythm", + "lines", + "survival", + "detached", + "tags", + "bare.git", + ] { + let dir = fixture(name); + let repo = GixRepo::open(&dir).expect("opening fixture"); + let index = index_from_scratch(&repo).expect("indexing fixture"); + let mut g = CommitGraph::of(&repo, &CacheOptions::default(), &index, 1).expect("graph"); + let (found, _) = g.mainline_since(&index, None); + let want = mainline(&repo, &index).expect("the mainline"); + assert_eq!(found, want, "{name}"); + let tips = repo.tips().expect("tips"); + assert_eq!( + g.reached_from(&index, &tips), + Some(vec![true; index.commits.len()]), + "{name}" + ); + reachable += found.bits.iter().filter(|b| *b & REACHABLE != 0).count(); + } + assert!(reachable > 50); +} diff --git a/crates/commitscape-report/src/export.rs b/crates/commitscape-report/src/export.rs index 49cc40c..13ff7bd 100644 --- a/crates/commitscape-report/src/export.rs +++ b/crates/commitscape-report/src/export.rs @@ -26,7 +26,7 @@ pub struct Export<'a> { pub release_commits: &'a [(String, Oid)], pub lines: Option>, pub mainline: Mainline<'a>, - pub known: Option<&'a HashSet>, + pub known: Option<&'a [bool]>, pub since: Since<'a>, pub mark: String, pub lineage: u64, @@ -93,7 +93,7 @@ pub fn write(e: &Export<'_>, dir: &Path) -> std::io::Result { .commits .iter() .enumerate() - .filter(|(_, c)| e.known.is_none_or(|k| !k.contains(&c.id))) + .filter(|(i, _)| e.known.is_none_or(|k| !k.get(*i).copied().unwrap_or(false))) .map(|(i, _)| i) .collect(); @@ -330,7 +330,7 @@ fn write_mainline(dir: &Path, index: &Index, e: &Export<'_>) -> std::io::Result< .since .moved .is_none_or(|m| m.get(at).copied().unwrap_or(true)); - if !moved || !known.contains(&c.id) { + if !moved || !known.get(at).copied().unwrap_or(false) { continue; } out.oid(c.id).num(c.flags.0 | e.mainline.bits(at)); @@ -349,7 +349,7 @@ fn write_lines(dir: &Path, index: &Index, e: &Export<'_>) -> std::io::Result<()> if let Some(known) = e.known { for (at, c) in index.commits.iter().enumerate() { let counted = e.since.counted.is_none_or(|s| s.contains(&c.id)); - if !counted || !known.contains(&c.id) || !settled(e, at) { + if !counted || !known.get(at).copied().unwrap_or(false) || !settled(e, at) { continue; } out.oid(c.id); @@ -672,7 +672,7 @@ mod tests { fn export( index: &Index, - known: Option<&HashSet>, + known: Option<&[bool]>, lines: Option>, dir: &Path, ) -> Manifest { @@ -681,7 +681,7 @@ mod tests { fn export_since( index: &Index, - known: Option<&HashSet>, + known: Option<&[bool]>, lines: Option>, since: Since<'_>, dir: &Path, @@ -785,12 +785,12 @@ mod tests { fn an_export_after_known_commits_holds_what_is_new_and_the_lines_settled_since() { let repo = repo(); let index = index_of(&repo); - let known: HashSet = index.commits.iter().take(2).map(|c| c.id).collect(); + let known: Vec = (0..index.commits.len()).map(|i| i < 2).collect(); let dir = scratch("after"); let settled = [true, false, true]; let m = export( &index, - Some(&known), + Some(known.as_slice()), Some(Lines { settled: &settled, counted: 2, @@ -817,14 +817,14 @@ mod tests { fn an_export_after_a_mark_that_holds_writes_only_the_mainline_that_moved_and_the_lines_counted_since( ) { let index = index_of(&repo()); - let known: HashSet = index.commits.iter().map(|c| c.id).collect(); + let known: Vec = vec![true; index.commits.len()]; let dir = scratch("since"); let settled = [true; 3]; let moved = [false, true, false]; let counted: HashSet = [index.commits[2].id].into_iter().collect(); let m = export_since( &index, - Some(&known), + Some(known.as_slice()), Some(Lines { settled: &settled, counted: 3, diff --git a/crates/commitscape/src/build.rs b/crates/commitscape/src/build.rs index 2ae2c56..4fc9117 100644 --- a/crates/commitscape/src/build.rs +++ b/crates/commitscape/src/build.rs @@ -4,6 +4,7 @@ use std::path::{Path, PathBuf}; use clap::Args; use commitscape_core::{CommitFlags, Index, Oid}; +use commitscape_index::graph::CommitGraph; use commitscape_index::mainline::mainline_since; use commitscape_index::{load, GixRepo, LineStore, Loaded, Mainline, RepoSource}; use commitscape_metrics::Span; @@ -65,7 +66,7 @@ struct Read { mainline: Mainline, lines: Option, accounts: HashMap, - known: Option>, + known: Option>, moved: Option>, counted: Option>, mark: Mark, @@ -81,14 +82,25 @@ fn read(args: &ExportArgs) -> anyhow::Result { let mut meter = ProgressLine::new(); let mut loaded = load(&repo, &options, &mut |p| meter.show(p))?; meter.clear(); + let truncated = loaded.index.history_truncated; + let mut graph = (!truncated) + .then(|| CommitGraph::of(&repo, &options, &loaded.index, loaded.lineage)) + .transpose()?; let known = match (&args.after, args.lineage) { - (Some(file), Some(lineage)) if lineage == loaded.lineage => { - repo.ancestors(&frontier(file)?)? - } + (Some(file), Some(lineage)) if lineage == loaded.lineage => match &graph { + Some(g) => g.reached_from(&loaded.index, &frontier(file)?), + None => repo.ancestors(&frontier(file)?)?.map(|reached| { + loaded + .index + .commits + .iter() + .map(|c| reached.contains(&c.id)) + .collect() + }), + }, _ => None, }; let ignored = repo.blame_ignore_revs()?; - let truncated = loaded.index.history_truncated; let fingerprint = fingerprint( args.common.metrics().max_changeset_size, &ignored, @@ -100,7 +112,14 @@ fn read(args: &ExportArgs) -> anyhow::Result { .and_then(Mark::parse) .filter(|m| known.is_some() && m.fingerprint == fingerprint); let before = held.and_then(|m| m.head).filter(|_| !truncated); - let (mainline, moved) = mainline_since(&repo, &loaded.index, before)?; + let (mainline, moved) = match graph.as_mut() { + Some(g) => { + let found = g.mainline_since(&loaded.index, before); + g.keep(&loaded.index); + found + } + None => mainline_since(&repo, &loaded.index, before)?, + }; let lines = if args.no_lines { None } else { @@ -187,7 +206,7 @@ fn write_export(r: &Read, args: &ExportArgs) -> anyhow::Result { bits: &r.mainline.bits, arrival: &r.mainline.arrival, }, - known: r.known.as_ref(), + known: r.known.as_deref(), since: Since { moved: r.moved.as_deref(), counted: r.counted.as_ref(), diff --git a/docs/working.md b/docs/working.md index f2db3f8..0ac816b 100644 --- a/docs/working.md +++ b/docs/working.md @@ -144,7 +144,11 @@ instead of the clone's path, so the Build's two clones share one cache and the history is walked once. `--after FILE --lineage N` writes only the commits the frontier in FILE does not reach, and `--since MARK`, the mark the last loaded export left, narrows the earlier commits' rows to the -Mainline that moved and the Lines Changed counted since. `--anchor SECONDS` ends every Window there +Mainline that moved and the Lines Changed counted since. Beside the Index +the cache keeps its commit graph (`graph`: each commit's parents by place, +and the Mainline of the head it was last worked out for); a Build brings it +up to date from the commits added since, so the Mainline and the commits +the frontier reaches come from memory instead of from walking git. `--anchor SECONDS` ends every Window there instead of now, so the output comes out the same every time. `COMMITSCAPE_SITE` points `share` at another Site. From 967dba534b006489c1521c3c072cce30d00304e3 Mon Sep 17 00:00:00 2001 From: Dev Talan <84081651+devchaudhary24k@users.noreply.github.com> Date: Tue, 27 Oct 2026 05:06:21 +0530 Subject: [PATCH 09/82] perf: make the Atlas once per pack in the Builder The Site made each pack's Universe Atlas itself, asking the engine service for every row as one JSON answer and packing it twice with brotli: on linux a 1.16 GB spike and 35 CPU-s on venus for every pack. `commitscape build` now writes the rows beside the pack as JSON lines (`universe.jsonl`, streamed, one commit, file or person a line); the rows code moves from the engine service to commitscape-report so both use it. Before a pack is published the Builder makes its Atlas from those rows with the Site's own atlasOf, encodeAtlas and encodeNames, in a process of its own (`node builder.mjs atlas`) that waits for an engine slot, packs it with brotli at ATLAS_QUALITY (5) and stores it under the key the Site reads first, now shared as atlasKey. The Site sends those bytes; it makes an Atlas only for a pack the Builder did not, as when the Builder's step fails. linux (2 cores): the Site's 1.16 GB and 35 CPU-s per pack -> 0; the Builder writes the rows in 0.9 s (170 MB, no change to the engine's peak) and makes the Atlas in 3.9 s wall, 4.8 CPU-s, 635 MB peak in a short-lived process; map 7.8 MB (11 would give 6.6 MB for 35 CPU-s). react: rows 49 ms (7 MB), Atlas 0.28 s, 64 MB, map 260 KB. --- CONTEXT.md | 2 +- DEPLOY.md | 1 + apps/builder/src/builder.test.ts | 21 +++ apps/builder/src/config.ts | 4 + apps/builder/src/fake.ts | 7 + apps/builder/src/job.test.ts | 50 +++++- apps/builder/src/job.ts | 9 +- apps/builder/src/main.ts | 15 +- apps/builder/src/run.ts | 7 +- apps/builder/src/universe.test.ts | 86 +++++++++ apps/builder/src/universe.ts | 70 ++++++++ apps/engine/src/lib.rs | 1 - apps/engine/src/routes.rs | 2 +- apps/engine/tests/engine.rs | 35 ++++ apps/site/src/server/universe.test.ts | 17 +- apps/site/src/server/universe.ts | 6 +- crates/commitscape-report/src/lib.rs | 1 + .../commitscape-report}/src/universe.rs | 165 ++++++++++++++---- crates/commitscape/src/build.rs | 14 +- docs/working.md | 13 +- packages/server/src/reports.ts | 7 + 21 files changed, 474 insertions(+), 59 deletions(-) create mode 100644 apps/builder/src/universe.test.ts create mode 100644 apps/builder/src/universe.ts rename {apps/engine => crates/commitscape-report}/src/universe.rs (56%) diff --git a/CONTEXT.md b/CONTEXT.md index ce37e76..151469e 100644 --- a/CONTEXT.md +++ b/CONTEXT.md @@ -163,7 +163,7 @@ The repository's whole default-branch history as a map to explore: one hex for e _Avoid_: galaxy, 3D view, city. **Atlas**: -The compact binary history the Universe is made from: the files, folders and people of a Pack and every commit on the Mainline by when it arrived, Merge Commits left out. It is made once per Pack. +The compact binary history the Universe is made from: the files, folders and people of a Pack and every commit on the Mainline by when it arrived, Merge Commits left out. The Builder makes it once per Pack, from rows the Build writes beside it, and stores it before the Pack is published; the Site only sends it, and makes it itself only for a Pack the Builder did not. _Avoid_: payload, snapshot, graph. **Branch state**: diff --git a/DEPLOY.md b/DEPLOY.md index ca96bc6..b757cd4 100644 --- a/DEPLOY.md +++ b/DEPLOY.md @@ -197,6 +197,7 @@ Optional, with their defaults: | `ENGINE_NICE` | 10 | The engine runs at this lower priority (0 to 19), so git, the database and the Builder stay responsive | | `LINES_BUDGET_SECONDS` | 120 | How long a Build's line pass may count Lines Changed, the Mainline first, newest first. Lines show once the Mainline's are counted; the commits left are counted by a quiet Build queued a minute later (three at most), and by the next Build | | `MORE_LINES_BUDGET_SECONDS` | 600 | How long such a quiet Build may count, kept two minutes inside `TIME_LIMIT_SECONDS`: nobody waits for it, so it counts what is left in one go and publishes once | +| `ATLAS_QUALITY` | 5 | The brotli quality the Builder packs each pack's Universe Atlas with, 1 to 11. On linux 5 takes 4.8 CPU-s for a 7.8 MB map and 11 takes 35 CPU-s for 6.6 MB; the Atlas is made once per pack, in a process of its own that waits for an engine slot | | `LARGE_REPOSITORY_MB` | 1500 | Repositories larger than this, by GitHub's size, are built in a lane of their own | | `LARGE_CONCURRENCY` | 1 | Builds at a time in that lane | | `MAX_REPOSITORY_MB` | none | Unset, every repository is cloned, however big; set, larger repositories are refused | diff --git a/apps/builder/src/builder.test.ts b/apps/builder/src/builder.test.ts index 87a5b4c..b7ff02f 100644 --- a/apps/builder/src/builder.test.ts +++ b/apps/builder/src/builder.test.ts @@ -510,6 +510,27 @@ test("runs of the engine share its slots in the order they asked, while every ot expect(order.filter((o) => o.includes("commitscape"))).toEqual(["start commitscape a", "end commitscape a", "start commitscape fails", "end commitscape fails", "start commitscape c", "end commitscape c"]); }); +test("the Atlas shares the engine's slot, so it never runs beside a run of the engine", async () => { + const order: string[] = []; + const open: (() => void)[] = []; + const slow = async (cmd: string): Promise => { + order.push(`start ${cmd}`); + await new Promise((r) => open.push(r)); + order.push(`end ${cmd}`); + return { code: 0, stderr: "", timedOut: false }; + }; + const shared = sharingEngine(slow, ["commitscape", "node"], 1); + const runs = [shared("commitscape", [], {}, 1000), shared("node", ["builder.mjs", "atlas"], {}, 1000)]; + await new Promise((r) => setTimeout(r, 10)); + expect(order).toEqual(["start commitscape"]); + for (let i = 0; i < 2; i++) { + open.shift()?.(); + await new Promise((r) => setTimeout(r, 10)); + } + await Promise.all(runs); + expect(order).toEqual(["start commitscape", "end commitscape", "start node", "end node"]); +}); + test("a command past its time is stopped with everything it started", async () => { const started = Date.now(); const ran = await run("sh", ["-c", "sleep 30 & sleep 30"], {}, 300); diff --git a/apps/builder/src/config.ts b/apps/builder/src/config.ts index 7a4c5a3..c29743b 100644 --- a/apps/builder/src/config.ts +++ b/apps/builder/src/config.ts @@ -31,6 +31,7 @@ export function loadEnv(runtimeEnv: Record = process DISK_BUDGET_GB: positive(20), CACHE_BUDGET_GB: positive(5), ENGINE_SLOTS: z.coerce.number().int().positive().default(1), + ATLAS_QUALITY: z.coerce.number().int().min(1).max(11).default(5), SURVIVING_BUDGET_SECONDS: positive(60), PULLS_TIME_LIMIT_SECONDS: positive(1800), GIT_DATA: z.stringbool().default(true), @@ -105,8 +106,11 @@ export type Config = { moreLinesBudget: number; gitBase: string | undefined; git?: GitSettings | undefined; + atlas?: AtlasSettings | undefined; }; +export type AtlasSettings = { command: string; args: string[]; quality: number }; + export function configOf(env: Env): Config { return { bin: env.COMMITSCAPE_BIN, diff --git a/apps/builder/src/fake.ts b/apps/builder/src/fake.ts index 7a43fc1..f1f028f 100644 --- a/apps/builder/src/fake.ts +++ b/apps/builder/src/fake.ts @@ -48,6 +48,13 @@ export async function writeBuilt(args: string[], over: FakeBuild = {}): Promise< await writeFile(join(out, "manifest.json"), JSON.stringify(manifest)); await writeFile(join(out, "meta.json"), JSON.stringify(summary)); await writeFile(join(out, "pack.bin"), `pack ${noLines ? "quick" : "lines"} ${head}`); + const universe = [ + { mainline: true, newest: 2, releases: [], commits: 1, files: 1, people: 1 }, + { time: 2, person: 1, bulk: false, firstParent: true, files: [0], changes: [0] }, + { file: 0, path: "src/a.rs", alive: true, role: 0, language: "Rust", generated: false, lockfile: false, lines: 40 }, + { id: 1, name: "P1", login: "ada", bot: false }, + ]; + await writeFile(join(out, "universe.jsonl"), `${universe.map((r) => JSON.stringify(r)).join("\n")}\n`); const events = flagOf(args, "--events"); if (events) { const now = Date.now(); diff --git a/apps/builder/src/job.test.ts b/apps/builder/src/job.test.ts index f5869f9..2a2c20d 100644 --- a/apps/builder/src/job.test.ts +++ b/apps/builder/src/job.test.ts @@ -7,13 +7,14 @@ import { and, eq, ne } from "drizzle-orm"; import { drizzle } from "drizzle-orm/pglite"; import { migrate } from "drizzle-orm/pglite/migrator"; import { expect, test } from "vitest"; -import { lendToken, memoryStorage, now, PRIORITY, readManifest, schema, settleRepository, type BuildJob, type Db, type Loaded, type Queue, type SurvivalJob } from "@commitscape/server"; +import { atlasKey, lendToken, memoryStorage, now, PRIORITY, readManifest, schema, settleRepository, type BuildJob, type Db, type Loaded, type Queue, type SurvivalJob } from "@commitscape/server"; import type { Config } from "./config"; import { cacheDir, inUse, sweep } from "./disk"; import { fakePerson, flagOf, writeBuilt, type FakeBuild } from "./fake"; import { MORE_LINES_AFTER, MORE_LINES_MAX, runJob, type JobAsked, type JobContext } from "./job"; import { BUILD_ATTEMPTS, type Ran } from "./run"; import { headsOf, queueSeeds, type Named } from "./seeds"; +import { writeAtlas } from "./universe"; import type { Telemetry, Who } from "./telemetry"; const { builds, repoPeople, repositories, storedIndexes, surviving } = schema; @@ -114,6 +115,53 @@ test("a Build publishes its Stored Index: the pack in R2 and on the Stored Index expect(Object.keys(ctx.captured.at(-1)?.[2] ?? {})).toEqual(expect.arrayContaining(["seconds_clone_full", "seconds_build_full", "seconds_load_full", "seconds_upload_full", "seconds_publish_full"])); }); +test("a Build makes its pack's Atlas in a process of its own, under the engine's slot, and stores it before the pack is published, so the Site never makes it", async () => { + const db = await database(); + const order: string[] = []; + const base = tools(); + const ctx = await context(db, { + run: async (cmd, args) => { + if (cmd === "node-for-atlas") { + order.push("atlas"); + const [, , rows = "", dir = "", quality = ""] = args; + await writeAtlas(rows, dir, Number(quality)); + return ok; + } + return base(cmd, args); + }, + }); + ctx.cfg = { ...ctx.cfg, atlas: { command: "node-for-atlas", args: ["builder.mjs"], quality: 5 } }; + const put = ctx.storage.put.bind(ctx.storage); + ctx.storage.put = async (key, body, options) => { + if (key.startsWith("atlas/")) { + const [row] = await db.select({ pack: storedIndexes.pack }).from(storedIndexes); + order.push(`${key.split("/").at(-1)} ${row?.pack ? "after" : "before"} the publish`); + } + return put(key, body, options); + }; + await db.insert(repositories).values({ id: "acme/rocket", owner: "acme", name: "rocket", sizeKb: 10, reportKey: "reports/gh/acme/rocket/old", reportLines: true }); + await db.insert(builds).values({ id: "b1", repoId: "acme/rocket", state: "queued", requestedAt: 1 }); + await runJob("b1", ctx); + const [si] = await db.select().from(storedIndexes); + expect(si?.pack).toBeTruthy(); + expect(ctx.storage.objects.has(atlasKey(si?.id ?? 0, si?.pack ?? "", "map"))).toBe(true); + expect(ctx.storage.objects.has(atlasKey(si?.id ?? 0, si?.pack ?? "", "names"))).toBe(true); + expect(order).toEqual(["atlas", "map.bin.br before the publish", "names.bin.br before the publish"]); + expect(Object.keys(ctx.captured.at(-1)?.[2] ?? {})).toContain("seconds_atlas_full"); +}); + +test("a Build whose Atlas fails is still published, and the Site makes the Atlas", async () => { + const db = await database(); + const base = tools(); + const ctx = await context(db, { run: async (cmd, args) => (cmd === "node-for-atlas" ? { code: 1, stderr: "killed", timedOut: false } : base(cmd, args)) }); + ctx.cfg = { ...ctx.cfg, atlas: { command: "node-for-atlas", args: [], quality: 5 } }; + await db.insert(repositories).values({ id: "acme/rocket", owner: "acme", name: "rocket", sizeKb: 10, reportKey: "reports/gh/acme/rocket/old", reportLines: true }); + await db.insert(builds).values({ id: "b1", repoId: "acme/rocket", state: "queued", requestedAt: 1 }); + await runJob("b1", ctx); + expect(await db.select().from(builds)).toMatchObject([{ state: "done" }]); + expect([...ctx.storage.objects.keys()].filter((k) => k.startsWith("atlas/"))).toEqual([]); +}); + test("a repository with no Report gets the quick Stored Index without lines while its lines are counted, then the same one with them", async () => { const db = await database(); const seen: unknown[] = []; diff --git a/apps/builder/src/job.ts b/apps/builder/src/job.ts index abfcef0..83a512f 100644 --- a/apps/builder/src/job.ts +++ b/apps/builder/src/job.ts @@ -29,8 +29,9 @@ import type { SummaryPerson } from "./engine"; import type { GitHubApi } from "./github"; import { buildGitData } from "./gitdata"; import { pullsToken } from "./pulls"; -import { build, BUILD_ATTEMPTS, type Deps, type Made, type Outcome } from "./run"; +import { build, BUILD_ATTEMPTS, timeLimitOf, type Deps, type Made, type Outcome } from "./run"; import { Phases, type Telemetry } from "./telemetry"; +import { storeAtlas } from "./universe"; const { builds, repoPeople, repositories, storedIndexes, surviving } = schema; @@ -270,6 +271,12 @@ async function publishBuild(ctx: JobContext, phases: Phases, buildId: string, ma const pack = `packs/${named.id}/${si}/${made.manifest.head ?? "empty"}-${buildId}-${made.phase === "quick" ? "quick" : "lines"}.pack`; const body = await readFile(made.pack); await phases.time(`upload ${made.phase}`, "http.client", () => storage.put(pack, body, { type: "application/octet-stream" })); + const atlas = ctx.cfg.atlas; + if (atlas) { + await phases + .time(`atlas ${made.phase}`, "atlas", () => storeAtlas(ctx.run, atlas, storage, { si, pack, dir: made.dir, timeoutMs: timeLimitOf(ctx.cfg) * 1000, nice: ctx.cfg.nice })) + .catch((e: unknown) => ctx.log(`atlas of ${named.id}: ${(e as Error).message}, so the Site makes it`)); + } const lines = made.phase === "full" && made.manifest.lines_mainline; const same = made.phase === "full" && named.reportLines === true && !made.loaded.full && made.before?.id === si && made.before.head === made.manifest.head; const prefix = same && named.reportKey ? named.reportKey : reportPrefix(named.id, made.phase === "full" ? buildId : `${buildId}-quick`); diff --git a/apps/builder/src/main.ts b/apps/builder/src/main.ts index 6549093..e9559e8 100644 --- a/apps/builder/src/main.ts +++ b/apps/builder/src/main.ts @@ -31,8 +31,16 @@ import { jobLimitOf, run, sharingEngine } from "./run"; import { pullsToken, readPulls } from "./pulls"; import { budgetOf, runSurvival } from "./survival"; import { queueRebuilds } from "./rebuild"; +import { writeAtlas } from "./universe"; import { headsOf, queueSeeds, seedConfig, seedList } from "./seeds"; +const command = process.argv[2] ?? "work"; +if (command === "atlas") { + const [rows = "", dir = "", quality = ""] = process.argv.slice(3); + await writeAtlas(rows, dir, Number(quality)); + process.exit(0); +} + const env = loadEnv(); const telemetry = startTelemetry({ sentryDsn: env.SENTRY_DSN, @@ -42,7 +50,7 @@ const telemetry = startTelemetry({ posthogHost: env.POSTHOG_HOST, analyticsSecret: env.TOKEN_SECRET, }); -const cfg = configOf(env); +const cfg = { ...configOf(env), atlas: { command: process.execPath, args: [process.argv[1] ?? "builder.mjs"], quality: env.ATLAS_QUALITY } }; const storage = s3Storage({ endpoint: env.S3_ENDPOINT, bucket: env.S3_BUCKET, @@ -109,7 +117,7 @@ async function work() { const reapTimed = timed("builder-reaper", REAP_MINUTES, reap); const tidyTimed = timed("builder-tidy", TIDY_MINUTES, tidy); const ctx = { db, pool, storage, cfg, app, run, github, tokenSecret: env.TOKEN_SECRET, log, telemetry, queuePulls, queueCounts, queueBuild }; - const buildCtx = { ...ctx, run: sharingEngine(run, cfg.bin, cfg.engineSlots) }; + const buildCtx = { ...ctx, run: sharingEngine(run, [cfg.bin, cfg.atlas.command], cfg.engineSlots) }; const building = (queue: string, job: { id: string; data: BuildJob }) => inQueueSpan(job, queue, () => runJob(job.data.buildId, buildCtx, job.data.attempt ?? 1, { ...(job.data.userId ? { userId: job.data.userId } : {}), ...(job.data.more ? { more: job.data.more } : {}) })); await reapTimed(); @@ -192,7 +200,6 @@ async function once(what: string) { } } -const command = process.argv[2] ?? "work"; if (command === "migrate") { await runMigrations(env.DATABASE_URL, env.MIGRATIONS_DIR); console.log("migrations applied"); @@ -203,6 +210,6 @@ if (command === "migrate") { } else if (command === "work") { await work(); } else { - console.error(`unknown command ${command}: work, seed, rebuild, cleanup or migrate`); + console.error(`unknown command ${command}: work, seed, rebuild, cleanup, migrate or atlas`); process.exit(2); } diff --git a/apps/builder/src/run.ts b/apps/builder/src/run.ts index e4fe23d..a548b88 100644 --- a/apps/builder/src/run.ts +++ b/apps/builder/src/run.ts @@ -82,8 +82,9 @@ function lowered(pid: number, nice: number): boolean { /** Runs a command with only safe environment variables, at a lower priority when `nice` is given, killing it and its children after `timeoutMs`. */ export type Runner = (cmd: string, args: string[], env: NodeJS.ProcessEnv, timeoutMs: number, opts?: RunOptions) => Promise; -/** A runner through which at most `slots` runs of the engine (`bin`) go at once, the rest waiting in the order they asked; every other command (git, the network) runs at once. A run's time limit starts when it gets its slot. */ -export function sharingEngine(runner: Runner, bin: string, slots: number): Runner { +/** A runner through which at most `slots` runs of the engine (`bin`, and any other heavy command named) go at once, the rest waiting in the order they asked; every other command (git, the network) runs at once. A run's time limit starts when it gets its slot. */ +export function sharingEngine(runner: Runner, bin: string | string[], slots: number): Runner { + const heavy = new Set(typeof bin === "string" ? [bin] : bin); let free = Math.max(1, Math.floor(slots)); const waiting: (() => void)[] = []; const take = () => (free > 0 ? ((free -= 1), Promise.resolve()) : new Promise((r) => waiting.push(r))); @@ -93,7 +94,7 @@ export function sharingEngine(runner: Runner, bin: string, slots: number): Runne else free += 1; }; return async (cmd, args, env, timeoutMs, opts) => { - if (cmd !== bin) return runner(cmd, args, env, timeoutMs, opts); + if (!heavy.has(cmd)) return runner(cmd, args, env, timeoutMs, opts); await take(); try { return await runner(cmd, args, env, timeoutMs, opts); diff --git a/apps/builder/src/universe.test.ts b/apps/builder/src/universe.test.ts new file mode 100644 index 0000000..e4ff482 --- /dev/null +++ b/apps/builder/src/universe.test.ts @@ -0,0 +1,86 @@ +import { mkdtemp, writeFile } from "node:fs/promises"; +import { tmpdir } from "node:os"; +import { join } from "node:path"; +import { brotliDecompressSync } from "node:zlib"; +import { expect, test } from "vitest"; +import { atlasOf, encodeAtlas, encodeNames, type AtlasRows } from "@commitscape/data/universe"; +import { atlasKey, memoryStorage } from "@commitscape/server"; +import { atlasFrom, readRows, storeAtlas, writeAtlas } from "./universe"; + +const rows: AtlasRows = { + mainline: true, + newest: 300, + releases: [["v1", 200]], + commits: [ + { time: 100, person: 0, bulk: false, firstParent: true, files: [0, 1], changes: [0, 0] }, + { time: 200, person: 1, bulk: false, firstParent: false, files: [1], changes: [1] }, + { time: 300, person: 0, bulk: true, firstParent: true, files: [2], changes: [0] }, + ], + files: [ + { file: 0, path: "src/a.rs", alive: true, role: 0, language: "Rust", generated: false, lockfile: false, lines: 12 }, + { file: 1, path: "README.md", alive: true, role: 1, language: "Markdown", generated: false, lockfile: false, lines: 3 }, + { file: 2, path: "old/gone.txt", alive: false, role: 0, language: null, generated: false, lockfile: false, lines: null }, + ], + people: [ + { id: 0, name: "Ada", login: "ada", bot: false }, + { id: 1, name: "Bob", login: null, bot: false }, + ], +}; + +async function written(): Promise<{ dir: string; file: string }> { + const dir = await mkdtemp(join(tmpdir(), "universe-")); + const file = join(dir, "universe.jsonl"); + const head = { mainline: rows.mainline, newest: rows.newest, releases: rows.releases, commits: rows.commits.length, files: rows.files.length, people: rows.people.length }; + await writeFile(file, [head, ...rows.commits, ...rows.files, ...rows.people].map((r) => JSON.stringify(r)).join("\n") + "\n"); + return { dir, file }; +} + +test("the rows a Build wrote one per line read back as the rows the Atlas is made from", async () => { + const { file } = await written(); + expect(await readRows(file)).toEqual(rows); +}); + +test("rows that end early are refused", async () => { + const { dir } = await written(); + const short = join(dir, "short.jsonl"); + await writeFile(short, `${JSON.stringify({ mainline: true, newest: 1, releases: [], commits: 2, files: 0, people: 0 })}\n${JSON.stringify(rows.commits[0])}\n`); + await expect(readRows(short)).rejects.toThrow("ended before its rows did"); +}); + +test("the Atlas made from the rows is the one the Site makes, packed with brotli", async () => { + const { file } = await written(); + const { atlas, names } = atlasOf(rows); + const made = await atlasFrom(file, 5); + expect(new Uint8Array(brotliDecompressSync(made.map))).toEqual(encodeAtlas(atlas)); + expect(new Uint8Array(brotliDecompressSync(made.names))).toEqual(encodeNames(names)); +}); + +test("a Build's Atlas is made in a process of its own and stored where the Site reads it first", async () => { + const { dir } = await written(); + const storage = memoryStorage(); + const asked: string[][] = []; + const run = async (cmd: string, args: string[]) => { + asked.push([cmd, ...args]); + const [, , rowsFile = "", into = "", quality = ""] = args; + await writeAtlas(rowsFile, into, Number(quality)); + return { code: 0, stderr: "", timedOut: false }; + }; + const pack = "packs/acme/rocket/7/abc-b1-lines.pack"; + expect(await storeAtlas(run, { command: "node", args: ["builder.mjs"], quality: 5 }, storage, { si: 7, pack, dir, timeoutMs: 1000 })).toBe(true); + expect(asked).toEqual([["node", "builder.mjs", "atlas", join(dir, "universe.jsonl"), dir, "5"]]); + const map = storage.objects.get(atlasKey(7, pack, "map")); + expect(map?.encoding).toBe("br"); + expect(new Uint8Array(brotliDecompressSync(map?.body ?? new Uint8Array()))).toEqual(encodeAtlas(atlasOf(rows).atlas)); + expect(storage.objects.has(atlasKey(7, pack, "names"))).toBe(true); +}); + +test("a Build that wrote no rows makes no Atlas, and one that fails says why", async () => { + const storage = memoryStorage(); + const empty = await mkdtemp(join(tmpdir(), "universe-")); + const failing = async () => ({ code: 1, stderr: "out of memory\n", timedOut: false }); + const atlas = { command: "node", args: ["builder.mjs"], quality: 5 }; + expect(await storeAtlas(failing, atlas, storage, { si: 1, pack: "p", dir: empty, timeoutMs: 1000 })).toBe(false); + const { dir } = await written(); + await expect(storeAtlas(failing, atlas, storage, { si: 1, pack: "p", dir, timeoutMs: 1000 })).rejects.toThrow("making the Atlas failed: out of memory"); + expect(storage.objects.size).toBe(0); +}); diff --git a/apps/builder/src/universe.ts b/apps/builder/src/universe.ts new file mode 100644 index 0000000..0d27da8 --- /dev/null +++ b/apps/builder/src/universe.ts @@ -0,0 +1,70 @@ +import { createReadStream, existsSync } from "node:fs"; +import { readFile, writeFile } from "node:fs/promises"; +import { join } from "node:path"; +import { createInterface } from "node:readline"; +import { promisify } from "node:util"; +import { brotliCompress, constants } from "node:zlib"; +import { atlasOf, encodeAtlas, encodeNames, type AtlasCommitRow, type AtlasFileRow, type AtlasPersonRow, type AtlasRows } from "@commitscape/data/universe"; +import { atlasKey, type Storage } from "@commitscape/server"; +import type { AtlasSettings } from "./config"; +import type { Runner } from "./run"; + +const brotliAsync = promisify(brotliCompress); + +export const ATLAS_QUALITY = 5; + +export const ROWS = "universe.jsonl"; + +type Counts = { mainline: boolean; newest: number; releases: [string, number][]; commits: number; files: number; people: number }; + +/** Reads the rows `commitscape build` wrote to `universe.jsonl` one line at a time: the counts first, then the commits, the files and the people. */ +export async function readRows(file: string): Promise { + const lines = createInterface({ input: createReadStream(file, { highWaterMark: 1 << 20 }), crlfDelay: Infinity }); + let counts: Counts | null = null; + const commits: AtlasCommitRow[] = []; + const files: AtlasFileRow[] = []; + const people: AtlasPersonRow[] = []; + for await (const line of lines) { + if (!line) continue; + if (!counts) { + counts = JSON.parse(line) as Counts; + continue; + } + if (commits.length < counts.commits) commits.push(JSON.parse(line) as AtlasCommitRow); + else if (files.length < counts.files) files.push(JSON.parse(line) as AtlasFileRow); + else if (people.length < counts.people) people.push(JSON.parse(line) as AtlasPersonRow); + } + if (!counts || commits.length !== counts.commits || files.length !== counts.files || people.length !== counts.people) throw new Error(`${file} ended before its rows did`); + return { mainline: counts.mainline, newest: counts.newest, releases: counts.releases, commits, files, people }; +} + +const brotli = async (bytes: Uint8Array, quality: number) => { + const b = await brotliAsync(bytes, { params: { [constants.BROTLI_PARAM_QUALITY]: quality, [constants.BROTLI_PARAM_LGWIN]: 24, [constants.BROTLI_PARAM_SIZE_HINT]: bytes.byteLength } }); + return new Uint8Array(b.buffer, b.byteOffset, b.byteLength); +}; + +/** The Universe's Atlas from the rows a Build wrote: its map and its names, each packed with brotli as the Site sends them. */ +export async function atlasFrom(file: string, quality = ATLAS_QUALITY): Promise<{ map: Uint8Array; names: Uint8Array }> { + const { atlas, names } = atlasOf(await readRows(file)); + const [map, named] = [encodeAtlas(atlas), encodeNames(names)]; + return { map: await brotli(map, quality), names: await brotli(named, quality) }; +} + +/** `node builder.mjs atlas ROWS DIR QUALITY`: writes the Atlas of the rows in ROWS into DIR as `map.bin.br` and `names.bin.br`. */ +export async function writeAtlas(rows: string, dir: string, quality: number): Promise { + const { map, names } = await atlasFrom(rows, quality); + await writeFile(join(dir, "map.bin.br"), map); + await writeFile(join(dir, "names.bin.br"), names); +} + +/** Makes the Atlas of a Build's pack from the rows `commitscape build` wrote beside it, in a process of its own that takes an engine slot, and stores it where the Site reads it first, so the Site never makes it. False when the Build wrote no rows; throws when the Atlas could not be made. Either way the Site makes it as before. */ +export async function storeAtlas(run: Runner, atlas: AtlasSettings, storage: Storage, made: { si: number; pack: string; dir: string; timeoutMs: number; nice?: number }): Promise { + const rows = join(made.dir, ROWS); + if (!existsSync(rows)) return false; + const ran = await run(atlas.command, [...atlas.args, "atlas", rows, made.dir, String(atlas.quality)], {}, made.timeoutMs, made.nice === undefined ? {} : { nice: made.nice }); + if (ran.code !== 0) throw new Error(ran.timedOut ? "making the Atlas took too long" : `making the Atlas failed: ${ran.stderr.trim().split("\n").at(-1) ?? ""}`); + for (const part of ["map", "names"] as const) { + await storage.put(atlasKey(made.si, made.pack, part), await readFile(join(made.dir, `${part}.bin.br`)), { type: "application/octet-stream", encoding: "br" }); + } + return true; +} diff --git a/apps/engine/src/lib.rs b/apps/engine/src/lib.rs index 946bed7..2953bde 100644 --- a/apps/engine/src/lib.rs +++ b/apps/engine/src/lib.rs @@ -13,7 +13,6 @@ pub mod routes; pub mod s3; pub mod settings; pub mod telemetry; -pub mod universe; pub mod view; pub mod work; diff --git a/apps/engine/src/routes.rs b/apps/engine/src/routes.rs index 269f2e0..afe929e 100644 --- a/apps/engine/src/routes.rs +++ b/apps/engine/src/routes.rs @@ -21,8 +21,8 @@ use crate::lru::SizedLru; use crate::packs::{PackFailure, Packs}; use crate::params::{self, Params}; use crate::questions::{self, Question}; -use crate::universe; use crate::work::{Work, WorkError}; +use commitscape_report::universe; pub const ANSWER_BYTES: u64 = 128 * 1024 * 1024; diff --git a/apps/engine/tests/engine.rs b/apps/engine/tests/engine.rs index 15d98d4..e95c396 100644 --- a/apps/engine/tests/engine.rs +++ b/apps/engine/tests/engine.rs @@ -542,6 +542,41 @@ async fn the_universe_rows_are_what_the_atlas_is_made_from() { assert_eq!(rows["releases"], json!([["v1.0.0", DAY0 + DAY + 60]])); } +#[test] +fn the_universe_rows_a_build_writes_are_the_rows_the_engine_answers_one_per_line() { + let pack = pack("acme/rocket"); + let mut bytes = Vec::new(); + commitscape_report::universe::write_rows(&pack, &mut bytes).unwrap(); + let lines: Vec = String::from_utf8(bytes) + .unwrap() + .lines() + .map(|l| serde_json::from_str(l).unwrap()) + .collect(); + let rows = serde_json::to_value(commitscape_report::universe::rows(&pack)).unwrap(); + let head = &lines[0]; + assert_eq!(head["mainline"], rows["mainline"]); + assert_eq!(head["newest"], rows["newest"]); + assert_eq!(head["releases"], rows["releases"]); + let (commits, files, people) = ( + head["commits"].as_u64().unwrap() as usize, + head["files"].as_u64().unwrap() as usize, + head["people"].as_u64().unwrap() as usize, + ); + assert_eq!(lines.len(), 1 + commits + files + people); + assert_eq!( + Value::Array(lines[1..1 + commits].to_vec()), + rows["commits"] + ); + assert_eq!( + Value::Array(lines[1 + commits..1 + commits + files].to_vec()), + rows["files"] + ); + assert_eq!( + Value::Array(lines[1 + commits + files..].to_vec()), + rows["people"] + ); +} + #[tokio::test] async fn warming_works_out_the_answers_named() { let s = setup().await; diff --git a/apps/site/src/server/universe.test.ts b/apps/site/src/server/universe.test.ts index e3277f1..7aa2c18 100644 --- a/apps/site/src/server/universe.test.ts +++ b/apps/site/src/server/universe.test.ts @@ -1,8 +1,8 @@ import { brotliCompressSync, brotliDecompressSync, constants } from "node:zlib"; import { eq } from "drizzle-orm"; import { describe, expect, test } from "vitest"; -import { decodeAtlas, decodeNames, type AtlasRows } from "@commitscape/data/universe"; -import { now, schema, seedIndex, type SeedIndex } from "@commitscape/server"; +import { atlasOf, decodeAtlas, decodeNames, encodeAtlas, encodeNames, type AtlasRows } from "@commitscape/data/universe"; +import { atlasKey, now, schema, seedIndex, type SeedIndex } from "@commitscape/server"; import { fakeEngine, packed, testDeps, viewer, type Asked } from "#/test/deps"; import { SiteError } from "./http"; import { atlasBody, atlasFile, atlasOfPack, warmAtlas } from "./universe"; @@ -74,6 +74,19 @@ describe("the Atlas", () => { expect((await atlasFile(deps, viewer(), "acme", "rocket", "map", 500, found.etag)).etag).not.toBe(found.etag); }); + test("the Builder stored for a pack is sent as it is, and the Site never makes it or asks the engine service for rows", async () => { + const deps = await stored(); + const { atlas, names } = atlasOf(rows); + const map = brotliCompressSync(encodeAtlas(atlas)); + await deps.storage.put(atlasKey(deps.si, deps.pack, "map"), map, { type: "application/octet-stream", encoding: "br" }); + await deps.storage.put(atlasKey(deps.si, deps.pack, "names"), brotliCompressSync(encodeNames(names)), { type: "application/octet-stream", encoding: "br" }); + expect(await warmAtlas(deps, deps.si, deps.pack)).toBe(true); + const { found, bytes } = await bytesOf(deps, "map"); + expect(Buffer.from(found.body?.br ?? new Uint8Array()).equals(map)).toBe(true); + expect(decodeAtlas(bytes).people.names).toEqual(["Alice Example", "ci-bot"]); + expect(deps.engine.asked).toEqual([]); + }); + test("is made ahead of its first visitor, and what the Stored Index's earlier packs left in storage is deleted", async () => { const deps = await stored(); await deps.storage.put(`atlas/${deps.si}/0000000000000000/map.bin.br`, "old", { type: "application/octet-stream" }); diff --git a/apps/site/src/server/universe.ts b/apps/site/src/server/universe.ts index 11aaf45..8bf92ec 100644 --- a/apps/site/src/server/universe.ts +++ b/apps/site/src/server/universe.ts @@ -2,7 +2,7 @@ import "@tanstack/react-start/server-only"; import { promisify } from "node:util"; import { brotliCompress, brotliDecompress, constants, gzip } from "node:zlib"; import { atlasOf, encodeAtlas, encodeNames } from "@commitscape/data/universe"; -import { sha256, type Storage } from "@commitscape/server"; +import { atlasKey, sha256, type AtlasPart, type Storage } from "@commitscape/server"; import { withPack } from "./answers"; import type { EngineService } from "./engine-service"; import { SiteError } from "./http"; @@ -12,7 +12,7 @@ const brotliAsync = promisify(brotliCompress); const unbrotliAsync = promisify(brotliDecompress); const gzipAsync = promisify(gzip); -export type AtlasPart = "map" | "names"; +export type { AtlasPart }; const NO_HISTORY = "This repository's history is read at its next Build."; const YEAR = 31_536_000; @@ -31,7 +31,7 @@ export type ServedAtlas = { body: Packed | null; etag: string; cacheControl: str const versionOf = (pack: string) => sha256(pack).slice(0, 16); -const keyOf = (si: number, pack: string, part: AtlasPart) => `atlas/${si}/${versionOf(pack)}/${part}.bin.br`; +const keyOf = atlasKey; const brotli = (bytes: Uint8Array, quality: number) => brotliAsync(bytes, { params: { [constants.BROTLI_PARAM_QUALITY]: quality, [constants.BROTLI_PARAM_LGWIN]: 24, [constants.BROTLI_PARAM_SIZE_HINT]: bytes.byteLength } }).then( diff --git a/crates/commitscape-report/src/lib.rs b/crates/commitscape-report/src/lib.rs index 30a6147..cbf0cad 100644 --- a/crates/commitscape-report/src/lib.rs +++ b/crates/commitscape-report/src/lib.rs @@ -2,3 +2,4 @@ pub mod api; pub mod export; pub mod pack; pub mod report; +pub mod universe; diff --git a/apps/engine/src/universe.rs b/crates/commitscape-report/src/universe.rs similarity index 56% rename from apps/engine/src/universe.rs rename to crates/commitscape-report/src/universe.rs index 560d3bf..18c38f2 100644 --- a/apps/engine/src/universe.rs +++ b/crates/commitscape-report/src/universe.rs @@ -1,10 +1,12 @@ use std::collections::{HashMap, HashSet}; +use std::io::Write; use commitscape_core::{CommitFlags, FileId, Oid, SignatureId}; -use commitscape_report::export::Files; -use commitscape_report::pack::Pack; use serde::Serialize; +use crate::export::Files; +use crate::pack::Pack; + const REACHABLE: u8 = 8; const FIRST_PARENT: u8 = 16; @@ -50,8 +52,13 @@ pub struct Rows { pub releases: Vec<(String, i64)>, } -/// What the Atlas is made from, as the Site's `atlasRows` read it from the Stored Index before: the commits that reached the default branch by when they did (every commit when no Mainline is known), Merge Commits left out, files by id, people in the order of their first Signature, and each release at its commit's Main Arrival. -pub fn rows(pack: &Pack) -> Rows { +struct Header { + mainline: bool, + newest: i64, + picked: Vec<(i64, usize)>, +} + +fn header(pack: &Pack) -> Header { let index = &pack.index; let bits = |at: usize| pack.mainline.get(at).copied().unwrap_or(0); let arrival = |at: usize| pack.arrival.get(at).copied().flatten(); @@ -71,27 +78,114 @@ pub fn rows(pack: &Pack) -> Rows { }) .collect(); picked.sort_unstable(); - let mut newest = 0; - let commits = picked - .into_iter() - .filter_map(|(t, _, _, at)| { - let c = index.commits.get(at)?; - newest = newest.max(t); - let changes = index.changes_of(c); - Some(CommitRow { - time: t, - person: index.author_of(c).map_or(-1, |p| i64::from(p.0)), - bulk: c.flags.contains(CommitFlags::BULK), - first_parent: bits(at) & FIRST_PARENT != 0, - files: changes.iter().map(|ch| ch.file.0).collect(), - changes: changes.iter().map(|ch| ch.kind as u8).collect(), - }) - }) - .collect(); + let newest = picked.iter().map(|p| p.0).max().unwrap_or(0).max(0); + Header { + mainline, + newest, + picked: picked.into_iter().map(|(t, _, _, at)| (t, at)).collect(), + } +} + +fn commit_row(pack: &Pack, t: i64, at: usize) -> Option { + let index = &pack.index; + let c = index.commits.get(at)?; + let changes = index.changes_of(c); + Some(CommitRow { + time: t, + person: index.author_of(c).map_or(-1, |p| i64::from(p.0)), + bulk: c.flags.contains(CommitFlags::BULK), + first_parent: pack.mainline.get(at).copied().unwrap_or(0) & FIRST_PARENT != 0, + files: changes.iter().map(|ch| ch.file.0).collect(), + changes: changes.iter().map(|ch| ch.kind as u8).collect(), + }) +} + +/// What the Atlas is made from, as the Site's `atlasRows` read it from the Stored Index before: the commits that reached the default branch by when they did (every commit when no Mainline is known), Merge Commits left out, files by id, people in the order of their first Signature, and each release at its commit's Main Arrival. +pub fn rows(pack: &Pack) -> Rows { + let Header { + mainline, + newest, + picked, + } = header(pack); + Rows { + mainline, + newest, + commits: picked + .into_iter() + .filter_map(|(t, at)| commit_row(pack, t, at)) + .collect(), + files: files(pack), + people: people(pack), + releases: releases(pack), + } +} + +#[derive(Serialize)] +struct Counts<'a> { + mainline: bool, + newest: i64, + releases: &'a [(String, i64)], + commits: usize, + files: usize, + people: usize, +} +/// Writes the rows `rows` gives as JSON lines, one commit, file or person at a time: a first line with the Mainline flag, the newest time, the releases and how many of each follow, then the commits, the files and the people. +pub fn write_rows(pack: &Pack, out: &mut impl Write) -> std::io::Result<()> { + let Header { + mainline, + newest, + picked, + } = header(pack); + let files = files(pack); + let people = people(pack); + let releases = releases(pack); + let line = |out: &mut dyn Write, value: &dyn erased::Line| -> std::io::Result<()> { + value.write_to(out)?; + out.write_all(b"\n") + }; + line( + out, + &Counts { + mainline, + newest, + releases: &releases, + commits: picked.len(), + files: files.len(), + people: people.len(), + }, + )?; + for (t, at) in picked { + let row = commit_row(pack, t, at) + .ok_or_else(|| std::io::Error::other("a commit the pack does not hold"))?; + line(out, &row)?; + } + for f in &files { + line(out, f)?; + } + for p in &people { + line(out, p)?; + } + Ok(()) +} + +mod erased { + pub(super) trait Line { + fn write_to(&self, out: &mut dyn std::io::Write) -> std::io::Result<()>; + } + + impl Line for T { + fn write_to(&self, out: &mut dyn std::io::Write) -> std::io::Result<()> { + serde_json::to_writer(out, self).map_err(std::io::Error::other) + } + } +} + +fn files(pack: &Pack) -> Vec { + let index = &pack.index; let facts = Files::of(index); let loc: HashMap = index.head.iter().map(|h| (h.file, h.loc)).collect(); - let files = (0..index.paths.len()) + (0..index.paths.len()) .map(|i| { let file = FileId(i as u32); let f = facts.facts(file); @@ -106,15 +200,18 @@ pub fn rows(pack: &Pack) -> Rows { lines: loc.get(&file).copied(), } }) - .collect(); + .collect() +} +fn people(pack: &Pack) -> Vec { + let index = &pack.index; let logins: HashMap = pack .logins .iter() .map(|(id, login)| (*id, login.as_str())) .collect(); let mut seen = HashSet::new(); - let people = (0..index.authors.signature_count()) + (0..index.authors.signature_count()) .filter_map(|i| { let sig = SignatureId(i as u32); let person = index.authors.person_of(sig)?; @@ -134,8 +231,12 @@ pub fn rows(pack: &Pack) -> Rows { bot: index.authors.is_bot(person), }) }) - .collect(); + .collect() +} +fn releases(pack: &Pack) -> Vec<(String, i64)> { + let index = &pack.index; + let arrival = |at: usize| pack.arrival.get(at).copied().flatten(); let commit_of: HashMap<&str, Oid> = pack .release_commits .iter() @@ -150,8 +251,7 @@ pub fn rows(pack: &Pack) -> Rows { } } } - let releases = pack - .releases + pack.releases .iter() .map(|(name, t)| { let at = commit_of @@ -161,14 +261,5 @@ pub fn rows(pack: &Pack) -> Rows { .filter(|&a| a != 0); (name.clone(), at.unwrap_or(*t)) }) - .collect(); - - Rows { - mainline, - newest, - commits, - files, - people, - releases, - } + .collect() } diff --git a/crates/commitscape/src/build.rs b/crates/commitscape/src/build.rs index 4fc9117..c3b8615 100644 --- a/crates/commitscape/src/build.rs +++ b/crates/commitscape/src/build.rs @@ -11,6 +11,7 @@ use commitscape_metrics::Span; use commitscape_report::export::{self, Manifest, Since}; use commitscape_report::pack::{write_pack, Pack, Reading}; use commitscape_report::report::{summary, Report}; +use commitscape_report::universe::write_rows; use tracing::field::Empty; use crate::mark::{fingerprint, Mark}; @@ -245,7 +246,7 @@ pub fn export(args: ExportArgs) -> anyhow::Result<()> { Ok(()) } -/// `commitscape build`: from one reading of the history, writes the export, the Report's meta, stats and people as `meta.json`, and the pack as `pack.bin`. +/// `commitscape build`: from one reading of the history, writes the export, the Report's meta, stats and people as `meta.json`, the pack as `pack.bin`, and the rows the Universe's Atlas is made from as `universe.jsonl`. pub fn build(args: ExportArgs) -> anyhow::Result<()> { events::record_to(args.run.events.as_deref())?; let r = read(&args)?; @@ -308,6 +309,17 @@ pub fn build(args: ExportArgs) -> anyhow::Result<()> { drop(entered); drop(span); + let span = tracing::info_span!("universe", bytes = Empty); + let entered = span.enter(); + let path = args.out.join("universe.jsonl"); + let mut out = BufWriter::with_capacity(1 << 20, std::fs::File::create(&path)?); + write_rows(&pack, &mut out)?; + out.flush()?; + drop(out); + span.record("bytes", std::fs::metadata(&path)?.len()); + drop(entered); + drop(span); + println!( "built {} of {} commits ({}) into {}", manifest.commits, diff --git a/docs/working.md b/docs/working.md index 0ac816b..db1f457 100644 --- a/docs/working.md +++ b/docs/working.md @@ -111,8 +111,12 @@ queued ones whose job was lost. the engine service which commits, then read their rows from Postgres. - The Code window's tree, coupling, story and history, a folder's newest commits, a pull request's insight and the Universe's rows come from the - engine service. The Site makes the Universe's Atlas from those rows and - keeps it in R2. Branches, tags and pull requests are rows; file text is + engine service. The Universe's Atlas is made by the Builder from the + rows `build` writes beside the pack (`universe.jsonl`), in a process of + its own that takes an engine slot (`node builder.mjs atlas`), and stored + in R2 before the pack is published; the Site sends those bytes, and makes + the Atlas from the engine service's rows only for a pack the Builder did + not make one for. Branches, tags and pull requests are rows; file text is in R2. - A Shared Report is one locked file. The browser downloads it, decrypts it with the key after the `#`, and pages its Commit List itself; the Site @@ -132,8 +136,9 @@ commitscape health owner/name Builder's and the tests'. `build` writes, from one reading of the history, the export (the Index as Postgres `COPY` files, export format 4, with each commit's Mainline and Main Arrival), the pack the engine service answers -from (`pack.bin`, no email addresses in it) and the Report's meta, stats and -people (`meta.json`). `export` writes only the `COPY` files, and `report` +from (`pack.bin`, no email addresses in it), the Report's meta, stats and +people (`meta.json`) and the rows the Universe's Atlas is made from +(`universe.jsonl`, one commit, file or person a line). `export` writes only the `COPY` files, and `report` the whole Report as gzipped JSON, which `share` locks and uploads. `--accounts FILE` (`{"": ""}`) joins identities on those logins. `--lines-budget SECONDS` stops the line pass after that long (the diff --git a/packages/server/src/reports.ts b/packages/server/src/reports.ts index 509a0a7..de69b24 100644 --- a/packages/server/src/reports.ts +++ b/packages/server/src/reports.ts @@ -14,6 +14,13 @@ export type ReportIndex = { type Written = { meta: Meta; data: Record; stats?: BuildStats | null }; export const reportPrefix = (repoId: string, buildId: string) => `reports/gh/${repoId}/${buildId}`; + +export type AtlasPart = "map" | "names"; + +/** Where a part of the Atlas of a Stored Index's pack is kept: named by the pack, so a new pack never serves an old Atlas. */ +export function atlasKey(si: number, pack: string, part: AtlasPart): string { + return `atlas/${si}/${sha256(pack).slice(0, 16)}/${part}.bin.br`; +} const entryKey = (prefix: string, key: string) => `${prefix}/e/${sha256(key).slice(0, 32)}.json`; const gz = (value: unknown) => gzipSync(JSON.stringify(value)); From 62faa17d7afa9693eba8a67c4e1f7a924f715cbe Mon Sep 17 00:00:00 2001 From: Dev Talan <84081651+devchaudhary24k@users.noreply.github.com> Date: Tue, 27 Oct 2026 05:14:00 +0530 Subject: [PATCH 10/82] feat(builder): keep each repository's Repo State in R2 as well as on disk A Repo State is the engine cache of a public repository: its Index, the Lines Changed counted and its HEAD's files. Losing it from disk meant reading the whole history again: linux, 185 s without lines and about 1,500 CPU-s with them. With STATE_KEY set, after a Build publishes, the Builder uploads the cache to R2 as 8 MB chunks named by their content and sealed with a key made from STATE_KEY (zstd, then AES-256-GCM), so no email address the cache holds leaves the Builder readable. Only chunks R2 does not hold yet are sent, so an append sends its tail; then the manifest naming them, then the chunks nothing names any more are deleted. A Build whose disk has no cache brings it back before the engine's first run, checking each chunk against its name and moving the files into place only once all are whole; anything missing or changed means a clean Build, as before. The commit graph and blame caches stay behind: they are made again. repo_states records when each State was saved and used; tidy deletes a State from the disk after STATE_DISK_DAYS (7) unused, even within CACHE_BUDGET_GB, and from R2 after STATE_KEEP_DAYS (180), once a day. Without STATE_KEY nothing changes. linux on 2 cores against the local S3 stand-in: first save of a 217 MB State sends 128 MB (3.5 CPU-s); a save with nothing new reads nothing (40 ms); after 337 new commits 15 MB (0.6 CPU-s); a restore takes 9.4 s and 2.6 CPU-s, 128 MB peak, files byte for byte the same, and the engine then loads it warm (0.4 s, plus 2.6 s to make the graph again) instead of reading the history for 185 s. --- CONTEXT.md | 4 + DEPLOY.md | 3 + apps/builder/src/builder.test.ts | 43 + apps/builder/src/config.ts | 7 + apps/builder/src/disk.ts | 7 +- apps/builder/src/job.ts | 3 + apps/builder/src/main.ts | 10 +- apps/builder/src/run.ts | 22 +- apps/builder/src/state.test.ts | 101 + apps/builder/src/state.ts | 197 + docs/working.md | 14 +- packages/server/drizzle/0038_whole_unus.sql | 8 + .../server/drizzle/meta/0038_snapshot.json | 3402 +++++++++++++++++ packages/server/drizzle/meta/_journal.json | 7 + packages/server/src/db/schema.ts | 11 + 15 files changed, 3833 insertions(+), 6 deletions(-) create mode 100644 apps/builder/src/state.test.ts create mode 100644 apps/builder/src/state.ts create mode 100644 packages/server/drizzle/0038_whole_unus.sql create mode 100644 packages/server/drizzle/meta/0038_snapshot.json diff --git a/CONTEXT.md b/CONTEXT.md index 151469e..7cb2e86 100644 --- a/CONTEXT.md +++ b/CONTEXT.md @@ -192,6 +192,10 @@ _Avoid_: dashboard, cloud, platform, web app. The public page that says what commitscape is and leads to signing in: a static page apart from the Site, holding no data. Its Cards are the Site's. _Avoid_: home page, marketing site. +**Repo State**: +What the Builder keeps of a repository between its Builds so the next one reads only what is new: the engine cache, which holds its Index, the Lines Changed already counted and its HEAD's files. It lives on the Builder's disk for days and, sealed with a key only the Builder has, in R2 for months; a Build whose disk lost it brings it back from R2, and only one without either reads the whole history again. +_Avoid_: cache (the folder it lives in), snapshot, checkpoint. + **Builder**: What reads a repository's history for the Site: it clones the repository, runs the same engine the CLI runs, loads the Stored Index into Postgres and stores the Pack in R2. The Site never runs git. _Avoid_: worker, backend, crawler. diff --git a/DEPLOY.md b/DEPLOY.md index b757cd4..0398b97 100644 --- a/DEPLOY.md +++ b/DEPLOY.md @@ -206,6 +206,9 @@ Optional, with their defaults: | `LOGINS_ASKED` | 300 | At most this many commit authors a Build asks GitHub for the login of, a hundred to a GraphQL request; each commit's answer is kept for a year, so a rebuild asks only for new ones | | `DISK_BUDGET_GB` | 20 | Past this, the least recently built clones in `/work/repos` are deleted | | `CACHE_BUDGET_GB` | 5 | Past this, the least recently used caches in `/work/caches` are deleted. A cache holds what a Build read of a repository's history (linux: about 240 MB, react: 11 MB) and lives apart from its clone, so deleting a clone never makes the next Build read the history again | +| `STATE_KEY` | unset | A secret of 32 characters or more that only the Builder holds. Set, every public repository's Repo State (its engine cache) is also kept in R2 under `state/`, sealed with a key made from it (AES-256-GCM, zstd), uploading only the chunks R2 does not hold yet; a Build whose disk lost the State brings it back instead of reading the whole history again. Unset, States live on the disk only, as before. Keep it: a new key makes every State in R2 unreadable, and those Builds start clean | +| `STATE_DISK_DAYS` | 7 | With `STATE_KEY` set, a State unused for this many days leaves the disk even within `CACHE_BUDGET_GB` (R2 still holds it) | +| `STATE_KEEP_DAYS` | 180 | With `STATE_KEY` set, a State no Build has used for this many days is deleted from R2, checked once a day | | `SURVIVING_BUDGET_SECONDS` | 60 | How long one count of a person's Surviving Lines may take at first. A count past it is queued again with twice the budget, up to four hours, and goes on from the files it counted | | `PULLS_TIME_LIMIT_SECONDS` | 1800 | How long one read of a repository's pull requests may take; a first read past it goes on from where it stopped a minute later | | `GIT_DATA` | true | Once a Build's full clone is ready, read the repository's branches, files and pull requests from it with git, beside the line pass, for the Code, Branches and Pull requests screens. They cost no GitHub request; each step fails on its own and leaves the Report published | diff --git a/apps/builder/src/builder.test.ts b/apps/builder/src/builder.test.ts index b7ff02f..a673e37 100644 --- a/apps/builder/src/builder.test.ts +++ b/apps/builder/src/builder.test.ts @@ -95,6 +95,35 @@ const pause = (ms: number) => new Promise((r) => setTimeout(r, ms)); const commands = (calls: Call[]) => calls.map((c) => (c.cmd === "git" ? `git ${c.args[0]}${c.args.includes("--filter=blob:none") ? " blobless" : ""}` : c.args[0])); const builds = (calls: Call[]) => calls.filter((c) => c.args[0] === "build"); +test("a Build brings its State back before the engine first runs and keeps it after it published; a private repository's is never kept", async () => { + for (const isPrivate of [false, true]) { + const work = await mkdtemp(join(tmpdir(), "builder-")); + const order: string[] = []; + const f = fake((c) => { + if (c.cmd === "commitscape") order.push(c.args[0] ?? ""); + return ok; + }); + f.deps.state = { + restore: async (root) => { + await pause(50); + order.push(`restore ${root === cacheDir(cfg(work), "acme", "rocket") ? "cache" : root}`); + return { restored: true, bytes: 1 }; + }, + save: async (root) => { + order.push(`save ${root === cacheDir(cfg(work), "acme", "rocket") ? "cache" : root}`); + return { uploaded: 1, sent: 1, bytes: 1 }; + }, + }; + const publish = f.deps.publish; + f.deps.publish = async (made) => { + order.push(`publish ${made.phase}`); + return publish(made); + }; + await build(req({ private: isPrivate, token: isPrivate ? "t" : null }), cfg(work), f.deps); + expect(order).toEqual(isPrivate ? ["signatures", "build", "publish quick", "build", "publish full"] : ["restore cache", "signatures", "build", "publish quick", "build", "publish full", "save cache"]); + } +}); + test("git's failures in the Site's words", () => { expect(failure("remote: Repository not found.\nfatal: repository 'https://github.com/a/b.git/' not found")).toBe("not_found"); expect(failure("fatal: could not read Username for 'https://github.com': terminal prompts disabled")).toBe("private"); @@ -439,6 +468,20 @@ test("the least recently used repository folders go first when the disk budget i expect(await prune(work, 1500, [join(work, "repos", "acme", "mid")])).toEqual([join(work, "repos", "acme", "new")]); }); +test("a cache unused for longer than the days a State is kept on disk goes even within the budget, unless a Build still needs it", async () => { + const work = await mkdtemp(join(tmpdir(), "builder-")); + const day = 86_400; + const at = Date.now() / 1000; + for (const [name, age] of [["stale", 8], ["kept", 8], ["fresh", 1]] as const) { + const dir = join(work, "caches", "acme", name); + await mkdir(dir, { recursive: true }); + await writeFile(join(dir, "index.current"), "x"); + await utimes(dir, at - age * day, at - age * day); + } + expect(await prune(work, 1e12, [join(work, "caches", "acme", "kept")], "caches", 7 * day * 1000)).toEqual([join(work, "caches", "acme", "stale")]); + expect(await prune(work, 1e12, [], "caches")).toEqual([]); +}); + test("a kept folder is measured again only once it was used after it was last measured", async () => { const work = await mkdtemp(join(tmpdir(), "builder-")); const dir = join(work, "repos", "acme", "rocket"); diff --git a/apps/builder/src/config.ts b/apps/builder/src/config.ts index c29743b..746d7e1 100644 --- a/apps/builder/src/config.ts +++ b/apps/builder/src/config.ts @@ -32,6 +32,9 @@ export function loadEnv(runtimeEnv: Record = process CACHE_BUDGET_GB: positive(5), ENGINE_SLOTS: z.coerce.number().int().positive().default(1), ATLAS_QUALITY: z.coerce.number().int().min(1).max(11).default(5), + STATE_KEY: z.string().min(32).optional(), + STATE_DISK_DAYS: positive(7), + STATE_KEEP_DAYS: positive(180), SURVIVING_BUDGET_SECONDS: positive(60), PULLS_TIME_LIMIT_SECONDS: positive(1800), GIT_DATA: z.stringbool().default(true), @@ -107,8 +110,11 @@ export type Config = { gitBase: string | undefined; git?: GitSettings | undefined; atlas?: AtlasSettings | undefined; + state?: StateSettings | undefined; }; +export type StateSettings = { secret: string; diskDays: number; keepDays: number }; + export type AtlasSettings = { command: string; args: string[]; quality: number }; export function configOf(env: Env): Config { @@ -130,6 +136,7 @@ export function configOf(env: Env): Config { engineSlots: env.ENGINE_SLOTS, moreLinesBudget: env.MORE_LINES_BUDGET_SECONDS, gitBase: env.GIT_BASE, + state: env.STATE_KEY ? { secret: env.STATE_KEY, diskDays: env.STATE_DISK_DAYS, keepDays: env.STATE_KEEP_DAYS } : undefined, git: env.GIT_DATA ? { seconds: env.GIT_TIME_LIMIT_SECONDS, diff --git a/apps/builder/src/disk.ts b/apps/builder/src/disk.ts index cbdb856..1ca55b2 100644 --- a/apps/builder/src/disk.ts +++ b/apps/builder/src/disk.ts @@ -93,8 +93,8 @@ export async function inUse(db: Db, cfg: Config, where: (cfg: Config, owner: str return repos.map((r) => where(cfg, r.owner, r.name)); } -/** Deletes the least recently used repository folders (clones, or with `folder` caches) until they fit the budget, leaving the ones in `keep`. A folder is measured again only when it was used since it was last measured. */ -export async function prune(work: string, budget: number, keep: Iterable = [], folder: Kept = "repos"): Promise { +/** Deletes the least recently used repository folders (clones, or with `folder` caches) until they fit the budget, and with `maxAgeMs` every one unused for longer, leaving the ones in `keep`. A folder is measured again only when it was used since it was last measured. */ +export async function prune(work: string, budget: number, keep: Iterable = [], folder: Kept = "repos", maxAgeMs?: number): Promise { const left = new Set(keep); const known = await readSizes(work); const found = await Promise.all( @@ -106,8 +106,9 @@ export async function prune(work: string, budget: number, keep: Iterable ); let total = found.reduce((n, c) => n + c.bytes, 0); const deleted: string[] = []; + const oldest = maxAgeMs === undefined ? -Infinity : Date.now() - maxAgeMs; for (const c of found.sort((a, b) => a.at - b.at)) { - if (total <= budget) break; + if (total <= budget && c.at >= oldest) break; if (left.has(c.path)) continue; await rm(c.path, { recursive: true, force: true }); total -= c.bytes; diff --git a/apps/builder/src/job.ts b/apps/builder/src/job.ts index 83a512f..f03d62a 100644 --- a/apps/builder/src/job.ts +++ b/apps/builder/src/job.ts @@ -31,6 +31,7 @@ import { buildGitData } from "./gitdata"; import { pullsToken } from "./pulls"; import { build, BUILD_ATTEMPTS, timeLimitOf, type Deps, type Made, type Outcome } from "./run"; import { Phases, type Telemetry } from "./telemetry"; +import { restoreState, saveState, stateKeys } from "./state"; import { storeAtlas } from "./universe"; const { builds, repoPeople, repositories, storedIndexes, surviving } = schema; @@ -145,6 +146,7 @@ async function claimedJob(buildId: string, ctx: JobContext, attempt: number, ask return true; }; + const stateTier = ctx.cfg.state ? { storage: ctx.storage, keys: stateKeys(ctx.cfg.state.secret), db, log } : null; const currentId = async () => (await db.select({ id: builds.repoId }).from(builds).where(eq(builds.id, buildId)))[0]?.id ?? repo.id; const gitCfg = ctx.cfg.git; const outcome = load @@ -179,6 +181,7 @@ async function claimedJob(buildId: string, ctx: JobContext, attempt: number, ask return got.accounts; }, publish, + ...(stateTier ? { state: { restore: (root: string) => restoreState(stateTier, repo.id, root), save: (root: string) => saveState(stateTier, repo.id, root) } } : {}), index: { live: async () => liveIndex(db, await currentId()), load: async (dir: string) => { diff --git a/apps/builder/src/main.ts b/apps/builder/src/main.ts index e9559e8..525bfa0 100644 --- a/apps/builder/src/main.ts +++ b/apps/builder/src/main.ts @@ -31,6 +31,7 @@ import { jobLimitOf, run, sharingEngine } from "./run"; import { pullsToken, readPulls } from "./pulls"; import { budgetOf, runSurvival } from "./survival"; import { queueRebuilds } from "./rebuild"; +import { forgetStates } from "./state"; import { writeAtlas } from "./universe"; import { headsOf, queueSeeds, seedConfig, seedList } from "./seeds"; @@ -102,12 +103,19 @@ async function work() { const lane = await laneOf(db, cfg, job.buildId); await sendBuild(lane?.queue ?? BUILD_QUEUE, { queuedAt: Date.now(), ...job }, priority, startAfter); }; + let forgotAt = 0; const tidy = async () => { for (const p of await sweep(db, cfg).catch(() => [])) log(`swept ${p}`); const keep = await inUse(db, cfg).catch(() => null); if (keep) for (const p of await prune(cfg.work, cfg.diskGb * 1024 ** 3, keep)) log(`pruned ${p}`); const caches = await inUse(db, cfg, cacheDir).catch(() => null); - if (caches) for (const p of await prune(cfg.work, cfg.cacheGb * 1024 ** 3, caches, "caches")) log(`pruned ${p}`); + const days = cfg.state ? cfg.state.diskDays * 86_400_000 : undefined; + if (caches) for (const p of await prune(cfg.work, cfg.cacheGb * 1024 ** 3, caches, "caches", days)) log(`pruned ${p}`); + if (cfg.state && Date.now() - forgotAt > 86_400_000) { + forgotAt = Date.now(); + const gone = await forgetStates({ storage, db }, cfg.state.keepDays).catch((e: unknown) => (log(`states not forgotten: ${(e as Error).message}`), [])); + if (gone.length > 0) log(`forgot the States of ${gone.length} repositories unused for ${cfg.state.keepDays} days`); + } }; const reap = async () => { const reaped = await reapBuilds(db, (id) => buildJobStates(boss, id), bossQueue(boss)); diff --git a/apps/builder/src/run.ts b/apps/builder/src/run.ts index a548b88..d0384e2 100644 --- a/apps/builder/src/run.ts +++ b/apps/builder/src/run.ts @@ -147,8 +147,11 @@ export function run(cmd: string, args: string[], env: NodeJS.ProcessEnv, timeout export type IndexStore = { live: () => Promise; load: (dir: string) => Promise }; +export type StateStore = { restore: (root: string) => Promise<{ restored: boolean; bytes: number }>; save: (root: string) => Promise<{ uploaded: number; sent: number; bytes: number }> }; + export type Deps = { run: typeof run; + state?: StateStore; progress: (step: BuildStep) => Promise; accounts: (signatures: Signature[]) => Promise>; index: IndexStore; @@ -185,7 +188,10 @@ export async function build(req: BuildTarget, cfg: Config, deps: Deps): Promise< const env = gitEnv(req.token); const engineEnv: NodeJS.ProcessEnv = { ...env, ...(cfg.threads ? { COMMITSCAPE_THREADS: String(cfg.threads) } : {}) }; const url = cloneUrl(cfg, req.owner, req.name); - const cache = ["--cache-dir", await cacheFor(cfg, { isPrivate: !!req.private, owner: req.owner, name: req.name, home }), "--cache-key", req.repo]; + const cacheRoot = await cacheFor(cfg, { isPrivate: !!req.private, owner: req.owner, name: req.name, home }); + const cache = ["--cache-dir", cacheRoot, "--cache-key", req.repo]; + const state = req.private ? undefined : deps.state; + let restoring: Promise = Promise.resolve(); const warm = existsSync(join(full, ".git")); phases.kind = warm ? "warm" : "cold"; const seconds = () => Math.round((Date.now() - started) / 100) / 10; @@ -195,6 +201,7 @@ export async function build(req: BuildTarget, cfg: Config, deps: Deps): Promise< let fullCloned = false; const engine = async (phase: Phase, dir: string, accounts: string | null): Promise => { + await restoring; const out = join(scratch, `${phase}.out`); const events = join(scratch, `${phase}.events`); await rm(out, { recursive: true, force: true }); @@ -230,6 +237,7 @@ export async function build(req: BuildTarget, cfg: Config, deps: Deps): Promise< }; const accountsFrom = async (dir: string): Promise => { + await restoring; const events = join(scratch, "signatures.events"); const signatures = await phases.time("signatures", "engine", async () => { const found = await readSignatures(deps.run, { bin: cfg.bin, dir, scratch, cache, env: engineEnv, timeoutMs: binLimit * 1000, nice: cfg.nice, events, ...(deps.log ? { log: deps.log } : {}) }); @@ -261,6 +269,12 @@ export async function build(req: BuildTarget, cfg: Config, deps: Deps): Promise< await mkdir(scratch, { recursive: true }); await mkdir(home, { recursive: true }); await utimes(home, new Date(), new Date()); + if (state) { + restoring = phases + .time("restore state", "state", () => state.restore(cacheRoot)) + .then((r) => r.restored && deps.log?.(`state of ${req.owner}/${req.name}: restored ${Math.round(r.bytes / 1e6)} MB from R2`)) + .catch((e: unknown) => deps.log?.(`state of ${req.owner}/${req.name} not restored: ${(e as Error).message}`)); + } const live = await deps.index.live(); const quickWanted = attempt === 1 && !warm && !req.hasLines && !live?.lines; await deps.progress("cloning"); @@ -322,6 +336,12 @@ export async function build(req: BuildTarget, cfg: Config, deps: Deps): Promise< const [, f] = await Promise.all([quickPhase, fullPhase]); const made = fullMade ?? quickMade; + if (state && made) { + await phases + .time("save state", "state", () => state.save(cacheRoot)) + .then((s) => deps.log?.(`state of ${req.owner}/${req.name}: ${s.uploaded} new chunks, ${Math.round(s.sent / 1e6)} MB sent, ${Math.round(s.bytes / 1e6)} MB kept`)) + .catch((e: unknown) => deps.log?.(`state of ${req.owner}/${req.name} not saved: ${(e as Error).message}`)); + } const published: Phase | null = fullMade ? "full" : quickMade ? "quick" : null; if (f.ok) return { published, seconds: seconds(), resumable: false, kind: phases.kind, made }; resumable = f.reason === "timed_out" && attempt < BUILD_ATTEMPTS; diff --git a/apps/builder/src/state.test.ts b/apps/builder/src/state.test.ts new file mode 100644 index 0000000..1275767 --- /dev/null +++ b/apps/builder/src/state.test.ts @@ -0,0 +1,101 @@ +import { appendFile, mkdir, mkdtemp, readFile, writeFile } from "node:fs/promises"; +import { tmpdir } from "node:os"; +import { join } from "node:path"; +import { fileURLToPath } from "node:url"; +import { PGlite } from "@electric-sql/pglite"; +import { drizzle } from "drizzle-orm/pglite"; +import { migrate } from "drizzle-orm/pglite/migrator"; +import { expect, test } from "vitest"; +import { memoryStorage, schema, type Db } from "@commitscape/server"; +import { CHUNK_BYTES, forgetStates, hasCache, restoreState, saveState, statePrefix, stateKeys } from "./state"; + +const migrations = fileURLToPath(new URL("../../../packages/server/drizzle", import.meta.url)); + +async function database(): Promise { + const db = drizzle(new PGlite(), { schema }); + await migrate(db, { migrationsFolder: migrations }); + return db as unknown as Db; +} + +const keys = stateKeys("k".repeat(40)); + +async function cache(): Promise { + const root = await mkdtemp(join(tmpdir(), "state-")); + const dir = join(root, "key-0123456789abcdef"); + await mkdir(join(dir, "blame"), { recursive: true }); + await writeFile(join(dir, "index.current"), "00000000000000aa"); + await writeFile(join(dir, "00000000000000aa.head"), "head ada@example.com"); + await writeFile(join(dir, "00000000000000aa.data"), Buffer.alloc(CHUNK_BYTES + 100, 7)); + await writeFile(join(dir, "lines"), "lines"); + await writeFile(join(dir, "graph"), "made again from git"); + await writeFile(join(dir, "index.lock"), ""); + await writeFile(join(dir, "blame", "x"), "per head"); + return root; +} + +const read = (root: string, file: string) => readFile(join(root, "key-0123456789abcdef", file)); + +test("a State is kept in R2 sealed, so no email address leaves the Builder, and comes back the same", async () => { + const storage = memoryStorage(); + const root = await cache(); + const saved = await saveState({ storage, keys }, "acme/rocket", root); + expect(saved).toMatchObject({ files: 4, chunks: 5, uploaded: 5, deleted: 0 }); + const prefix = statePrefix("acme/rocket"); + expect([...storage.objects.keys()].every((k) => k.startsWith(prefix))).toBe(true); + expect([...storage.objects.values()].some((o) => Buffer.from(o.body).includes("ada@example.com"))).toBe(false); + + const into = join(await mkdtemp(join(tmpdir(), "state-")), "caches", "acme", "rocket"); + expect(await hasCache(into)).toBe(false); + expect(await restoreState({ storage, keys }, "acme/rocket", into)).toEqual({ restored: true, bytes: CHUNK_BYTES + 100 + 20 + 16 + 5 }); + expect(await hasCache(into)).toBe(true); + for (const f of ["index.current", "00000000000000aa.head", "00000000000000aa.data", "lines"]) expect((await read(into, f)).equals(await read(root, f))).toBe(true); + await expect(read(into, "graph")).rejects.toThrow(); + expect(await restoreState({ storage, keys }, "acme/rocket", into)).toEqual({ restored: false, bytes: 0 }); +}); + +test("a later save uploads only the chunks R2 does not hold, and deletes the ones no manifest names", async () => { + const storage = memoryStorage(); + const root = await cache(); + await saveState({ storage, keys }, "acme/rocket", root); + const first = new Set(storage.objects.keys()); + expect(await saveState({ storage, keys }, "acme/rocket", root)).toMatchObject({ uploaded: 0, sent: 0, deleted: 0 }); + await appendFile(join(root, "key-0123456789abcdef", "00000000000000aa.data"), "more"); + const again = await saveState({ storage, keys }, "acme/rocket", root); + expect(again).toMatchObject({ uploaded: 1, deleted: 1 }); + expect(again.sent).toBeLessThan(1024); + const now = new Set(storage.objects.keys()); + expect([...now].filter((k) => !first.has(k))).toHaveLength(1); +}); + +test("a State whose chunk was changed or lost is not restored, and nothing is left half in place", async () => { + const storage = memoryStorage(); + const root = await cache(); + await saveState({ storage, keys }, "acme/rocket", root); + const prefix = statePrefix("acme/rocket"); + const chunk = [...storage.objects.keys()].find((k) => k !== `${prefix}manifest`) ?? ""; + const body = storage.objects.get(chunk)?.body ?? new Uint8Array(); + const tampered = Uint8Array.from(body); + tampered[20] = (tampered[20] ?? 0) ^ 1; + storage.objects.set(chunk, { body: tampered, type: undefined, encoding: undefined }); + const lines: string[] = []; + const into = join(await mkdtemp(join(tmpdir(), "state-")), "rocket"); + expect(await restoreState({ storage, keys, log: (l) => lines.push(l) }, "acme/rocket", into)).toEqual({ restored: false, bytes: 0 }); + expect(await hasCache(into)).toBe(false); + expect(lines[0]).toContain("not restored"); + expect(await restoreState({ storage, keys: stateKeys("o".repeat(40)) }, "acme/rocket", into)).toEqual({ restored: false, bytes: 0 }); + expect(await restoreState({ storage, keys }, "acme/other", into)).toEqual({ restored: false, bytes: 0 }); +}); + +test("States unused for the days kept are deleted from R2 with their rows; used ones stay", async () => { + const db = await database(); + const storage = memoryStorage(); + const day = 24 * 3600; + await saveState({ storage, keys, db }, "acme/old", await cache(), 1000 * day); + await saveState({ storage, keys, db }, "acme/new", await cache(), 1170 * day); + expect(await forgetStates({ storage, db }, 180, 1190 * day)).toEqual(["acme/old"]); + expect([...storage.objects.keys()].some((k) => k.startsWith(statePrefix("acme/old")))).toBe(false); + expect([...storage.objects.keys()].some((k) => k.startsWith(statePrefix("acme/new")))).toBe(true); + expect((await db.select().from(schema.repoStates)).map((r) => r.repoId)).toEqual(["acme/new"]); + await restoreState({ storage, keys, db }, "acme/new", join(await mkdtemp(join(tmpdir(), "state-")), "x"), 1200 * day); + expect((await db.select().from(schema.repoStates))[0]?.usedAt).toBe(1200 * day); +}); diff --git a/apps/builder/src/state.ts b/apps/builder/src/state.ts new file mode 100644 index 0000000..a754098 --- /dev/null +++ b/apps/builder/src/state.ts @@ -0,0 +1,197 @@ +import { createCipheriv, createDecipheriv, createHmac, hkdfSync, randomBytes } from "node:crypto"; +import { existsSync } from "node:fs"; +import { mkdir, open, readdir, readFile, rename, rm, stat, writeFile } from "node:fs/promises"; +import { dirname, join, relative } from "node:path"; +import { promisify } from "node:util"; +import { zstdCompress, zstdDecompress } from "node:zlib"; +import { lt, sql } from "drizzle-orm"; +import { now, schema, sha256, type Db, type Storage } from "@commitscape/server"; + +const { repoStates } = schema; + +const zstd = promisify(zstdCompress); +const unzstd = promisify(zstdDecompress); + +export const CHUNK_BYTES = 8 << 20; + +const LOCAL = "state.json"; +const SKIPPED = new Set(["index.lock", "index.load", "graph", "graph.writing", "blame", LOCAL]); +const POINTER = "index.current"; +const DAY = 24 * 3600; + +type Entry = { path: string; size: number; mtime: number; chunks: string[] }; +type Manifest = { version: 1; files: Entry[] }; + +export type StateKeys = { seal: Buffer; name: Buffer }; + +/** The keys a Repo State is sealed and named with in R2, from the Builder's own STATE_KEY: no one without it can read the email addresses an engine cache holds. */ +export function stateKeys(secret: string): StateKeys { + const derive = (info: string) => Buffer.from(hkdfSync("sha256", secret, "commitscape", info, 32)); + return { seal: derive("repo state seal"), name: derive("repo state name") }; +} + +export type StateTier = { storage: Storage; keys: StateKeys; db?: Db; log?: (line: string) => void }; + +/** Where a repository's State is kept in R2. */ +export const statePrefix = (repoId: string) => `state/${sha256(repoId).slice(0, 32)}/`; + +const nameOf = (keys: StateKeys, bytes: Uint8Array) => createHmac("sha256", keys.name).update(bytes).digest("hex").slice(0, 40); + +async function seal(keys: StateKeys, bytes: Uint8Array): Promise { + const packed = await zstd(bytes); + const iv = randomBytes(12); + const cipher = createCipheriv("aes-256-gcm", keys.seal, iv); + return Buffer.concat([iv, cipher.update(packed), cipher.final(), cipher.getAuthTag()]); +} + +async function unseal(keys: StateKeys, bytes: Uint8Array): Promise { + const all = Buffer.from(bytes.buffer, bytes.byteOffset, bytes.byteLength); + const decipher = createDecipheriv("aes-256-gcm", keys.seal, all.subarray(0, 12)); + decipher.setAuthTag(all.subarray(all.length - 16)); + return unzstd(Buffer.concat([decipher.update(all.subarray(12, all.length - 16)), decipher.final()])); +} + +async function files(root: string): Promise { + const out: string[] = []; + const walk = async (dir: string) => { + for (const entry of await readdir(dir, { withFileTypes: true }).catch(() => [])) { + if (SKIPPED.has(entry.name) || entry.name.endsWith(".tmp")) continue; + const path = join(dir, entry.name); + if (entry.isDirectory()) await walk(path); + else if (entry.isFile()) out.push(path); + } + }; + await walk(root); + return out.sort((a, b) => Number(b.endsWith(POINTER)) - Number(a.endsWith(POINTER)) || a.localeCompare(b)); +} + +async function readLocal(root: string): Promise { + const text = await readFile(join(root, LOCAL), "utf8").catch(() => null); + if (!text) return null; + try { + return JSON.parse(text) as Manifest; + } catch { + return null; + } +} + +/** Whether an engine cache is in `root`: some cache folder in it names its current Index. */ +export async function hasCache(root: string): Promise { + for (const entry of await readdir(root).catch(() => [])) if (existsSync(join(root, entry, POINTER))) return true; + return false; +} + +export type Saved = { files: number; chunks: number; uploaded: number; bytes: number; sent: number; deleted: number }; + +/** Keeps a repository's engine cache in R2 as sealed chunks named by their content, uploading only the chunks R2 does not hold yet (an append to a file uploads its new tail), then the manifest naming them, then deletes the chunks no manifest names any more. A file unchanged since the last save is not read again. */ +export async function saveState(tier: StateTier, repoId: string, root: string, at = now()): Promise { + const prefix = statePrefix(repoId); + const before = await readLocal(root); + const known = new Map((before?.files ?? []).map((f) => [f.path, f])); + const held = new Set((before?.files ?? []).flatMap((f) => f.chunks)); + const entries: Entry[] = []; + let uploaded = 0; + let sent = 0; + let bytes = 0; + for (const path of await files(root)) { + const rel = relative(root, path); + const s = await stat(path).catch(() => null); + if (!s) continue; + const was = known.get(rel); + if (was && was.size === s.size && was.mtime === s.mtimeMs) { + entries.push(was); + bytes += was.size; + continue; + } + const handle = await open(path, "r"); + const chunks: string[] = []; + let size = 0; + try { + const buffer = Buffer.alloc(CHUNK_BYTES); + for (;;) { + const { bytesRead } = await handle.read(buffer, 0, CHUNK_BYTES, size); + if (bytesRead === 0) break; + const chunk = buffer.subarray(0, bytesRead); + const name = nameOf(tier.keys, chunk); + if (!held.has(name)) { + const body = await seal(tier.keys, chunk); + await tier.storage.put(prefix + name, body, { type: "application/octet-stream" }); + held.add(name); + uploaded++; + sent += body.byteLength; + } + chunks.push(name); + size += bytesRead; + if (bytesRead < CHUNK_BYTES) break; + } + } finally { + await handle.close(); + } + entries.push({ path: rel, size, mtime: s.mtimeMs, chunks }); + bytes += size; + } + const manifest: Manifest = { version: 1, files: entries }; + await tier.storage.put(`${prefix}manifest`, await seal(tier.keys, Buffer.from(JSON.stringify(manifest))), { type: "application/octet-stream" }); + await writeFile(join(root, LOCAL), JSON.stringify(manifest)); + const named = new Set(entries.flatMap((f) => f.chunks)); + const stale = [...new Set((before?.files ?? []).flatMap((f) => f.chunks))].filter((c) => !named.has(c)).map((c) => prefix + c); + if (stale.length > 0) await tier.storage.delete(stale).catch(() => undefined); + await tier.db + ?.insert(repoStates) + .values({ repoId, savedAt: at, usedAt: at, bytes }) + .onConflictDoUpdate({ target: repoStates.repoId, set: { savedAt: at, usedAt: at, bytes } }); + return { files: entries.length, chunks: named.size, uploaded, bytes, sent, deleted: stale.length }; +} + +/** Brings a repository's engine cache back from R2 into `root` when the disk holds none: every chunk is checked against its name, and the files are moved into place only once all are whole. False when R2 holds no State for it, or it could not be read; the Build is then a clean one. */ +export async function restoreState(tier: StateTier, repoId: string, root: string, at = now()): Promise<{ restored: boolean; bytes: number }> { + if (await hasCache(root)) return { restored: false, bytes: 0 }; + const prefix = statePrefix(repoId); + const stored = await tier.storage.get(`${prefix}manifest`).catch(() => null); + if (!stored) return { restored: false, bytes: 0 }; + const into = `${root}.restoring`; + await rm(into, { recursive: true, force: true }); + try { + const manifest = JSON.parse((await unseal(tier.keys, stored.body)).toString("utf8")) as Manifest; + let bytes = 0; + for (const f of manifest.files) { + const target = join(into, f.path); + if (relative(into, target).startsWith("..")) throw new Error(`a State file outside its folder: ${f.path}`); + await mkdir(dirname(target), { recursive: true }); + const out = await open(target, "w"); + try { + for (const name of f.chunks) { + const body = await tier.storage.get(prefix + name); + if (!body) throw new Error(`a State chunk is missing: ${name}`); + const chunk = await unseal(tier.keys, body.body); + if (nameOf(tier.keys, chunk) !== name) throw new Error(`a State chunk does not match its name: ${name}`); + await out.write(chunk); + bytes += chunk.byteLength; + } + } finally { + await out.close(); + } + } + const placed = await Promise.all(manifest.files.map(async (f) => ({ ...f, mtime: (await stat(join(into, f.path))).mtimeMs }))); + await writeFile(join(into, LOCAL), JSON.stringify({ version: 1, files: placed } satisfies Manifest)); + await mkdir(dirname(root), { recursive: true }); + await rm(root, { recursive: true, force: true }); + await rename(into, root); + await tier.db?.update(repoStates).set({ usedAt: at }).where(sql`${repoStates.repoId} = ${repoId}`); + return { restored: true, bytes }; + } catch (e) { + await rm(into, { recursive: true, force: true }); + tier.log?.(`State of ${repoId} not restored: ${(e as Error).message}`); + return { restored: false, bytes: 0 }; + } +} + +/** Deletes from R2 the States no Build has used for `days` days, with their rows. */ +export async function forgetStates(tier: Pick & { db: Db }, days: number, at = now()): Promise { + const old = await tier.db.select({ repoId: repoStates.repoId }).from(repoStates).where(lt(repoStates.usedAt, at - days * DAY)); + for (const { repoId } of old) { + await tier.storage.deletePrefix(statePrefix(repoId)); + await tier.db.delete(repoStates).where(sql`${repoStates.repoId} = ${repoId}`); + } + return old.map((r) => r.repoId); +} diff --git a/docs/working.md b/docs/working.md index db1f457..1dac149 100644 --- a/docs/working.md +++ b/docs/working.md @@ -77,7 +77,19 @@ to a repository the App is installed on, the nightly seeds and the text of files at HEAD in R2 (each blob once, recorded in `repo_blobs`), and pull request diffs. The Build ends `done` at this publish. -6. **Carries on.** If the budget left commits uncounted, a quiet Build is +6. **Keeps the Repo State.** With `STATE_KEY` set, a public repository's + engine cache is kept in R2 as well as on disk: before its first run of + the engine a Build whose disk has no cache brings it back from + `state//` (chunks checked against their names, moved into place + only when whole), and after a publish it uploads the 8 MB chunks R2 + does not hold yet, sealed with AES-256-GCM, then the manifest naming + them, and deletes the chunks nothing names. `repo_states` records when + each was used; tidy drops a State from the disk after `STATE_DISK_DAYS` + and from R2 after `STATE_KEEP_DAYS` unused. linux: the first upload is + 128 MB for a 217 MB State, a Build with 337 new commits sends 15 MB, + and a restore takes seconds where reading the history again takes + minutes. +7. **Carries on.** If the budget left commits uncounted, a quiet Build is queued a minute later, below people's and seeds' Builds, three at most; each counts on from where the last stopped. Seeds' top people get their Surviving Lines counted, reusing the full clone and the same accounts, so person diff --git a/packages/server/drizzle/0038_whole_unus.sql b/packages/server/drizzle/0038_whole_unus.sql new file mode 100644 index 0000000..25c78d4 --- /dev/null +++ b/packages/server/drizzle/0038_whole_unus.sql @@ -0,0 +1,8 @@ +CREATE TABLE "repo_states" ( + "repo_id" text PRIMARY KEY NOT NULL, + "saved_at" bigint NOT NULL, + "used_at" bigint NOT NULL, + "bytes" bigint NOT NULL +); +--> statement-breakpoint +CREATE INDEX "repo_states_used" ON "repo_states" USING btree ("used_at"); \ No newline at end of file diff --git a/packages/server/drizzle/meta/0038_snapshot.json b/packages/server/drizzle/meta/0038_snapshot.json new file mode 100644 index 0000000..b467111 --- /dev/null +++ b/packages/server/drizzle/meta/0038_snapshot.json @@ -0,0 +1,3402 @@ +{ + "id": "c551e79d-618a-4781-b987-42b0c66908c1", + "prevId": "ab8d97f8-cf87-4883-a33f-3e668e8d192a", + "version": "7", + "dialect": "postgresql", + "tables": { + "public.access": { + "name": "access", + "schema": "", + "columns": { + "session_id": { + "name": "session_id", + "type": "text", + "primaryKey": false, + "notNull": true + }, + "repo_id": { + "name": "repo_id", + "type": "text", + "primaryKey": false, + "notNull": true + }, + "allowed": { + "name": "allowed", + "type": "boolean", + "primaryKey": false, + "notNull": true + }, + "until": { + "name": "until", + "type": "bigint", + "primaryKey": false, + "notNull": true + } + }, + "indexes": {}, + "foreignKeys": { + "access_session_id_session_id_fk": { + "name": "access_session_id_session_id_fk", + "tableFrom": "access", + "tableTo": "session", + "columnsFrom": [ + "session_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": { + "access_session_id_repo_id_pk": { + "name": "access_session_id_repo_id_pk", + "columns": [ + "session_id", + "repo_id" + ] + } + }, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.account": { + "name": "account", + "schema": "", + "columns": { + "id": { + "name": "id", + "type": "text", + "primaryKey": true, + "notNull": true + }, + "account_id": { + "name": "account_id", + "type": "text", + "primaryKey": false, + "notNull": true + }, + "provider_id": { + "name": "provider_id", + "type": "text", + "primaryKey": false, + "notNull": true + }, + "user_id": { + "name": "user_id", + "type": "text", + "primaryKey": false, + "notNull": true + }, + "access_token": { + "name": "access_token", + "type": "text", + "primaryKey": false, + "notNull": false + }, + "refresh_token": { + "name": "refresh_token", + "type": "text", + "primaryKey": false, + "notNull": false + }, + "id_token": { + "name": "id_token", + "type": "text", + "primaryKey": false, + "notNull": false + }, + "access_token_expires_at": { + "name": "access_token_expires_at", + "type": "timestamp", + "primaryKey": false, + "notNull": false + }, + "refresh_token_expires_at": { + "name": "refresh_token_expires_at", + "type": "timestamp", + "primaryKey": false, + "notNull": false + }, + "scope": { + "name": "scope", + "type": "text", + "primaryKey": false, + "notNull": false + }, + "password": { + "name": "password", + "type": "text", + "primaryKey": false, + "notNull": false + }, + "created_at": { + "name": "created_at", + "type": "timestamp", + "primaryKey": false, + "notNull": true, + "default": "now()" + }, + "updated_at": { + "name": "updated_at", + "type": "timestamp", + "primaryKey": false, + "notNull": true + } + }, + "indexes": { + "account_user_id": { + "name": "account_user_id", + "columns": [ + { + "expression": "user_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": { + "account_user_id_user_id_fk": { + "name": "account_user_id_user_id_fk", + "tableFrom": "account", + "tableTo": "user", + "columnsFrom": [ + "user_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.builds": { + "name": "builds", + "schema": "", + "columns": { + "id": { + "name": "id", + "type": "text", + "primaryKey": true, + "notNull": true + }, + "repo_id": { + "name": "repo_id", + "type": "text", + "primaryKey": false, + "notNull": true + }, + "state": { + "name": "state", + "type": "text", + "primaryKey": false, + "notNull": true + }, + "step": { + "name": "step", + "type": "text", + "primaryKey": false, + "notNull": false + }, + "reason": { + "name": "reason", + "type": "text", + "primaryKey": false, + "notNull": false + }, + "detail": { + "name": "detail", + "type": "text", + "primaryKey": false, + "notNull": false + }, + "seconds": { + "name": "seconds", + "type": "integer", + "primaryKey": false, + "notNull": false + }, + "partial": { + "name": "partial", + "type": "boolean", + "primaryKey": false, + "notNull": false + }, + "requested_at": { + "name": "requested_at", + "type": "bigint", + "primaryKey": false, + "notNull": true + }, + "started_at": { + "name": "started_at", + "type": "bigint", + "primaryKey": false, + "notNull": false + }, + "finished_at": { + "name": "finished_at", + "type": "bigint", + "primaryKey": false, + "notNull": false + } + }, + "indexes": { + "builds_repo_requested": { + "name": "builds_repo_requested", + "columns": [ + { + "expression": "repo_id", + "isExpression": false, + "asc": true, + "nulls": "last" + }, + { + "expression": "requested_at", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "builds_state": { + "name": "builds_state", + "columns": [ + { + "expression": "state", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": { + "builds_repo_id_repositories_id_fk": { + "name": "builds_repo_id_repositories_id_fk", + "tableFrom": "builds", + "tableTo": "repositories", + "columnsFrom": [ + "repo_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.github_cache": { + "name": "github_cache", + "schema": "", + "columns": { + "key": { + "name": "key", + "type": "text", + "primaryKey": true, + "notNull": true + }, + "etag": { + "name": "etag", + "type": "text", + "primaryKey": false, + "notNull": false + }, + "status": { + "name": "status", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "body": { + "name": "body", + "type": "text", + "primaryKey": false, + "notNull": false + }, + "fetched_at": { + "name": "fetched_at", + "type": "bigint", + "primaryKey": false, + "notNull": true + }, + "until": { + "name": "until", + "type": "bigint", + "primaryKey": false, + "notNull": true + } + }, + "indexes": { + "github_cache_until": { + "name": "github_cache_until", + "columns": [ + { + "expression": "until", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": {}, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.index_commit_lines": { + "name": "index_commit_lines", + "schema": "", + "columns": { + "si": { + "name": "si", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "sha": { + "name": "sha", + "type": "bytea", + "primaryKey": false, + "notNull": true + }, + "added": { + "name": "added", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "removed": { + "name": "removed", + "type": "integer", + "primaryKey": false, + "notNull": true + } + }, + "indexes": {}, + "foreignKeys": {}, + "compositePrimaryKeys": { + "index_commit_lines_si_sha_pk": { + "name": "index_commit_lines_si_sha_pk", + "columns": [ + "si", + "sha" + ] + } + }, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.index_commits": { + "name": "index_commits", + "schema": "", + "columns": { + "si": { + "name": "si", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "sha": { + "name": "sha", + "type": "bytea", + "primaryKey": false, + "notNull": true + }, + "at": { + "name": "at", + "type": "bigint", + "primaryKey": false, + "notNull": true + }, + "offset": { + "name": "offset", + "type": "smallint", + "primaryKey": false, + "notNull": true + }, + "author_delta": { + "name": "author_delta", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "signature": { + "name": "signature", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "kind": { + "name": "kind", + "type": "smallint", + "primaryKey": false, + "notNull": true + }, + "flags": { + "name": "flags", + "type": "smallint", + "primaryKey": false, + "notNull": true + }, + "arrival": { + "name": "arrival", + "type": "bigint", + "primaryKey": false, + "notNull": false + }, + "subject": { + "name": "subject", + "type": "text", + "primaryKey": false, + "notNull": true + }, + "files": { + "name": "files", + "type": "integer[]", + "primaryKey": false, + "notNull": true + }, + "changes": { + "name": "changes", + "type": "smallint[]", + "primaryKey": false, + "notNull": true + }, + "added": { + "name": "added", + "type": "integer[]", + "primaryKey": false, + "notNull": false + }, + "removed": { + "name": "removed", + "type": "integer[]", + "primaryKey": false, + "notNull": false + } + }, + "indexes": { + "index_commits_at": { + "name": "index_commits_at", + "columns": [ + { + "expression": "si", + "isExpression": false, + "asc": true, + "nulls": "last" + }, + { + "expression": "at", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "index_commits_signature": { + "name": "index_commits_signature", + "columns": [ + { + "expression": "si", + "isExpression": false, + "asc": true, + "nulls": "last" + }, + { + "expression": "signature", + "isExpression": false, + "asc": true, + "nulls": "last" + }, + { + "expression": "at", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": {}, + "compositePrimaryKeys": { + "index_commits_si_sha_pk": { + "name": "index_commits_si_sha_pk", + "columns": [ + "si", + "sha" + ] + } + }, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.index_file_paths": { + "name": "index_file_paths", + "schema": "", + "columns": { + "si": { + "name": "si", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "file": { + "name": "file", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "path": { + "name": "path", + "type": "text", + "primaryKey": false, + "notNull": true + } + }, + "indexes": {}, + "foreignKeys": {}, + "compositePrimaryKeys": { + "index_file_paths_si_file_path_pk": { + "name": "index_file_paths_si_file_path_pk", + "columns": [ + "si", + "file", + "path" + ] + } + }, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.index_files": { + "name": "index_files", + "schema": "", + "columns": { + "si": { + "name": "si", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "file": { + "name": "file", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "path": { + "name": "path", + "type": "text", + "primaryKey": false, + "notNull": true + }, + "folder": { + "name": "folder", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "born": { + "name": "born", + "type": "bigint", + "primaryKey": false, + "notNull": true + }, + "last": { + "name": "last", + "type": "bigint", + "primaryKey": false, + "notNull": true + }, + "alive": { + "name": "alive", + "type": "boolean", + "primaryKey": false, + "notNull": true + }, + "role": { + "name": "role", + "type": "smallint", + "primaryKey": false, + "notNull": true, + "default": 0 + }, + "language": { + "name": "language", + "type": "text", + "primaryKey": false, + "notNull": false + }, + "guessed_generated": { + "name": "guessed_generated", + "type": "boolean", + "primaryKey": false, + "notNull": true, + "default": false + }, + "lockfile": { + "name": "lockfile", + "type": "boolean", + "primaryKey": false, + "notNull": true, + "default": false + } + }, + "indexes": { + "index_files_folder": { + "name": "index_files_folder", + "columns": [ + { + "expression": "si", + "isExpression": false, + "asc": true, + "nulls": "last" + }, + { + "expression": "folder", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": {}, + "compositePrimaryKeys": { + "index_files_si_file_pk": { + "name": "index_files_si_file_pk", + "columns": [ + "si", + "file" + ] + } + }, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.index_folders": { + "name": "index_folders", + "schema": "", + "columns": { + "si": { + "name": "si", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "id": { + "name": "id", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "path": { + "name": "path", + "type": "text", + "primaryKey": false, + "notNull": true + }, + "parent": { + "name": "parent", + "type": "integer", + "primaryKey": false, + "notNull": false + }, + "depth": { + "name": "depth", + "type": "smallint", + "primaryKey": false, + "notNull": true + } + }, + "indexes": { + "index_folders_path": { + "name": "index_folders_path", + "columns": [ + { + "expression": "si", + "isExpression": false, + "asc": true, + "nulls": "last" + }, + { + "expression": "path", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": true, + "concurrently": false, + "method": "btree", + "with": {} + }, + "index_folders_parent": { + "name": "index_folders_parent", + "columns": [ + { + "expression": "si", + "isExpression": false, + "asc": true, + "nulls": "last" + }, + { + "expression": "parent", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": {}, + "compositePrimaryKeys": { + "index_folders_si_id_pk": { + "name": "index_folders_si_id_pk", + "columns": [ + "si", + "id" + ] + } + }, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.index_head_files": { + "name": "index_head_files", + "schema": "", + "columns": { + "si": { + "name": "si", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "file": { + "name": "file", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "blob": { + "name": "blob", + "type": "bytea", + "primaryKey": false, + "notNull": true + }, + "bytes": { + "name": "bytes", + "type": "bigint", + "primaryKey": false, + "notNull": true + }, + "lines": { + "name": "lines", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "class": { + "name": "class", + "type": "text", + "primaryKey": false, + "notNull": true + }, + "indent_levels": { + "name": "indent_levels", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "indent_mean": { + "name": "indent_mean", + "type": "real", + "primaryKey": false, + "notNull": true + }, + "indent_stddev": { + "name": "indent_stddev", + "type": "real", + "primaryKey": false, + "notNull": true + } + }, + "indexes": {}, + "foreignKeys": {}, + "compositePrimaryKeys": { + "index_head_files_si_file_pk": { + "name": "index_head_files_si_file_pk", + "columns": [ + "si", + "file" + ] + } + }, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.index_people": { + "name": "index_people", + "schema": "", + "columns": { + "si": { + "name": "si", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "signature": { + "name": "signature", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "name": { + "name": "name", + "type": "text", + "primaryKey": false, + "notNull": true + }, + "person": { + "name": "person", + "type": "integer", + "primaryKey": false, + "notNull": false + }, + "person_name": { + "name": "person_name", + "type": "text", + "primaryKey": false, + "notNull": false + }, + "colour": { + "name": "colour", + "type": "smallint", + "primaryKey": false, + "notNull": false + }, + "login": { + "name": "login", + "type": "text", + "primaryKey": false, + "notNull": false + }, + "bot": { + "name": "bot", + "type": "boolean", + "primaryKey": false, + "notNull": true + } + }, + "indexes": { + "index_people_person": { + "name": "index_people_person", + "columns": [ + { + "expression": "si", + "isExpression": false, + "asc": true, + "nulls": "last" + }, + { + "expression": "person", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": {}, + "compositePrimaryKeys": { + "index_people_si_signature_pk": { + "name": "index_people_si_signature_pk", + "columns": [ + "si", + "signature" + ] + } + }, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.index_persons": { + "name": "index_persons", + "schema": "", + "columns": { + "si": { + "name": "si", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "person": { + "name": "person", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "traits": { + "name": "traits", + "type": "smallint", + "primaryKey": false, + "notNull": true + }, + "identities": { + "name": "identities", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "commits": { + "name": "commits", + "type": "integer", + "primaryKey": false, + "notNull": true + } + }, + "indexes": {}, + "foreignKeys": {}, + "compositePrimaryKeys": { + "index_persons_si_person_pk": { + "name": "index_persons_si_person_pk", + "columns": [ + "si", + "person" + ] + } + }, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.lent_tokens": { + "name": "lent_tokens", + "schema": "", + "columns": { + "repo_id": { + "name": "repo_id", + "type": "text", + "primaryKey": true, + "notNull": true + }, + "user_id": { + "name": "user_id", + "type": "text", + "primaryKey": false, + "notNull": true + }, + "token": { + "name": "token", + "type": "text", + "primaryKey": false, + "notNull": true + }, + "until": { + "name": "until", + "type": "bigint", + "primaryKey": false, + "notNull": true + } + }, + "indexes": {}, + "foreignKeys": { + "lent_tokens_repo_id_repositories_id_fk": { + "name": "lent_tokens_repo_id_repositories_id_fk", + "tableFrom": "lent_tokens", + "tableTo": "repositories", + "columnsFrom": [ + "repo_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + }, + "lent_tokens_user_id_user_id_fk": { + "name": "lent_tokens_user_id_user_id_fk", + "tableFrom": "lent_tokens", + "tableTo": "user", + "columnsFrom": [ + "user_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.people": { + "name": "people", + "schema": "", + "columns": { + "login": { + "name": "login", + "type": "text", + "primaryKey": true, + "notNull": true + }, + "user_id": { + "name": "user_id", + "type": "text", + "primaryKey": false, + "notNull": false + }, + "hidden": { + "name": "hidden", + "type": "boolean", + "primaryKey": false, + "notNull": true, + "default": false + }, + "name_private": { + "name": "name_private", + "type": "boolean", + "primaryKey": false, + "notNull": true, + "default": false + }, + "updated_at": { + "name": "updated_at", + "type": "bigint", + "primaryKey": false, + "notNull": true + } + }, + "indexes": { + "people_user": { + "name": "people_user", + "columns": [ + { + "expression": "user_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": { + "people_user_id_user_id_fk": { + "name": "people_user_id_user_id_fk", + "tableFrom": "people", + "tableTo": "user", + "columnsFrom": [ + "user_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.private_work": { + "name": "private_work", + "schema": "", + "columns": { + "login": { + "name": "login", + "type": "text", + "primaryKey": false, + "notNull": true + }, + "repo": { + "name": "repo", + "type": "text", + "primaryKey": false, + "notNull": true + }, + "show": { + "name": "show", + "type": "text", + "primaryKey": false, + "notNull": true + }, + "updated_at": { + "name": "updated_at", + "type": "bigint", + "primaryKey": false, + "notNull": true + } + }, + "indexes": {}, + "foreignKeys": {}, + "compositePrimaryKeys": { + "private_work_login_repo_pk": { + "name": "private_work_login_repo_pk", + "columns": [ + "login", + "repo" + ] + } + }, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.profiles": { + "name": "profiles", + "schema": "", + "columns": { + "login": { + "name": "login", + "type": "text", + "primaryKey": false, + "notNull": true + }, + "scope": { + "name": "scope", + "type": "text", + "primaryKey": false, + "notNull": true + }, + "github_id": { + "name": "github_id", + "type": "bigint", + "primaryKey": false, + "notNull": false + }, + "identity": { + "name": "identity", + "type": "text", + "primaryKey": false, + "notNull": true + }, + "identity_at": { + "name": "identity_at", + "type": "bigint", + "primaryKey": false, + "notNull": true + }, + "data": { + "name": "data", + "type": "text", + "primaryKey": false, + "notNull": false + }, + "raw": { + "name": "raw", + "type": "text", + "primaryKey": false, + "notNull": false + }, + "fetched_at": { + "name": "fetched_at", + "type": "bigint", + "primaryKey": false, + "notNull": false + } + }, + "indexes": { + "profiles_github_id": { + "name": "profiles_github_id", + "columns": [ + { + "expression": "github_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": {}, + "compositePrimaryKeys": { + "profiles_login_scope_pk": { + "name": "profiles_login_scope_pk", + "columns": [ + "login", + "scope" + ] + } + }, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.proofs": { + "name": "proofs", + "schema": "", + "columns": { + "id": { + "name": "id", + "type": "text", + "primaryKey": true, + "notNull": true + }, + "login": { + "name": "login", + "type": "text", + "primaryKey": false, + "notNull": true + }, + "user_id": { + "name": "user_id", + "type": "text", + "primaryKey": false, + "notNull": true + }, + "data": { + "name": "data", + "type": "text", + "primaryKey": false, + "notNull": true + }, + "created_at": { + "name": "created_at", + "type": "bigint", + "primaryKey": false, + "notNull": true + } + }, + "indexes": { + "proofs_login": { + "name": "proofs_login", + "columns": [ + { + "expression": "login", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": { + "proofs_user_id_user_id_fk": { + "name": "proofs_user_id_user_id_fk", + "tableFrom": "proofs", + "tableTo": "user", + "columnsFrom": [ + "user_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.pull_requests": { + "name": "pull_requests", + "schema": "", + "columns": { + "repo_id": { + "name": "repo_id", + "type": "text", + "primaryKey": false, + "notNull": true + }, + "number": { + "name": "number", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "author": { + "name": "author", + "type": "text", + "primaryKey": false, + "notNull": false + }, + "state": { + "name": "state", + "type": "text", + "primaryKey": false, + "notNull": true + }, + "title": { + "name": "title", + "type": "text", + "primaryKey": false, + "notNull": true + }, + "created_at": { + "name": "created_at", + "type": "bigint", + "primaryKey": false, + "notNull": true + }, + "merged_at": { + "name": "merged_at", + "type": "bigint", + "primaryKey": false, + "notNull": false + }, + "updated_at": { + "name": "updated_at", + "type": "bigint", + "primaryKey": false, + "notNull": true + }, + "additions": { + "name": "additions", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "deletions": { + "name": "deletions", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "head_ref": { + "name": "head_ref", + "type": "text", + "primaryKey": false, + "notNull": false + }, + "closed_at": { + "name": "closed_at", + "type": "bigint", + "primaryKey": false, + "notNull": false + }, + "merged_by": { + "name": "merged_by", + "type": "text", + "primaryKey": false, + "notNull": false + }, + "base_ref": { + "name": "base_ref", + "type": "text", + "primaryKey": false, + "notNull": false + }, + "draft": { + "name": "draft", + "type": "boolean", + "primaryKey": false, + "notNull": false + }, + "changed_files": { + "name": "changed_files", + "type": "integer", + "primaryKey": false, + "notNull": false + }, + "commits": { + "name": "commits", + "type": "integer", + "primaryKey": false, + "notNull": false + }, + "head_owner": { + "name": "head_owner", + "type": "text", + "primaryKey": false, + "notNull": false + }, + "from_fork": { + "name": "from_fork", + "type": "boolean", + "primaryKey": false, + "notNull": false + }, + "labels": { + "name": "labels", + "type": "jsonb", + "primaryKey": false, + "notNull": false + }, + "review_decision": { + "name": "review_decision", + "type": "text", + "primaryKey": false, + "notNull": false + }, + "merge_commit": { + "name": "merge_commit", + "type": "text", + "primaryKey": false, + "notNull": false + }, + "comments": { + "name": "comments", + "type": "integer", + "primaryKey": false, + "notNull": false + } + }, + "indexes": { + "pull_requests_head": { + "name": "pull_requests_head", + "columns": [ + { + "expression": "repo_id", + "isExpression": false, + "asc": true, + "nulls": "last" + }, + { + "expression": "head_ref", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": { + "pull_requests_repo_id_repositories_id_fk": { + "name": "pull_requests_repo_id_repositories_id_fk", + "tableFrom": "pull_requests", + "tableTo": "repositories", + "columnsFrom": [ + "repo_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": { + "pull_requests_repo_id_number_pk": { + "name": "pull_requests_repo_id_number_pk", + "columns": [ + "repo_id", + "number" + ] + } + }, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.pull_reviews": { + "name": "pull_reviews", + "schema": "", + "columns": { + "repo_id": { + "name": "repo_id", + "type": "text", + "primaryKey": false, + "notNull": true + }, + "number": { + "name": "number", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "reviewer": { + "name": "reviewer", + "type": "text", + "primaryKey": false, + "notNull": true + }, + "reviews": { + "name": "reviews", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "first_at": { + "name": "first_at", + "type": "bigint", + "primaryKey": false, + "notNull": true + }, + "last_at": { + "name": "last_at", + "type": "bigint", + "primaryKey": false, + "notNull": false + }, + "state": { + "name": "state", + "type": "text", + "primaryKey": false, + "notNull": false + }, + "approved_at": { + "name": "approved_at", + "type": "bigint", + "primaryKey": false, + "notNull": false + } + }, + "indexes": {}, + "foreignKeys": { + "pull_reviews_repo_id_repositories_id_fk": { + "name": "pull_reviews_repo_id_repositories_id_fk", + "tableFrom": "pull_reviews", + "tableTo": "repositories", + "columnsFrom": [ + "repo_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": { + "pull_reviews_repo_id_number_reviewer_pk": { + "name": "pull_reviews_repo_id_number_reviewer_pk", + "columns": [ + "repo_id", + "number", + "reviewer" + ] + } + }, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.rate_limits": { + "name": "rate_limits", + "schema": "", + "columns": { + "key": { + "name": "key", + "type": "text", + "primaryKey": true, + "notNull": true + }, + "count": { + "name": "count", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "until": { + "name": "until", + "type": "bigint", + "primaryKey": false, + "notNull": true + } + }, + "indexes": {}, + "foreignKeys": {}, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.repo_blobs": { + "name": "repo_blobs", + "schema": "", + "columns": { + "repo_id": { + "name": "repo_id", + "type": "text", + "primaryKey": false, + "notNull": true + }, + "sha": { + "name": "sha", + "type": "text", + "primaryKey": false, + "notNull": true + }, + "lines": { + "name": "lines", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "binary": { + "name": "binary", + "type": "boolean", + "primaryKey": false, + "notNull": true + } + }, + "indexes": {}, + "foreignKeys": { + "repo_blobs_repo_id_repositories_id_fk": { + "name": "repo_blobs_repo_id_repositories_id_fk", + "tableFrom": "repo_blobs", + "tableTo": "repositories", + "columnsFrom": [ + "repo_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": { + "repo_blobs_repo_id_sha_pk": { + "name": "repo_blobs_repo_id_sha_pk", + "columns": [ + "repo_id", + "sha" + ] + } + }, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.repo_branch_details": { + "name": "repo_branch_details", + "schema": "", + "columns": { + "repo_id": { + "name": "repo_id", + "type": "text", + "primaryKey": false, + "notNull": true + }, + "position": { + "name": "position", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "against": { + "name": "against", + "type": "text", + "primaryKey": false, + "notNull": true + }, + "commits": { + "name": "commits", + "type": "jsonb", + "primaryKey": false, + "notNull": true + }, + "commits_total": { + "name": "commits_total", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "files": { + "name": "files", + "type": "jsonb", + "primaryKey": false, + "notNull": true + }, + "files_total": { + "name": "files_total", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "added": { + "name": "added", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "removed": { + "name": "removed", + "type": "integer", + "primaryKey": false, + "notNull": true + } + }, + "indexes": {}, + "foreignKeys": { + "repo_branch_details_repo_id_repositories_id_fk": { + "name": "repo_branch_details_repo_id_repositories_id_fk", + "tableFrom": "repo_branch_details", + "tableTo": "repositories", + "columnsFrom": [ + "repo_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": { + "repo_branch_details_repo_id_position_pk": { + "name": "repo_branch_details_repo_id_position_pk", + "columns": [ + "repo_id", + "position" + ] + } + }, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.repo_branches": { + "name": "repo_branches", + "schema": "", + "columns": { + "repo_id": { + "name": "repo_id", + "type": "text", + "primaryKey": false, + "notNull": true + }, + "position": { + "name": "position", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "name": { + "name": "name", + "type": "text", + "primaryKey": false, + "notNull": true + }, + "sha": { + "name": "sha", + "type": "text", + "primaryKey": false, + "notNull": true + }, + "at": { + "name": "at", + "type": "bigint", + "primaryKey": false, + "notNull": true + }, + "author": { + "name": "author", + "type": "text", + "primaryKey": false, + "notNull": true + }, + "login": { + "name": "login", + "type": "text", + "primaryKey": false, + "notNull": false + }, + "subject": { + "name": "subject", + "type": "text", + "primaryKey": false, + "notNull": true + }, + "ahead": { + "name": "ahead", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "behind": { + "name": "behind", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "base": { + "name": "base", + "type": "text", + "primaryKey": false, + "notNull": true + }, + "base_at": { + "name": "base_at", + "type": "bigint", + "primaryKey": false, + "notNull": true + }, + "merged": { + "name": "merged", + "type": "boolean", + "primaryKey": false, + "notNull": true + }, + "squashed": { + "name": "squashed", + "type": "boolean", + "primaryKey": false, + "notNull": true, + "default": false + }, + "parent": { + "name": "parent", + "type": "text", + "primaryKey": false, + "notNull": false + }, + "shared": { + "name": "shared", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "bot": { + "name": "bot", + "type": "boolean", + "primaryKey": false, + "notNull": true, + "default": false + } + }, + "indexes": {}, + "foreignKeys": { + "repo_branches_repo_id_repositories_id_fk": { + "name": "repo_branches_repo_id_repositories_id_fk", + "tableFrom": "repo_branches", + "tableTo": "repositories", + "columnsFrom": [ + "repo_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": { + "repo_branches_repo_id_position_pk": { + "name": "repo_branches_repo_id_position_pk", + "columns": [ + "repo_id", + "position" + ] + } + }, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.repo_events": { + "name": "repo_events", + "schema": "", + "columns": { + "id": { + "name": "id", + "type": "text", + "primaryKey": true, + "notNull": true + }, + "repo_id": { + "name": "repo_id", + "type": "text", + "primaryKey": false, + "notNull": true + }, + "kind": { + "name": "kind", + "type": "text", + "primaryKey": false, + "notNull": true + }, + "actor": { + "name": "actor", + "type": "text", + "primaryKey": false, + "notNull": false + }, + "title": { + "name": "title", + "type": "text", + "primaryKey": false, + "notNull": false + }, + "url": { + "name": "url", + "type": "text", + "primaryKey": false, + "notNull": false + }, + "count": { + "name": "count", + "type": "integer", + "primaryKey": false, + "notNull": false + }, + "at": { + "name": "at", + "type": "bigint", + "primaryKey": false, + "notNull": true + } + }, + "indexes": { + "repo_events_repo_at": { + "name": "repo_events_repo_at", + "columns": [ + { + "expression": "repo_id", + "isExpression": false, + "asc": true, + "nulls": "last" + }, + { + "expression": "at", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": { + "repo_events_repo_id_repositories_id_fk": { + "name": "repo_events_repo_id_repositories_id_fk", + "tableFrom": "repo_events", + "tableTo": "repositories", + "columnsFrom": [ + "repo_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.repo_git": { + "name": "repo_git", + "schema": "", + "columns": { + "repo_id": { + "name": "repo_id", + "type": "text", + "primaryKey": true, + "notNull": true + }, + "prefix": { + "name": "prefix", + "type": "text", + "primaryKey": false, + "notNull": true + }, + "build_id": { + "name": "build_id", + "type": "text", + "primaryKey": false, + "notNull": true + }, + "built_at": { + "name": "built_at", + "type": "bigint", + "primaryKey": false, + "notNull": true + }, + "head": { + "name": "head", + "type": "text", + "primaryKey": false, + "notNull": true + }, + "branch": { + "name": "branch", + "type": "text", + "primaryKey": false, + "notNull": true + }, + "branches": { + "name": "branches", + "type": "integer", + "primaryKey": false, + "notNull": true, + "default": 0 + }, + "tags": { + "name": "tags", + "type": "integer", + "primaryKey": false, + "notNull": true, + "default": 0 + }, + "files": { + "name": "files", + "type": "integer", + "primaryKey": false, + "notNull": true, + "default": 0 + }, + "stored": { + "name": "stored", + "type": "integer", + "primaryKey": false, + "notNull": true, + "default": 0 + }, + "pulls": { + "name": "pulls", + "type": "integer", + "primaryKey": false, + "notNull": true, + "default": 0 + }, + "bytes": { + "name": "bytes", + "type": "bigint", + "primaryKey": false, + "notNull": true, + "default": 0 + }, + "logged": { + "name": "logged", + "type": "integer", + "primaryKey": false, + "notNull": true, + "default": 0 + }, + "complete": { + "name": "complete", + "type": "boolean", + "primaryKey": false, + "notNull": true, + "default": false + }, + "seconds": { + "name": "seconds", + "type": "real", + "primaryKey": false, + "notNull": true, + "default": 0 + }, + "steps": { + "name": "steps", + "type": "text", + "primaryKey": false, + "notNull": true, + "default": "'[]'" + }, + "branches_total": { + "name": "branches_total", + "type": "integer", + "primaryKey": false, + "notNull": true, + "default": 0 + }, + "tags_total": { + "name": "tags_total", + "type": "integer", + "primaryKey": false, + "notNull": true, + "default": 0 + }, + "inferred": { + "name": "inferred", + "type": "boolean", + "primaryKey": false, + "notNull": true, + "default": false + } + }, + "indexes": {}, + "foreignKeys": { + "repo_git_repo_id_repositories_id_fk": { + "name": "repo_git_repo_id_repositories_id_fk", + "tableFrom": "repo_git", + "tableTo": "repositories", + "columnsFrom": [ + "repo_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.repo_names": { + "name": "repo_names", + "schema": "", + "columns": { + "id": { + "name": "id", + "type": "text", + "primaryKey": true, + "notNull": true + }, + "repo_id": { + "name": "repo_id", + "type": "text", + "primaryKey": false, + "notNull": true + }, + "at": { + "name": "at", + "type": "bigint", + "primaryKey": false, + "notNull": true + } + }, + "indexes": { + "repo_names_repo": { + "name": "repo_names_repo", + "columns": [ + { + "expression": "repo_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": { + "repo_names_repo_id_repositories_id_fk": { + "name": "repo_names_repo_id_repositories_id_fk", + "tableFrom": "repo_names", + "tableTo": "repositories", + "columnsFrom": [ + "repo_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.repo_people": { + "name": "repo_people", + "schema": "", + "columns": { + "repo_id": { + "name": "repo_id", + "type": "text", + "primaryKey": false, + "notNull": true + }, + "person_id": { + "name": "person_id", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "name": { + "name": "name", + "type": "text", + "primaryKey": false, + "notNull": true + }, + "login": { + "name": "login", + "type": "text", + "primaryKey": false, + "notNull": false + }, + "commits": { + "name": "commits", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "lines_added": { + "name": "lines_added", + "type": "integer", + "primaryKey": false, + "notNull": false + }, + "lines_removed": { + "name": "lines_removed", + "type": "integer", + "primaryKey": false, + "notNull": false + }, + "first": { + "name": "first", + "type": "bigint", + "primaryKey": false, + "notNull": false + }, + "last": { + "name": "last", + "type": "bigint", + "primaryKey": false, + "notNull": false + }, + "report_key": { + "name": "report_key", + "type": "text", + "primaryKey": false, + "notNull": true + } + }, + "indexes": { + "repo_people_lower_login": { + "name": "repo_people_lower_login", + "columns": [ + { + "expression": "lower(\"login\")", + "asc": true, + "isExpression": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": { + "repo_people_repo_id_repositories_id_fk": { + "name": "repo_people_repo_id_repositories_id_fk", + "tableFrom": "repo_people", + "tableTo": "repositories", + "columnsFrom": [ + "repo_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": { + "repo_people_repo_id_person_id_pk": { + "name": "repo_people_repo_id_person_id_pk", + "columns": [ + "repo_id", + "person_id" + ] + } + }, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.repo_states": { + "name": "repo_states", + "schema": "", + "columns": { + "repo_id": { + "name": "repo_id", + "type": "text", + "primaryKey": true, + "notNull": true + }, + "saved_at": { + "name": "saved_at", + "type": "bigint", + "primaryKey": false, + "notNull": true + }, + "used_at": { + "name": "used_at", + "type": "bigint", + "primaryKey": false, + "notNull": true + }, + "bytes": { + "name": "bytes", + "type": "bigint", + "primaryKey": false, + "notNull": true + } + }, + "indexes": { + "repo_states_used": { + "name": "repo_states_used", + "columns": [ + { + "expression": "used_at", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": {}, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.repo_tags": { + "name": "repo_tags", + "schema": "", + "columns": { + "repo_id": { + "name": "repo_id", + "type": "text", + "primaryKey": false, + "notNull": true + }, + "position": { + "name": "position", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "name": { + "name": "name", + "type": "text", + "primaryKey": false, + "notNull": true + }, + "sha": { + "name": "sha", + "type": "text", + "primaryKey": false, + "notNull": true + }, + "at": { + "name": "at", + "type": "bigint", + "primaryKey": false, + "notNull": true + } + }, + "indexes": {}, + "foreignKeys": { + "repo_tags_repo_id_repositories_id_fk": { + "name": "repo_tags_repo_id_repositories_id_fk", + "tableFrom": "repo_tags", + "tableTo": "repositories", + "columnsFrom": [ + "repo_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": { + "repo_tags_repo_id_position_pk": { + "name": "repo_tags_repo_id_position_pk", + "columns": [ + "repo_id", + "position" + ] + } + }, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.repositories": { + "name": "repositories", + "schema": "", + "columns": { + "id": { + "name": "id", + "type": "text", + "primaryKey": true, + "notNull": true + }, + "owner": { + "name": "owner", + "type": "text", + "primaryKey": false, + "notNull": true + }, + "name": { + "name": "name", + "type": "text", + "primaryKey": false, + "notNull": true + }, + "github_id": { + "name": "github_id", + "type": "bigint", + "primaryKey": false, + "notNull": false + }, + "private": { + "name": "private", + "type": "boolean", + "primaryKey": false, + "notNull": true, + "default": false + }, + "status": { + "name": "status", + "type": "text", + "primaryKey": false, + "notNull": true, + "default": "'ok'" + }, + "facts": { + "name": "facts", + "type": "text", + "primaryKey": false, + "notNull": false + }, + "facts_at": { + "name": "facts_at", + "type": "bigint", + "primaryKey": false, + "notNull": false + }, + "size_kb": { + "name": "size_kb", + "type": "integer", + "primaryKey": false, + "notNull": false + }, + "report_key": { + "name": "report_key", + "type": "text", + "primaryKey": false, + "notNull": false + }, + "report_at": { + "name": "report_at", + "type": "bigint", + "primaryKey": false, + "notNull": false + }, + "report_bytes": { + "name": "report_bytes", + "type": "integer", + "primaryKey": false, + "notNull": false + }, + "report_lines": { + "name": "report_lines", + "type": "boolean", + "primaryKey": false, + "notNull": false + }, + "viewed_at": { + "name": "viewed_at", + "type": "bigint", + "primaryKey": false, + "notNull": false + }, + "checked_at": { + "name": "checked_at", + "type": "bigint", + "primaryKey": false, + "notNull": false + }, + "installation_id": { + "name": "installation_id", + "type": "bigint", + "primaryKey": false, + "notNull": false + }, + "connected_by": { + "name": "connected_by", + "type": "text", + "primaryKey": false, + "notNull": false + }, + "seed": { + "name": "seed", + "type": "boolean", + "primaryKey": false, + "notNull": true, + "default": false + }, + "language": { + "name": "language", + "type": "text", + "primaryKey": false, + "notNull": false + }, + "stars": { + "name": "stars", + "type": "integer", + "primaryKey": false, + "notNull": false + }, + "bus_factor": { + "name": "bus_factor", + "type": "integer", + "primaryKey": false, + "notNull": false + }, + "maintainers": { + "name": "maintainers", + "type": "integer", + "primaryKey": false, + "notNull": false + }, + "commits_30d": { + "name": "commits_30d", + "type": "integer", + "primaryKey": false, + "notNull": false + }, + "code_lines": { + "name": "code_lines", + "type": "integer", + "primaryKey": false, + "notNull": false + }, + "pulls_at": { + "name": "pulls_at", + "type": "text", + "primaryKey": false, + "notNull": false + }, + "pulls_read_at": { + "name": "pulls_read_at", + "type": "bigint", + "primaryKey": false, + "notNull": false + }, + "pulls_cursor": { + "name": "pulls_cursor", + "type": "text", + "primaryKey": false, + "notNull": false + }, + "pulls_mark": { + "name": "pulls_mark", + "type": "text", + "primaryKey": false, + "notNull": false + }, + "pulls_version": { + "name": "pulls_version", + "type": "integer", + "primaryKey": false, + "notNull": true, + "default": 0 + }, + "index_id": { + "name": "index_id", + "type": "integer", + "primaryKey": false, + "notNull": false + }, + "report_meta": { + "name": "report_meta", + "type": "jsonb", + "primaryKey": false, + "notNull": false + }, + "report_stats": { + "name": "report_stats", + "type": "jsonb", + "primaryKey": false, + "notNull": false + } + }, + "indexes": { + "repositories_installation": { + "name": "repositories_installation", + "columns": [ + { + "expression": "installation_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "repositories_seed": { + "name": "repositories_seed", + "columns": [ + { + "expression": "seed", + "isExpression": false, + "asc": true, + "nulls": "last" + }, + { + "expression": "report_at", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "repositories_github_id": { + "name": "repositories_github_id", + "columns": [ + { + "expression": "github_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": { + "repositories_connected_by_user_id_fk": { + "name": "repositories_connected_by_user_id_fk", + "tableFrom": "repositories", + "tableTo": "user", + "columnsFrom": [ + "connected_by" + ], + "columnsTo": [ + "id" + ], + "onDelete": "set null", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.session": { + "name": "session", + "schema": "", + "columns": { + "id": { + "name": "id", + "type": "text", + "primaryKey": true, + "notNull": true + }, + "expires_at": { + "name": "expires_at", + "type": "timestamp", + "primaryKey": false, + "notNull": true + }, + "token": { + "name": "token", + "type": "text", + "primaryKey": false, + "notNull": true + }, + "created_at": { + "name": "created_at", + "type": "timestamp", + "primaryKey": false, + "notNull": true, + "default": "now()" + }, + "updated_at": { + "name": "updated_at", + "type": "timestamp", + "primaryKey": false, + "notNull": true + }, + "ip_address": { + "name": "ip_address", + "type": "text", + "primaryKey": false, + "notNull": false + }, + "user_agent": { + "name": "user_agent", + "type": "text", + "primaryKey": false, + "notNull": false + }, + "user_id": { + "name": "user_id", + "type": "text", + "primaryKey": false, + "notNull": true + } + }, + "indexes": { + "session_user_id": { + "name": "session_user_id", + "columns": [ + { + "expression": "user_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": { + "session_user_id_user_id_fk": { + "name": "session_user_id_user_id_fk", + "tableFrom": "session", + "tableTo": "user", + "columnsFrom": [ + "user_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": { + "session_token_unique": { + "name": "session_token_unique", + "nullsNotDistinct": false, + "columns": [ + "token" + ] + } + }, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.shares": { + "name": "shares", + "schema": "", + "columns": { + "id": { + "name": "id", + "type": "text", + "primaryKey": true, + "notNull": true + }, + "bytes": { + "name": "bytes", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "created_at": { + "name": "created_at", + "type": "bigint", + "primaryKey": false, + "notNull": true + }, + "expires_at": { + "name": "expires_at", + "type": "bigint", + "primaryKey": false, + "notNull": true + }, + "delete_hash": { + "name": "delete_hash", + "type": "text", + "primaryKey": false, + "notNull": true + }, + "upload_hash": { + "name": "upload_hash", + "type": "text", + "primaryKey": false, + "notNull": false + }, + "uploaded": { + "name": "uploaded", + "type": "boolean", + "primaryKey": false, + "notNull": true, + "default": false + } + }, + "indexes": { + "shares_expires": { + "name": "shares_expires", + "columns": [ + { + "expression": "expires_at", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": {}, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.stored_indexes": { + "name": "stored_indexes", + "schema": "", + "columns": { + "id": { + "name": "id", + "type": "serial", + "primaryKey": true, + "notNull": true + }, + "repo_id": { + "name": "repo_id", + "type": "text", + "primaryKey": false, + "notNull": true + }, + "lineage": { + "name": "lineage", + "type": "text", + "primaryKey": false, + "notNull": true + }, + "kept": { + "name": "kept", + "type": "boolean", + "primaryKey": false, + "notNull": true + }, + "state": { + "name": "state", + "type": "text", + "primaryKey": false, + "notNull": true + }, + "head": { + "name": "head", + "type": "text", + "primaryKey": false, + "notNull": false + }, + "frontier": { + "name": "frontier", + "type": "text[]", + "primaryKey": false, + "notNull": true, + "default": "'{}'" + }, + "lines": { + "name": "lines", + "type": "boolean", + "primaryKey": false, + "notNull": true + }, + "lines_left": { + "name": "lines_left", + "type": "integer", + "primaryKey": false, + "notNull": false + }, + "commits": { + "name": "commits", + "type": "integer", + "primaryKey": false, + "notNull": true, + "default": 0 + }, + "built_at": { + "name": "built_at", + "type": "bigint", + "primaryKey": false, + "notNull": true + }, + "loaded_at": { + "name": "loaded_at", + "type": "bigint", + "primaryKey": false, + "notNull": false + }, + "anchor": { + "name": "anchor", + "type": "bigint", + "primaryKey": false, + "notNull": true, + "default": 0 + }, + "options": { + "name": "options", + "type": "jsonb", + "primaryKey": false, + "notNull": true, + "default": "'{\"max_changeset_size\":50,\"coupling_support\":5,\"ownership_min_commits\":10}'::jsonb" + }, + "snapshot": { + "name": "snapshot", + "type": "jsonb", + "primaryKey": false, + "notNull": false + }, + "pack": { + "name": "pack", + "type": "text", + "primaryKey": false, + "notNull": false + }, + "mark": { + "name": "mark", + "type": "text", + "primaryKey": false, + "notNull": false + } + }, + "indexes": { + "stored_indexes_repo": { + "name": "stored_indexes_repo", + "columns": [ + { + "expression": "repo_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": { + "stored_indexes_repo_id_repositories_id_fk": { + "name": "stored_indexes_repo_id_repositories_id_fk", + "tableFrom": "stored_indexes", + "tableTo": "repositories", + "columnsFrom": [ + "repo_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.surviving": { + "name": "surviving", + "schema": "", + "columns": { + "repo_id": { + "name": "repo_id", + "type": "text", + "primaryKey": false, + "notNull": true + }, + "report_key": { + "name": "report_key", + "type": "text", + "primaryKey": false, + "notNull": true + }, + "person_id": { + "name": "person_id", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "status": { + "name": "status", + "type": "text", + "primaryKey": false, + "notNull": true + }, + "lines": { + "name": "lines", + "type": "integer", + "primaryKey": false, + "notNull": false + }, + "added": { + "name": "added", + "type": "integer", + "primaryKey": false, + "notNull": false + }, + "files": { + "name": "files", + "type": "integer", + "primaryKey": false, + "notNull": false + }, + "seconds": { + "name": "seconds", + "type": "real", + "primaryKey": false, + "notNull": false + }, + "head": { + "name": "head", + "type": "text", + "primaryKey": false, + "notNull": false + }, + "oldest": { + "name": "oldest", + "type": "bigint", + "primaryKey": false, + "notNull": false + }, + "asked_at": { + "name": "asked_at", + "type": "bigint", + "primaryKey": false, + "notNull": true + }, + "counted_at": { + "name": "counted_at", + "type": "bigint", + "primaryKey": false, + "notNull": false + } + }, + "indexes": { + "surviving_status": { + "name": "surviving_status", + "columns": [ + { + "expression": "status", + "isExpression": false, + "asc": true, + "nulls": "last" + }, + { + "expression": "asked_at", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": { + "surviving_repo_id_repositories_id_fk": { + "name": "surviving_repo_id_repositories_id_fk", + "tableFrom": "surviving", + "tableTo": "repositories", + "columnsFrom": [ + "repo_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": { + "surviving_repo_id_report_key_person_id_pk": { + "name": "surviving_repo_id_report_key_person_id_pk", + "columns": [ + "repo_id", + "report_key", + "person_id" + ] + } + }, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.user": { + "name": "user", + "schema": "", + "columns": { + "id": { + "name": "id", + "type": "text", + "primaryKey": true, + "notNull": true + }, + "name": { + "name": "name", + "type": "text", + "primaryKey": false, + "notNull": true + }, + "email": { + "name": "email", + "type": "text", + "primaryKey": false, + "notNull": true + }, + "email_verified": { + "name": "email_verified", + "type": "boolean", + "primaryKey": false, + "notNull": true, + "default": false + }, + "image": { + "name": "image", + "type": "text", + "primaryKey": false, + "notNull": false + }, + "login": { + "name": "login", + "type": "text", + "primaryKey": false, + "notNull": false + }, + "created_at": { + "name": "created_at", + "type": "timestamp", + "primaryKey": false, + "notNull": true, + "default": "now()" + }, + "updated_at": { + "name": "updated_at", + "type": "timestamp", + "primaryKey": false, + "notNull": true, + "default": "now()" + } + }, + "indexes": {}, + "foreignKeys": {}, + "compositePrimaryKeys": {}, + "uniqueConstraints": { + "user_email_unique": { + "name": "user_email_unique", + "nullsNotDistinct": false, + "columns": [ + "email" + ] + } + }, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.verification": { + "name": "verification", + "schema": "", + "columns": { + "id": { + "name": "id", + "type": "text", + "primaryKey": true, + "notNull": true + }, + "identifier": { + "name": "identifier", + "type": "text", + "primaryKey": false, + "notNull": true + }, + "value": { + "name": "value", + "type": "text", + "primaryKey": false, + "notNull": true + }, + "expires_at": { + "name": "expires_at", + "type": "timestamp", + "primaryKey": false, + "notNull": true + }, + "created_at": { + "name": "created_at", + "type": "timestamp", + "primaryKey": false, + "notNull": true, + "default": "now()" + }, + "updated_at": { + "name": "updated_at", + "type": "timestamp", + "primaryKey": false, + "notNull": true, + "default": "now()" + } + }, + "indexes": { + "verification_identifier": { + "name": "verification_identifier", + "columns": [ + { + "expression": "identifier", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": {}, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + } + }, + "enums": {}, + "schemas": {}, + "sequences": {}, + "roles": {}, + "policies": {}, + "views": {}, + "_meta": { + "columns": {}, + "schemas": {}, + "tables": {} + } +} \ No newline at end of file diff --git a/packages/server/drizzle/meta/_journal.json b/packages/server/drizzle/meta/_journal.json index 0749b93..95ec609 100644 --- a/packages/server/drizzle/meta/_journal.json +++ b/packages/server/drizzle/meta/_journal.json @@ -267,6 +267,13 @@ "when": 1793054760824, "tag": "0037_petite_jamie_braddock", "breakpoints": true + }, + { + "idx": 38, + "version": "7", + "when": 1793057917865, + "tag": "0038_whole_unus", + "breakpoints": true } ] } \ No newline at end of file diff --git a/packages/server/src/db/schema.ts b/packages/server/src/db/schema.ts index e17ac95..1bc1d8f 100644 --- a/packages/server/src/db/schema.ts +++ b/packages/server/src/db/schema.ts @@ -473,6 +473,17 @@ export type IndexSnapshot = { release_shas?: Record; }; +export const repoStates = pgTable( + "repo_states", + { + repoId: text("repo_id").primaryKey(), + savedAt: seconds("saved_at").notNull(), + usedAt: seconds("used_at").notNull(), + bytes: bigint("bytes", { mode: "number" }).notNull(), + }, + (t) => [index("repo_states_used").on(t.usedAt)], +); + export const storedIndexes = pgTable( "stored_indexes", { From 3fdedbe82e575128269e258703f61ffea549ca4a Mon Sep 17 00:00:00 2001 From: Dev Talan <84081651+devchaudhary24k@users.noreply.github.com> Date: Tue, 27 Oct 2026 05:40:29 +0530 Subject: [PATCH 11/82] feat: count everyone's Surviving Lines from the head's ownership of lines Surviving Lines were blamed person by person, for the 30 people with most commits of each seed head and for anyone asked for, nothing kept from one head to the next: on linux 1.7-2.1 GB and 60 s a person, most over budget. The engine now works out the head's Ownership of lines: which commit each line of each Source file came from, as blame says. The walk is blame's own (the same diffs, renames, merges and lines passed through), also tracking where each line sits at the head. It is kept in the cache as runs of lines and carried from head to head: when the new head went forward along its first-parent line, a file whose path no first-parent commit since changed keeps its ownership as it was, which is what blame would give, and every other walk stops wherever it reaches the earlier head with a file it knows. Cut short by its budget it keeps what it finished and the next run goes on. Everyone's Surviving Lines are then a sum over it, with the files each person changed or that flowed from them, exactly as the per-person count chooses them. `commitscape surviving --everyone` does this. The Builder queues one count for everyone after each new Report and marks its people counting; a person asked for on the Site runs the same count. Today's blame stays the referee: a test compares everyone's counts with blame person by person on scripted histories (overwrites, renames, bulk and ignored commits, merges, a file changed and changed back between heads), on every fixture, and, set up with COMMITSCAPE_ORACLE_REPO, on a real repository: react, 1,997 people, 827,110 lines, the same. react on 2 cores: today the 30 seeds' people take 12.4 s, 20.3 CPU-s and 652 MB in one run; everyone (1,997 people) from nothing 18.5 s, 25.3 CPU-s, 508 MB; a head 20 commits later 0.3 s and 71 MB; the same head 0.19 s. The ownership file is 4 MB. --- CONTEXT.md | 6 +- DEPLOY.md | 2 +- apps/builder/src/job.test.ts | 14 +- apps/builder/src/job.ts | 24 +- apps/builder/src/main.ts | 6 +- apps/builder/src/survival.test.ts | 92 ++-- apps/builder/src/survival.ts | 64 ++- crates/commitscape-index/src/blame.rs | 16 +- crates/commitscape-index/src/lib.rs | 1 + crates/commitscape-index/src/ownership.rs | 581 ++++++++++++++++++++ crates/commitscape-index/src/surviving.rs | 440 ++++++++++++++- crates/commitscape-index/tests/ownership.rs | 92 ++++ crates/commitscape/src/surviving.rs | 65 ++- docs/working.md | 15 +- packages/server/src/queue.ts | 4 +- 15 files changed, 1291 insertions(+), 131 deletions(-) create mode 100644 crates/commitscape-index/src/ownership.rs create mode 100644 crates/commitscape-index/tests/ownership.rs diff --git a/CONTEXT.md b/CONTEXT.md index 7cb2e86..4c2a75b 100644 --- a/CONTEXT.md +++ b/CONTEXT.md @@ -223,9 +223,13 @@ Said of a Profile whose person chose to stay out of comparisons: it appears in n _Avoid_: private profile, opted out. **Surviving Lines**: -The lines at a repository's head that blame attributes to a person, passing through Bulk Commits and ignored revisions, leaving out Generated Files, Prose Files and files over a megabyte (ADR-0022). Passing through gives a changed line to the commit before only when the two are the same once whitespace is removed; any other line a reformat changed stays with the reformat. Counted per person on request; "not counted" when over its time budget, never an estimate. +The lines at a repository's head that blame attributes to a person, passing through Bulk Commits and ignored revisions, leaving out Generated Files, Prose Files and files over a megabyte (ADR-0022). Passing through gives a changed line to the commit before only when the two are the same once whitespace is removed; any other line a reformat changed stays with the reformat. Counted for everyone at once, once per head, as a sum over the head's Ownership of lines; "counting" until that is whole, "not counted" when it is over its time budget, never an estimate. _Avoid_: lines owned, code alive, impact. +**Ownership of lines**: +Which commit each line of a head's Source files came from, as blame says, kept per head in the Repo State as runs of lines. A new head that went forward along the first-parent line keeps it for every file whose path no first-parent commit since changed, and works out the rest, stopping wherever a walk reaches the earlier head. Surviving Lines are summed from it. Not to be confused with Ownership, which counts commits. +_Avoid_: blame cache, attribution. + **Survival**: A person's Surviving Lines as a share of the lines they added in that repository (their Lines Changed). Shown only when both are known and it is at most 100%: an import left out of Lines Changed as a Bulk Commit can keep more lines than were counted as added. _Avoid_: retention, survival rate, code quality. diff --git a/DEPLOY.md b/DEPLOY.md index 0398b97..d2d287f 100644 --- a/DEPLOY.md +++ b/DEPLOY.md @@ -209,7 +209,7 @@ Optional, with their defaults: | `STATE_KEY` | unset | A secret of 32 characters or more that only the Builder holds. Set, every public repository's Repo State (its engine cache) is also kept in R2 under `state/`, sealed with a key made from it (AES-256-GCM, zstd), uploading only the chunks R2 does not hold yet; a Build whose disk lost the State brings it back instead of reading the whole history again. Unset, States live on the disk only, as before. Keep it: a new key makes every State in R2 unreadable, and those Builds start clean | | `STATE_DISK_DAYS` | 7 | With `STATE_KEY` set, a State unused for this many days leaves the disk even within `CACHE_BUDGET_GB` (R2 still holds it) | | `STATE_KEEP_DAYS` | 180 | With `STATE_KEY` set, a State no Build has used for this many days is deleted from R2, checked once a day | -| `SURVIVING_BUDGET_SECONDS` | 60 | How long one count of a person's Surviving Lines may take at first. A count past it is queued again with twice the budget, up to four hours, and goes on from the files it counted | +| `SURVIVING_BUDGET_SECONDS` | 60 | How long one count of everyone's Surviving Lines may spend working out the head's Ownership of lines at first. A count past it keeps what it did and is queued again with twice the budget, up to four hours, going on from there. Each new Report queues one, after its full publish | | `PULLS_TIME_LIMIT_SECONDS` | 1800 | How long one read of a repository's pull requests may take; a first read past it goes on from where it stopped a minute later | | `GIT_DATA` | true | Once a Build's full clone is ready, read the repository's branches, files and pull requests from it with git, beside the line pass, for the Code, Branches and Pull requests screens. They cost no GitHub request; each step fails on its own and leaves the Report published | | `GIT_TIME_LIMIT_SECONDS` | 300 | How long all of it may take; branches get up to a fifth, files up to four fifths of what is left, pull requests the rest. A Build's job limit grows by this | diff --git a/apps/builder/src/job.test.ts b/apps/builder/src/job.test.ts index 2a2c20d..acf2bf2 100644 --- a/apps/builder/src/job.test.ts +++ b/apps/builder/src/job.test.ts @@ -461,23 +461,19 @@ test("a public repository is cloned without the token lent for its Build, so a r expect(envs.some((e) => Object.values(e).some((v) => typeof v === "string" && v.includes(Buffer.from("x-access-token:ghu_lent").toString("base64"))))).toBe(false); }); -test("a seed repository's Build asks for the Surviving Lines of its people with most commits, bots and people with no login left out", async () => { +test("a Build that publishes a new Report asks for everyone's Surviving Lines once, and one that keeps its Report asks for nothing", async () => { const db = await database(); - const people = [fakePerson(1, "bot[bot]", 900), fakePerson(2, null, 800), ...Array.from({ length: 34 }, (_, i) => fakePerson(10 + i, `p${i}`, 100 - i))]; const asked: SurvivalJob[] = []; - const ctx = await context(db, { queueCounts: async (job) => void asked.push(job) }, { people }); + const ctx = await context(db, { queueCounts: async (job) => void asked.push(job) }); await db.insert(repositories).values({ id: "acme/seed", owner: "acme", name: "seed", sizeKb: 10, seed: true }); await db.insert(builds).values({ id: "b3", repoId: "acme/seed", state: "queued", requestedAt: 1 }); await runJob("b3", ctx); - expect(asked.map((j) => j.personIds.length)).toEqual([10, 10, 10]); - expect(asked.flatMap((j) => j.personIds)).toEqual(Array.from({ length: 30 }, (_, i) => 10 + i)); - expect(asked.every((j) => j.reportKey === "reports/gh/acme/seed/b3")).toBe(true); - expect(await db.select({ status: surviving.status }).from(surviving)).toHaveLength(30); - + expect(asked).toEqual([{ repoId: "acme/seed", reportKey: "reports/gh/acme/seed/b3", personIds: [], everyone: true }]); + expect((await db.select().from(surviving)).map((r) => [r.personId, r.status, r.reportKey])).toEqual([[1, "queued", "reports/gh/acme/seed/b3"]]); await db.insert(repositories).values({ id: "acme/other", owner: "acme", name: "other", sizeKb: 10 }); await db.insert(builds).values({ id: "b4", repoId: "acme/other", state: "queued", requestedAt: 1 }); await runJob("b4", ctx); - expect(asked).toHaveLength(3); + expect(asked.map((j) => j.repoId)).toEqual(["acme/seed", "acme/other"]); }); test("a Build past its time limit is queued again to go on from the lines it counted, until its last attempt fails", async () => { diff --git a/apps/builder/src/job.ts b/apps/builder/src/job.ts index f03d62a..db8c480 100644 --- a/apps/builder/src/job.ts +++ b/apps/builder/src/job.ts @@ -36,8 +36,6 @@ import { storeAtlas } from "./universe"; const { builds, repoPeople, repositories, storedIndexes, surviving } = schema; -export const SEED_COUNTED = 30; -const COUNTED_AT_ONCE = 10; export const MORE_LINES_MAX = 3; export const MORE_LINES_AFTER = 60; @@ -58,6 +56,7 @@ export type JobContext = { telemetry?: Telemetry; queuePulls?: (repoId: string) => Promise; queueCounts?: (job: SurvivalJob) => Promise; + saveState?: (repoId: string, root: string) => Promise; queueBuild?: (job: BuildJob & { attempt: number }, priority: number, startAfter?: number) => Promise; }; @@ -141,7 +140,7 @@ async function claimedJob(buildId: string, ctx: JobContext, attempt: number, ask pullsQueued = true; await ctx.queuePulls?.(target.id).catch((e: unknown) => log(`pulls for ${target.id} not queued: ${(e as Error).message}`)); } - if (made.phase === "full" && repo.seed && target.fresh) await queueSeedCounts(ctx, target.id, target.prefix, target.people).catch((e: unknown) => log(`counts for ${target.id} not queued: ${(e as Error).message}`)); + if (made.phase === "full" && target.fresh) await queueEveryone(ctx, target.id, target.prefix, target.people).catch((e: unknown) => log(`counts for ${target.id} not queued: ${(e as Error).message}`)); log(`build ${buildId} ${target.id}: ${made.phase} Report published after ${at.toFixed(1)} s, built in ${made.seconds} s`); return true; }; @@ -335,14 +334,15 @@ async function publishBuild(ctx: JobContext, phases: Phases, buildId: string, ma return { id: target.current.id, prefix, people, fresh: target.current.reportKey !== prefix }; } -async function queueSeedCounts(ctx: JobContext, repoId: string, reportKey: string, people: SummaryPerson[]): Promise { +async function queueEveryone(ctx: JobContext, repoId: string, reportKey: string, people: SummaryPerson[]): Promise { if (!ctx.queueCounts) return; - const ids = people - .filter((p) => p.login && !p.login.endsWith("[bot]")) - .sort((a, b) => b.commits - a.commits) - .slice(0, SEED_COUNTED) - .map((p) => p.person_id); - if (ids.length === 0) return; - await ctx.db.insert(surviving).values(ids.map((personId) => ({ repoId, reportKey, personId, status: "queued", askedAt: now() }))).onConflictDoNothing(); - for (let i = 0; i < ids.length; i += COUNTED_AT_ONCE) await ctx.queueCounts({ repoId, reportKey, personIds: ids.slice(i, i + COUNTED_AT_ONCE) }); + const at = now(); + const ids = people.map((p) => p.person_id); + for (let i = 0; i < ids.length; i += 1000) { + await ctx.db + .insert(surviving) + .values(ids.slice(i, i + 1000).map((personId) => ({ repoId, reportKey, personId, status: "queued", askedAt: at }))) + .onConflictDoNothing(); + } + await ctx.queueCounts({ repoId, reportKey, personIds: [], everyone: true }); } diff --git a/apps/builder/src/main.ts b/apps/builder/src/main.ts index 525bfa0..e1ae8ab 100644 --- a/apps/builder/src/main.ts +++ b/apps/builder/src/main.ts @@ -31,7 +31,7 @@ import { jobLimitOf, run, sharingEngine } from "./run"; import { pullsToken, readPulls } from "./pulls"; import { budgetOf, runSurvival } from "./survival"; import { queueRebuilds } from "./rebuild"; -import { forgetStates } from "./state"; +import { forgetStates, saveState as saveRepoState, stateKeys } from "./state"; import { writeAtlas } from "./universe"; import { headsOf, queueSeeds, seedConfig, seedList } from "./seeds"; @@ -124,7 +124,9 @@ async function work() { const timed = (slug: string, minutes: number, fn: () => Promise) => () => monitored(slug, minutes, fn).catch((e: unknown) => log(`${slug}: ${(e as Error).message}`)); const reapTimed = timed("builder-reaper", REAP_MINUTES, reap); const tidyTimed = timed("builder-tidy", TIDY_MINUTES, tidy); - const ctx = { db, pool, storage, cfg, app, run, github, tokenSecret: env.TOKEN_SECRET, log, telemetry, queuePulls, queueCounts, queueBuild }; + const tier = cfg.state ? { storage, keys: stateKeys(cfg.state.secret), db, log } : null; + const saveState = tier ? (repoId: string, root: string) => saveRepoState(tier, repoId, root) : undefined; + const ctx = { db, pool, storage, cfg, app, run, github, tokenSecret: env.TOKEN_SECRET, log, telemetry, queuePulls, queueCounts, queueBuild, ...(saveState ? { saveState } : {}) }; const buildCtx = { ...ctx, run: sharingEngine(run, [cfg.bin, cfg.atlas.command], cfg.engineSlots) }; const building = (queue: string, job: { id: string; data: BuildJob }) => inQueueSpan(job, queue, () => runJob(job.data.buildId, buildCtx, job.data.attempt ?? 1, { ...(job.data.userId ? { userId: job.data.userId } : {}), ...(job.data.more ? { more: job.data.more } : {}) })); diff --git a/apps/builder/src/survival.test.ts b/apps/builder/src/survival.test.ts index 5ffd5c2..c6fe217 100644 --- a/apps/builder/src/survival.test.ts +++ b/apps/builder/src/survival.test.ts @@ -38,35 +38,63 @@ async function setup(run: (cmd: string, args: string[], env: NodeJS.ProcessEnv, const rows = async (db: Db) => (await db.select().from(surviving)).sort((a, b) => a.personId - b.personId).map((r) => [r.personId, r.status, r.lines, r.added, r.head]); const oldestOf = async (db: Db, id: number) => (await db.select().from(surviving)).find((r) => r.personId === id)?.oldest; -test("each person's count is recorded at the Report's head; one over budget gets no number and is asked again with twice the budget", async () => { +const everyone = (people: unknown[], complete = true) => JSON.stringify({ head: "a".repeat(40), complete, files: 9, people }); +const alice = { id: 3, name: "Alice", status: "counted", surviving: 75, added: 120, files: 4, oldest: 1_500_000_000, seconds: 0.5 }; +const bob = { id: 4, name: "Bob", status: "counted", surviving: 0, added: 30, files: 0, oldest: null, seconds: 0.5 }; +const carol = { id: 9, name: "Carol", status: "counted", surviving: 12, added: 12, files: 1, oldest: 1_600_000_000, seconds: 0.5 }; + +test("a count is everyone's, whoever asked: each person's answer is recorded at the Report's head, the people no one asked for too", async () => { let asked: string[] = []; - const queued: SurvivalJob[] = []; const seen: unknown[] = []; const { db, ctx } = await setup(async (_cmd, args) => { asked = args; if (seen.length === 0) seen.push(JSON.parse(await readFile(args[args.indexOf("--accounts") + 1] ?? "", "utf8"))); - return { code: 0, stderr: "", timedOut: false, stdout: JSON.stringify({ head: "a".repeat(40), people: [{ id: 3, name: "Alice", status: "counted", surviving: 75, added: 120, files: 4, oldest: 1_500_000_000, seconds: 0.5 }, { id: 4, name: "Bob", status: "over_budget", surviving: null, added: 30, files: 9, seconds: 60 }] }) }; - }, {}, queued); - await runSurvival({ repoId: "acme/rocket", reportKey: "r/b1", personIds: [3, 4] }, ctx); - expect(queued).toEqual([{ repoId: "acme/rocket", reportKey: "r/b1", personIds: [4], attempt: 1 }]); - expect((await rows(db))[1]?.[1]).toBe("queued"); + return { code: 0, stderr: "", timedOut: false, stdout: everyone([alice, bob, carol]) }; + }); + await runSurvival({ repoId: "acme/rocket", reportKey: "r/b1", personIds: [3] }, ctx); const home = join(ctx.cfg.work, "repos", "acme", "rocket"); const accounts = asked[asked.indexOf("--accounts") + 1] ?? ""; - expect(asked).toEqual(["surviving", "--budget-seconds", "60", "--cache-dir", join(ctx.cfg.work, "caches", "acme", "rocket"), "--cache-key", "acme/rocket", "--offline", "--accounts", accounts, "--person", "3", "--person", "4", "--", join(home, "full")]); + expect(asked).toEqual(["surviving", "--everyone", "--budget-seconds", "60", "--cache-dir", join(ctx.cfg.work, "caches", "acme", "rocket"), "--cache-key", "acme/rocket", "--offline", "--accounts", accounts, "--", join(home, "full")]); expect(accounts.startsWith(join(ctx.cfg.work, "jobs", "surviving-"))).toBe(true); expect(seen).toEqual([{ "ada@example.com": "ada" }]); expect(await readdir(join(ctx.cfg.work, "jobs"))).toEqual([]); - await runSurvival({ repoId: "acme/rocket", reportKey: "r/b1", personIds: [3] }, ctx); - expect(asked.at(-1)).toBe(join(home, "full")); expect(await rows(db)).toEqual([ [3, "counted", 75, 120, "a".repeat(40)], - [4, "queued", null, 30, "a".repeat(40)], + [4, "counted", 0, 30, "a".repeat(40)], + [9, "counted", 12, 12, "a".repeat(40)], ]); expect(await oldestOf(db, 3)).toBe(1_500_000_000); expect(await oldestOf(db, 4)).toBeNull(); }); -test("a Report replaced since it was asked is stale, one read without lines is still counted, and a failure says so", async () => { +test("ownership not whole within the budget is asked again for everyone with twice the budget, and its rows stay counting; past four hours they are over budget", async () => { + const budgets: string[] = []; + const timers: number[] = []; + const queued: SurvivalJob[] = []; + const { db, ctx } = await setup(async (_cmd, args, _env, timeoutMs) => { + budgets.push(args[args.indexOf("--budget-seconds") + 1] ?? ""); + timers.push(timeoutMs); + return { code: 0, stderr: "", timedOut: false, stdout: everyone([], false) }; + }, {}, queued); + await runSurvival({ repoId: "acme/rocket", reportKey: "r/b1", personIds: [], everyone: true }, ctx); + expect(timers[0]).toBe((60 + ctx.cfg.timeLimit) * 1000); + expect(queued).toEqual([{ repoId: "acme/rocket", reportKey: "r/b1", personIds: [], everyone: true, attempt: 1 }]); + expect((await rows(db)).map((r) => r[1])).toEqual(["queued", "queued"]); + await runSurvival({ repoId: "acme/rocket", reportKey: "r/b1", personIds: [3, 4], everyone: true, attempt: 1 }, ctx); + expect(budgets[1]).toBe("120"); + const last = Math.ceil(Math.log2(SURVIVING_BUDGET_MAX / 60)); + await runSurvival({ repoId: "acme/rocket", reportKey: "r/b1", personIds: [3, 4], everyone: true, attempt: last }, ctx); + expect(budgets[2]).toBe(String(SURVIVING_BUDGET_MAX)); + expect(queued).toHaveLength(2); + expect((await rows(db)).map((r) => r[1])).toEqual(["over_budget", "over_budget"]); + expect([0, 1, 2, last, last + 5].map((a) => budgetOf(60, a))).toEqual([60, 120, 240, SURVIVING_BUDGET_MAX, SURVIVING_BUDGET_MAX]); +}); + +test("a count stopped past its time is asked again, a Report replaced since it was asked is stale, and a failure says so", async () => { + const queued: SurvivalJob[] = []; + const stopped = await setup(async () => ({ code: null, stderr: "", timedOut: true, stdout: "" }), {}, queued); + await runSurvival({ repoId: "acme/rocket", reportKey: "r/b1", personIds: [3] }, stopped.ctx); + expect(queued).toEqual([{ repoId: "acme/rocket", reportKey: "r/b1", personIds: [3], everyone: true, attempt: 1 }]); let ran = 0; const count = async (): Promise => { ran++; @@ -76,49 +104,21 @@ test("a Report replaced since it was asked is stale, one read without lines is s await runSurvival({ repoId: "acme/rocket", reportKey: "r/b1", personIds: [3] }, stale.ctx); expect((await rows(stale.db))[0]?.[1]).toBe("stale"); expect(ran).toBe(0); - const partial = await setup(count, { reportLines: false }); - await runSurvival({ repoId: "acme/rocket", reportKey: "r/b1", personIds: [3] }, partial.ctx); - expect((await rows(partial.db))[0]?.[1]).toBe("failed"); - expect(ran).toBe(1); const failed = await setup(count); await runSurvival({ repoId: "acme/rocket", reportKey: "r/b1", personIds: [3] }, failed.ctx); expect((await rows(failed.db))[0]?.[1]).toBe("failed"); - expect(ran).toBe(2); + expect(ran).toBe(1); }); -test("a count stopped past its time is asked again per person with a doubled budget, its loading given its own time, until the budget reaches four hours", async () => { - const timers: number[] = []; - const budgets: string[] = []; - const queued: SurvivalJob[] = []; - const { db, ctx } = await setup(async (_cmd, args, _env, timeoutMs) => { - timers.push(timeoutMs); - budgets.push(args[args.indexOf("--budget-seconds") + 1] ?? ""); - return { code: null, stderr: "", timedOut: true, stdout: "" }; - }, {}, queued); +test("someone asked for who is not among the people counted is marked failed", async () => { + const { db, ctx } = await setup(async () => ({ code: 0, stderr: "", timedOut: false, stdout: everyone([alice]) })); await runSurvival({ repoId: "acme/rocket", reportKey: "r/b1", personIds: [3, 4] }, ctx); - expect(timers[0]).toBe((60 * 2 + ctx.cfg.timeLimit) * 1000); - expect(queued).toEqual([ - { repoId: "acme/rocket", reportKey: "r/b1", personIds: [3], attempt: 1 }, - { repoId: "acme/rocket", reportKey: "r/b1", personIds: [4], attempt: 1 }, - ]); - expect((await rows(db)).map((r) => r[1])).toEqual(["queued", "queued"]); - - await runSurvival({ repoId: "acme/rocket", reportKey: "r/b1", personIds: [3], attempt: 1 }, ctx); - expect(budgets[1]).toBe("120"); - expect(timers[1]).toBe((120 + ctx.cfg.timeLimit) * 1000); - expect(queued.at(-1)).toEqual({ repoId: "acme/rocket", reportKey: "r/b1", personIds: [3], attempt: 2 }); - - const last = Math.ceil(Math.log2(SURVIVING_BUDGET_MAX / 60)); - await runSurvival({ repoId: "acme/rocket", reportKey: "r/b1", personIds: [3], attempt: last }, ctx); - expect(budgets[2]).toBe(String(SURVIVING_BUDGET_MAX)); - expect(queued).toHaveLength(3); - expect((await rows(db))[0]?.[1]).toBe("over_budget"); - expect([0, 1, 2, last, last + 5].map((a) => budgetOf(60, a))).toEqual([60, 120, 240, SURVIVING_BUDGET_MAX, SURVIVING_BUDGET_MAX]); + expect((await rows(db)).map((r) => r[1])).toEqual(["counted", "failed"]); }); test("a kept clone is used as it is, and one missing is cloned in full into the repository's folder", async () => { const clones: string[] = []; - const { ctx } = await setup(async () => ({ code: 0, stderr: "", timedOut: false, stdout: JSON.stringify({ head: "a".repeat(40), people: [] }) }), {}, [], clones); + const { ctx } = await setup(async () => ({ code: 0, stderr: "", timedOut: false, stdout: everyone([]) }), {}, [], clones); await runSurvival({ repoId: "acme/rocket", reportKey: "r/b1", personIds: [3] }, ctx); await runSurvival({ repoId: "acme/rocket", reportKey: "r/b1", personIds: [4] }, ctx); expect(clones).toHaveLength(1); @@ -129,7 +129,7 @@ test("without signatures the count runs without accounts", async () => { let asked: string[] = []; const { ctx } = await setup(async (_cmd, args) => { asked = args; - return { code: 0, stderr: "", timedOut: false, stdout: JSON.stringify({ head: "a".repeat(40), people: [] }) }; + return { code: 0, stderr: "", timedOut: false, stdout: everyone([]) }; }); const real = ctx.run; ctx.run = async (cmd, args, env, t) => (args[0] === "signatures" ? { code: 2, stderr: "no", timedOut: false } : real(cmd, args, env, t)); diff --git a/apps/builder/src/survival.ts b/apps/builder/src/survival.ts index 4ff2795..b746e6f 100644 --- a/apps/builder/src/survival.ts +++ b/apps/builder/src/survival.ts @@ -1,7 +1,7 @@ import { existsSync } from "node:fs"; import { mkdir, rm } from "node:fs/promises"; import { join } from "node:path"; -import { and, eq, inArray } from "drizzle-orm"; +import { and, eq, inArray, sql } from "drizzle-orm"; import { installationToken, now, randomId, schema, type SurvivalJob } from "@commitscape/server"; import { cloneUrl, ensureClone, gitEnv, locked } from "./clone"; import { accountsFor, writeAccounts } from "./accounts"; @@ -20,18 +20,18 @@ export function budgetOf(base: number, attempt = 0): number { type Counted = { id: number; status: "counted" | "over_budget" | "unknown_person"; surviving: number | null; added: number | null; files: number; seconds: number; oldest?: number | null }; -/** Parses what `commitscape surviving` printed. */ -export function survivingOf(stdout: string): { head: string; people: Counted[] } | null { +/** Parses what `commitscape surviving --everyone` printed: the head, whether its ownership is whole, and then every person's count. */ +export function survivingOf(stdout: string): { head: string; complete: boolean; people: Counted[] } | null { try { - const answer = JSON.parse(stdout) as { head?: unknown; people?: unknown }; - if (typeof answer.head !== "string" || !Array.isArray(answer.people)) return null; - return { head: answer.head, people: answer.people as Counted[] }; + const answer = JSON.parse(stdout) as { head?: unknown; complete?: unknown; people?: unknown }; + if (typeof answer.head !== "string" || typeof answer.complete !== "boolean" || !Array.isArray(answer.people)) return null; + return { head: answer.head, complete: answer.complete, people: answer.people as Counted[] }; } catch { return null; } } -/** Counts people's Surviving Lines in one repository at its stored Report's head and records each answer; anyone over budget is queued again with a larger one, going on from the files already counted. */ +/** Counts everyone's Surviving Lines in one repository at its stored Report's head, from who owns each line, which the cache keeps from one head to the next so a new head works out only the files that changed, and records every person's answer, whoever asked. Ownership not worked out within the budget is kept, and the count is queued again with twice the budget to go on from it. */ export async function runSurvival(job: SurvivalJob, ctx: JobContext & { budget: number }): Promise { const { db, cfg } = ctx; const mark = (status: string, ids: number[]) => @@ -77,40 +77,48 @@ export async function runSurvival(job: SurvivalJob, ctx: JobContext & { budget: const cache = ["--cache-dir", await cacheFor(cfg, { isPrivate: repo.isPrivate, owner: repo.owner, name: repo.name, home }), "--cache-key", repo.id]; const engineEnv = { ...env, ...(cfg.threads ? { COMMITSCAPE_THREADS: String(cfg.threads) } : {}) }; const accounts = await writeAccounts(ctx.run, { bin: cfg.bin, dir: full, scratch, cache, env: engineEnv, timeoutMs: cfg.timeLimit * 1000, nice: cfg.nice, log: ctx.log }, async (signatures) => (await accountsFor(db, gh, { owner: repo.owner, name: repo.name, scope }, signatures, cfg.logins)).accounts); - const args = ["surviving", "--budget-seconds", String(budget), ...cache, "--offline"]; + const args = ["surviving", "--everyone", "--budget-seconds", String(budget), ...cache, "--offline"]; if (accounts) args.push("--accounts", accounts); - for (const id of job.personIds) args.push("--person", String(id)); args.push("--", full); - ran = await ctx.run(cfg.bin, args, engineEnv, (budget * job.personIds.length + cfg.timeLimit) * 1000, { nice: cfg.nice }); + ran = await ctx.run(cfg.bin, args, engineEnv, (budget + cfg.timeLimit) * 1000, { nice: cfg.nice }); + if (!repo.isPrivate && ran.code === 0) await ctx.saveState?.(repo.id, cache[1] ?? "").catch((e: unknown) => ctx.log(`state of ${repo.id} not saved: ${(e as Error).message}`)); } finally { await rm(scratch, { recursive: true, force: true }); if (repo.isPrivate) await rm(home, { recursive: true, force: true }); holding.delete(key); } const answer = ran.code === 0 ? survivingOf(ran.stdout ?? "") : null; - ctx.log(`surviving ${job.repoId} [${job.personIds.join(",")}]: ${answer ? "done" : ran.timedOut ? "timed out" : "failed"} in ${((Date.now() - started) / 1000).toFixed(1)} s, budget ${budget} s`); - const again = async (ids: number[]) => { - if (ids.length === 0 || budget >= budgetOf(ctx.budget, attempt + 1) || !ctx.queueCounts) return; - for (const id of ids) { - const row = and(eq(surviving.repoId, job.repoId), eq(surviving.reportKey, job.reportKey), eq(surviving.personId, id)); - await db.update(surviving).set({ status: "queued", askedAt: now() }).where(row); - await ctx.queueCounts({ repoId: job.repoId, reportKey: job.reportKey, personIds: [id], attempt: attempt + 1 }).catch(async (e: unknown) => { - ctx.log(`surviving ${job.repoId} [${id}] not queued again: ${(e as Error).message}`); - await db.update(surviving).set({ status: "over_budget" }).where(row); - }); + ctx.log(`surviving ${job.repoId}: ${answer ? (answer.complete ? `${answer.people.length} people counted` : "ownership not whole yet") : ran.timedOut ? "timed out" : "failed"} in ${((Date.now() - started) / 1000).toFixed(1)} s, budget ${budget} s`); + const again = async () => { + if (budget >= budgetOf(ctx.budget, attempt + 1) || !ctx.queueCounts) { + await mark("over_budget", job.personIds); + return; } + await ctx.queueCounts({ repoId: job.repoId, reportKey: job.reportKey, personIds: job.personIds, everyone: true, attempt: attempt + 1 }).catch(async (e: unknown) => { + ctx.log(`surviving ${job.repoId} not queued again: ${(e as Error).message}`); + await mark("over_budget", job.personIds); + }); }; if (!answer) { - await mark(ran.timedOut ? "over_budget" : "failed", job.personIds); - if (ran.timedOut) await again(job.personIds); + if (ran.timedOut) await again(); + else await mark("failed", job.personIds); + return; + } + if (!answer.complete) { + await again(); return; } - for (const p of answer.people) { - const status = p.status === "unknown_person" ? "failed" : p.status; + const at = now(); + for (let i = 0; i < answer.people.length; i += 500) { + const rows = answer.people.slice(i, i + 500).map((p) => ({ repoId: job.repoId, reportKey: job.reportKey, personId: p.id, status: "counted", lines: p.surviving, added: p.added, files: p.files, seconds: p.seconds, head: answer.head, oldest: p.oldest ?? null, askedAt: at, countedAt: at })); await db - .update(surviving) - .set({ status, lines: p.surviving, added: p.added, files: p.files, seconds: p.seconds, head: answer.head, oldest: p.oldest ?? null, countedAt: now() }) - .where(and(eq(surviving.repoId, job.repoId), eq(surviving.reportKey, job.reportKey), eq(surviving.personId, p.id))); + .insert(surviving) + .values(rows) + .onConflictDoUpdate({ + target: [surviving.repoId, surviving.reportKey, surviving.personId], + set: { status: sql`excluded.status`, lines: sql`excluded.lines`, added: sql`excluded.added`, files: sql`excluded.files`, seconds: sql`excluded.seconds`, head: sql`excluded.head`, oldest: sql`excluded.oldest`, countedAt: sql`excluded.counted_at` }, + }); } - await again(answer.people.filter((p) => p.status === "over_budget").map((p) => p.id)); + const counted = new Set(answer.people.map((p) => p.id)); + await mark("failed", job.personIds.filter((id) => !counted.has(id))); } diff --git a/crates/commitscape-index/src/blame.rs b/crates/commitscape-index/src/blame.rs index e05ef1a..9b2d47b 100644 --- a/crates/commitscape-index/src/blame.rs +++ b/crates/commitscape-index/src/blame.rs @@ -8,7 +8,7 @@ use imara_diff::{Algorithm, Diff, InternedInput}; use crate::similarity::{rename_source, spans, Spans}; use crate::source::{BlameCommit, BlameSource, BlameThreads, InParent}; -const UNMAPPED: u32 = u32::MAX; +pub(crate) const UNMAPPED: u32 = u32::MAX; const MAX_THREADS: usize = 8; @@ -33,9 +33,9 @@ type Seg = (u32, u32); pub(crate) type Text = (Rc>, Rc); #[derive(Clone)] -struct Gone { - deleted: Vec<(Vec, Oid)>, - texts: Vec>, +pub(crate) struct Gone { + pub(crate) deleted: Vec<(Vec, Oid)>, + pub(crate) texts: Vec>, } struct Version { @@ -442,7 +442,7 @@ pub fn blame_in_threads( }) } -fn folder(path: &[u8]) -> &[u8] { +pub(crate) fn folder(path: &[u8]) -> &[u8] { let mut slashes = path .iter() .enumerate() @@ -455,12 +455,12 @@ fn folder(path: &[u8]) -> &[u8] { } } -fn line_count(text: &[u8]) -> u32 { +pub(crate) fn line_count(text: &[u8]) -> u32 { let n = text.iter().filter(|&&c| c == b'\n').count(); (n + usize::from(text.last().is_some_and(|&c| c != b'\n'))) as u32 } -fn line_map(diff: &Diff, before: usize, after: usize) -> Vec { +pub(crate) fn line_map(diff: &Diff, before: usize, after: usize) -> Vec { let mut map = vec![UNMAPPED; after]; let mut b = 0u32; for (a, slot) in map.iter_mut().enumerate() { @@ -511,7 +511,7 @@ fn squeezed(line: &[u8]) -> Vec { .collect() } -fn ignored_map(before: &[u8], after: &[u8], diff: &Diff) -> Vec { +pub(crate) fn ignored_map(before: &[u8], after: &[u8], diff: &Diff) -> Vec { let old = lines_of(before); let new = lines_of(after); let mut map = vec![UNMAPPED; new.len()]; diff --git a/crates/commitscape-index/src/lib.rs b/crates/commitscape-index/src/lib.rs index e7e4356..f0b5159 100644 --- a/crates/commitscape-index/src/lib.rs +++ b/crates/commitscape-index/src/lib.rs @@ -12,6 +12,7 @@ pub mod mailmap; pub mod mainline; pub mod measure; mod message; +pub mod ownership; pub mod scripted; pub mod similarity; pub mod source; diff --git a/crates/commitscape-index/src/ownership.rs b/crates/commitscape-index/src/ownership.rs new file mode 100644 index 0000000..d4266aa --- /dev/null +++ b/crates/commitscape-index/src/ownership.rs @@ -0,0 +1,581 @@ +use std::collections::{BTreeMap, BinaryHeap, HashMap, HashSet}; +use std::path::Path; +use std::rc::Rc; +use std::time::Instant; + +use commitscape_core::Oid; +use imara_diff::{Algorithm, Diff, InternedInput}; +use serde::{Deserialize, Serialize}; + +use crate::blame::{ + folder, ignored_map, line_count, line_map, spans_at, BlameFile, Gone, MayChange, Walked, + UNMAPPED, +}; +use crate::cache::Moved; +use crate::similarity::rename_source; +use crate::source::{BlameCommit, BlameSource, BlameThreads, InParent}; + +const MAX_THREADS: usize = 8; +const MAGIC: &[u8; 8] = b"CSOWNS\x00\x01"; + +type Seg = (u32, u32, u32); + +/// One file at a head: its blob, and who owns its lines as runs of (commit, lines), the commit an index into the Ownership's commits. +#[derive(Debug, Clone, PartialEq, Eq, Serialize, Deserialize)] +pub struct Owned { + pub blob: Oid, + pub runs: Vec<(u32, u32)>, +} + +/// Who owns every line of a head's files, as blame would say, kept per head so the next head only works out the files that changed. +#[derive(Debug, Clone, Default, PartialEq, Eq, Serialize, Deserialize)] +pub struct Ownership { + pub head: Option, + pub settings: u64, + pub commits: Vec, + pub files: BTreeMap, Owned>, + pub moves: HashMap, + pub complete: bool, +} + +impl Ownership { + /// Each owner of a file's lines with how many lines it owns. + pub fn counts(&self, path: &[u8]) -> Vec<(Oid, u32)> { + let Some(owned) = self.files.get(path) else { + return Vec::new(); + }; + let mut counts: HashMap = HashMap::new(); + for &(c, n) in &owned.runs { + if let Some(id) = self.commits.get(c as usize) { + *counts.entry(*id).or_default() += n; + } + } + let mut out: Vec<(Oid, u32)> = counts.into_iter().collect(); + out.sort_unstable(); + out + } + + pub(crate) fn lines(&self, path: &[u8], blob: Oid) -> Option> { + let owned = self.files.get(path).filter(|o| o.blob == blob)?; + let mut out = Vec::new(); + for &(c, n) in &owned.runs { + let id = *self.commits.get(c as usize)?; + out.extend(std::iter::repeat_n(id, n as usize)); + } + Some(out) + } + + /// Reads an Ownership written by `write`; None when there is none or it cannot be read. + pub fn read(path: &Path) -> Option { + let bytes = std::fs::read(path).ok()?; + let body = bytes.strip_prefix(MAGIC)?; + bincode::serde::decode_from_slice(body, bincode::config::standard()) + .ok() + .map(|(o, _)| o) + } + + /// Writes the Ownership beside the cache, whole, then moves it into place. + pub fn write(&self, path: &Path) -> std::io::Result<()> { + let mut out = MAGIC.to_vec(); + out.extend( + bincode::serde::encode_to_vec(self, bincode::config::standard()) + .map_err(std::io::Error::other)?, + ); + let temp = path.with_extension("writing"); + std::fs::write(&temp, out)?; + std::fs::rename(temp, path) + } + + pub(crate) fn add( + &mut self, + path: Vec, + blob: Oid, + owners: &[Oid], + at: &mut HashMap, + ) { + let mut runs: Vec<(u32, u32)> = Vec::new(); + for id in owners { + let c = *at.entry(*id).or_insert_with(|| { + self.commits.push(*id); + (self.commits.len() - 1) as u32 + }); + match runs.last_mut() { + Some(last) if last.0 == c => last.1 += 1, + _ => runs.push((c, 1)), + } + } + self.files.insert(path, Owned { blob, runs }); + } +} + +/// What the previous head's Ownership says, for blame walks that reach that head. +pub(crate) struct Known<'a> { + pub(crate) head: Oid, + pub(crate) ownership: &'a Ownership, +} + +struct Item { + file: usize, + path: Rc<[u8]>, + blob: Oid, + text: Rc>, + segs: Vec, +} + +struct Version { + parent: Oid, + blob: Oid, + path: Rc<[u8]>, + text: Option>>, +} + +struct Walk<'a, S: BlameSource> { + source: &'a S, + may_change: MayChange<'a>, + pass_through: &'a HashSet, + known: Option<&'a Known<'a>>, + pending: HashMap>, + heap: BinaryHeap<(i64, Oid)>, + queued: HashSet, + commits: HashMap>, + left: Vec, + owners: Vec>, +} + +/// Works out who owns each line of the given files at `head`, walking back as `blame` does (the same diffs, renames, merges and lines passed through), and stopping wherever a walk reaches the known head with a file whose ownership is known there. Hands each file's owners, one per line, to `finished` as soon as they are known. +#[allow(clippy::too_many_arguments)] +pub(crate) fn own( + source: &S, + head: Oid, + files: &[BlameFile], + pass_through: &HashSet, + may_change: MayChange<'_>, + known: Option<&Known<'_>>, + deadline: Option, + batch_bytes: usize, + finished: &mut dyn FnMut(usize, Vec), +) -> Result { + let late = || deadline.is_some_and(|d| Instant::now() >= d); + let mut next = 0; + while next < files.len() { + let mut walk = Walk { + source, + may_change, + pass_through, + known, + pending: HashMap::new(), + heap: BinaryHeap::new(), + queued: HashSet::new(), + commits: HashMap::new(), + left: vec![0; files.len()], + owners: vec![Vec::new(); files.len()], + }; + let start = next; + let mut held = 0usize; + while let Some(f) = files.get(next) { + if next > start && held >= batch_bytes { + break; + } + if late() { + return Ok(Walked::OutOfTime); + } + let i = next; + next += 1; + let text = source.blame_blob(f.blob)?; + held += text.len(); + let n = line_count(&text); + if n == 0 { + finished(i, Vec::new()); + continue; + } + if let Some(slot) = walk.left.get_mut(i) { + *slot = n; + } + if let Some(slot) = walk.owners.get_mut(i) { + *slot = vec![head; n as usize]; + } + walk.push( + head, + Item { + file: i, + path: f.path.as_slice().into(), + blob: f.blob, + text: Rc::new(text), + segs: vec![(0, n, 0)], + }, + finished, + )?; + } + while let Some((_, id)) = walk.heap.pop() { + if late() { + return Ok(Walked::OutOfTime); + } + walk.queued.remove(&id); + let Some(items) = walk.pending.remove(&id) else { + continue; + }; + walk.process(id, items, finished)?; + } + } + Ok(Walked::Finished) +} + +impl Walk<'_, S> { + fn commit(&mut self, id: Oid) -> Result<&Option, S::Error> { + if !self.commits.contains_key(&id) { + let found = self.source.blame_commit(id)?; + self.commits.insert(id, found); + } + Ok(self.commits.get(&id).unwrap_or(&None)) + } + + fn push( + &mut self, + commit: Oid, + item: Item, + finished: &mut dyn FnMut(usize, Vec), + ) -> Result<(), S::Error> { + if let Some(known) = self.known.filter(|k| k.head == commit) { + if let Some(lines) = known.ownership.lines(&item.path, item.blob) { + if lines.len() == line_count(&item.text) as usize { + self.resolve(item.file, &item.segs, &lines, finished); + return Ok(()); + } + } + } + if self.queued.insert(commit) { + let time = self.commit(commit)?.as_ref().map_or(i64::MIN, |c| c.time); + self.heap.push((time, commit)); + } + let items = self.pending.entry(commit).or_default(); + match items + .iter_mut() + .find(|i| i.file == item.file && i.blob == item.blob && i.path == item.path) + { + Some(same) => same.segs.extend(item.segs), + None => items.push(item), + } + Ok(()) + } + + fn resolve( + &mut self, + file: usize, + segs: &[Seg], + lines: &[Oid], + finished: &mut dyn FnMut(usize, Vec), + ) { + let mut n = 0; + if let Some(owners) = self.owners.get_mut(file) { + for &(start, len, origin) in segs { + for k in 0..len { + if let (Some(slot), Some(id)) = ( + owners.get_mut((origin + k) as usize), + lines.get((start + k) as usize), + ) { + *slot = *id; + } + } + n += len; + } + } + self.settle(file, n, finished); + } + + fn attribute( + &mut self, + commit: Oid, + file: usize, + segs: &[Seg], + finished: &mut dyn FnMut(usize, Vec), + ) { + let mut n = 0; + if let Some(owners) = self.owners.get_mut(file) { + for &(_, len, origin) in segs { + for slot in owners + .get_mut(origin as usize..(origin + len) as usize) + .unwrap_or(&mut []) + { + *slot = commit; + } + n += len; + } + } + self.settle(file, n, finished); + } + + fn settle(&mut self, file: usize, n: u32, finished: &mut dyn FnMut(usize, Vec)) { + if n == 0 { + return; + } + let Some(left) = self.left.get_mut(file) else { + return; + }; + *left = left.saturating_sub(n); + if *left == 0 { + if let Some(owners) = self.owners.get_mut(file) { + finished(file, std::mem::take(owners)); + } + } + } + + fn process( + &mut self, + id: Oid, + items: Vec, + finished: &mut dyn FnMut(usize, Vec), + ) -> Result<(), S::Error> { + self.commit(id)?; + let parents = match self.commits.remove(&id).flatten() { + Some(c) if !c.parents.is_empty() => c.parents, + _ => { + for item in items { + self.attribute(id, item.file, &item.segs, finished); + } + return Ok(()); + } + }; + let items = match parents.as_slice() { + [parent] => { + let (check, same): (Vec, Vec) = items + .into_iter() + .partition(|i| (self.may_change)(id, &i.path)); + for item in same { + self.push(*parent, item, finished)?; + } + if check.is_empty() { + return Ok(()); + } + check + } + _ => items, + }; + let pass = parents.len() == 1 && self.pass_through.contains(&id); + let mut open: Vec<(Item, Vec)> = + items.into_iter().map(|i| (i, Vec::new())).collect(); + for parent in &parents { + if open.is_empty() { + break; + } + let paths: Vec<&[u8]> = open.iter().map(|(i, _)| &*i.path).collect(); + let states = self.source.blame_compare(id, *parent, &paths)?; + drop(paths); + let mut moved: Option = None; + let mut still = Vec::with_capacity(open.len()); + for ((item, mut versions), state) in open.into_iter().zip( + states + .into_iter() + .chain(std::iter::repeat(InParent::Absent)), + ) { + match state { + InParent::Same => { + self.push(*parent, item, finished)?; + continue; + } + InParent::Changed(blob) => versions.push(Version { + parent: *parent, + blob, + path: item.path.clone(), + text: None, + }), + InParent::Absent => { + if moved.is_none() { + let deleted = self.source.blame_moves(id, *parent)?.deleted; + moved = Some(Gone { + texts: vec![None; deleted.len()], + deleted, + }); + } + if let Some(Gone { deleted, texts }) = moved.as_mut() { + let source = self.source; + let found = rename_source( + (&item.path, item.blob, &item.text), + deleted, + &mut |i| spans_at(source, deleted, texts, i), + )?; + if let Some((from, blob)) = found.and_then(|j| deleted.get(j)) { + if *blob == item.blob { + let path: Rc<[u8]> = from.as_slice().into(); + self.push(*parent, Item { path, ..item }, finished)?; + continue; + } + versions.push(Version { + parent: *parent, + blob: *blob, + path: from.as_slice().into(), + text: found + .and_then(|j| texts.get(j).cloned().flatten()) + .map(|t| t.0), + }); + } + } + } + } + still.push((item, versions)); + } + open = still; + } + + for (item, versions) in open { + let mut remaining = item.segs; + for Version { + parent, + blob, + path, + text, + } in versions + { + if remaining.is_empty() { + break; + } + let before = match text { + Some(text) => text, + None => Rc::new(self.source.blame_blob(blob)?), + }; + let input = InternedInput::new(before.as_slice(), item.text.as_slice()); + let mut diff = Diff::compute(Algorithm::Myers, &input); + diff.postprocess_lines(&input); + let map = line_map(&diff, input.before.len(), input.after.len()); + let (mut passed, mut kept) = split(&remaining, &map); + if pass && !kept.is_empty() { + let map = ignored_map(&before, &item.text, &diff); + let (more, still) = split(&kept, &map); + passed.extend(more); + kept = still; + } + if !passed.is_empty() { + self.push( + parent, + Item { + file: item.file, + path, + blob, + text: before, + segs: passed, + }, + finished, + )?; + } + remaining = kept; + } + self.attribute(id, item.file, &remaining, finished); + } + Ok(()) + } +} + +fn split(segs: &[Seg], map: &[u32]) -> (Vec, Vec) { + let mut passed = Vec::new(); + let mut kept = Vec::new(); + for &(start, len, origin) in segs { + for k in 0..len { + let line = start + k; + match map.get(line as usize).copied().filter(|&p| p != UNMAPPED) { + Some(p) => extend(&mut passed, p, origin + k), + None => extend(&mut kept, line, origin + k), + } + } + } + (passed, kept) +} + +fn extend(runs: &mut Vec, line: u32, origin: u32) { + if let Some(last) = runs.last_mut() { + if last.0 + last.1 == line && last.2 + last.1 == origin { + last.1 += 1; + return; + } + } + runs.push((line, 1, origin)); +} + +/// Works out ownership as `own` does on several threads at once, each with its own handle on the repository and a share of the files grouped by folder, handing every file's owners to `finished` on the calling thread. +#[allow(clippy::too_many_arguments)] +pub(crate) fn own_in_threads( + threads: &T, + head: Oid, + files: &[BlameFile], + pass_through: &HashSet, + may_change: &(dyn Fn(Oid, &[u8]) -> bool + Sync), + known: Option<&Known<'_>>, + deadline: Option, + batch_bytes: usize, + finished: &mut dyn FnMut(usize, Vec), +) -> Result::Error> { + let count = crate::threads::threads(files.len()) + .min(MAX_THREADS) + .min(files.len()); + if count <= 1 { + return own( + &threads.local(), + head, + files, + pass_through, + may_change, + known, + deadline, + batch_bytes, + finished, + ); + } + let per_thread = (batch_bytes / count).max(1); + let mut folders: HashMap<&[u8], Vec> = HashMap::new(); + for (i, f) in files.iter().enumerate() { + folders.entry(folder(&f.path)).or_default().push(i); + } + let mut folders: Vec<(&[u8], Vec)> = folders.into_iter().collect(); + folders.sort_unstable_by(|a, b| b.1.len().cmp(&a.1.len()).then(a.0.cmp(b.0))); + let mut shards: Vec> = vec![Vec::new(); count]; + for (_, members) in folders { + if let Some(smallest) = shards.iter_mut().min_by_key(|s| s.len()) { + smallest.extend(members); + } + } + + std::thread::scope(|scope| { + let (sent, received) = std::sync::mpsc::channel::<(usize, Vec)>(); + let workers: Vec<_> = shards + .into_iter() + .filter(|s| !s.is_empty()) + .map(|shard| { + let sent = sent.clone(); + scope.spawn(move || { + let local = threads.local(); + let mine: Vec = shard + .iter() + .filter_map(|&i| files.get(i).cloned()) + .collect(); + own( + &local, + head, + &mine, + pass_through, + may_change, + known, + deadline, + per_thread, + &mut |j, owners| { + if let Some(&i) = shard.get(j) { + let _ = sent.send((i, owners)); + } + }, + ) + }) + }) + .collect(); + drop(sent); + for (i, owners) in received { + finished(i, owners); + } + let mut walked = Walked::Finished; + for worker in workers { + match worker.join() { + Ok(Ok(Walked::Finished)) => {} + Ok(Ok(Walked::OutOfTime)) => walked = Walked::OutOfTime, + Ok(Err(e)) => return Err(e), + Err(panic) => std::panic::resume_unwind(panic), + } + } + Ok(walked) + }) +} diff --git a/crates/commitscape-index/src/surviving.rs b/crates/commitscape-index/src/surviving.rs index 5c2b67f..3e8ecac 100644 --- a/crates/commitscape-index/src/surviving.rs +++ b/crates/commitscape-index/src/surviving.rs @@ -6,6 +6,7 @@ use commitscape_core::{AuthorId, ChangeKind, CommitFlags, FileClass, FileId, Ind use crate::blame::{blame_in_threads, spans_at, BlameFile, Walked, BATCH_BYTES}; use crate::cache::{BlameStore, CacheOptions, Known, Moved}; use crate::lines::MAX_BYTES; +use crate::ownership::{own_in_threads, Known as Owners, Ownership}; use crate::similarity::rename_source; use crate::source::{BlameSource, BlameThreads}; @@ -36,6 +37,7 @@ pub struct Survival<'i> { commit_at: HashMap, files_at: HashMap, Vec>, batch_bytes: usize, + settings: u64, } impl<'i> Survival<'i> { @@ -103,6 +105,7 @@ impl<'i> Survival<'i> { .collect(), files_at: HashMap::new(), batch_bytes: BATCH_BYTES, + settings: settings(max_changeset_size, ignored), }) } @@ -202,19 +205,251 @@ impl<'i> Survival<'i> { }) } - fn files_of( + fn head_files(&self) -> Vec { + let index = self.index; + index + .head + .iter() + .filter(|h| h.class == FileClass::Source && h.bytes <= MAX_BYTES as u64) + .filter_map(|h| { + Some(BlameFile { + path: index.paths.path_name(h.path)?.to_vec(), + blob: h.blob, + }) + }) + .collect() + } + + fn first_parent_line( + &self, + source: &S, + to: Oid, + ) -> Result>, S::Error> { + let mut edges = Vec::new(); + let mut at = self.head; + for _ in 0..=self.index.commits.len() { + if at == to { + return Ok(Some(edges)); + } + let Some(parent) = source + .blame_commit(at)? + .and_then(|c| c.parents.first().copied()) + else { + return Ok(None); + }; + edges.push((at, parent)); + at = parent; + } + Ok(None) + } + + /// Works out who owns each line of the head's Source files, as blame would, carrying over from `previous` every file whose path no first-parent commit since its head changed, and stopping every other walk where it reaches that head with a file whose owners are known there. Past `deadline` it keeps what it finished, and says it is not complete. + pub fn own( + &mut self, + threads: &T, + previous: Option, + deadline: Option, + ) -> Result::Error> { + let source = threads.local(); + let files = self.head_files(); + let previous = previous.filter(|p| p.settings == self.settings && p.head.is_some()); + let mut out = Ownership { + head: Some(self.head), + settings: self.settings, + ..Ownership::default() + }; + let mut at: HashMap = HashMap::new(); + let mut carried: HashSet> = HashSet::new(); + if let Some(prev) = previous.as_ref() { + out.moves.clone_from(&prev.moves); + let candidates: Vec<&BlameFile> = files + .iter() + .filter(|f| prev.files.get(&f.path).is_some_and(|o| o.blob == f.blob)) + .collect(); + let line = match prev.head { + Some(h) => self.first_parent_line(&source, h)?, + None => None, + }; + if let Some(edges) = line { + let paths: Vec<&[u8]> = candidates.iter().map(|f| f.path.as_slice()).collect(); + let mut changed = vec![false; paths.len()]; + for (commit, parent) in edges { + let states = source.blame_compare(commit, parent, &paths)?; + for (c, s) in changed.iter_mut().zip(states) { + *c |= s != crate::source::InParent::Same; + } + } + for (f, changed) in candidates.iter().zip(changed) { + if changed { + continue; + } + let owners: Vec = prev + .files + .get(&f.path) + .into_iter() + .flat_map(|o| &o.runs) + .flat_map(|&(c, n)| { + std::iter::repeat_n( + prev.commits.get(c as usize).copied().unwrap_or(self.head), + n as usize, + ) + }) + .collect(); + out.add(f.path.clone(), f.blob, &owners, &mut at); + carried.insert(f.path.clone()); + } + } + } + let todo: Vec = files + .into_iter() + .filter(|f| !carried.contains(&f.path)) + .collect(); + if self.files_at.is_empty() { + for (file, path) in self.index.paths.iter().chain(self.index.paths.departures()) { + self.files_at.entry(path.to_vec()).or_default().push(file); + } + } + let Survival { + index, + pass_through, + commit_at, + files_at, + batch_bytes, + head, + .. + } = self; + let index: &Index = index; + let may_change = |commit: Oid, path: &[u8]| -> bool { + let Some(c) = commit_at.get(&commit).and_then(|&i| index.commits.get(i)) else { + return true; + }; + if c.is_merge() || c.flags.contains(CommitFlags::BULK) { + return true; + } + let Some(files) = files_at.get(path) else { + return true; + }; + index + .changes_of(c) + .iter() + .any(|change| files.contains(&change.file)) + }; + let known = previous.as_ref().and_then(|p| { + Some(Owners { + head: p.head?, + ownership: p, + }) + }); + let walked = own_in_threads( + threads, + *head, + &todo, + pass_through, + &may_change, + known.as_ref(), + deadline, + *batch_bytes, + &mut |i, owners| { + if let Some(f) = todo.get(i) { + out.add(f.path.clone(), f.blob, &owners, &mut at); + } + }, + )?; + out.complete = walked == Walked::Finished; + Ok(out) + } + + /// Every person's Surviving Lines from the head's Ownership, as `person` counts them one by one: their lines in the head files they or the files they changed flowed into, with how many such files and when their oldest surviving line was written. None when the Ownership is not complete, or not of this head; the moves found on the way are kept in it. + pub fn everyone( &mut self, source: &S, - person: AuthorId, - deadline: Instant, - ) -> Result>, S::Error> { + ownership: &mut Ownership, + ) -> Result>, S::Error> { + if !ownership.complete || ownership.head != Some(self.head) { + return Ok(None); + } + self.known + .moves + .extend(std::mem::take(&mut ownership.moves)); let index = self.index; - let mut seen: HashSet = index - .commits + let head_files = self.head_files(); + let file_of_path: HashMap<&[u8], FileId> = index + .head .iter() - .filter(|c| index.author_of(c) == Some(person)) - .flat_map(|c| index.changes_of(c).iter().map(|ch| ch.file)) + .filter_map(|h| Some((index.paths.path_name(h.path)?, h.file))) .collect(); + let mut owned: HashMap> = HashMap::new(); + for f in &head_files { + let Some(&file) = file_of_path.get(f.path.as_slice()) else { + continue; + }; + let mut by: HashMap = HashMap::new(); + for (commit, n) in ownership.counts(&f.path) { + if n == 0 { + continue; + } + if let Some(&(author, time)) = self.authors.get(&commit) { + let e = by.entry(author).or_insert((0, i64::MAX)); + e.0 += u64::from(n); + e.1 = e.1.min(time); + } + } + for (author, (n, oldest)) in by { + owned.entry(author).or_default().push((file, n, oldest)); + } + } + let mut touched: HashMap> = HashMap::new(); + for c in &index.commits { + if let Some(author) = index.author_of(c) { + touched + .entry(author) + .or_default() + .extend(index.changes_of(c).iter().map(|ch| ch.file)); + } + } + let head_ids: HashSet = head_files + .iter() + .filter_map(|f| file_of_path.get(f.path.as_slice()).copied()) + .collect(); + let mut people: Vec = touched.keys().copied().collect(); + people.sort_unstable(); + let far = Instant::now() + .checked_add(Duration::from_secs(365 * 24 * 3600)) + .unwrap_or_else(Instant::now); + let mut out = Vec::with_capacity(people.len()); + for person in people { + let Some(seen) = + self.closure(source, touched.remove(&person).unwrap_or_default(), far)? + else { + continue; + }; + let files = seen.iter().filter(|f| head_ids.contains(f)).count() as u32; + let theirs: Vec<(u64, i64)> = owned + .get(&person) + .into_iter() + .flatten() + .filter(|(file, _, _)| seen.contains(file)) + .map(|&(_, n, t)| (n, t)) + .collect(); + out.push(( + person, + Survived::Counted { + lines: theirs.iter().map(|t| t.0).sum(), + files, + oldest: theirs.iter().map(|t| t.1).min(), + }, + )); + } + ownership.moves = std::mem::take(&mut self.known.moves); + Ok(Some(out)) + } + + fn closure( + &mut self, + source: &S, + mut seen: HashSet, + deadline: Instant, + ) -> Result>, S::Error> { let mut queue: Vec = seen.iter().copied().collect(); while let Some(file) = queue.pop() { let commits = self.deletions.get(&file).cloned().unwrap_or_default(); @@ -229,6 +464,25 @@ impl<'i> Survival<'i> { } } } + Ok(Some(seen)) + } + + fn files_of( + &mut self, + source: &S, + person: AuthorId, + deadline: Instant, + ) -> Result>, S::Error> { + let index = self.index; + let touched: HashSet = index + .commits + .iter() + .filter(|c| index.author_of(c) == Some(person)) + .flat_map(|c| index.changes_of(c).iter().map(|ch| ch.file)) + .collect(); + let Some(seen) = self.closure(source, touched, deadline)? else { + return Ok(None); + }; Ok(Some( index .head @@ -508,9 +762,8 @@ mod tests { ); } - #[test] - fn a_merge_passes_each_file_to_the_parent_it_came_from() { - let repo = ScriptedRepo::new() + fn merged() -> ScriptedRepo { + ScriptedRepo::new() .blob(blob(1), "m1\nm2\n") .blob(blob(2), "m1\nm2\nb3\n") .blob(blob(3), "s1\n") @@ -521,7 +774,12 @@ mod tests { .at(2) .merge(4, ALICE, 3, &[(b"side.rs", Added, blob(3))]) .head_file(b"m.rs", "m1\nm2\nb3\n") - .head_file(b"side.rs", "s1\n"); + .head_file(b"side.rs", "s1\n") + } + + #[test] + fn a_merge_passes_each_file_to_the_parent_it_came_from() { + let repo = merged(); assert_eq!( count( &repo, @@ -532,9 +790,8 @@ mod tests { ); } - #[test] - fn a_file_moved_and_edited_keeps_its_lines_and_its_people() { - let repo = ScriptedRepo::new() + fn moved_and_edited() -> ScriptedRepo { + ScriptedRepo::new() .blob( blob(1), "first line\nsecond line\nthird line\nfourth line\n", @@ -560,7 +817,12 @@ mod tests { .head_file( b"lib/new.rs", "first line\nsecond line\nthird line\nchanged line\nfifth line\n", - ); + ) + } + + #[test] + fn a_file_moved_and_edited_keeps_its_lines_and_its_people() { + let repo = moved_and_edited(); assert_eq!( count( &repo, @@ -635,4 +897,150 @@ mod tests { } ); } + + fn lines_of(o: &Ownership, path: &[u8]) -> Vec { + o.files + .get(path) + .and_then(|f| o.lines(path, f.blob)) + .unwrap_or_default() + } + + fn same_as_blame(repo: &ScriptedRepo, max: u32) -> Ownership { + let index = index_from_scratch(repo).unwrap(); + let ignored = repo.blame_ignore_revs().unwrap(); + let mut survival = Survival::new(&index, &ignored, max, &CacheOptions::default()).unwrap(); + let mut ownership = survival.own(repo, None, None).unwrap(); + assert!(ownership.complete); + let kept = ownership.clone(); + let everyone = survival.everyone(repo, &mut ownership).unwrap().unwrap(); + let mut oracle = Survival::new(&index, &ignored, max, &CacheOptions::default()).unwrap(); + assert!(!everyone.is_empty()); + for (person, found) in everyone { + assert_eq!( + oracle.person(repo, person, MINUTE).unwrap(), + found, + "{person:?}" + ); + } + kept + } + + #[test] + fn everyones_lines_from_the_ownership_are_each_persons_lines_from_blame() { + let ignored = format!("# tabs\n{}\n\n", &synthetic_oid(3).to_hex()[..8]); + for (repo, max) in [ + (overwritten_and_renamed(), 50), + (reformatted(), 2), + (reformatted(), 50), + ( + reformatted().head_file(b".git-blame-ignore-revs", &ignored), + 2, + ), + (merged(), 50), + (moved_and_edited(), 50), + ] { + same_as_blame(&repo, max); + } + } + + fn grown(steps: usize) -> ScriptedRepo { + let texts = [ + "a1\na2\na3\n", + "a1\nb2\na3\nb4\n", + "s1\n", + "a1\nb2\nc3\na3\nb4\n", + "x1\nx2\n", + "a1\nb2\nc3\na3\nb4\nd6\n", + "s1\ns2\n", + "x1\ny2\n", + ]; + let mut repo = ScriptedRepo::new(); + for (i, t) in texts.iter().enumerate() { + repo = repo.blob(blob(i as u8 + 1), t); + } + let all: Vec ScriptedRepo>> = vec![ + Box::new(|r| { + r.commit( + 1, + ALICE, + &[(b"src/a.rs", Added, blob(1)), (b"src/x.rs", Added, blob(5))], + ) + .head_file(b"src/a.rs", "a1\na2\na3\n") + .head_file(b"src/x.rs", "x1\nx2\n") + }), + Box::new(|r| { + r.commit(2, BOB, &[(b"src/a.rs", Modified, blob(2))]) + .head_file(b"src/a.rs", "a1\nb2\na3\nb4\n") + }), + Box::new(|r| { + r.at(1) + .commit(3, CAROL, &[(b"src/s.rs", Added, blob(3))]) + .at(2) + }), + Box::new(|r| { + r.merge(4, ALICE, 3, &[(b"src/s.rs", Added, blob(3))]) + .head_file(b"src/s.rs", "s1\n") + }), + Box::new(|r| { + r.commit(5, CAROL, &[(b"src/a.rs", Modified, blob(4))]) + .head_file(b"src/a.rs", "a1\nb2\nc3\na3\nb4\n") + }), + Box::new(|r| { + r.at(5) + .commit(6, BOB, &[(b"src/s.rs", Modified, blob(7))]) + .at(5) + .commit(7, ALICE, &[(b"src/a.rs", Modified, blob(6))]) + .merge(8, CAROL, 6, &[(b"src/s.rs", Modified, blob(7))]) + .head_file(b"src/a.rs", "a1\nb2\nc3\na3\nb4\nd6\n") + .head_file(b"src/s.rs", "s1\ns2\n") + }), + Box::new(|r| { + r.commit(9, CAROL, &[(b"src/x.rs", Modified, blob(8))]) + .commit(10, BOB, &[(b"src/x.rs", Modified, blob(5))]) + }), + ]; + all.iter().take(steps).fold(repo, |r, step| step(r)) + } + + #[test] + fn a_later_head_carries_over_what_did_not_change_and_works_out_the_rest_as_blame_does() { + let mut previous: Option = None; + for steps in [1, 2, 4, 5, 6, 7] { + let repo = grown(steps); + let index = index_from_scratch(&repo).unwrap(); + let mut survival = Survival::new(&index, &[], 50, &CacheOptions::default()).unwrap(); + let fresh = same_as_blame(&repo, 50); + let carried = survival.own(&repo, previous.take(), None).unwrap(); + assert!(carried.complete); + assert_eq!( + carried.files.keys().collect::>(), + fresh.files.keys().collect::>() + ); + for path in fresh.files.keys() { + assert_eq!( + lines_of(&carried, path), + lines_of(&fresh, path), + "step {steps}: {}", + String::from_utf8_lossy(path) + ); + } + previous = Some(carried); + } + } + + #[test] + fn ownership_cut_short_keeps_what_it_finished_and_the_next_run_finishes_it() { + let repo = grown(6); + let index = index_from_scratch(&repo).unwrap(); + let mut survival = Survival::new(&index, &[], 50, &CacheOptions::default()).unwrap(); + let cut = survival.own(&repo, None, Some(Instant::now())).unwrap(); + assert!(!cut.complete); + let mut ownership = survival.own(&repo, Some(cut), None).unwrap(); + assert!(ownership.complete); + assert!(survival.everyone(&repo, &mut ownership).unwrap().is_some()); + let fresh = same_as_blame(&repo, 50); + for path in fresh.files.keys() { + assert_eq!(lines_of(&ownership, path), lines_of(&fresh, path)); + } + } } diff --git a/crates/commitscape-index/tests/ownership.rs b/crates/commitscape-index/tests/ownership.rs new file mode 100644 index 0000000..5d5cd4c --- /dev/null +++ b/crates/commitscape-index/tests/ownership.rs @@ -0,0 +1,92 @@ +#![allow(clippy::expect_used, clippy::indexing_slicing)] + +use std::path::{Path, PathBuf}; +use std::time::Duration; + +use commitscape_core::Index; +use commitscape_index::{ + index_from_scratch, load, CacheOptions, GixRepo, RepoSource, Survival, Survived, +}; + +const BULK: u32 = 50; +const BUDGET: Duration = Duration::from_secs(3600); + +fn fixture(name: &str) -> PathBuf { + PathBuf::from(env!("CARGO_MANIFEST_DIR")) + .join("../../fixtures") + .join(name) +} + +fn compare(repo: &GixRepo, index: &Index) -> (usize, u64) { + let ignored = repo.blame_ignore_revs().expect("ignored revisions"); + let threads = repo.threads(); + let mut survival = + Survival::new(index, &ignored, BULK, &CacheOptions::default()).expect("a head"); + let mut ownership = survival.own(&threads, None, None).expect("ownership"); + assert!(ownership.complete); + let everyone = survival + .everyone(repo, &mut ownership) + .expect("everyone") + .expect("a complete ownership"); + let mut oracle = + Survival::new(index, &ignored, BULK, &CacheOptions::default()).expect("a head"); + let mut lines = 0; + for (person, found) in &everyone { + let want = oracle + .person(&threads, *person, BUDGET) + .expect("blame for one person"); + assert_eq!(&want, found, "{person:?}"); + if let Survived::Counted { lines: n, .. } = found { + lines += n; + } + } + (everyone.len(), lines) +} + +#[test] +fn everyones_surviving_lines_from_the_ownership_match_blame_person_by_person_on_every_fixture() { + let mut people = 0; + let mut lines = 0; + for name in [ + "linear", + "coupling", + "ownership", + "renames", + "bulk", + "merges", + "conflict", + "rhythm", + "lines", + "survival", + "detached", + "tags", + "crafted", + "bare.git", + ] { + let repo = GixRepo::open(&fixture(name)).expect("opening fixture"); + let index = index_from_scratch(&repo).expect("indexing fixture"); + let (p, l) = compare(&repo, &index); + people += p; + lines += l; + } + assert!(people > 10, "{people}"); + assert!(lines > 50, "{lines}"); +} + +#[test] +#[ignore = "set COMMITSCAPE_ORACLE_REPO to a clone, and COMMITSCAPE_ORACLE_CACHE to its cache folder"] +fn everyones_surviving_lines_match_blame_person_by_person_on_a_real_repository() { + let path = std::env::var("COMMITSCAPE_ORACLE_REPO").expect("COMMITSCAPE_ORACLE_REPO"); + let repo = GixRepo::open(Path::new(&path)).expect("opening the repository"); + let options = CacheOptions { + root: std::env::var("COMMITSCAPE_ORACLE_CACHE") + .ok() + .map(PathBuf::from), + key: std::env::var("COMMITSCAPE_ORACLE_KEY").ok(), + }; + let index = load(&repo, &options, &mut |_| {}) + .expect("loading the Index") + .index; + let (people, lines) = compare(&repo, &index); + eprintln!("{people} people, {lines} surviving lines, the same as blame person by person"); +} diff --git a/crates/commitscape/src/surviving.rs b/crates/commitscape/src/surviving.rs index 1ca7cfb..e144ad4 100644 --- a/crates/commitscape/src/surviving.rs +++ b/crates/commitscape/src/surviving.rs @@ -6,9 +6,10 @@ use std::time::{Duration, Instant}; use clap::Args; use commitscape_core::{AuthorId, Index, Oid}; +use commitscape_index::ownership::Ownership; use commitscape_index::{ - load, BlameCommit, BlameSource, BlameThreads, GixError, GixRepo, GixThreads, InParent, Moves, - RepoSource, Survival, Survived, + load, repo_dir, BlameCommit, BlameSource, BlameThreads, GixError, GixRepo, GixThreads, + InParent, Moves, RepoSource, Survival, Survived, }; use commitscape_metrics::{Analysis, Window}; use commitscape_report::api::{Surviving, SurvivingPerson, SurvivingStatus}; @@ -27,9 +28,20 @@ pub struct SurvivingArgs { /// A person, by the id the repository's Report gives them (made with the /// same cache directory). Give it once for each person. - #[arg(long = "person", value_name = "ID", required = true)] + #[arg( + long = "person", + value_name = "ID", + required_unless_present = "everyone" + )] people: Vec, + /// Count everyone at once from who owns each line at the head, kept in + /// the cache from one head to the next so a new head works out only the + /// files that changed. The budget is for working out the ownership; past + /// it what was done is kept and the next run goes on. + #[arg(long, conflicts_with = "people")] + everyone: bool, + /// How long each person may take. Past it they are not counted, never /// estimated. #[arg(long, default_value_t = 60, value_name = "N")] @@ -87,6 +99,53 @@ pub fn run(args: SurvivingArgs) -> anyhow::Result<()> { dir: path.clone(), }; + if args.everyone { + let started = Instant::now(); + let kept = repo_dir(&options, &index.repo).map(|d| d.join("ownership")); + let previous = kept.as_deref().and_then(Ownership::read); + let deadline = started.checked_add(budget); + let mut ownership = survival.own(&threads, previous, deadline)?; + let everyone = survival.everyone(&repo, &mut ownership)?; + if let Some(path) = kept.as_deref() { + ownership.write(path)?; + } + let seconds = (started.elapsed().as_secs_f64() * 1000.0).round() / 1000.0; + let people: Vec = everyone + .unwrap_or_default() + .into_iter() + .filter_map(|(author, survived)| { + let Survived::Counted { + lines, + files, + oldest, + } = survived + else { + return None; + }; + Some(SurvivingPerson { + id: author.0, + name: index.authors.get(author).map(|a| a.name.to_string()), + status: SurvivingStatus::Counted, + surviving: Some(lines), + added: added.as_ref().map(|a| a.get(&author).copied().unwrap_or(0)), + files, + oldest, + seconds, + }) + }) + .collect(); + let out = serde_json::json!({ + "head": survival.head().to_hex(), + "complete": ownership.complete, + "files": ownership.files.len(), + "people": people, + }); + let mut stdout = std::io::stdout().lock(); + serde_json::to_writer(&mut stdout, &out)?; + writeln!(stdout)?; + return Ok(()); + } + let mut people = Vec::with_capacity(args.people.len()); for id in args.people { let started = Instant::now(); diff --git a/docs/working.md b/docs/working.md index 1dac149..ee15ed1 100644 --- a/docs/working.md +++ b/docs/working.md @@ -91,9 +91,18 @@ to a repository the App is installed on, the nightly seeds and minutes. 7. **Carries on.** If the budget left commits uncounted, a quiet Build is queued a minute later, below people's and seeds' Builds, three at most; each counts - on from where the last stopped. Seeds' top people get their Surviving - Lines counted, reusing the full clone and the same accounts, so person - ids match. + on from where the last stopped. A new Report queues one count of + everyone's Surviving Lines (`commitscape surviving --everyone`), every + person of it marked counting meanwhile. It reuses the full clone and the + same accounts, so person ids match, and works out the head's Ownership + of lines: kept in the cache as `ownership` (runs of lines per file, with + the commit each came from), a later head along the first-parent line + keeps every file no first-parent commit since changed and blames only + the rest, stopping wherever a walk reaches the earlier head. Everyone's + Surviving Lines are then a sum over it. Ownership not whole within the + budget is kept and the count is queued again with twice the budget; a + person asked for on the Site gets the same count for everyone. react: + 1,997 people in 18.5 s from nothing, 0.3 s for a head 20 commits on. Every publish sends `pg_notify`, so the Site forgets the old pack key and warms the new pack in the engine service. If the full phase fails after the diff --git a/packages/server/src/queue.ts b/packages/server/src/queue.ts index 36e8263..9ac06fa 100644 --- a/packages/server/src/queue.ts +++ b/packages/server/src/queue.ts @@ -9,7 +9,7 @@ export type BuildTrace = { sentryTrace: string; baggage: string }; export type BuildJob = { buildId: string; repoId?: string; attempt?: number; trace?: BuildTrace; queuedAt?: number; userId?: string; more?: number }; -export type SurvivalJob = { repoId: string; reportKey: string; personIds: number[]; attempt?: number }; +export type SurvivalJob = { repoId: string; reportKey: string; personIds: number[]; attempt?: number; everyone?: boolean }; export type PullsJob = { repoId: string }; @@ -20,7 +20,7 @@ export const LONGEST_JOB_SECONDS = 24 * 3600; export type Queue = { send(job: BuildJob, priority: number): Promise; count?(job: SurvivalJob): Promise }; export const buildKey = (job: BuildJob) => job.repoId ?? job.buildId; -export const survivalKey = (job: SurvivalJob) => `${job.repoId}:${job.reportKey}:${job.personIds.join(",")}`; +export const survivalKey = (job: SurvivalJob) => `${job.repoId}:${job.reportKey}:${job.everyone ? "*" : job.personIds.join(",")}`; /** Starts pg-boss and creates the queues: a repository's Builds run one at a time, and a read of pull requests or a count of Surviving Lines waits at most once behind the same one running. A worker also runs maintenance and sets how long a Build may run. */ export async function startQueue(url: string, options: { worker: boolean; expireInSeconds?: number }): Promise { From 76505c892ccbc08fb8119a18d3a73faf5365148c Mon Sep 17 00:00:00 2001 From: Dev Talan <84081651+devchaudhary24k@users.noreply.github.com> Date: Tue, 27 Oct 2026 05:41:10 +0530 Subject: [PATCH 12/82] docs: ADR-0030, the Builder keeps a Repo State and works out only what changed Records the head check and seed policy (D1), the kept commit graph and Mainline, the Atlas made once per pack by the Builder, the four tiers of the Repo State with its sealed copy in R2, Surviving Lines summed from the Ownership of lines once per head (D2, carried over along the first-parent line with blame as the referee), and why a forward pass along the Mainline and full clones were not kept as the plan. --- README.md | 2 +- ...o-state-and-works-out-only-what-changed.md | 32 +++++++++++++++++++ 2 files changed, 33 insertions(+), 1 deletion(-) create mode 100644 docs/adr/0030-the-builder-keeps-a-repo-state-and-works-out-only-what-changed.md diff --git a/README.md b/README.md index a869bf5..a847f7e 100644 --- a/README.md +++ b/README.md @@ -197,7 +197,7 @@ repository's addresses pinned to a Build are cached for a year. | `packages/data/` | The Report's types, generated from Rust, and the Data Sources | - [Domain language](./CONTEXT.md) -- [Architecture decisions](./docs/adr), the latest [ADR-0028](./docs/adr/0028-the-engine-service-answers-from-immutable-packs.md) +- [Architecture decisions](./docs/adr), the latest [ADR-0030](./docs/adr/0030-the-builder-keeps-a-repo-state-and-works-out-only-what-changed.md) - [How the pieces work together](./docs/working.md) - [The Stored Index in Postgres](./docs/index-in-postgres.md) - [GitHub's API limits](./docs/github-api.md) diff --git a/docs/adr/0030-the-builder-keeps-a-repo-state-and-works-out-only-what-changed.md b/docs/adr/0030-the-builder-keeps-a-repo-state-and-works-out-only-what-changed.md new file mode 100644 index 0000000..115cfbe --- /dev/null +++ b/docs/adr/0030-the-builder-keeps-a-repo-state-and-works-out-only-what-changed.md @@ -0,0 +1,32 @@ +# The Builder keeps a Repo State and works out only what changed + +A Build costs what changed since the last one, not how long the history is. The Builder checks a repository's head before doing anything, keeps what it worked out (the Repo State) on its disk and, sealed, in R2, and every step of a Build starts from that State: the commit graph and its Mainline, the Atlas, and the Ownership of lines that Surviving Lines are summed from. + +## Status + +accepted (2026-10-27, owner decisions D1 to D3 and the tier times in the caching architecture review). Amends ADR-0022: Surviving Lines are counted for everyone once per head, not per person on request. Amends ADR-0026: the Builder still owns git, and now also keeps each repository's State apart from its clone. ADR-0028's rule that no email address leaves the Builder stands: the State in R2 is sealed with a key only the Builder holds. + +## Context + +Measured on two cores, a warm linux Build with nothing new took about 10 s and 600 MB in the engine, then a Postgres load, a pack upload and an Atlas the Site made again (1.16 GB, 35 CPU-s). Seeds were built every night whether or not anything moved. Losing the engine cache from disk meant reading the whole history again (185 s without lines, about 1,500 CPU-s with them). Surviving Lines were blamed person by person for every new head, nothing carried over: 1.7 to 2.1 GB and 60 s a person on linux, most over budget. + +## Decision + +- **Nothing new costs one question.** A Build whose Report is whole (its pack, every Mainline line counted, built within a week) asks the remote for its head with `git ls-remote`, and ends there when it has not moved; `repositories.checked_at` records it. Seeds ask GitHub's GraphQL API for a hundred heads at a time, and are built when their head moved and someone viewed them since, or weekly (D1). +- **The commit graph is kept.** The cache keeps each commit's parents by its place in the Index, and the Mainline of the last head, brought up to date from the commits added since. The Mainline walks only the new part of the first-parent line; the commits the last export's frontier reaches come from memory. +- **The Atlas is made once per pack, by the Builder,** from rows `build` writes beside the pack, with the Site's own encoder, in a process of its own that waits for an engine slot, and is stored before the pack is published. The Site only sends it. +- **The Repo State has four tiers.** Read from disk by the Build that uses it (decoded today, to be mapped in place); on the Builder's disk until unused for `STATE_DISK_DAYS` (7) or past `CACHE_BUDGET_GB` (5), least recently used first; in R2 as 8 MB chunks named by their content (zstd, then AES-256-GCM with a key made from `STATE_KEY`), uploading only chunks R2 lacks, until unused for `STATE_KEEP_DAYS` (180), cleaned up by the Builder, not a bucket rule; and nothing, which means a clean Build. A disk miss restores from R2; an R2 miss, or a history rewritten past what the State holds, builds clean. +- **Surviving Lines are a sum over the Ownership of lines** (D2). The Ownership of a head says which commit each line of each Source file came from, as blame says, and is kept per head as runs of lines. A new head that went forward along its first-parent line keeps every file whose path no first-parent commit since changed: walking back from the new head, such a file meets only first-parent commits whose first parent has it unchanged, so blame passes it straight down to the earlier head. Every other file is blamed with the same walk, which stops wherever it reaches the earlier head with a file whose ownership is known there. Lines Changed stay counted over every branch (D3). +- **Today's blame is the referee.** A test compares everyone's counts with blame person by person on scripted histories, on every fixture and, on demand, on a real repository; react agrees for all 1,997 people. + +## Considered + +- **A forward pass along the Mainline, with blame only for lines merged in.** In a history like linux's nearly every line arrives through a merge, so it would blame almost everything at every head, or keep the ownership of every past head to start side branches from. The carried-over blame above gives the same answer as blame by construction and costs only the files the new head changed. +- **Keeping full clones.** linux's is 6.6 GB and receiving it costs 579 CPU-s; a blobless repository is 2.4 GB. Fetching 17,127 new linux commits blobless took 36 MB and 3.1 CPU-s, and every blob their diffs name, missing ones fetched in one request by id, 105 MB and 9.6 CPU-s, against 214 MB and 16.6 CPU-s for the full fetch. The engine (gix) cannot fetch a missing blob, so the kept clone turns blobless only once the blobs it needs are fetched first, in batches; that is the next step. + +## Consequences + +- A repository whose head did not move is not built for up to a week; its time Windows end where its last Build ended. +- `STATE_KEY` must be set for the R2 tier and kept: a new key makes every State in R2 unreadable, and those repositories build clean once. +- The first Ownership of a large repository is the cost of blaming all of it, spread over budgeted runs that each keep what they finished; every head after it costs the files that changed. +- Surviving Lines show "counting" for a new head until its Ownership is whole. From 85e586c379b2e3a693bb10b7b9e16e6593807b73 Mon Sep 17 00:00:00 2001 From: Dev Talan <84081651+devchaudhary24k@users.noreply.github.com> Date: Tue, 27 Oct 2026 06:09:04 +0530 Subject: [PATCH 13/82] perf(builder): read a lean clone once a repository's lines and Surviving Lines are counted A public repository kept a full clone for every Build: linux's is 6.6 GB and receiving it again costs 579 CPU-s of index-pack. Once its Lines Changed and its Report's Surviving Lines are all counted, its Builds now read a lean clone instead: blobless, with no files written out (`clone --filter=blob:none --no-checkout`, then `reset --soft`, with a commit-graph), so a fetch brings only new commits and trees. Before the engine runs, the Builder lists the file versions the Build reads that the clone lacks (every file at HEAD, and both sides of each change in the commits past the last export's frontier, Bulk Commits left out) and fetches them by id, 20,000 to a request, each tried twice; the full clone is then deleted. git data reads the same clone (git fetches what diff and merge-tree need itself), and the count of Surviving Lines fetches every version of the files changed since its last count the same way, and any other it meets as it goes. A retry reads the full clone. The engine no longer fails on a missing file version: the line pass leaves that commit's lines to count later, never a wrong "not counted". linux, 19 days behind GitHub (17,127 commits), on 2 cores: a blobless fetch of 36 MB and 3.1 CPU-s plus the file versions those commits change, 105 MB and 9.6 CPU-s, against 214 MB and 16.6 CPU-s fetched in full; then the Build on the lean clone: 16.5 s, every new commit's lines counted (15,978, none left), 885 MB peak anon. The kept clone is 2.4 GB instead of 6.6 GB; react's 62 MB instead of 1.1 GB. --- CONTEXT.md | 2 +- DEPLOY.md | 2 +- apps/builder/src/builder.test.ts | 33 +++++ apps/builder/src/clone.ts | 11 +- apps/builder/src/job.test.ts | 21 +++ apps/builder/src/job.ts | 15 ++ apps/builder/src/lean.test.ts | 37 +++++ apps/builder/src/lean.ts | 82 +++++++++++ apps/builder/src/run.ts | 17 ++- apps/builder/src/survival.ts | 26 +++- .../commitscape-index/src/gix_source/lines.rs | 134 +++++++++++------- .../commitscape-index/src/gix_source/mod.rs | 7 + crates/commitscape-index/tests/lines.rs | 63 ++++++++ crates/commitscape/src/surviving.rs | 13 +- docs/working.md | 16 +++ 15 files changed, 411 insertions(+), 68 deletions(-) create mode 100644 apps/builder/src/lean.test.ts create mode 100644 apps/builder/src/lean.ts diff --git a/CONTEXT.md b/CONTEXT.md index 4c2a75b..487dba6 100644 --- a/CONTEXT.md +++ b/CONTEXT.md @@ -201,7 +201,7 @@ What reads a repository's history for the Site: it clones the repository, runs t _Avoid_: worker, backend, crawler. **Build**: -One run of the Builder for one repository, from clone to published Pack, in two phases at once: a clone without old file contents gives a Report without Lines Changed, shown at once, while a full clone counts them, the Mainline first, and replaces it. Quiet Builds that follow count the lines left. A repository's Report is rebuilt when someone asks for it and it is more than a day old, or after a push where commitscape's GitHub App is installed. A Build whose Report is whole (every line counted, built within a week) ends at once when the default branch's head has not moved since, and the Report counts as current from then. A seed repository is built again when its head moved and someone viewed it since its last Build, and at least weekly. +One run of the Builder for one repository, from clone to published Pack, in two phases at once: a clone without old file contents gives a Report without Lines Changed, shown at once, while a full clone counts them, the Mainline first, and replaces it. Quiet Builds that follow count the lines left. Once every line and its Surviving Lines are counted, a repository's Builds read a clone without file contents and fetch only the file versions they read. A repository's Report is rebuilt when someone asks for it and it is more than a day old, or after a push where commitscape's GitHub App is installed. A Build whose Report is whole (every line counted, built within a week) ends at once when the default branch's head has not moved since, and the Report counts as current from then. A seed repository is built again when its head moved and someone viewed it since its last Build, and at least weekly. _Avoid_: job, scan, analysis, refresh. **Engine service**: diff --git a/DEPLOY.md b/DEPLOY.md index d2d287f..a9ec301 100644 --- a/DEPLOY.md +++ b/DEPLOY.md @@ -204,7 +204,7 @@ Optional, with their defaults: | `TIME_LIMIT_SECONDS` | 900 | How long one run of the binary may take on a Build's first attempt, the clone not included. One that runs out is queued again, each attempt given twice the time, four attempts in all | | `CLONE_TIME_LIMIT_SECONDS` | 1800 | How long a clone or fetch may take on the first attempt, doubled with each attempt | | `LOGINS_ASKED` | 300 | At most this many commit authors a Build asks GitHub for the login of, a hundred to a GraphQL request; each commit's answer is kept for a year, so a rebuild asks only for new ones | -| `DISK_BUDGET_GB` | 20 | Past this, the least recently built clones in `/work/repos` are deleted | +| `DISK_BUDGET_GB` | 20 | Past this, the least recently built clones in `/work/repos` are deleted. A repository whose lines and Surviving Lines are all counted keeps a lean clone (blobless, no files written out: linux 2.4 GB, react 62 MB) instead of a full one (6.6 GB, 1.1 GB) | | `CACHE_BUDGET_GB` | 5 | Past this, the least recently used caches in `/work/caches` are deleted. A cache holds what a Build read of a repository's history (linux: about 240 MB, react: 11 MB) and lives apart from its clone, so deleting a clone never makes the next Build read the history again | | `STATE_KEY` | unset | A secret of 32 characters or more that only the Builder holds. Set, every public repository's Repo State (its engine cache) is also kept in R2 under `state/`, sealed with a key made from it (AES-256-GCM, zstd), uploading only the chunks R2 does not hold yet; a Build whose disk lost the State brings it back instead of reading the whole history again. Unset, States live on the disk only, as before. Keep it: a new key makes every State in R2 unreadable, and those Builds start clean | | `STATE_DISK_DAYS` | 7 | With `STATE_KEY` set, a State unused for this many days leaves the disk even within `CACHE_BUDGET_GB` (R2 still holds it) | diff --git a/apps/builder/src/builder.test.ts b/apps/builder/src/builder.test.ts index a673e37..88da8e7 100644 --- a/apps/builder/src/builder.test.ts +++ b/apps/builder/src/builder.test.ts @@ -124,6 +124,39 @@ test("a Build brings its State back before the engine first runs and keeps it af } }); +test("a repository ready to be lean is read from a blobless clone without files, fetching only what its Build reads, and its full clone is let go", async () => { + const work = await mkdtemp(join(tmpdir(), "builder-")); + const live: LiveIndex = { id: 1, lineage: "7", kept: true, frontier: ["f".repeat(40)], lines: true, linesLeft: 0, head: "f".repeat(40), pack: "p", mark: null }; + const f = fake(() => ok, {}, live); + const asked: string[][] = []; + f.deps.prefetch = async (dir, _env, frontier) => { + asked.push([dir, ...frontier]); + return 3; + }; + const home = join(work, "repos", "acme", "rocket"); + await mkdir(join(home, "full", ".git"), { recursive: true }); + const outcome = await build(req({ lean: true, hasLines: true }), cfg(work), f.deps); + expect(outcome).toMatchObject({ published: "full" }); + const clone = f.calls.find((c) => c.cmd === "git" && c.args[0] === "clone"); + expect(clone?.args).toEqual(expect.arrayContaining(["--filter=blob:none", "--no-checkout"])); + expect(clone?.args.at(-1)).toBe(join(home, ".lean.cloning")); + expect(asked).toEqual([[join(home, "lean"), "f".repeat(40)]]); + expect(builds(f.calls).map((c) => c.args.at(-1))).toEqual([join(home, "lean")]); + expect(existsSync(join(home, "full"))).toBe(false); + expect(existsSync(join(home, "lean", ".git"))).toBe(true); +}); + +test("a retry, or a repository not ready, reads the full clone as before", async () => { + const work = await mkdtemp(join(tmpdir(), "builder-")); + const f = fake(); + f.deps.prefetch = async () => { + throw new Error("not expected"); + }; + await build(req({ lean: true, attempt: 2 }), cfg(work), f.deps); + await build(req({ id: "build-0002" }), cfg(work), f.deps); + expect(f.calls.filter((c) => c.cmd === "git" && c.args[0] === "clone").every((c) => !c.args.includes("--no-checkout"))).toBe(true); +}); + test("git's failures in the Site's words", () => { expect(failure("remote: Repository not found.\nfatal: repository 'https://github.com/a/b.git/' not found")).toBe("not_found"); expect(failure("fatal: could not read Username for 'https://github.com': terminal prompts disabled")).toBe("private"); diff --git a/apps/builder/src/clone.ts b/apps/builder/src/clone.ts index c5f4130..2b3aba7 100644 --- a/apps/builder/src/clone.ts +++ b/apps/builder/src/clone.ts @@ -49,11 +49,12 @@ export function locked(key: string, fn: () => Promise): Promise { const lastLine = (text: string) => text.trim().split("\n").at(-1); -/** Brings a kept clone up to date, or clones the repository afresh beside `dir` and moves it there once whole; `blobless` leaves old file contents on GitHub. */ +/** Brings a kept clone up to date, or clones the repository afresh beside `dir` and moves it there once whole; `blobless` leaves old file contents on GitHub, and `checkout: false` writes no files out, only moving the branch, so a blobless clone fetches none. */ export async function ensureClone( run: typeof runCommand, - how: { url: string; dir: string; blobless: boolean; env: NodeJS.ProcessEnv; timeoutMs: number }, + how: { url: string; dir: string; blobless: boolean; env: NodeJS.ProcessEnv; timeoutMs: number; checkout?: boolean }, ): Promise { + const checkout = how.checkout ?? true; const started = Date.now(); const left = () => Math.max(1000, how.timeoutMs - (Date.now() - started)); const seconds = () => Math.round((Date.now() - started) / 100) / 10; @@ -64,7 +65,7 @@ export async function ensureClone( for (const args of [ ["rev-parse", "--quiet", "--verify", "HEAD"], ["fetch", "--quiet", "--prune", "--tags", "origin"], - ["reset", "--quiet", "--hard", "origin/HEAD"], + ["reset", "--quiet", checkout ? "--hard" : "--soft", "origin/HEAD"], ]) { const ran = await run("git", args, inside, left()); if (ran.timedOut) return timedOut; @@ -79,13 +80,13 @@ export async function ensureClone( const temp = join(parent, `.${basename(how.dir)}.cloning`); await mkdir(parent, { recursive: true }); await rm(temp, { recursive: true, force: true }); - const args = ["clone", "--quiet", ...(how.blobless ? ["--filter=blob:none"] : []), "--", how.url, temp]; + const args = ["clone", "--quiet", ...(how.blobless ? ["--filter=blob:none"] : []), ...(checkout ? [] : ["--no-checkout"]), "--", how.url, temp]; const ran = await run("git", args, { ...how.env, GIT_CEILING_DIRECTORIES: parent }, left()); if (ran.timedOut || ran.code !== 0) { await rm(temp, { recursive: true, force: true }); return ran.timedOut ? timedOut : { ok: false, reason: failure(ran.stderr), detail: lastLine(ran.stderr) }; } - if (!how.blobless) await run("git", ["commit-graph", "write", "--reachable", "--no-progress"], { ...how.env, GIT_DIR: join(temp, ".git") }, left()); + if (!how.blobless || !checkout) await run("git", ["commit-graph", "write", "--reachable", "--no-progress"], { ...how.env, GIT_DIR: join(temp, ".git") }, left()); await rm(how.dir, { recursive: true, force: true }); await rename(temp, how.dir); return { ok: true, fresh: true, seconds: seconds() }; diff --git a/apps/builder/src/job.test.ts b/apps/builder/src/job.test.ts index acf2bf2..f8739ee 100644 --- a/apps/builder/src/job.test.ts +++ b/apps/builder/src/job.test.ts @@ -353,6 +353,27 @@ test("a Build goes on when the head moved, when the Report is not whole, or for } }); +test("a Build reads a blobless clone once its lines and its Report's Surviving Lines are all counted, and a full one before", async () => { + const head = "c".repeat(40); + for (const [label, status, lean] of [["counted", "counted", true], ["still counting", "queued", false], ["never counted", null, false]] as const) { + const db = await database(); + const clones: string[][] = []; + const base = tools(); + const ctx = await context(db, { + prefetch: async () => 0, + run: async (cmd, args) => { + if (cmd === "git" && args[0] === "clone") clones.push(args); + return base(cmd, args); + }, + }); + await wholeReport(db, "acme/rocket", head, { reportAt: now() - 8 * 24 * 3600 }); + if (status) await db.insert(surviving).values({ repoId: "acme/rocket", reportKey: "reports/gh/acme/rocket/b0", personId: 1, status, askedAt: 1 }); + await db.insert(builds).values({ id: "b1", repoId: "acme/rocket", state: "queued", requestedAt: 1 }); + await runJob("b1", ctx); + expect([label, clones.some((c) => c.includes("--no-checkout"))]).toEqual([label, lean]); + } +}); + test("seeds are kept under the name GitHub's search gives, and a row under an older name moves there", async () => { const db = await database(); const storage = memoryStorage(); diff --git a/apps/builder/src/job.ts b/apps/builder/src/job.ts index db8c480..60cdfd1 100644 --- a/apps/builder/src/job.ts +++ b/apps/builder/src/job.ts @@ -57,6 +57,7 @@ export type JobContext = { queuePulls?: (repoId: string) => Promise; queueCounts?: (job: SurvivalJob) => Promise; saveState?: (repoId: string, root: string) => Promise; + prefetch?: Deps["prefetch"]; queueBuild?: (job: BuildJob & { attempt: number }, priority: number, startAfter?: number) => Promise; }; @@ -162,6 +163,7 @@ async function claimedJob(buildId: string, ctx: JobContext, attempt: number, ask attempt, hasLines: !!repo.reportKey && repo.reportLines !== false, more: more > 0, + lean: await leanReady(db, repo), }, ctx.cfg, { @@ -180,6 +182,7 @@ async function claimedJob(buildId: string, ctx: JobContext, attempt: number, ask return got.accounts; }, publish, + ...(ctx.prefetch ? { prefetch: ctx.prefetch } : {}), ...(stateTier ? { state: { restore: (root: string) => restoreState(stateTier, repo.id, root), save: (root: string) => saveState(stateTier, repo.id, root) } } : {}), index: { live: async () => liveIndex(db, await currentId()), @@ -238,6 +241,18 @@ async function keptUnchanged(ctx: JobContext, repo: typeof repositories.$inferSe return true; } +/** Whether a public repository's Builds may read a blobless clone, fetching only the file versions they read: its Lines Changed are all counted and its Report's Surviving Lines are, so no Build or count needs the whole history's files again. */ +async function leanReady(db: Db, repo: typeof repositories.$inferSelect): Promise { + if (repo.isPrivate || !repo.reportKey || repo.reportLines !== true) return false; + const live = await liveIndex(db, repo.id); + if (!live?.lines || (live.linesLeft ?? 0) > 0) return false; + const counts = await db + .select({ status: surviving.status }) + .from(surviving) + .where(and(eq(surviving.repoId, repo.id), eq(surviving.reportKey, repo.reportKey))); + return counts.some((c) => c.status === "counted") && !counts.some((c) => c.status === "queued" || c.status === "over_budget"); +} + async function queueMoreLines(ctx: JobContext, repoId: string, more: number): Promise { if (!ctx.queueBuild || more > MORE_LINES_MAX) return; const id = randomId(); diff --git a/apps/builder/src/lean.test.ts b/apps/builder/src/lean.test.ts new file mode 100644 index 0000000..3dcd66d --- /dev/null +++ b/apps/builder/src/lean.test.ts @@ -0,0 +1,37 @@ +import { expect, test } from "vitest"; +import { ensureClone } from "./clone"; +import { repo } from "./gitdata/fixture"; +import { fetchBlobs, historyBlobs, missingBlobs, neededBlobs } from "./lean"; +import { run } from "./run"; + +const env = { GIT_CONFIG_GLOBAL: "/dev/null", GIT_CONFIG_SYSTEM: "/dev/null", GIT_CONFIG_COUNT: "1", GIT_CONFIG_KEY_0: "protocol.file.allow", GIT_CONFIG_VALUE_0: "always" }; + +test("a blobless clone without files fetches only the versions a Build reads: HEAD's files and both sides of the new commits' changes, Bulk ones left out", async () => { + const r = repo(); + r.sh(r.origin, "config", "uploadpack.allowFilter", "true"); + r.sh(r.origin, "config", "uploadpack.allowAnySHA1InWant", "true"); + r.commit({ "a.rs": "1\n", "old.rs": "gone later\n" }, "first"); + const first = r.commit({ "a.rs": "1\n2\n" }, "second", "Ada", 1); + const g = { dir: r.clone, env, deadline: Date.now() + 60_000 }; + const url = `file://${r.origin}`; + const cloned = await ensureClone(run, { url, dir: r.clone, blobless: true, checkout: false, env, timeoutMs: 60_000 }); + expect(cloned.ok).toBe(true); + expect((await missingBlobs(g, [r.sh(r.origin, "rev-parse", "HEAD:a.rs").trim()])).length).toBe(1); + + r.commit({ "a.rs": "1\n2\n3\n", "old.rs": null, "b.rs": "b\n" }, "third", "Ada", 2); + const bulk = Object.fromEntries(Array.from({ length: 120 }, (_, i) => [`gen/${i}.rs`, `generated ${i}\n`])); + r.commit(bulk, "a reformat", "Ada", 3); + expect((await ensureClone(run, { url, dir: r.clone, blobless: true, checkout: false, env, timeoutMs: 60_000 })).ok).toBe(true); + const at = (rev: string) => r.sh(r.origin, "rev-parse", rev).trim(); + const needed = await neededBlobs(g, [first]); + expect(new Set(needed)).toEqual(new Set([at("HEAD:a.rs"), at("HEAD~1:a.rs"), at("HEAD~2:a.rs"), at("HEAD:b.rs"), at(`${first}:old.rs`), ...Object.keys(bulk).map((p) => at(`HEAD:${p}`))])); + expect(needed).not.toContain(at(`${first}~1:a.rs`)); + await fetchBlobs(g, needed); + expect(await missingBlobs(g, needed)).toEqual([]); + expect(await neededBlobs(g, [at("HEAD")])).toEqual([]); + + const history = await historyBlobs(g, first); + expect(history).toEqual([at(`${first}~1:a.rs`)]); + await fetchBlobs(g, history); + expect(await historyBlobs(g, first)).toEqual([]); +}); diff --git a/apps/builder/src/lean.ts b/apps/builder/src/lean.ts new file mode 100644 index 0000000..997a5d8 --- /dev/null +++ b/apps/builder/src/lean.ts @@ -0,0 +1,82 @@ +import { git, type Git } from "./gitdata/exec"; + +const ZERO = /^0+$/; +const FETCHED_AT_ONCE = 20_000; +const PATHS_AT_ONCE = 500; +const MAX_OUT = 512 << 20; + +export const BULK_RAW = 100; + +const blobOf = (mode: string, oid: string) => (mode !== "160000" && mode !== "000000" && !ZERO.test(oid) ? oid : null); + +async function lines(g: Git, args: string[], input?: string): Promise { + const ran = await git(g, args, { maxBytes: MAX_OUT, ...(input === undefined ? {} : { input }) }); + if (ran.code !== 0 || ran.capped) throw new Error(`git ${args[0]} failed${ran.timedOut ? ": out of time" : ran.capped ? ": too much output" : `: ${ran.err.trim().split("\n").at(-1) ?? ""}`}`); + return ran.out.toString("utf8").split("\n").filter(Boolean); +} + +/** Which of `oids` the clone does not hold, asked without fetching any. */ +export async function missingBlobs(g: Git, oids: string[]): Promise { + if (oids.length === 0) return []; + const out = await lines({ ...g, env: { ...g.env, GIT_NO_LAZY_FETCH: "1" } }, ["cat-file", "--batch-check=%(objectname) %(objecttype)"], `${oids.join("\n")}\n`); + return out.flatMap((l) => (l.endsWith(" missing") ? [l.slice(0, -" missing".length)] : [])); +} + +/** The file versions a Build of a blobless clone reads that it does not hold: every file at HEAD, which the head pass reads, and both sides of each file the commits since `frontier` changed, which the line pass reads, leaving out commits that change more than `bulk` paths (they are Bulk Commits, never counted). */ +export async function neededBlobs(g: Git, frontier: string[], bulk = BULK_RAW): Promise { + const wanted = new Set(); + for (const l of await lines(g, ["ls-tree", "-r", "--full-tree", "HEAD"])) { + const [mode = "", , oid = ""] = l.split("\t")[0]?.split(" ") ?? []; + const blob = blobOf(mode, oid); + if (blob) wanted.add(blob); + } + const commits = await lines(g, ["rev-list", "--no-merges", "--all", "--stdin"], frontier.map((f) => `^${f}\n`).join("")); + let current: string[] = []; + const settle = () => { + if (current.length <= bulk) for (const b of current) wanted.add(b); + current = []; + }; + if (commits.length > 0) { + for (const l of await lines(g, ["diff-tree", "--stdin", "-r", "--no-renames", "--raw", "--no-abbrev"], `${commits.join("\n")}\n`)) { + if (!l.startsWith(":")) { + settle(); + continue; + } + const [oldMode = "", newMode = "", oldOid = "", newOid = ""] = l.slice(1).split("\t")[0]?.split(" ") ?? []; + for (const b of [blobOf(oldMode, oldOid), blobOf(newMode, newOid)]) if (b) current.push(b); + } + settle(); + } + return missingBlobs(g, [...wanted]); +} + +/** Every version the history holds of the paths HEAD changed since `since`, which blame reads when it walks those files back, that the clone does not hold. */ +export async function historyBlobs(g: Git, since: string): Promise { + const paths = await lines(g, ["diff", "--name-only", "--no-renames", "-z", since, "HEAD"]).then((l) => l.join("\n").split("\0").filter(Boolean)); + const wanted = new Set(); + for (let i = 0; i < paths.length; i += PATHS_AT_ONCE) { + for (const l of await lines(g, ["log", "--all", "--format=", "--raw", "--no-renames", "--no-abbrev", "--", ...paths.slice(i, i + PATHS_AT_ONCE)])) { + if (!l.startsWith(":")) continue; + const [oldMode = "", newMode = "", oldOid = "", newOid = ""] = l.slice(1).split("\t")[0]?.split(" ") ?? []; + for (const b of [blobOf(oldMode, oldOid), blobOf(newMode, newOid)]) if (b) wanted.add(b); + } + } + return missingBlobs(g, [...wanted]); +} + +/** Fetches the given file versions from the clone's remote by their ids, many to a request, each request tried twice. */ +export async function fetchBlobs(g: Git, oids: string[]): Promise { + for (let i = 0; i < oids.length; i += FETCHED_AT_ONCE) { + const chunk = oids.slice(i, i + FETCHED_AT_ONCE); + const fetch = () => lines(g, ["-c", "fetch.negotiationAlgorithm=noop", "fetch", "--quiet", "--no-tags", "--no-write-fetch-head", "--recurse-submodules=no", "--filter=blob:none", "--stdin", "origin"], `${chunk.join("\n")}\n`); + await fetch().catch(fetch); + } +} + +/** Fetches into a blobless clone the file versions its Build reads that it lacks, and says how many. */ +export async function prefetch(dir: string, env: NodeJS.ProcessEnv, frontier: string[], timeoutMs: number): Promise { + const g = { dir, env, deadline: Date.now() + timeoutMs }; + const needed = await neededBlobs(g, frontier); + await fetchBlobs(g, needed); + return needed.length; +} diff --git a/apps/builder/src/run.ts b/apps/builder/src/run.ts index d0384e2..f58b826 100644 --- a/apps/builder/src/run.ts +++ b/apps/builder/src/run.ts @@ -10,6 +10,7 @@ import { cloneUrl, ensureClone, gitEnv, locked, missingIn, tipsOf, type Cloned } import type { Config } from "./config"; import { cacheFor, privateDir, repoDir, scratchDir } from "./disk"; import { readBuilt, readEvents, type Built } from "./engine"; +import { prefetch } from "./lean"; import { engineSpans, Phases } from "./telemetry"; export type BuildTarget = { @@ -24,6 +25,7 @@ export type BuildTarget = { attempt?: number; hasLines?: boolean; more?: boolean; + lean?: boolean; }; export type Phase = "quick" | "full"; @@ -152,6 +154,7 @@ export type StateStore = { restore: (root: string) => Promise<{ restored: boolea export type Deps = { run: typeof run; state?: StateStore; + prefetch?: typeof prefetch; progress: (step: BuildStep) => Promise; accounts: (signatures: Signature[]) => Promise>; index: IndexStore; @@ -182,7 +185,8 @@ export async function build(req: BuildTarget, cfg: Config, deps: Deps): Promise< const binLimit = timeLimitOf(cfg, attempt); const cloneLimit = cloneLimitOf(cfg, attempt) * 1000; const home = req.private ? privateDir(cfg, req.id) : repoDir(cfg, req.owner, req.name); - const full = join(home, "full"); + const lean = !req.private && !!req.lean && attempt === 1; + const full = join(home, lean ? "lean" : "full"); const scratch = scratchDir(cfg, req.id); const quick = join(scratch, "quick"); const env = gitEnv(req.token); @@ -253,7 +257,15 @@ export async function build(req: BuildTarget, cfg: Config, deps: Deps): Promise< } }; - const fullClone = () => locked(full, () => ensureClone(deps.run, { url, dir: full, blobless: false, env, timeoutMs: cloneLimit })); + const leanClone = async (): Promise => { + const c = await ensureClone(deps.run, { url, dir: full, blobless: true, checkout: false, env, timeoutMs: cloneLimit }); + if (!c.ok) return c; + const live = await deps.index.live(); + const fetched = await (deps.prefetch ?? prefetch)(full, env, live?.frontier ?? [], cloneLimit); + deps.log?.(`clone of ${req.owner}/${req.name}: blobless, ${fetched} file versions fetched for this Build`); + return c; + }; + const fullClone = () => locked(full, () => (lean ? leanClone() : ensureClone(deps.run, { url, dir: full, blobless: false, env, timeoutMs: cloneLimit }))); const caughtUp = async () => { const missing = await missingIn(deps.run, full, await tipsOf(deps.run, quick, env, CHECK_MS), env, CHECK_MS); @@ -343,6 +355,7 @@ export async function build(req: BuildTarget, cfg: Config, deps: Deps): Promise< .catch((e: unknown) => deps.log?.(`state of ${req.owner}/${req.name} not saved: ${(e as Error).message}`)); } const published: Phase | null = fullMade ? "full" : quickMade ? "quick" : null; + if (f.ok && lean && fullMade) await rm(join(home, "full"), { recursive: true, force: true }); if (f.ok) return { published, seconds: seconds(), resumable: false, kind: phases.kind, made }; resumable = f.reason === "timed_out" && attempt < BUILD_ATTEMPTS; return { published, seconds: seconds(), failure: { reason: f.reason, ...(f.detail ? { detail: f.detail } : {}) }, resumable, kind: phases.kind, made }; diff --git a/apps/builder/src/survival.ts b/apps/builder/src/survival.ts index b746e6f..8b3681d 100644 --- a/apps/builder/src/survival.ts +++ b/apps/builder/src/survival.ts @@ -1,11 +1,12 @@ import { existsSync } from "node:fs"; import { mkdir, rm } from "node:fs/promises"; import { join } from "node:path"; -import { and, eq, inArray, sql } from "drizzle-orm"; +import { and, desc, eq, inArray, isNotNull, sql } from "drizzle-orm"; import { installationToken, now, randomId, schema, type SurvivalJob } from "@commitscape/server"; import { cloneUrl, ensureClone, gitEnv, locked } from "./clone"; import { accountsFor, writeAccounts } from "./accounts"; import { cacheFor, holding, privateDir, repoDir, scratchDir } from "./disk"; +import { fetchBlobs, historyBlobs } from "./lean"; import type { JobContext } from "./job"; import { NAME, type Ran } from "./run"; @@ -57,12 +58,15 @@ export async function runSurvival(job: SurvivalJob, ctx: JobContext & { budget: const key = `surviving-${randomId()}`; const scratch = scratchDir(cfg, key); const home = repo.isPrivate ? privateDir(cfg, key) : repoDir(cfg, repo.owner, repo.name); - const full = join(home, "full"); + const lean = join(home, "lean"); + const leaned = !repo.isPrivate && existsSync(join(lean, ".git")); + const full = leaned ? lean : join(home, "full"); const env = gitEnv(token); const started = Date.now(); let ran: Ran; holding.add(key); try { + if (leaned) await prefetch(ctx, repo.id, lean, env); const cloned = existsSync(join(full, ".git")) ? ({ ok: true } as const) : await locked(full, () => ensureClone(ctx.run, { url: cloneUrl(cfg, repo.owner, repo.name), dir: full, blobless: false, env, timeoutMs: cfg.cloneLimit * 1000 })); @@ -122,3 +126,21 @@ export async function runSurvival(job: SurvivalJob, ctx: JobContext & { budget: const counted = new Set(answer.people.map((p) => p.id)); await mark("failed", job.personIds.filter((id) => !counted.has(id))); } + +async function prefetch(ctx: JobContext, repoId: string, dir: string, env: NodeJS.ProcessEnv): Promise { + const [last] = await ctx.db + .select({ head: surviving.head }) + .from(surviving) + .where(and(eq(surviving.repoId, repoId), eq(surviving.status, "counted"), isNotNull(surviving.head))) + .orderBy(desc(surviving.countedAt)) + .limit(1); + if (!last?.head) return; + const g = { dir, env, deadline: Date.now() + ctx.cfg.cloneLimit * 1000 }; + try { + const wanted = await historyBlobs(g, last.head); + await fetchBlobs(g, wanted); + ctx.log(`surviving ${repoId}: ${wanted.length} file versions fetched into the blobless clone`); + } catch (e) { + ctx.log(`surviving ${repoId}: file versions not fetched ahead, so blame fetches them as it goes: ${(e as Error).message}`); + } +} diff --git a/crates/commitscape-index/src/gix_source/lines.rs b/crates/commitscape-index/src/gix_source/lines.rs index 51a8e2e..ea7c370 100644 --- a/crates/commitscape-index/src/gix_source/lines.rs +++ b/crates/commitscape-index/src/gix_source/lines.rs @@ -6,7 +6,7 @@ use std::sync::Arc; use std::time::Instant; use commitscape_core::{LineDelta, Oid}; -use gix::objs::{FindExt, FindHeader}; +use gix::objs::{Find, FindExt, FindHeader}; use gix::odb::pack::cache::lru::MemoryCappedHashmap; use gix::ObjectId; @@ -187,7 +187,7 @@ fn count_segment( .iter() .filter_map(|&i| pairs.get(i).map(|p| (p.before, p.after))) .collect(); - let mut by_pair: Vec>> = vec![None; pairs.len()]; + let mut by_pair: Vec> = vec![None; pairs.len()]; for (start, out) in pool.run(Task::Count(wanted), until)? { if let Output::Counts(found) = out { for (k, delta) in found.into_iter().enumerate() { @@ -203,29 +203,33 @@ fn count_segment( let Some(commit) = commit else { continue; }; - let deltas: Option>> = commit - .want - .iter() - .map(|want| match want { - None => Some(None), - Some(want) => { - let counted = by_pair.get(want >> 1).copied().flatten()?; - Some(counted.map(|d| { - if want & 1 == 1 { - LineDelta { - added: d.removed, - removed: d.added, - } - } else { - d + let mut deltas: Vec> = Vec::with_capacity(commit.want.len()); + let mut reached = true; + let mut missing = false; + for want in &commit.want { + let Some(want) = want else { + deltas.push(None); + continue; + }; + match by_pair.get(want >> 1).copied().flatten() { + None => reached = false, + Some(Counted::Missing) => missing = true, + Some(Counted::Lines(counted)) => deltas.push(counted.map(|d| { + if want & 1 == 1 { + LineDelta { + added: d.removed, + removed: d.added, } - })) - } - }) - .collect(); - match deltas { - Some(deltas) => sink(w.id, &commit.raws, &deltas), - None => finished = false, + } else { + d + } + })), + } + } + if !reached { + finished = false; + } else if !missing { + sink(w.id, &commit.raws, &deltas); } } Ok(finished) @@ -236,9 +240,15 @@ enum Task { Count(Vec<(Option, ObjectId)>), } +#[derive(Clone, Copy)] +enum Counted { + Lines(Option), + Missing, +} + enum Output { Diffs(Vec>>), - Counts(Vec>), + Counts(Vec), } type Done = Result, GixError>; @@ -468,22 +478,29 @@ impl Blobs { repo: &gix::Repository, before: Option, after: ObjectId, - ) -> Result, GixError> { + ) -> Result { let mut hint = None; if let Some(id) = before { - if !self.load(repo, id, None)? { - return Ok(None); + match self.load(repo, id, None)? { + None => return Ok(Counted::Missing), + Some(false) => return Ok(Counted::Lines(None)), + Some(true) => {} } let bytes = self.bytes(Some(id)); if is_binary(bytes) { - return Ok(None); + return Ok(Counted::Lines(None)); } hint = Some(bytes.len()); } - if !self.load(repo, after, hint)? { - return Ok(None); + match self.load(repo, after, hint)? { + None => return Ok(Counted::Missing), + Some(false) => return Ok(Counted::Lines(None)), + Some(true) => {} } - Ok(line_delta(self.bytes(before), self.bytes(Some(after)))) + Ok(Counted::Lines(line_delta( + self.bytes(before), + self.bytes(Some(after)), + ))) } fn bytes(&self, id: Option) -> &[u8] { @@ -496,48 +513,57 @@ impl Blobs { repo: &gix::Repository, id: ObjectId, hint: Option, - ) -> Result { + ) -> Result, GixError> { if let Some(at) = self.recent.iter().position(|r| r.id == id) { let big = self.recent.get(at).is_some_and(|r| r.big); if let Some(hit) = self.recent.get_mut(at..) { hit.rotate_left(1); } - return Ok(!big); + return Ok(Some(!big)); + } + let unsure = hint.is_none_or(|n| n > MAX_BYTES / 2); + if unsure { + match self.size_of(repo, &id)? { + None => return Ok(None), + Some(size) if size > MAX_BYTES as u64 => { + self.keep(id, Vec::new(), true); + return Ok(Some(false)); + } + Some(_) => {} + } } let mut bytes = if self.recent.len() >= RECENT_BLOBS { self.recent.remove(0).bytes } else { Vec::new() }; - let unsure = hint.is_none_or(|n| n > MAX_BYTES / 2); - if unsure && self.over_limit(repo, &id)? { - bytes.clear(); - self.recent.push(Recent { - id, - bytes, - big: true, - }); - return Ok(false); - } - let size = repo + let found = repo .objects - .find_blob(&id, &mut bytes) - .map_err(|e| GixError::Git { + .try_find(&id, &mut bytes) + .map_err(|source| GixError::Git { context: "reading a blob for its lines", - source: Box::new(e), - })? - .data - .len(); + source, + })?; + let Some(size) = found.map(|d| d.data.len()) else { + return Ok(None); + }; bytes.truncate(size); let big = size > MAX_BYTES; if big { bytes = Vec::new(); } + self.keep(id, bytes, big); + Ok(Some(!big)) + } + + fn keep(&mut self, id: ObjectId, bytes: Vec, big: bool) { + if self.recent.len() >= RECENT_BLOBS { + self.recent.remove(0); + } self.recent.push(Recent { id, bytes, big }); - Ok(!big) } - fn over_limit(&self, repo: &gix::Repository, id: &ObjectId) -> Result { + fn size_of(&self, repo: &gix::Repository, id: &ObjectId) -> Result, GixError> { let header = repo .objects .try_header(id) @@ -545,7 +571,7 @@ impl Blobs { context: "reading the size of a blob for its lines", source, })?; - Ok(header.is_some_and(|h| h.size > MAX_BYTES as u64)) + Ok(header.map(|h| h.size)) } } diff --git a/crates/commitscape-index/src/gix_source/mod.rs b/crates/commitscape-index/src/gix_source/mod.rs index b4b0aae..2abdfdd 100644 --- a/crates/commitscape-index/src/gix_source/mod.rs +++ b/crates/commitscape-index/src/gix_source/mod.rs @@ -88,6 +88,13 @@ impl GixRepo { gix::ObjectId::try_from(id.0.as_slice()).ok() } + /// Whether this is a partial clone, whose missing objects its remote promises. + pub fn is_partial(&self) -> bool { + let config = self.repo.config_snapshot(); + config.string("extensions.partialClone").is_some() + || config.boolean("remote.origin.promisor") == Some(true) + } + /// Every commit reachable from the given ones, or None when one of them is not in this repository. pub fn ancestors( &self, diff --git a/crates/commitscape-index/tests/lines.rs b/crates/commitscape-index/tests/lines.rs index 2860514..7c308f1 100644 --- a/crates/commitscape-index/tests/lines.rs +++ b/crates/commitscape-index/tests/lines.rs @@ -315,3 +315,66 @@ fn the_log_names_what_was_counted_after_a_mark_and_refuses_a_mark_it_does_not_be }; assert_eq!(store.since(Some(past)).1, None); } + +fn git(dir: &std::path::Path, args: &[&str]) -> String { + let out = std::process::Command::new("git") + .current_dir(dir) + .args(args) + .env("GIT_CONFIG_GLOBAL", "/dev/null") + .env("GIT_CONFIG_SYSTEM", "/dev/null") + .env("GIT_AUTHOR_NAME", "Alice Example") + .env("GIT_AUTHOR_EMAIL", "alice@example.com") + .env("GIT_COMMITTER_NAME", "Alice Example") + .env("GIT_COMMITTER_EMAIL", "alice@example.com") + .output() + .expect("running git"); + assert!( + out.status.success(), + "{}", + String::from_utf8_lossy(&out.stderr) + ); + String::from_utf8(out.stdout).expect("UTF-8") +} + +#[test] +fn a_file_version_missing_from_the_clone_leaves_its_commit_for_later_and_counts_the_rest() { + let dir = tempfile::tempdir().expect("temp dir"); + let root = dir.path(); + git(root, &["init", "-q", "-b", "main"]); + for (i, (file, text)) in [ + ("a.rs", "1\n2\n"), + ("b.rs", "x\n"), + ("b.rs", "x\ny\n"), + ("a.rs", "1\n2\n3\n"), + ] + .iter() + .enumerate() + { + std::fs::write(root.join(file), text).expect("writing"); + git(root, &["add", file]); + let when = format!("@{} +0000", 1_700_000_000 + i * 86_400); + let out = std::process::Command::new("git") + .current_dir(root) + .args(["commit", "-q", "-m", "change"]) + .env("GIT_CONFIG_GLOBAL", "/dev/null") + .env("GIT_AUTHOR_NAME", "Alice Example") + .env("GIT_AUTHOR_EMAIL", "alice@example.com") + .env("GIT_COMMITTER_NAME", "Alice Example") + .env("GIT_COMMITTER_EMAIL", "alice@example.com") + .env("GIT_AUTHOR_DATE", &when) + .env("GIT_COMMITTER_DATE", &when) + .output() + .expect("committing"); + assert!(out.status.success()); + } + let gone = git(root, &["rev-parse", "HEAD~2:b.rs"]); + let gone = gone.trim(); + std::fs::remove_file(root.join(".git/objects").join(&gone[..2]).join(&gone[2..])) + .expect("removing the blob"); + let repo = commitscape_index::GixRepo::open(root).expect("opening"); + let idx = index_from_scratch(&repo).expect("indexing"); + let pass = line_pass(&repo, &idx, &LinePlan::default(), None, &mut |_, _| {}) + .expect("a missing file version is no error"); + assert_eq!((pass.counted, pass.left), (2, 2)); + assert_eq!(pass.settled, vec![true, false, false, true]); +} diff --git a/crates/commitscape/src/surviving.rs b/crates/commitscape/src/surviving.rs index e144ad4..b79fcb2 100644 --- a/crates/commitscape/src/surviving.rs +++ b/crates/commitscape/src/surviving.rs @@ -104,8 +104,15 @@ pub fn run(args: SurvivingArgs) -> anyhow::Result<()> { let kept = repo_dir(&options, &index.repo).map(|d| d.join("ownership")); let previous = kept.as_deref().and_then(Ownership::read); let deadline = started.checked_add(budget); - let mut ownership = survival.own(&threads, previous, deadline)?; - let everyone = survival.everyone(&repo, &mut ownership)?; + let (ownership, everyone) = if args.partial || repo.is_partial() { + let mut ownership = survival.own(&fetching, previous, deadline)?; + let everyone = survival.everyone(&fetching.local(), &mut ownership)?; + (ownership, everyone) + } else { + let mut ownership = survival.own(&threads, previous, deadline)?; + let everyone = survival.everyone(&repo, &mut ownership)?; + (ownership, everyone) + }; if let Some(path) = kept.as_deref() { ownership.write(path)?; } @@ -163,7 +170,7 @@ pub fn run(args: SurvivingArgs) -> anyhow::Result<()> { }); continue; }; - let survived = if args.partial { + let survived = if args.partial || repo.is_partial() { survival.person(&fetching, author, budget)? } else { survival.person(&threads, author, budget)? diff --git a/docs/working.md b/docs/working.md index ee15ed1..47155b3 100644 --- a/docs/working.md +++ b/docs/working.md @@ -50,6 +50,22 @@ to a repository the App is installed on, the nightly seeds and for a public repository and fetched next time. A warm Build (a kept clone, or a Stored Index that already has its lines) fetches or clones once and runs one `build`. + Once a public repository's Lines Changed and its Report's Surviving + Lines are all counted, its Builds read a lean clone instead + (`WORK_DIR/repos///lean`): blobless and without files + written out, fetched with `--filter=blob:none`, so only new commits and + trees arrive. Before the engine runs, the Builder lists the file + versions the Build reads that the clone lacks (every file at HEAD, and + both sides of each change in the commits past the last export's + frontier, Bulk Commits left out) and fetches them by id in requests of + 20,000; the full clone is then deleted. A version still missing leaves + its commit's lines to count later, never an error. git data reads the + same clone: git fetches what `diff` and `merge-tree` need itself. The + count of Surviving Lines fetches every version of the files changed + since its last count the same way, and fetches any other it meets as + blame walks. A retry reads the full clone. linux, 19 days behind: + 36 MB of commits and trees and 105 MB of file versions, against 214 MB + fetched in full; the kept clone is 2.4 GB instead of 6.6 GB. 3. **Finds logins.** `commitscape signatures` lists each author address with its newest commit. A noreply address gives the login; for the others the Builder asks GitHub's GraphQL API who made those commits, a hundred to a From 09bd688feaeb1a2437875705b651f61df65b49fa Mon Sep 17 00:00:00 2001 From: Dev Talan <84081651+devchaudhary24k@users.noreply.github.com> Date: Tue, 27 Oct 2026 06:16:02 +0530 Subject: [PATCH 14/82] perf: search the Commit List's words in the engine service A word search of the Commit List scanned every subject of the Stored Index in Postgres, twice on a first page (the rows and the count): on linux 2.1 s warm and 11 s cold. Commits under a folder did the same scan to hand the engine service the commits whose words matched. The engine service, which already holds every subject, now matches the words itself as Postgres did: each word, lowercased, in the subject or in the name or login of who made the commit, every word needed, with the other filters (person, kind, dates, weekday, hour, merges). The new /v1/commits/search answers a page of shas newest first with the total and the next cursor, and /v1/commits/under matches words too; the Site reads only that page's rows from Postgres. A Report with no pack, or a query with no words, reads Postgres as before. linux's pack (1.5M commits) on 2 cores: "fix" 251,254 matches, "memory leak" 4,589, a login 47,714, each 0.22-0.26 s; the same question again comes from the engine's answer cache. --- apps/engine/src/commits.rs | 113 +++++++++++++++++++- apps/engine/src/questions.rs | 16 +++ apps/engine/src/routes.rs | 1 + apps/engine/tests/engine.rs | 64 +++++++++++ apps/site/src/server/commits.test.ts | 19 +++- apps/site/src/server/commits.ts | 17 ++- apps/site/src/server/engine-service.test.ts | 2 + apps/site/src/server/engine-service.ts | 2 + packages/server/src/index-commits.ts | 11 -- 9 files changed, 221 insertions(+), 24 deletions(-) diff --git a/apps/engine/src/commits.rs b/apps/engine/src/commits.rs index 045ed43..58df8c2 100644 --- a/apps/engine/src/commits.rs +++ b/apps/engine/src/commits.rs @@ -1,6 +1,6 @@ use std::collections::HashSet; -use commitscape_core::{CommitMeta, Index, Oid}; +use commitscape_core::{AuthorId, CommitMeta, Index, Oid}; use serde::{Deserialize, Serialize}; use crate::loaded::LoadedPack; @@ -32,6 +32,87 @@ pub struct CommitQuery { pub hour: Option, #[serde(default)] pub limit: Option, + #[serde(default)] + pub merges: Option, + #[serde(default)] + pub q: Option, +} + +const WORDS_MAX: usize = 12; + +/// The words of a search, as the Site's `wordsOf` splits them: lowercased, split at whitespace, at most twelve. +pub fn words_of(q: Option<&str>) -> Vec { + q.unwrap_or_default() + .to_lowercase() + .split_whitespace() + .take(WORDS_MAX) + .map(str::to_string) + .collect() +} + +fn contains(text: &str, word: &str) -> bool { + if text.is_ascii() && word.is_ascii() { + let (t, w) = (text.as_bytes(), word.as_bytes()); + return w.is_empty() || t.windows(w.len()).any(|x| x.eq_ignore_ascii_case(w)); + } + text.to_lowercase().contains(word) +} + +struct Words { + words: Vec, + people: Vec>, + unknown: Vec, +} + +impl Words { + fn of(held: &LoadedPack, q: Option<&str>) -> Words { + let words = words_of(q); + let index = &held.pack.index; + let named: Vec<(AuthorId, String)> = index + .authors + .iter() + .map(|(id, a)| { + let login = held.person(id).login.unwrap_or_default(); + (id, format!("{} {login}", a.name).to_lowercase()) + }) + .collect(); + Words { + people: words + .iter() + .map(|w| { + named + .iter() + .filter(|(_, n)| n.contains(w.as_str())) + .map(|(id, _)| *id) + .collect() + }) + .collect(), + unknown: words + .iter() + .map(|w| "someone unknown ".contains(w.as_str())) + .collect(), + words, + } + } + + fn keep(&self, index: &Index, c: &CommitMeta) -> bool { + if self.words.is_empty() { + return true; + } + let subject = index + .subjects + .get(c.subject()) + .map(String::from_utf8_lossy) + .unwrap_or_default(); + let author = index.author_of(c); + self.words.iter().enumerate().all(|(i, w)| { + contains(&subject, w) + || match author { + Some(a) => self.people.get(i).is_some_and(|p| p.contains(&a)), + None => self.unknown.get(i).copied().unwrap_or(false), + } + }) + } } #[derive(Debug, Clone, PartialEq, Serialize)] @@ -62,6 +143,7 @@ fn keeps(index: &Index, q: &CommitQuery, c: &CommitMeta) -> bool { q.weekday.is_none_or(|w| ((day + 3) % 7) as f64 == w), q.hour .is_none_or(|h| (local % DAY).div_euclid(HOUR) as f64 == h), + q.merges.is_none_or(|m| m != 0.0 || !c.is_merge()), ]; tests.iter().all(|&t| t) } @@ -179,15 +261,40 @@ pub fn under( said: Option<&[String]>, ) -> Under { let index = &held.pack.index; - let limit = page_limit(query.limit); let said: Option> = said.map(|s| s.iter().filter_map(|x| oid_of(x)).collect()); + let words = Words::of( + held, + if said.is_some() { + None + } else { + query.q.as_deref() + }, + ); let matched: Vec<&CommitMeta> = held .under(path) .iter() .filter_map(|&c| index.commits.get(c as usize)) - .filter(|c| keeps(index, query, c)) + .filter(|c| keeps(index, query, c) && words.keep(index, c)) .filter(|c| said.as_ref().is_none_or(|s| s.contains(&c.id))) .collect(); + paged(matched, query, cursor) +} + +/// One page of every commit that matches the query, words and all, newest first, from the cursor on, with how many matched and the cursor of the next page, as the Site's Commit List finds them in Postgres. +pub fn search(held: &LoadedPack, query: &CommitQuery, cursor: Option<&str>) -> Under { + let index = &held.pack.index; + let words = Words::of(held, query.q.as_deref()); + let matched: Vec<&CommitMeta> = index + .commits + .iter() + .rev() + .filter(|c| keeps(index, query, c) && words.keep(index, c)) + .collect(); + paged(matched, query, cursor) +} + +fn paged(matched: Vec<&CommitMeta>, query: &CommitQuery, cursor: Option<&str>) -> Under { + let limit = page_limit(query.limit); let start = match cursor.and_then(after_of) { Some((at, sha)) => matched.partition_point(|c| { !(c.time < at || (c.time == at && c.id.to_hex().as_str() < sha.as_str())) diff --git a/apps/engine/src/questions.rs b/apps/engine/src/questions.rs index 1f22f9d..d0cd122 100644 --- a/apps/engine/src/questions.rs +++ b/apps/engine/src/questions.rs @@ -144,6 +144,22 @@ impl Question for Under { } } +#[derive(Debug, Clone, Deserialize, Serialize)] +pub struct Search { + #[serde(default)] + pub query: CommitQuery, + #[serde(default)] + pub cursor: Option, +} + +impl Question for Search { + const PATH: &'static str = "/v1/commits/search"; + + fn answer(&self, held: &LoadedPack) -> serde_json::Result> { + serde_json::to_vec(&commits::search(held, &self.query, self.cursor.as_deref())) + } +} + #[derive(Debug, Clone, Deserialize, Serialize)] pub struct Insight { pub number: u64, diff --git a/apps/engine/src/routes.rs b/apps/engine/src/routes.rs index afe929e..1abbfa5 100644 --- a/apps/engine/src/routes.rs +++ b/apps/engine/src/routes.rs @@ -369,6 +369,7 @@ pub fn router(engine: Arc) -> Router { .route(questions::Story::PATH, post(asked::)) .route(questions::CodeLog::PATH, post(asked::)) .route(questions::Under::PATH, post(asked::)) + .route(questions::Search::PATH, post(asked::)) .route(questions::Insight::PATH, post(asked::)); let v1 = v1.route_layer(middleware::from_fn_with_state(engine.clone(), authorized)); Router::new() diff --git a/apps/engine/tests/engine.rs b/apps/engine/tests/engine.rs index e95c396..981450a 100644 --- a/apps/engine/tests/engine.rs +++ b/apps/engine/tests/engine.rs @@ -510,6 +510,70 @@ async fn the_code_window_and_the_universe_are_answered_from_the_pack() { .all(|h| h["person"]["login"] != "bob")); } +#[tokio::test] +async fn commits_are_searched_by_their_words_in_the_engine_as_the_commit_list_searches_them() { + let s = setup().await; + let search = |query: Value| { + let app = s.app.clone(); + async move { + let (status, found) = call( + &app, + "/v1/commits/search", + Some(TOKEN), + Some(json!({ "pack": ROCKET, "query": query })), + ) + .await; + assert_eq!(status, StatusCode::OK); + found + } + }; + let all = search(json!({})).await; + assert_eq!(all["total"], 3); + let newest_first = all["shas"].clone(); + assert_eq!( + search(json!({ "q": "FIRST" })).await["shas"], + json!([newest_first[2]]) + ); + assert_eq!(search(json!({ "q": "feat first" })).await["total"], 1); + assert_eq!(search(json!({ "q": "feat nothing" })).await["total"], 0); + assert_eq!( + search(json!({ "q": "bob" })).await["shas"], + json!([newest_first[1]]) + ); + assert_eq!(search(json!({ "q": "ada" })).await["total"], 2); + assert_eq!( + search(json!({ "q": "ada", "merges": 0, "since": (DAY0 + DAY) / DAY })).await["shas"], + json!([newest_first[0]]) + ); + let first = search(json!({ "limit": 2 })).await; + assert_eq!( + ( + first["total"].clone(), + first["shas"].as_array().map(Vec::len) + ), + (json!(3), Some(2)) + ); + let (_, rest) = call( + &s.app, + "/v1/commits/search", + Some(TOKEN), + Some(json!({ "pack": ROCKET, "query": { "limit": 2 }, "cursor": first["next"] })), + ) + .await; + assert_eq!( + (rest["shas"].clone(), rest["next"].clone()), + (json!([newest_first[2]]), Value::Null) + ); + let (_, under) = call( + &s.app, + "/v1/commits/under", + Some(TOKEN), + Some(json!({ "pack": ROCKET, "path": "src/", "query": { "q": "bob" } })), + ) + .await; + assert_eq!(under["shas"], json!([newest_first[1]])); +} + #[tokio::test] async fn the_universe_rows_are_what_the_atlas_is_made_from() { let s = setup().await; diff --git a/apps/site/src/server/commits.test.ts b/apps/site/src/server/commits.test.ts index e338559..2d7d61c 100644 --- a/apps/site/src/server/commits.test.ts +++ b/apps/site/src/server/commits.test.ts @@ -1,7 +1,7 @@ import { describe, expect, test } from "vitest"; import { cursorOf, UNKNOWN_PERSON } from "@commitscape/data"; import { now, schema, seedIndex, type SeedIndex } from "@commitscape/server"; -import { testDeps, viewer } from "#/test/deps"; +import { fakeEngine, packed, testDeps, viewer } from "#/test/deps"; import { commitAskOf, COMMITS_UNAVAILABLE, reportCommitPage } from "./commits"; import { SiteError } from "./http"; @@ -89,6 +89,23 @@ describe("the commits API", () => { expect(seen.page?.rows).toHaveLength(3); }); + test("words are searched by the engine service over the pack, and only the page it names is read from Postgres", async () => { + const engine = fakeEngine(({ endpoint }) => (endpoint === "/v1/commits/search" ? { shas: [sha("a1")], total: 2, next: "next-page" } : endpoint === "/v1/commits/under" ? { shas: [sha("b2")], total: 1, next: null } : undefined)); + const deps = Object.assign(await stored(), { engine }); + const si = (await deps.db.select().from(repositories)).find((r) => r.id === "acme/rocket")?.indexId ?? 0; + const pack = await packed(deps.db, si); + const found = await reportCommitPage(deps, viewer(), "acme", "rocket", { q: "Launch", kind: 0 }); + expect(engine.asked).toEqual([{ endpoint: "/v1/commits/search", body: { pack, query: { q: "Launch", kind: 0 } } }]); + expect(found.page?.rows.map((r) => r.subject)).toEqual(["feat: launch"]); + expect([found.page?.total, found.page?.next]).toEqual([2, "next-page"]); + const under = await reportCommitPage(deps, viewer(), "acme", "rocket", { q: "fuel", under: "a.ts" }); + expect(engine.asked.at(-1)).toEqual({ endpoint: "/v1/commits/under", body: { pack, path: "a.ts", query: { q: "fuel" }, said: null } }); + expect(under.page?.rows.map((r) => r.subject)).toEqual(["fix: the fuel"]); + const plain = await reportCommitPage(deps, viewer(), "acme", "rocket", { kind: 1 }); + expect(plain.page?.rows).toHaveLength(2); + expect(engine.asked).toHaveLength(2); + }); + test("a repository built before it had a Stored Index says so until it is built again", async () => { const deps = await stored(); expect(await failure(reportCommitPage(deps, viewer(), "acme", "old", {}))).toEqual([404, COMMITS_UNAVAILABLE]); diff --git a/apps/site/src/server/commits.ts b/apps/site/src/server/commits.ts index efe35cf..9622144 100644 --- a/apps/site/src/server/commits.ts +++ b/apps/site/src/server/commits.ts @@ -1,6 +1,6 @@ import "@tanstack/react-start/server-only"; import { wordsOf, type CommitPage, type CommitQuery } from "@commitscape/data"; -import { indexCommitPage, indexCommitShas, sha256 } from "@commitscape/server"; +import { indexCommitPage, sha256 } from "@commitscape/server"; import { packOf, withPack } from "./answers"; import { SiteError } from "./http"; import { readable, type Deps, type Viewer } from "./repos"; @@ -42,15 +42,13 @@ export function commitAskOf(params: URLSearchParams): CommitAsk { return ask; } -async function pageUnder(deps: Deps, si: number, pack: string, path: string, query: CommitQuery, cursor: string | undefined, link: string): Promise { - const said = wordsOf(query.q).length > 0 ? await indexCommitShas(deps.db, { si, q: query.q }) : null; - const { shas, total, next } = await deps.engine.under(pack, path, query, cursor, said); - const page = await indexCommitPage(deps.db, { si, link, shas, limit: Math.max(1, shas.length) }); +async function pageOf(deps: Deps, si: number, found: { shas: string[]; total: number; next: string | null }, link: string): Promise { + const page = await indexCommitPage(deps.db, { si, link, shas: found.shas, limit: Math.max(1, found.shas.length) }); if (!page) return null; - return { ...page, total, next }; + return { ...page, total: found.total, next: found.next }; } -/** One page of a readable Report's commits, with its ETag and how long it may be kept; no page when `seen` is already its ETag. Commits under a path are found by the engine service, their words and rows in Postgres. */ +/** One page of a readable Report's commits, with its ETag and how long it may be kept; no page when `seen` is already its ETag. Commits under a path, and commits searched by their words, are found by the engine service, which holds every subject, and their rows read from Postgres. */ export async function reportCommitPage(deps: Deps, viewer: Viewer, owner: string, name: string, ask: CommitAsk, seen?: string | null): Promise { const row = await readable(deps, viewer, owner, name); const { at, under, cursor, ...query } = ask; @@ -65,9 +63,10 @@ export async function reportCommitPage(deps: Deps, viewer: Viewer, owner: string if (seen && seen.split(",").some((t) => t.trim().replace(/^W\//, "") === etag)) return { page: null, etag, cacheControl }; const link = `https://github.com/${row.owner}/${row.name}/commit/`; let page: CommitPage | null; - if (under === undefined) page = await indexCommitPage(deps.db, { ...query, cursor, si, link }); + if (under === undefined && (pack === null || wordsOf(query.q).length === 0)) page = await indexCommitPage(deps.db, { ...query, cursor, si, link }); else { - const made = await withPack(deps.db, si, (p) => pageUnder(deps, si, p, under, query, cursor, link), row.reportAt); + const find = (p: string) => (under === undefined ? deps.engine.search(p, query, cursor) : deps.engine.under(p, under, query, cursor, null)); + const made = await withPack(deps.db, si, async (p) => pageOf(deps, si, await find(p), link), row.reportAt); if (!made) throw new SiteError(404, COMMITS_UNAVAILABLE); page = made.value; } diff --git a/apps/site/src/server/engine-service.test.ts b/apps/site/src/server/engine-service.test.ts index a192f22..c612f4f 100644 --- a/apps/site/src/server/engine-service.test.ts +++ b/apps/site/src/server/engine-service.test.ts @@ -174,6 +174,8 @@ async function ask(engine: EngineService, pack: string, endpoint: string, body: return engine.codeLog(pack, b.path, b.page); case "/v1/commits/under": return engine.under(pack, b.path, b.query, b.cursor, b.said ?? null); + case "/v1/commits/search": + return engine.search(pack, b.query, b.cursor); case "/v1/pulls/insight": return engine.insight(pack, b.number, b.paths, b.author, b.named); case "/v1/universe/rows": diff --git a/apps/site/src/server/engine-service.ts b/apps/site/src/server/engine-service.ts index 280f9ac..18e8b92 100644 --- a/apps/site/src/server/engine-service.ts +++ b/apps/site/src/server/engine-service.ts @@ -42,6 +42,7 @@ export type EngineService = { story(pack: string, path: string): Promise; codeLog(pack: string, path: string, page: number): Promise; under(pack: string, path: string, query: CommitQuery, cursor: string | undefined, said: string[] | null): Promise; + search(pack: string, query: CommitQuery, cursor: string | undefined): Promise; insight(pack: string, number: number, paths: string[], author: string | null, named: Named[]): Promise; universeRows(pack: string): Promise; warm(pack: string, keys: string[]): Promise; @@ -74,6 +75,7 @@ export function engineOver(post: Post): EngineService { story: (pack, path) => json("/v1/code/story", { pack, path }), codeLog: (pack, path, page) => json("/v1/code/log", { pack, path, page }), under: (pack, path, query, cursor, said) => json("/v1/commits/under", { pack, path, query, ...(cursor === undefined ? {} : { cursor }), said }), + search: (pack, query, cursor) => json("/v1/commits/search", { pack, query, ...(cursor === undefined ? {} : { cursor }) }), insight: (pack, number, paths, author, named) => json("/v1/pulls/insight", { pack, number, paths, author, named }), universeRows: (pack) => json("/v1/universe/rows", { pack }), warm: async (pack, keys) => (await json<{ made: number }>("/v1/warm", { pack, keys })).made, diff --git a/packages/server/src/index-commits.ts b/packages/server/src/index-commits.ts index cb502b1..5ee72d2 100644 --- a/packages/server/src/index-commits.ts +++ b/packages/server/src/index-commits.ts @@ -44,17 +44,6 @@ function conditions(ask: Omit, who: Who[]): SQL[] { return where; } -/** The shas of every commit of a Stored Index a query matches, newest first. */ -export async function indexCommitShas(db: Db, ask: Omit): Promise { - const where = conditions(ask, await peopleOf(db, ask.si)); - const rows = await db - .select({ sha: sql`encode(${indexCommits.sha}, 'hex')` }) - .from(indexCommits) - .where(and(...where)) - .orderBy(desc(indexCommits.at), desc(indexCommits.sha)); - return rows.map((r) => r.sha); -} - /** One page of a Stored Index's commits, newest first: every word in the subject or in the name or login of who made it, narrowed by person, kind, time and the commits named. */ export async function indexCommitPage(db: Db, ask: IndexCommitAsk): Promise { const [index] = await db.select({ commits: storedIndexes.commits, lines: storedIndexes.lines }).from(storedIndexes).where(eq(storedIndexes.id, ask.si)); From b20ea07925d22446a5aa4b5abd52f36a953dea0b Mon Sep 17 00:00:00 2001 From: Dev Talan <84081651+devchaudhary24k@users.noreply.github.com> Date: Tue, 27 Oct 2026 06:21:21 +0530 Subject: [PATCH 15/82] perf(site): stop serving the whole history as one file The Code window already reads a file's history a page at a time (/v1/code/log). What was left of plan item 2.3 was log.json: the whole history in one answer, 40 MB on linux, which the engine service made and kept and the Site packed and kept, though nothing has read it since the Universe moved to its Atlas. Anyone could still ask for it, a crawler included. The Site no longer serves it, its engine client no longer asks, and the DataSource and GitLog types lose it. The engine service's endpoint stays until its goldens are written again. --- apps/site/src/lib/source.ts | 4 ++-- apps/site/src/server/engine-service.test.ts | 8 +++----- apps/site/src/server/engine-service.ts | 2 -- apps/site/src/server/git.test.ts | 21 +++++++-------------- apps/site/src/server/git.ts | 18 +----------------- docs/working.md | 6 ++++-- packages/data/src/git.ts | 18 ------------------ packages/data/src/source.ts | 2 -- 8 files changed, 17 insertions(+), 62 deletions(-) diff --git a/apps/site/src/lib/source.ts b/apps/site/src/lib/source.ts index 13cfabd..5b956f4 100644 --- a/apps/site/src/lib/source.ts +++ b/apps/site/src/lib/source.ts @@ -1,4 +1,4 @@ -import { key, NOT_IN_REPORT, type CommitPage, type DataSource, type GitLog, type Meta } from "@commitscape/data"; +import { key, NOT_IN_REPORT, type CommitPage, type DataSource, type Meta } from "@commitscape/data"; import { getReportEntry } from "#/functions/repos"; async function read(url: string, fallback: string): Promise { @@ -14,7 +14,7 @@ export function siteSource(owner: string, repo: string, at: number, meta: Meta, id: `gh:${owner}/${repo}@${at}`.toLowerCase(), meta, ranges, - ...(ranges ? { log: () => read(`${base}/git/log.json?v=${at}`, "The history could not be read."), atlas: `${base}/atlas?v=${at}` } : {}), + ...(ranges ? { atlas: `${base}/atlas?v=${at}` } : {}), async get(path: string, params = {}) { const asked = key(path, params); if (typeof window === "undefined") { diff --git a/apps/site/src/server/engine-service.test.ts b/apps/site/src/server/engine-service.test.ts index c612f4f..04f2865 100644 --- a/apps/site/src/server/engine-service.test.ts +++ b/apps/site/src/server/engine-service.test.ts @@ -99,8 +99,8 @@ describe("a request to the engine service", () => { }); test("gives the large files as text, and their missing answers as a 404", async () => { - const engine = engineService("http://engine.test", TOKEN, { fetcher: (async (url: string) => (String(url).endsWith("/v1/git/log") ? new Response('{"v":1}') : new Response('{"error":"no such answer"}', { status: 404 }))) as unknown as typeof fetch }); - expect(await engine.logText("p")).toBe('{"v":1}'); + const engine = engineService("http://engine.test", TOKEN, { fetcher: (async (url: string) => (String(url).endsWith("/v1/git/tree") ? new Response('{"v":1}') : new Response('{"error":"no such answer"}', { status: 404 }))) as unknown as typeof fetch }); + expect(await engine.treeText("p", {}, { builtAt: 1, head: "h", branch: "main" })).toBe('{"v":1}'); expect(await failure(engine.couplingText("p"))).toEqual([404, "No such answer."]); }); }); @@ -160,8 +160,6 @@ async function ask(engine: EngineService, pack: string, endpoint: string, body: return engine.answer(pack, b.path, b.params ?? {}); case "/v1/git/tree": return JSON.parse(await engine.treeText(pack, b.blobs, b.of)); - case "/v1/git/log": - return JSON.parse(await engine.logText(pack)); case "/v1/git/coupling": return JSON.parse(await engine.couplingText(pack)); case "/v1/git/path-history": @@ -202,7 +200,7 @@ describe.skipIf(why !== null)(`the Site's engine client against a running engine buildPack(golden, packs, key); const engine = engineService(running.base, TOKEN); const differences: string[] = []; - for (const [endpoint, body, at] of golden.asked) { + for (const [endpoint, body, at] of golden.asked.filter(([e]) => e !== "/v1/git/log")) { const got = await ask(engine, key, endpoint, body); try { expect(got).toEqual(golden.answers[at]); diff --git a/apps/site/src/server/engine-service.ts b/apps/site/src/server/engine-service.ts index 18e8b92..9ca3c07 100644 --- a/apps/site/src/server/engine-service.ts +++ b/apps/site/src/server/engine-service.ts @@ -35,7 +35,6 @@ export type EngineService = { answerText(pack: string, path: string, params: Params): Promise; answer(pack: string, path: string, params: Params): Promise; treeText(pack: string, blobs: Record, of: TreeOf): Promise; - logText(pack: string): Promise; couplingText(pack: string): Promise; pathHistory(pack: string, path: string): Promise; folderLast(pack: string, path: string): Promise; @@ -68,7 +67,6 @@ export function engineOver(post: Post): EngineService { return found === null ? null : (JSON.parse(found) as T); }, treeText: (pack, blobs, of) => text("/v1/git/tree", { pack, blobs, of }), - logText: (pack) => text("/v1/git/log", { pack }), couplingText: (pack) => text("/v1/git/coupling", { pack }), pathHistory: (pack, path) => json("/v1/git/path-history", { pack, path }), folderLast: (pack, path) => json("/v1/git/folder-last", { pack, path }), diff --git a/apps/site/src/server/git.test.ts b/apps/site/src/server/git.test.ts index c8eaa1a..f06c5c1 100644 --- a/apps/site/src/server/git.test.ts +++ b/apps/site/src/server/git.test.ts @@ -51,13 +51,14 @@ const branches: GitBranches = { function answering({ endpoint, body }: Asked): unknown { if (endpoint === "/v1/git/tree") return { v: GIT_FORMAT, head: body.of.head, raw: body.of.raw ?? null, builtAt: body.of.builtAt, paths: ["README.md", "src/a.ts", "src/b.ts"] }; - if (endpoint === "/v1/git/log") return { v: GIT_FORMAT, names: ["README.md", "a.ts", "b.ts", "old.txt"] }; if (endpoint === "/v1/git/coupling") return { v: GIT_FORMAT, of: {} }; if (endpoint === "/v1/git/path-history") return { path: body.path, total: 3, commits: [], logged: 4, complete: true }; if (endpoint === "/v1/git/folder-last") return { path: body.path, entries: [] }; if (endpoint === "/v1/commits/under") { const said = body.said as string[] | null; - const shas = [commit(3), commit(2), commit(1)].filter((c) => said === null || said.includes(c)); + const words: Record = { third: [commit(3)], "nothing like it": [] }; + const q = body.query.q as string | undefined; + const shas = [commit(3), commit(2), commit(1)].filter((c) => (said === null || said.includes(c)) && (q === undefined || (words[q] ?? []).includes(c))); return { shas: shas.slice(0, body.query.limit ?? 50), total: shas.length, next: (body.query.limit ?? 50) < shas.length ? "next-cursor" : null }; } return undefined; @@ -123,22 +124,15 @@ describe("the git data of a repository", () => { expect(JSON.parse(brotliDecompressSync((await (await gitFile(deps, viewer(), "acme", "rocket", "coupling.json", 900)).packed?.br) ?? new Uint8Array()).toString())).toEqual({ v: GIT_FORMAT, of: {} }); }); - test("serves the history pinned to the Report it is of, and an ETag it gave without asking again", async () => { + test("the whole history as one file is no longer served: the Universe reads its Atlas, the Code window its pages", async () => { const deps = await stored(); - const log = await gitFile(deps, viewer(), "acme", "rocket", "log.json", 500); - expect(log.cacheControl).toBe("public, max-age=31536000, immutable"); - expect(JSON.parse(brotliDecompressSync((await log.packed?.br) ?? new Uint8Array()).toString())).toMatchObject({ names: ["README.md", "a.ts", "b.ts", "old.txt"] }); - expect((await gitFile(deps, viewer(), "acme", "rocket", "log.json", null)).cacheControl).toBe("public, max-age=300"); - const again = await gitFile(deps, viewer(), "acme", "rocket", "log.json", 500, log.etag); - expect(again.packed).toBeNull(); - expect(again.etag).toBe(log.etag); + expect(await failure(gitFile(deps, viewer(), "acme", "rocket", "log.json", 500))).toEqual([404, "No such file."]); }); test("says the tree and history are read at the next Build while the Stored Index has no pack", async () => { const deps = await stored(); await deps.db.update(storedIndexes).set({ pack: null }); expect(await failure(gitFile(deps, viewer(), "acme", "rocket", "tree.json", 900))).toEqual([404, expect.stringContaining("next Build")]); - expect(await failure(gitFile(deps, viewer(), "acme", "rocket", "log.json", 500))).toEqual([404, expect.stringContaining("next Build")]); expect(await failure(pathHistory(deps, viewer(), "acme", "rocket", "src/"))).toEqual([404, expect.stringContaining("next Build")]); expect(await failure(reportCommitPage(deps, viewer(), "acme", "rocket", { under: "src/" }))).toEqual([404, expect.stringContaining("built again")]); expect((await reportCommitPage(deps, viewer(), "acme", "rocket", {})).page?.rows).toHaveLength(4); @@ -211,15 +205,14 @@ describe("how a path has changed", () => { expect(all.etag).not.toBe(first.etag); }); - test("searches the commits under a folder by their words in Postgres", async () => { + test("searches the commits under a folder by their words in the engine service, and reads only their rows from Postgres", async () => { const deps = await stored(); const engine = deps.engine as ReturnType; const found = await reportCommitPage(deps, viewer(), "acme", "rocket", { under: "src/", q: "third" }); expect(found.page?.rows.map((r) => r.sha)).toEqual([commit(3)]); expect(found.page?.total).toBe(1); - expect(engine.asked.at(-1)?.body.said).toEqual([commit(3)]); + expect(engine.asked.at(-1)?.body).toMatchObject({ path: "src/", query: { q: "third" }, said: null }); expect((await reportCommitPage(deps, viewer(), "acme", "rocket", { under: "src/", q: "nothing like it" })).page?.rows).toEqual([]); - expect(engine.asked.at(-1)?.body.said).toEqual([]); }); test("refuses a path or a folder that is not one", async () => { diff --git a/apps/site/src/server/git.ts b/apps/site/src/server/git.ts index f267143..69bfa5d 100644 --- a/apps/site/src/server/git.ts +++ b/apps/site/src/server/git.ts @@ -10,9 +10,8 @@ import { readable, type Deps, type Row, type Viewer } from "./repos"; const { pullRequests, repoGit, storedIndexes } = schema; export const NO_GIT = "This repository's files, branches and pull requests are read at its next Build."; -const NO_HISTORY = "This repository's history is read at its next Build."; -const FILES = /^(tree|coupling|log|branches|pulls)\.json$|^pull-(\d{1,8})\.json$|^branch-(\d{1,5})\.json$/; +const FILES = /^(tree|coupling|branches|pulls)\.json$|^pull-(\d{1,8})\.json$|^branch-(\d{1,5})\.json$/; const YEAR = 31_536_000; export type GitRepo = { row: Row & { reportKey: string }; git: typeof repoGit.$inferSelect }; @@ -64,7 +63,6 @@ async function fromEngine(deps: Deps, row: GitRepo["row"], git: GitRepo["git"], /** One JSON file of a repository's git data: the tree and Change Coupling from the engine service, its branches from their rows, each packed once per pack and build; its pull requests as stored. Kept for a year when the address names the build it is of. */ export async function gitFile(deps: Deps, viewer: Viewer, owner: string, name: string, file: string, version: number | null, seen?: string | null): Promise { if (!FILES.test(file)) throw new SiteError(404, "No such file."); - if (file === "log.json") return commitLog(deps, viewer, owner, name, version, seen); const { row, git } = await gitOf(deps, viewer, owner, name); const pinned = version !== null && version === git.builtAt; const cacheControl = row.isPrivate ? "private, max-age=300" : pinned ? `public, max-age=${YEAR}, immutable` : "public, max-age=60"; @@ -90,20 +88,6 @@ export async function gitFile(deps: Deps, viewer: Viewer, owner: string, name: s return { packed: null, object, etag, cacheControl }; } -async function commitLog(deps: Deps, viewer: Viewer, owner: string, name: string, version: number | null, seen?: string | null): Promise { - const row = await readable(deps, viewer, owner, name); - const pinned = version !== null && version === row.reportAt; - const cacheControl = row.isPrivate ? "private, max-age=300" : pinned ? `public, max-age=${YEAR}, immutable` : "public, max-age=300"; - const made = await withPack(deps.db, row.indexId, async (pack) => { - const etag = `"${sha256(pack).slice(0, 16)}-log"`; - if (matches(seen, etag)) return { packed: null, etag }; - return { packed: await keptText(`${pack}#log`, () => deps.engine.logText(pack)), etag }; - }, row.reportAt); - if (!made) throw new SiteError(404, NO_HISTORY); - if (made.value.packed === null && !matches(seen, made.value.etag)) throw new SiteError(404, NO_HISTORY); - return { packed: made.value.packed, object: null, etag: made.value.etag, cacheControl }; -} - const checkedPath = (path: string) => { if (path.length > 1000 || path.includes("\0")) throw new SiteError(400, "That is not a path."); }; diff --git a/docs/working.md b/docs/working.md index 47155b3..aed028e 100644 --- a/docs/working.md +++ b/docs/working.md @@ -144,8 +144,10 @@ queued ones whose job was lost. answers from R2 until `node builder.mjs rebuild` has it built again. - The Commits screen asks `GET /api/reports///commits` for 50 rows at a time: `q`, `person`, `kind`, `from`, `to`, `cursor`, `limit`, - read from `index_commits` and cached by ETag. Commits under a folder ask - the engine service which commits, then read their rows from Postgres. + read from `index_commits` and cached by ETag. A search by words, and + commits under a folder, ask the engine service which commits (it holds + every subject and matches the words as Postgres did), then read only + that page's rows from Postgres. - The Code window's tree, coupling, story and history, a folder's newest commits, a pull request's insight and the Universe's rows come from the engine service. The Universe's Atlas is made by the Builder from the diff --git a/packages/data/src/git.ts b/packages/data/src/git.ts index 5c61e19..df97116 100644 --- a/packages/data/src/git.ts +++ b/packages/data/src/git.ts @@ -47,24 +47,6 @@ export type GitTree = { export type GitCoupling = { v: typeof GIT_FORMAT; of: Record }; -export type GitLogPerson = { id: number; name: string; login: string | null; colour: number | null; bot: boolean }; - -export type GitLog = { - v: typeof GIT_FORMAT; - anchor: number; - people: GitLogPerson[]; - folders: string[]; - folder: number[]; - names: string[]; - lines: number[]; - alive: number[]; - gaps: number[]; - who: number[]; - kept: number[]; - sizes: number[]; - files: number[]; -}; - export type GitBranch = { name: string; sha: string; diff --git a/packages/data/src/source.ts b/packages/data/src/source.ts index 487050f..6456c42 100644 --- a/packages/data/src/source.ts +++ b/packages/data/src/source.ts @@ -1,6 +1,5 @@ import { limited, topOf, withoutTop } from "./asked"; import { listPager, type CommitPage, type CommitQuery, type Finder } from "./commits"; -import type { GitLog } from "./git"; import type { CommitList, Meta } from "./types"; export type Params = Record; @@ -15,7 +14,6 @@ export interface DataSource { readonly meta: Meta; readonly ranges?: boolean; readonly atlas?: string; - log?(): Promise; get(path: string, params?: Params): Promise; commits(query: CommitQuery, cursor?: string): Promise; } From 66f1d85bbe616f0808e5de93cdadf5268bd5f9a2 Mon Sep 17 00:00:00 2001 From: Dev Talan <84081651+devchaudhary24k@users.noreply.github.com> Date: Tue, 27 Oct 2026 06:22:39 +0530 Subject: [PATCH 16/82] docs: how to deploy the Repo State release, and where the Commit List's words are searched DEPLOY.md gains the upgrade steps: Builder (migrations 0037 and 0038, STATE_KEY to turn on the R2 tier), engine service (commit search), Site; and what the first counts of everyone's Surviving Lines look like. docs/index-in-postgres.md says the word search now asks the engine service. --- DEPLOY.md | 24 ++++++++++++++++++++++++ docs/index-in-postgres.md | 7 +++++-- 2 files changed, 29 insertions(+), 2 deletions(-) diff --git a/DEPLOY.md b/DEPLOY.md index a9ec301..6fbfe15 100644 --- a/DEPLOY.md +++ b/DEPLOY.md @@ -480,6 +480,30 @@ needs. In this order: and Universe say they are read at the next Build. 5. Set up the landing page (section 7). +## Upgrading to the Repo State + +The release that keeps each repository's Repo State (ADR-0030) deploys in +the usual order, and works without new settings. In this order: + +1. Deploy the Builder. Its migrations add `repositories.checked_at` and + the `repo_states` table. From then on it ends a Build early when the + head has not moved, makes each pack's Atlas itself, counts everyone's + Surviving Lines once per new Report, and moves a repository to a lean + clone once its lines and Surviving Lines are counted. The first Build of + each repository makes its commit graph once (linux: 2.6 s). +2. To keep Repo States in R2 as well, set `STATE_KEY` on the Builder (a + secret of 32 characters or more, kept only there, never changed after) + before or with this deploy. Without it the States live on its disk only. +3. Deploy the engine service: it adds `/v1/commits/search` and matches + words in `/v1/commits/under`. +4. Deploy the Site: it searches the Commit List's words through the engine + service, counts a Report found unchanged as current, and no longer + serves `git/log.json`. +5. Seeds' Surviving Lines rows of older Reports stay; each repository's + next Report gets everyone's. The first count of a large repository + (linux: about 45 minutes of both cores, in budgeted runs) shows + "counting" until it is whole. + ## Moving to a new R2 bucket A bucket's location cannot change, so moving to another location is a new diff --git a/docs/index-in-postgres.md b/docs/index-in-postgres.md index d9de582..e4319c2 100644 --- a/docs/index-in-postgres.md +++ b/docs/index-in-postgres.md @@ -12,8 +12,11 @@ the Commit List and its search, a person's commits on a day, branches, tags, pull requests and the files at HEAD. Every screen's answer comes from the engine service, from the pack each Build writes beside the rows, and the Site holds no Stored Index in memory. The four daily summary tables were -dropped with export format 3: nothing read them. What else differs from the -plan below: +dropped with export format 3: nothing read them. Since 2026-10-27 a search +of the Commit List by its words asks the engine service which commits match +(it holds every subject), and reads only that page's rows from Postgres; the +whole-table scan is left for a Report with no pack. What else differs from +the plan below: - **Phase 2** worked the answers out in TypeScript from the Stored Index held in memory, a port of the engine's `Analysis`, rather than in SQL. Since the From 3969cf6d84e52ee1108785cd077613eb531a790c Mon Sep 17 00:00:00 2001 From: Dev Talan <84081651+devchaudhary24k@users.noreply.github.com> Date: Tue, 27 Oct 2026 06:24:44 +0530 Subject: [PATCH 17/82] fix(builder): keep the whole answer of a count of everyone's Surviving Lines The Builder kept at most 1 MB of what a command printed. A count for everyone prints every person: about 240 KB for react and several MB for a repository with linux's tens of thousands of people, which would have been cut short and read as a failure. A run can now ask to keep more, and the count keeps up to 256 MB. The commit graph is also made again, rather than kept with a parent left out, when a new commit's parent cannot be placed in the Index. --- apps/builder/src/builder.test.ts | 8 ++++++++ apps/builder/src/run.ts | 12 ++++++++---- apps/builder/src/survival.ts | 4 +++- crates/commitscape-index/src/graph.rs | 5 ++++- 4 files changed, 23 insertions(+), 6 deletions(-) diff --git a/apps/builder/src/builder.test.ts b/apps/builder/src/builder.test.ts index 88da8e7..8f51109 100644 --- a/apps/builder/src/builder.test.ts +++ b/apps/builder/src/builder.test.ts @@ -607,6 +607,14 @@ test("the Atlas shares the engine's slot, so it never runs beside a run of the e expect(order).toEqual(["start commitscape", "end commitscape", "start node", "end node"]); }); +test("a command's output is kept up to a megabyte, or as much as the caller asks for", async () => { + const big = ["-c", "head -c 3000000 /dev/zero | tr '\\0' a"]; + const kept = await run("sh", big, {}, 10_000); + expect(kept.stdout?.length).toBeGreaterThanOrEqual(1_000_000); + expect(kept.stdout?.length).toBeLessThan(3_000_000); + expect((await run("sh", big, {}, 10_000, { maxStdout: 4_000_000 })).stdout?.length).toBe(3_000_000); +}); + test("a command past its time is stopped with everything it started", async () => { const started = Date.now(); const ran = await run("sh", ["-c", "sleep 30 & sleep 30"], {}, 300); diff --git a/apps/builder/src/run.ts b/apps/builder/src/run.ts index f58b826..fb13a63 100644 --- a/apps/builder/src/run.ts +++ b/apps/builder/src/run.ts @@ -65,7 +65,7 @@ export function jobLimitOf(cfg: Config, attempt = 1): number { export type Ran = { code: number | null; stderr: string; timedOut: boolean; stdout?: string }; -export type RunOptions = { nice?: number; input?: string }; +export type RunOptions = { nice?: number; input?: string; maxStdout?: number }; const PASSED = ["PATH", "HOME", "USER", "LANG", "LC_ALL", "TMPDIR", "TEMP", "TMP", "SYSTEMROOT", "PATHEXT", "USERPROFILE", "SSL_CERT_FILE", "SSL_CERT_DIR"]; export function passed(): NodeJS.ProcessEnv { @@ -111,9 +111,13 @@ export function run(cmd: string, args: string[], env: NodeJS.ProcessEnv, timeout const child = spawn(cmd, args, { env: { ...passed(), ...env }, stdio: [opts.input === undefined ? "ignore" : "pipe", "pipe", "pipe"], detached: true }); if (opts.nice !== undefined && child.pid) lowered(child.pid, opts.nice); let stderr = ""; - let stdout = ""; + const most = opts.maxStdout ?? 1_000_000; + const chunks: Buffer[] = []; + let held = 0; child.stdout?.on("data", (d: Buffer) => { - if (stdout.length < 1_000_000) stdout += d.toString(); + if (held >= most) return; + chunks.push(d); + held += d.length; }); let timedOut = false; let settled = false; @@ -121,7 +125,7 @@ export function run(cmd: string, args: string[], env: NodeJS.ProcessEnv, timeout if (settled) return; settled = true; clearTimeout(timer); - resolve({ code, stderr, timedOut, stdout }); + resolve({ code, stderr, timedOut, stdout: Buffer.concat(chunks).toString() }); }; child.stderr?.on("data", (d: Buffer) => { stderr = (stderr + d.toString()).slice(-4000); diff --git a/apps/builder/src/survival.ts b/apps/builder/src/survival.ts index 8b3681d..d1c335c 100644 --- a/apps/builder/src/survival.ts +++ b/apps/builder/src/survival.ts @@ -14,6 +14,8 @@ const { repositories, surviving } = schema; export const SURVIVING_BUDGET_MAX = 4 * 3600; +const EVERYONE_BYTES = 256 << 20; + /** How long each person may take in one count of Surviving Lines: the budget, doubled for each attempt after the first, up to four hours. */ export function budgetOf(base: number, attempt = 0): number { return Math.min(base * 2 ** Math.max(attempt, 0), Math.max(base, SURVIVING_BUDGET_MAX)); @@ -84,7 +86,7 @@ export async function runSurvival(job: SurvivalJob, ctx: JobContext & { budget: const args = ["surviving", "--everyone", "--budget-seconds", String(budget), ...cache, "--offline"]; if (accounts) args.push("--accounts", accounts); args.push("--", full); - ran = await ctx.run(cfg.bin, args, engineEnv, (budget + cfg.timeLimit) * 1000, { nice: cfg.nice }); + ran = await ctx.run(cfg.bin, args, engineEnv, (budget + cfg.timeLimit) * 1000, { nice: cfg.nice, maxStdout: EVERYONE_BYTES }); if (!repo.isPrivate && ran.code === 0) await ctx.saveState?.(repo.id, cache[1] ?? "").catch((e: unknown) => ctx.log(`state of ${repo.id} not saved: ${(e as Error).message}`)); } finally { await rm(scratch, { recursive: true, force: true }); diff --git a/crates/commitscape-index/src/graph.rs b/crates/commitscape-index/src/graph.rs index f54e488..f1f07ab 100644 --- a/crates/commitscape-index/src/graph.rs +++ b/crates/commitscape-index/src/graph.rs @@ -434,7 +434,10 @@ impl Stored { }; let mut places = Vec::with_capacity(found.len()); for (id, time) in found { - places.push(place_of(index, id, time).unwrap_or(NONE)); + let Some(at) = place_of(index, id, time) else { + return Ok(None); + }; + places.push(at); } new_parents.insert(p as u32, places); } From 6a887cc73cbeb9c7d5b0f68c6bf070a720805e17 Mon Sep 17 00:00:00 2001 From: Dev Talan <84081651+devchaudhary24k@users.noreply.github.com> Date: Tue, 27 Oct 2026 06:25:03 +0530 Subject: [PATCH 18/82] docs: STATE.md points at ADR-0030 as the latest decision --- STATE.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/STATE.md b/STATE.md index 0083f8c..c36542d 100644 --- a/STATE.md +++ b/STATE.md @@ -3,7 +3,7 @@ Running log for Build Run 1 (Phases 0 to 7). Written so a fresh session with no context can read this plus `docs/adr/` and continue without asking anything. -This log stops at the end of Build Run 5. What runs now is described in `README.md`, `docs/working.md` and the ADRs up to ADR-0028 (the engine service). +This log stops at the end of Build Run 5. What runs now is described in `README.md`, `docs/working.md` and the ADRs up to ADR-0030 (the Repo State). **Where this log stops:** Build Run 5 (Phases 32 to 42) is done: its brief is `IDEA.md`, with ADR-0020 to ADR-0022 and ADR-0023, written during the run. The table under "Build Run 5" gives each phase's gate and result, each phase's findings are under "Phase N findings", and "Where to pick up" (at the end) lists what is left for the owner. Phase 36's README embed and Phase 40's three real accounts need the owner; everything else met its gate. Build Run 4 (Phases 23 to 31) is committed. Since Build Run 4 the Site moved from Cloudflare to TanStack Start on Node with Postgres and R2 (`CLAUDE.md`, `DEPLOY.md`); older findings below that mention D1, Workers or `wrangler` describe that earlier Site. Build Run 1 (Phases 0 to 7) built a correct, fast tool. Build Run 2 (Phases 8 From 8feb73cfac44a227262960d81d5caa66667479d3 Mon Sep 17 00:00:00 2001 From: Dev Talan <84081651+devchaudhary24k@users.noreply.github.com> Date: Tue, 27 Oct 2026 06:27:42 +0530 Subject: [PATCH 19/82] docs: what MAX_REPOSITORY_MB can be, measured on next.js and linux vercel/next.js (2.6 GB, 50,110 commits) clones in 291 s, 163 CPU-s, 0.6 GB, and its first Build counts every line in 19 s with 525 MB anon on 2 cores. With one engine slot under mercury's 3 GiB cap, 4000 MB takes next.js-sized repositories with room; linux-sized ones also need a longer clone limit and the disk for one full clone. --- DEPLOY.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/DEPLOY.md b/DEPLOY.md index 6fbfe15..61cb990 100644 --- a/DEPLOY.md +++ b/DEPLOY.md @@ -200,7 +200,7 @@ Optional, with their defaults: | `ATLAS_QUALITY` | 5 | The brotli quality the Builder packs each pack's Universe Atlas with, 1 to 11. On linux 5 takes 4.8 CPU-s for a 7.8 MB map and 11 takes 35 CPU-s for 6.6 MB; the Atlas is made once per pack, in a process of its own that waits for an engine slot | | `LARGE_REPOSITORY_MB` | 1500 | Repositories larger than this, by GitHub's size, are built in a lane of their own | | `LARGE_CONCURRENCY` | 1 | Builds at a time in that lane | -| `MAX_REPOSITORY_MB` | none | Unset, every repository is cloned, however big; set, larger repositories are refused | +| `MAX_REPOSITORY_MB` | none | Unset, every repository is cloned, however big; set, larger repositories are refused. Measured on 2 cores (2026-10-27): vercel/next.js (2.6 GB of git, 50,110 commits) clones in 291 s with 163 CPU-s and 0.6 GB, and its first Build counts every line in 19 s with 525 MB; linux (6.6 GB) needs about 1 GB to receive and 1.1 GB for its first Build, and its clone can pass the default `CLONE_TIME_LIMIT_SECONDS`. With `ENGINE_SLOTS` at 1 under a 3 GiB cap, 4000 takes next.js-sized repositories with room to spare; go higher only with a longer clone limit and the disk for one full clone of that size | | `TIME_LIMIT_SECONDS` | 900 | How long one run of the binary may take on a Build's first attempt, the clone not included. One that runs out is queued again, each attempt given twice the time, four attempts in all | | `CLONE_TIME_LIMIT_SECONDS` | 1800 | How long a clone or fetch may take on the first attempt, doubled with each attempt | | `LOGINS_ASKED` | 300 | At most this many commit authors a Build asks GitHub for the login of, a hundred to a GraphQL request; each commit's answer is kept for a year, so a rebuild asks only for new ones | From d0415221916ab9834a223bfff065735f0350594d Mon Sep 17 00:00:00 2001 From: Dev Talan <84081651+devchaudhary24k@users.noreply.github.com> Date: Tue, 27 Oct 2026 06:43:10 +0530 Subject: [PATCH 20/82] refactor(core): give the Index's records fixed layouts and its long arrays a Column The commits, changes and subjects of an Index are now Columns: held in memory as before, or, next, read in place from a mapped file. Their records get fixed layouts for that (CommitMeta and FileChange repr(C), the ids transparent, CommitKind one byte), and a change's Lines Changed are read and set through lines() and set_lines(). Packs and caches encode exactly as before, so old ones still read; every Rust test passes unchanged. --- apps/engine/src/git.rs | 6 +- apps/engine/src/pulls.rs | 2 +- apps/engine/src/view.rs | 2 +- apps/engine/tests/common/mod.rs | 2 +- crates/commitscape-core/src/column.rs | 138 ++++++++++++++++++ crates/commitscape-core/src/ids.rs | 1 + crates/commitscape-core/src/index.rs | 91 ++++++++++-- crates/commitscape-core/src/lib.rs | 2 + crates/commitscape-core/src/oid.rs | 1 + crates/commitscape-index/src/build.rs | 35 +++-- crates/commitscape-index/src/cache/mod.rs | 6 +- crates/commitscape-index/src/surviving.rs | 2 +- crates/commitscape-index/tests/scripted.rs | 2 +- .../commitscape-metrics/src/contributions.rs | 2 +- crates/commitscape-metrics/src/health.rs | 2 +- crates/commitscape-metrics/src/timeline.rs | 2 +- .../commitscape-metrics/tests/support/mod.rs | 12 +- crates/commitscape-report/src/api.rs | 2 +- crates/commitscape-report/src/export.rs | 4 +- crates/commitscape/src/build.rs | 2 +- crates/commitscape/tests/build.rs | 8 +- 21 files changed, 265 insertions(+), 59 deletions(-) create mode 100644 crates/commitscape-core/src/column.rs diff --git a/apps/engine/src/git.rs b/apps/engine/src/git.rs index ec409c8..9c6a71c 100644 --- a/apps/engine/src/git.rs +++ b/apps/engine/src/git.rs @@ -246,7 +246,7 @@ pub fn tree(held: &LoadedPack, blobs: &BTreeMap, of: &TreeOf) let mut dir_stats: HashMap<&str, DirStat> = HashMap::new(); let mut logged = 0u32; let mut seen: HashSet<&str> = HashSet::new(); - for c in &index.commits { + for c in index.commits.iter() { if c.is_merge() { continue; } @@ -406,7 +406,7 @@ pub fn coupling(held: &LoadedPack) -> GitCoupling { let mut churn = vec![0u64; n]; let mut pairs: HashMap = HashMap::new(); let mut touched: Vec = Vec::new(); - for c in &index.commits { + for c in index.commits.iter() { if !counts(&pack.options, c) { continue; } @@ -559,7 +559,7 @@ pub fn log(held: &LoadedPack) -> GitLog { file_at(&mut out, h.file); } let mut before = 0i64; - for c in &index.commits { + for c in index.commits.iter() { if c.is_merge() { continue; } diff --git a/apps/engine/src/pulls.rs b/apps/engine/src/pulls.rs index 165fcee..4e8dbd5 100644 --- a/apps/engine/src/pulls.rs +++ b/apps/engine/src/pulls.rs @@ -190,7 +190,7 @@ fn landed_of(held: &LoadedPack, named: &[Named]) -> Landed { if let Some(c) = c { for ch in index.changes_of(c) { let (a, r) = ch - .lines + .lines() .map_or((0, 0), |l| (u64::from(l.added), u64::from(l.removed))); touched += 1; let path = view.path(ch.file); diff --git a/apps/engine/src/view.rs b/apps/engine/src/view.rs index 3c0440b..7b52546 100644 --- a/apps/engine/src/view.rs +++ b/apps/engine/src/view.rs @@ -61,7 +61,7 @@ pub fn lines_of(index: &Index, c: &CommitMeta, wanted: impl Fn(FileId) -> bool) .changes_of(c) .iter() .filter(|ch| wanted(ch.file)) - .filter_map(|ch| ch.lines) + .filter_map(|ch| ch.lines()) .fold((0, 0), |(a, r), l| { (a + u64::from(l.added), r + u64::from(l.removed)) }) diff --git a/apps/engine/tests/common/mod.rs b/apps/engine/tests/common/mod.rs index 11d6f23..d2ab008 100644 --- a/apps/engine/tests/common/mod.rs +++ b/apps/engine/tests/common/mod.rs @@ -109,7 +109,7 @@ pub fn read(repo: &Path, lines: bool, budget: Option, anchor: i64) -> (settled, left) }); let ignored: HashSet = source.blame_ignore_revs().unwrap().into_iter().collect(); - for c in &mut loaded.index.commits { + for c in loaded.index.commits.iter_mut() { if ignored.contains(&c.id) { c.flags = c.flags.with(CommitFlags::BLAME_IGNORED); } diff --git a/crates/commitscape-core/src/column.rs b/crates/commitscape-core/src/column.rs new file mode 100644 index 0000000..8383e17 --- /dev/null +++ b/crates/commitscape-core/src/column.rs @@ -0,0 +1,138 @@ +use std::ops::{Deref, DerefMut}; + +use serde::{Deserialize, Deserializer, Serialize, Serializer}; + +/// Records laid out in memory a Column can stand on: a file mapped in place, read without decoding it. +pub trait Slab: Send + Sync { + fn get(&self) -> &[T]; + fn get_mut(&mut self) -> &mut [T]; +} + +/// One of the Index's long arrays: held in memory, or read in place from a mapped file. +pub struct Column { + owned: Vec, + mapped: Option>>, +} + +impl Column { + /// A column read in place from a mapped file. + pub fn mapped(slab: Box>) -> Self { + Column { + owned: Vec::new(), + mapped: Some(slab), + } + } + + pub fn is_mapped(&self) -> bool { + self.mapped.is_some() + } + + /// The bytes the column holds on the heap: none when it is mapped. + pub fn heap_bytes(&self) -> usize { + self.owned.capacity() * std::mem::size_of::() + } +} + +impl Column { + /// The records as a vector, copied out of the mapping when the column is mapped. + pub fn into_vec(self) -> Vec { + match self.mapped { + Some(m) => m.get().to_vec(), + None => self.owned, + } + } + + /// The records as a vector to grow or reorder, copied out of the mapping first when the column is mapped. + pub fn vec_mut(&mut self) -> &mut Vec { + if let Some(m) = self.mapped.take() { + self.owned = m.get().to_vec(); + } + &mut self.owned + } +} + +impl Deref for Column { + type Target = [T]; + + fn deref(&self) -> &[T] { + match &self.mapped { + Some(m) => m.get(), + None => &self.owned, + } + } +} + +impl DerefMut for Column { + fn deref_mut(&mut self) -> &mut [T] { + match &mut self.mapped { + Some(m) => m.get_mut(), + None => &mut self.owned, + } + } +} + +impl Default for Column { + fn default() -> Self { + Column { + owned: Vec::new(), + mapped: None, + } + } +} + +impl From> for Column { + fn from(owned: Vec) -> Self { + Column { + owned, + mapped: None, + } + } +} + +impl Clone for Column { + fn clone(&self) -> Self { + Column::from(self.to_vec()) + } +} + +impl PartialEq for Column { + fn eq(&self, other: &Self) -> bool { + **self == **other + } +} + +impl std::fmt::Debug for Column { + fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result { + f.debug_list().entries(self.iter()).finish() + } +} + +impl Serialize for Column { + fn serialize(&self, s: S) -> Result { + (**self).serialize(s) + } +} + +impl<'de, T: Deserialize<'de>> Deserialize<'de> for Column { + fn deserialize>(d: D) -> Result { + Ok(Column::from(Vec::deserialize(d)?)) + } +} + +impl<'a, T> IntoIterator for &'a Column { + type Item = &'a T; + type IntoIter = std::slice::Iter<'a, T>; + + fn into_iter(self) -> Self::IntoIter { + self.iter() + } +} + +impl<'a, T> IntoIterator for &'a mut Column { + type Item = &'a mut T; + type IntoIter = std::slice::IterMut<'a, T>; + + fn into_iter(self) -> Self::IntoIter { + self.iter_mut() + } +} diff --git a/crates/commitscape-core/src/ids.rs b/crates/commitscape-core/src/ids.rs index 7cc2e42..cd383a1 100644 --- a/crates/commitscape-core/src/ids.rs +++ b/crates/commitscape-core/src/ids.rs @@ -6,6 +6,7 @@ macro_rules! dense_id { #[derive( Debug, Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash, Serialize, Deserialize, )] + #[repr(transparent)] pub struct $name(pub u32); impl $name { diff --git a/crates/commitscape-core/src/index.rs b/crates/commitscape-core/src/index.rs index 262cb9a..85e3e1b 100644 --- a/crates/commitscape-core/src/index.rs +++ b/crates/commitscape-core/src/index.rs @@ -1,5 +1,6 @@ use serde::{Deserialize, Serialize}; +use crate::column::Column; use crate::{AuthorId, FileId, Oid, PathId, SignatureId}; pub const SCHEMA_VERSION: u32 = 11; @@ -22,13 +23,73 @@ pub struct LineDelta { } #[derive(Debug, Clone, Copy, PartialEq, Serialize, Deserialize)] +#[serde(into = "WireChange", from = "WireChange")] +#[repr(C)] pub struct FileChange { pub file: FileId, pub kind: ChangeKind, - pub lines: Option, + counted: u8, + added: u32, + removed: u32, +} + +#[derive(Serialize, Deserialize)] +struct WireChange { + file: FileId, + kind: ChangeKind, + lines: Option, +} + +impl From for WireChange { + fn from(c: FileChange) -> Self { + WireChange { + file: c.file, + kind: c.kind, + lines: c.lines(), + } + } +} + +impl From for FileChange { + fn from(w: WireChange) -> Self { + FileChange::new(w.file, w.kind, w.lines) + } +} + +impl FileChange { + pub fn new(file: FileId, kind: ChangeKind, lines: Option) -> FileChange { + let mut c = FileChange { + file, + kind, + counted: 0, + added: 0, + removed: 0, + }; + c.set_lines(lines); + c + } + + #[inline] + pub fn lines(&self) -> Option { + (self.counted != 0).then_some(LineDelta { + added: self.added, + removed: self.removed, + }) + } + + pub fn set_lines(&mut self, lines: Option) { + let (counted, added, removed) = match lines { + Some(d) => (1, d.added, d.removed), + None => (0, 0, 0), + }; + self.counted = counted; + self.added = added; + self.removed = removed; + } } #[derive(Debug, Clone, Copy, PartialEq, Eq, Serialize, Deserialize)] +#[repr(C)] pub struct CommitMeta { pub id: Oid, pub time: i64, @@ -75,6 +136,7 @@ impl CommitMeta { Debug, Clone, Copy, Default, PartialEq, Eq, PartialOrd, Ord, Hash, Serialize, Deserialize, )] #[serde(rename_all = "lowercase")] +#[repr(u8)] pub enum CommitKind { Feature, Fix, @@ -123,6 +185,7 @@ impl CommitKind { } #[derive(Debug, Clone, Copy, PartialEq, Eq, Serialize, Deserialize)] +#[repr(transparent)] pub struct CommitFlags(pub u8); impl CommitFlags { @@ -622,10 +685,10 @@ impl LinePass { return; } for (change, lines) in index.changes.iter_mut().zip(self.lines) { - change.lines = lines; + change.set_lines(lines); } let ignored: std::collections::HashSet = self.ignored.into_iter().collect(); - for c in &mut index.commits { + for c in index.commits.iter_mut() { if ignored.contains(&c.id) { c.flags = c.flags.with(CommitFlags::BLAME_IGNORED); } @@ -638,9 +701,9 @@ pub struct Index { pub schema_version: u32, pub repo: RepoIdentity, pub frontier: Vec, - pub commits: Vec, - pub changes: Vec, - pub subjects: Vec, + pub commits: Column, + pub changes: Column, + pub subjects: Column, pub paths: PathTable, pub authors: AuthorTable, pub head: Vec, @@ -688,9 +751,9 @@ impl Index { schema_version: SCHEMA_VERSION, repo, frontier: Vec::new(), - commits: Vec::new(), - changes: Vec::new(), - subjects: Vec::new(), + commits: Column::default(), + changes: Column::default(), + subjects: Column::default(), paths: PathTable::default(), authors: AuthorTable::default(), head: Vec::new(), @@ -724,9 +787,9 @@ impl Index { pub fn heap_bytes(&self) -> usize { self.repo.git_dir.capacity() + bytes_of(&self.frontier) - + bytes_of(&self.commits) - + bytes_of(&self.changes) - + bytes_of(&self.subjects) + + self.commits.heap_bytes() + + self.changes.heap_bytes() + + self.subjects.heap_bytes() + self.paths.heap_bytes() + self.authors.heap_bytes() + bytes_of(&self.head) @@ -887,9 +950,9 @@ mod tests { subject_start: 0, subject_len: 0, }; - idx.commits = vec![mk(10), mk(20), mk(30)]; + idx.commits = vec![mk(10), mk(20), mk(30)].into(); assert!(idx.is_time_ordered()); - idx.commits = vec![mk(10), mk(30), mk(20)]; + idx.commits = vec![mk(10), mk(30), mk(20)].into(); assert!(!idx.is_time_ordered()); } } diff --git a/crates/commitscape-core/src/lib.rs b/crates/commitscape-core/src/lib.rs index 6d43cd0..d62c959 100644 --- a/crates/commitscape-core/src/lib.rs +++ b/crates/commitscape-core/src/lib.rs @@ -1,10 +1,12 @@ mod bots; +mod column; mod ids; mod index; mod oid; mod time; pub use bots::{is_bot_name, AUTOMATION}; +pub use column::{Column, Slab}; pub use ids::{AuthorId, FileId, PathId, SignatureId}; pub use index::{ Author, AuthorRef, AuthorTable, ChangeKind, CommitFlags, CommitKind, CommitMeta, FileChange, diff --git a/crates/commitscape-core/src/oid.rs b/crates/commitscape-core/src/oid.rs index 737fc5d..03ab623 100644 --- a/crates/commitscape-core/src/oid.rs +++ b/crates/commitscape-core/src/oid.rs @@ -1,6 +1,7 @@ use serde::{Deserialize, Deserializer, Serialize, Serializer}; #[derive(Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash)] +#[repr(transparent)] pub struct Oid(pub [u8; 20]); impl Serialize for Oid { diff --git a/crates/commitscape-index/src/build.rs b/crates/commitscape-index/src/build.rs index f75f48b..6b8089e 100644 --- a/crates/commitscape-index/src/build.rs +++ b/crates/commitscape-index/src/build.rs @@ -192,11 +192,7 @@ impl IndexBuilder { }); } } - changes.push(FileChange { - file, - kind: p.kind, - lines: None, - }); + changes.push(FileChange::new(file, p.kind, None)); } if let Some(n) = self.used.get_mut(c.signature.idx()) { *n += 1; @@ -233,9 +229,9 @@ impl IndexBuilder { } None => { let mut fresh = Index::empty(repo.clone()); - fresh.commits = commits; - fresh.changes = changes; - fresh.subjects = subjects; + fresh.commits = commits.into(); + fresh.changes = changes.into(); + fresh.subjects = subjects.into(); fresh.span = added; fresh.history_truncated = history_truncated; fresh @@ -263,17 +259,20 @@ fn merge_history( let key = |c: &CommitMeta| (c.time, c.id.0); let split = index.commits.partition_point(|c| key(c) <= key(&first_new)); - let tail: Vec = index.commits.split_off(split); + let commits = index.commits.vec_mut(); + let changes = index.changes.vec_mut(); + let subjects = index.subjects.vec_mut(); + let tail: Vec = commits.split_off(split); let arena_split = tail .first() .map(|c| c.changes_start as usize) - .unwrap_or(index.changes.len()); - let old_changes = index.changes.split_off(arena_split); + .unwrap_or(changes.len()); + let old_changes = changes.split_off(arena_split); let subject_split = tail .first() .map(|c| c.subject_start as usize) - .unwrap_or(index.subjects.len()); - let old_subjects = index.subjects.split_off(subject_split); + .unwrap_or(subjects.len()); + let old_subjects = subjects.split_off(subject_split); let mut a = tail.into_iter().peekable(); let mut b = new_commits.into_iter().peekable(); @@ -302,15 +301,15 @@ fn merge_history( let slice = arena .get(start..start + commit.changes_len as usize) .unwrap_or(&[]); - commit.changes_start = index.changes.len() as u32; - index.changes.extend_from_slice(slice); + commit.changes_start = changes.len() as u32; + changes.extend_from_slice(slice); let from = commit.subject_start as usize - text_base; let text = texts .get(from..from + commit.subject_len as usize) .unwrap_or(&[]); - commit.subject_start = index.subjects.len() as u32; - index.subjects.extend_from_slice(text); - index.commits.push(commit); + commit.subject_start = subjects.len() as u32; + subjects.extend_from_slice(text); + commits.push(commit); } } diff --git a/crates/commitscape-index/src/cache/mod.rs b/crates/commitscape-index/src/cache/mod.rs index d44c896..876f055 100644 --- a/crates/commitscape-index/src/cache/mod.rs +++ b/crates/commitscape-index/src/cache/mod.rs @@ -270,9 +270,9 @@ fn index_from(head: Head, decoded: format::Decoded) -> Index { schema_version: head.schema_version, repo: head.repo, frontier: head.frontier, - commits: decoded.commits, - changes: decoded.changes, - subjects: decoded.subjects, + commits: decoded.commits.into(), + changes: decoded.changes.into(), + subjects: decoded.subjects.into(), paths: head.paths, authors: head.authors, head: head.head, diff --git a/crates/commitscape-index/src/surviving.rs b/crates/commitscape-index/src/surviving.rs index 3e8ecac..dfa1048 100644 --- a/crates/commitscape-index/src/surviving.rs +++ b/crates/commitscape-index/src/surviving.rs @@ -399,7 +399,7 @@ impl<'i> Survival<'i> { } } let mut touched: HashMap> = HashMap::new(); - for c in &index.commits { + for c in index.commits.iter() { if let Some(author) = index.author_of(c) { touched .entry(author) diff --git a/crates/commitscape-index/tests/scripted.rs b/crates/commitscape-index/tests/scripted.rs index d1e4038..7af70e6 100644 --- a/crates/commitscape-index/tests/scripted.rs +++ b/crates/commitscape-index/tests/scripted.rs @@ -27,7 +27,7 @@ fn index(repo: &ScriptedRepo) -> Index { fn churn(idx: &Index) -> HashMap { let mut counts: HashMap = HashMap::new(); - for c in &idx.commits { + for c in idx.commits.iter() { for ch in idx.changes_of(c) { *counts.entry(ch.file).or_default() += 1; } diff --git a/crates/commitscape-metrics/src/contributions.rs b/crates/commitscape-metrics/src/contributions.rs index c23d3e3..7a1c2d8 100644 --- a/crates/commitscape-metrics/src/contributions.rs +++ b/crates/commitscape-metrics/src/contributions.rs @@ -63,7 +63,7 @@ impl Analysis<'_> { if skipped(change.file) { continue; } - match change.lines { + match change.lines() { Some(d) => { l.added += u64::from(d.added); l.removed += u64::from(d.removed); diff --git a/crates/commitscape-metrics/src/health.rs b/crates/commitscape-metrics/src/health.rs index b93dc57..013b9e9 100644 --- a/crates/commitscape-metrics/src/health.rs +++ b/crates/commitscape-metrics/src/health.rs @@ -71,7 +71,7 @@ impl Analysis<'_> { let mut lately: HashMap = HashMap::new(); let mut earlier: HashMap = HashMap::new(); let mut in_year: HashMap = HashMap::new(); - for c in &self.index().commits { + for c in self.index().commits.iter() { if c.is_merge() || c.time > end { continue; } diff --git a/crates/commitscape-metrics/src/timeline.rs b/crates/commitscape-metrics/src/timeline.rs index 3f726a8..905e2c5 100644 --- a/crates/commitscape-metrics/src/timeline.rs +++ b/crates/commitscape-metrics/src/timeline.rs @@ -187,7 +187,7 @@ impl Analysis<'_> { for c in &commits { let (mut plus, mut minus) = (0u64, 0u64); for change in index.changes_of(c) { - let Some(d) = change.lines else { + let Some(d) = change.lines() else { continue; }; if !written(change.file) { diff --git a/crates/commitscape-metrics/tests/support/mod.rs b/crates/commitscape-metrics/tests/support/mod.rs index 152673b..df63f98 100644 --- a/crates/commitscape-metrics/tests/support/mod.rs +++ b/crates/commitscape-metrics/tests/support/mod.rs @@ -168,18 +168,18 @@ pub fn index_with_suspects( if let Some(h) = idx.file_history.get_mut(file.idx()) { *h = h.touched(time); } - idx.changes.push(FileChange { + idx.changes.vec_mut().push(FileChange::new( file, kind, - lines: commit + commit .lines .get(k) .map(|&(added, removed)| commitscape_core::LineDelta { added, removed }), - }); + )); } let mut id = [0u8; 20]; id[16..].copy_from_slice(&(n as u32 + 1).to_be_bytes()); - idx.commits.push(CommitMeta { + idx.commits.vec_mut().push(CommitMeta { id: Oid(id), time, signature, @@ -198,7 +198,9 @@ pub fn index_with_suspects( subject_start: idx.subjects.len() as u32, subject_len: commit.subject.len() as u8, }); - idx.subjects.extend_from_slice(commit.subject.as_bytes()); + idx.subjects + .vec_mut() + .extend_from_slice(commit.subject.as_bytes()); } let signatures: Vec = emails diff --git a/crates/commitscape-report/src/api.rs b/crates/commitscape-report/src/api.rs index c556d1d..87aaeda 100644 --- a/crates/commitscape-report/src/api.rs +++ b/crates/commitscape-report/src/api.rs @@ -924,7 +924,7 @@ impl CommitList { let (mut added, mut removed) = (0u32, 0u32); let mut counted = changes.is_empty(); for ch in changes { - if let Some(l) = ch.lines { + if let Some(l) = ch.lines() { added = added.saturating_add(l.added); removed = removed.saturating_add(l.removed); counted = true; diff --git a/crates/commitscape-report/src/export.rs b/crates/commitscape-report/src/export.rs index 13ff7bd..d146d84 100644 --- a/crates/commitscape-report/src/export.rs +++ b/crates/commitscape-report/src/export.rs @@ -315,8 +315,8 @@ fn write_commits( fn lines_of(out: &mut Copy, changes: &[FileChange], settled: bool) { if settled { - out.array(changes.iter().map(|ch| ch.lines.map(|l| l.added))) - .array(changes.iter().map(|ch| ch.lines.map(|l| l.removed))); + out.array(changes.iter().map(|ch| ch.lines().map(|l| l.added))) + .array(changes.iter().map(|ch| ch.lines().map(|l| l.removed))); } else { out.null().null(); } diff --git a/crates/commitscape/src/build.rs b/crates/commitscape/src/build.rs index c3b8615..e64e752 100644 --- a/crates/commitscape/src/build.rs +++ b/crates/commitscape/src/build.rs @@ -180,7 +180,7 @@ fn mark_ignored(index: &mut Index, ignored: &[Oid]) { if ignored.is_empty() { return; } - for c in &mut index.commits { + for c in index.commits.iter_mut() { if ignored.contains(&c.id) { c.flags = c.flags.with(CommitFlags::BLAME_IGNORED); } diff --git a/crates/commitscape/tests/build.rs b/crates/commitscape/tests/build.rs index 1ee6862..a689160 100644 --- a/crates/commitscape/tests/build.rs +++ b/crates/commitscape/tests/build.rs @@ -206,18 +206,18 @@ fn build_writes_the_export_the_pack_and_the_meta_from_one_reading() { ); } expected.authors.blank_emails(); - for (c, packed) in expected.commits.iter_mut().zip(&pack.index.commits) { + for (c, packed) in expected.commits.iter_mut().zip(pack.index.commits.iter()) { c.flags = packed.flags; } - for (ch, packed) in expected.changes.iter_mut().zip(&pack.index.changes) { - ch.lines = packed.lines; + for (ch, packed) in expected.changes.iter_mut().zip(pack.index.changes.iter()) { + ch.set_lines(packed.lines()); } assert_eq!(pack.index, expected); let added: u64 = pack .index .changes .iter() - .filter_map(|ch| ch.lines.map(|l| u64::from(l.added))) + .filter_map(|ch| ch.lines().map(|l| u64::from(l.added))) .sum(); let exported: u64 = commits .iter() From 1129d2203efdd096b495f99ef089e55185779b5d Mon Sep 17 00:00:00 2001 From: Dev Talan <84081651+devchaudhary24k@users.noreply.github.com> Date: Tue, 27 Oct 2026 07:42:47 +0530 Subject: [PATCH 21/82] perf(index): read the Index in place from mapped columns kept beside the cache Each cache generation now keeps its commits, changes, subjects and the commits' settled line marks in a page-aligned column file (.cols), mapped copy-on-write by the new commitscape-map crate (the only unsafe code). A warm Build maps it instead of decoding the blocks; a Build with new commits streams the old columns and the new commits into the next generation's file; the line pass counts only the commits not settled and writes them back in place. When the files left out of Lines Changed change at a new head, only those files' changes are masked again. The file reads as absent until a save is on disk, so a Build stopped halfway reads the lines from the store again. The commit graph file is mapped the same way (format 2), the line store's since() streams, and the Atlas rows sort a small key instead of the rows. linux, production arguments, 2 threads: - warm (nothing new): 599-885 MB -> 118 MB peak anon, 5.9 s - +17,137 commits: 885 MB -> 453 MB peak anon, 16.5 s -> 12.4 s - first Build on an old cache (writes the columns once): 13 s, 498 MB react warm: 34-40 MB -> 9 MB peak anon, 0.25 s --- Cargo.lock | 10 + Cargo.toml | 2 + crates/commitscape-core/src/index.rs | 4 + crates/commitscape-core/src/lib.rs | 2 + crates/commitscape-core/src/record.rs | 183 ++++++++ crates/commitscape-index/Cargo.toml | 1 + crates/commitscape-index/src/build.rs | 29 +- crates/commitscape-index/src/cache/cols.rs | 425 ++++++++++++++++++ crates/commitscape-index/src/cache/format.rs | 14 +- .../commitscape-index/src/cache/line_store.rs | 106 ++++- crates/commitscape-index/src/cache/mod.rs | 111 ++++- crates/commitscape-index/src/graph.rs | 226 ++++++---- crates/commitscape-index/src/lines.rs | 274 +++++++++-- crates/commitscape-map/Cargo.toml | 25 ++ crates/commitscape-map/src/lib.rs | 151 +++++++ crates/commitscape-report/src/universe.rs | 51 ++- crates/commitscape/src/build.rs | 6 +- crates/commitscape/src/main.rs | 84 ++++ crates/commitscape/tests/build.rs | 176 ++++++++ 19 files changed, 1707 insertions(+), 173 deletions(-) create mode 100644 crates/commitscape-core/src/record.rs create mode 100644 crates/commitscape-index/src/cache/cols.rs create mode 100644 crates/commitscape-map/Cargo.toml create mode 100644 crates/commitscape-map/src/lib.rs diff --git a/Cargo.lock b/Cargo.lock index 6bf3f3c..0c30d04 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -490,6 +490,7 @@ version = "0.4.0" dependencies = [ "bincode", "commitscape-core", + "commitscape-map", "foldhash 0.2.0", "gix", "globset", @@ -501,6 +502,15 @@ dependencies = [ "xxhash-rust", ] +[[package]] +name = "commitscape-map" +version = "0.4.0" +dependencies = [ + "commitscape-core", + "memmap2", + "tempfile", +] + [[package]] name = "commitscape-metrics" version = "0.4.0" diff --git a/Cargo.toml b/Cargo.toml index f980cda..346bcc5 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -4,6 +4,7 @@ members = [ "crates/commitscape-core", "crates/commitscape-forge", "crates/commitscape-index", + "crates/commitscape-map", "crates/commitscape-metrics", "crates/commitscape-report", "crates/commitscape", @@ -23,6 +24,7 @@ homepage = "https://github.com/pixelactstudio/commitscape" commitscape-core = { path = "crates/commitscape-core", version = "0.4.0" } commitscape-forge = { path = "crates/commitscape-forge", version = "0.4.0" } commitscape-index = { path = "crates/commitscape-index", version = "0.4.0" } +commitscape-map = { path = "crates/commitscape-map", version = "0.4.0" } commitscape-metrics = { path = "crates/commitscape-metrics", version = "0.4.0" } commitscape-report = { path = "crates/commitscape-report", version = "0.4.0" } diff --git a/crates/commitscape-core/src/index.rs b/crates/commitscape-core/src/index.rs index 85e3e1b..7b25e76 100644 --- a/crates/commitscape-core/src/index.rs +++ b/crates/commitscape-core/src/index.rs @@ -57,6 +57,10 @@ impl From for FileChange { } impl FileChange { + pub const COUNTED_AT: usize = std::mem::offset_of!(FileChange, counted); + pub const ADDED_AT: usize = std::mem::offset_of!(FileChange, added); + pub const REMOVED_AT: usize = std::mem::offset_of!(FileChange, removed); + pub fn new(file: FileId, kind: ChangeKind, lines: Option) -> FileChange { let mut c = FileChange { file, diff --git a/crates/commitscape-core/src/lib.rs b/crates/commitscape-core/src/lib.rs index d62c959..503bdb5 100644 --- a/crates/commitscape-core/src/lib.rs +++ b/crates/commitscape-core/src/lib.rs @@ -3,6 +3,7 @@ mod column; mod ids; mod index; mod oid; +mod record; mod time; pub use bots::{is_bot_name, AUTOMATION}; @@ -14,4 +15,5 @@ pub use index::{ PathTable, PersonTraits, RepoIdentity, Signature, SignatureRef, SCHEMA_VERSION, SUBJECT_CAP, }; pub use oid::Oid; +pub use record::Record; pub use time::{civil_from_unix, parse_iso8601, Month}; diff --git a/crates/commitscape-core/src/record.rs b/crates/commitscape-core/src/record.rs new file mode 100644 index 0000000..e36ca7a --- /dev/null +++ b/crates/commitscape-core/src/record.rs @@ -0,0 +1,183 @@ +use std::mem::{offset_of, size_of}; + +use crate::{CommitKind, CommitMeta, FileChange}; + +/// A record kept in a column file exactly as it lies in memory: written field by field with no stray padding bytes, and checked before it is read in place. +pub trait Record: Copy + Send + Sync + 'static { + const SIZE: usize; + + fn write_to(&self, out: &mut [u8]); + + fn valid(bytes: &[u8]) -> bool; +} + +fn put(out: &mut [u8], at: usize, bytes: &[u8]) { + if let Some(slot) = out.get_mut(at..at + bytes.len()) { + slot.copy_from_slice(bytes); + } +} + +const COMMIT_KINDS: u8 = CommitKind::EVERY.len() as u8; +const CHANGE_KINDS: u8 = 4; + +impl Record for u8 { + const SIZE: usize = 1; + + fn write_to(&self, out: &mut [u8]) { + put(out, 0, &[*self]); + } + + fn valid(_: &[u8]) -> bool { + true + } +} + +impl Record for u32 { + const SIZE: usize = 4; + + fn write_to(&self, out: &mut [u8]) { + put(out, 0, &self.to_ne_bytes()); + } + + fn valid(_: &[u8]) -> bool { + true + } +} + +impl Record for CommitMeta { + const SIZE: usize = size_of::(); + + fn write_to(&self, out: &mut [u8]) { + out.fill(0); + put(out, offset_of!(CommitMeta, id), &self.id.0); + put(out, offset_of!(CommitMeta, time), &self.time.to_ne_bytes()); + put( + out, + offset_of!(CommitMeta, signature), + &self.signature.0.to_ne_bytes(), + ); + put(out, offset_of!(CommitMeta, flags), &[self.flags.0]); + put( + out, + offset_of!(CommitMeta, changes_start), + &self.changes_start.to_ne_bytes(), + ); + put( + out, + offset_of!(CommitMeta, changes_len), + &self.changes_len.to_ne_bytes(), + ); + put( + out, + offset_of!(CommitMeta, offset_minutes), + &self.offset_minutes.to_ne_bytes(), + ); + put( + out, + offset_of!(CommitMeta, author_delta), + &self.author_delta.to_ne_bytes(), + ); + put(out, offset_of!(CommitMeta, kind), &[self.kind as u8]); + put( + out, + offset_of!(CommitMeta, subject_start), + &self.subject_start.to_ne_bytes(), + ); + put( + out, + offset_of!(CommitMeta, subject_len), + &[self.subject_len], + ); + } + + fn valid(bytes: &[u8]) -> bool { + bytes.len() == Self::SIZE + && bytes + .get(offset_of!(CommitMeta, kind)) + .is_some_and(|&k| k < COMMIT_KINDS) + } +} + +impl Record for FileChange { + const SIZE: usize = size_of::(); + + fn write_to(&self, out: &mut [u8]) { + out.fill(0); + let lines = self.lines(); + put( + out, + offset_of!(FileChange, file), + &self.file.0.to_ne_bytes(), + ); + put(out, offset_of!(FileChange, kind), &[self.kind as u8]); + put(out, FileChange::COUNTED_AT, &[u8::from(lines.is_some())]); + if let Some(d) = lines { + put(out, FileChange::ADDED_AT, &d.added.to_ne_bytes()); + put(out, FileChange::REMOVED_AT, &d.removed.to_ne_bytes()); + } + } + + fn valid(bytes: &[u8]) -> bool { + bytes.len() == Self::SIZE + && bytes + .get(offset_of!(FileChange, kind)) + .is_some_and(|&k| k < CHANGE_KINDS) + && bytes.get(FileChange::COUNTED_AT).is_some_and(|&c| c <= 1) + } +} + +#[cfg(test)] +mod tests { + #![allow(clippy::indexing_slicing)] + + use super::*; + use crate::{ChangeKind, CommitFlags, FileId, LineDelta, Oid, SignatureId}; + + #[test] + fn every_kind_fits_the_byte_it_is_kept_in() { + assert!(CommitKind::EVERY.iter().all(|k| (*k as u8) < COMMIT_KINDS)); + for k in [ + ChangeKind::Added, + ChangeKind::Modified, + ChangeKind::Deleted, + ChangeKind::Renamed, + ] { + assert!((k as u8) < CHANGE_KINDS); + } + } + + #[test] + fn records_are_written_whole_and_refused_when_a_kind_is_not_one() { + let c = CommitMeta { + id: Oid([7; 20]), + time: -5, + signature: SignatureId(3), + flags: CommitFlags(4), + changes_start: 9, + changes_len: 2, + offset_minutes: -60, + author_delta: 11, + kind: CommitKind::Revert, + subject_start: 40, + subject_len: 12, + }; + let mut out = vec![0xff; CommitMeta::SIZE]; + c.write_to(&mut out); + assert!(CommitMeta::valid(&out)); + out[offset_of!(CommitMeta, kind)] = COMMIT_KINDS; + assert!(!CommitMeta::valid(&out)); + let ch = FileChange::new( + FileId(5), + ChangeKind::Renamed, + Some(LineDelta { + added: 1, + removed: 2, + }), + ); + let mut out = vec![0xff; FileChange::SIZE]; + ch.write_to(&mut out); + assert!(FileChange::valid(&out)); + out[FileChange::COUNTED_AT] = 2; + assert!(!FileChange::valid(&out)); + } +} diff --git a/crates/commitscape-index/Cargo.toml b/crates/commitscape-index/Cargo.toml index 46a6e20..1272387 100644 --- a/crates/commitscape-index/Cargo.toml +++ b/crates/commitscape-index/Cargo.toml @@ -12,6 +12,7 @@ homepage.workspace = true workspace = true [dependencies] +commitscape-map.workspace = true commitscape-core.workspace = true serde = { version = "1.0.229", features = ["derive"] } thiserror = "2.0.20" diff --git a/crates/commitscape-index/src/build.rs b/crates/commitscape-index/src/build.rs index 6b8089e..ba3b895 100644 --- a/crates/commitscape-index/src/build.rs +++ b/crates/commitscape-index/src/build.rs @@ -1,8 +1,8 @@ use std::ops::ControlFlow; use commitscape_core::{ - ChangeKind, CommitFlags, CommitKind, CommitMeta, FileChange, FileHistory, HistorySpan, Index, - Oid, PathEvent, PathId, PathTable, RepoIdentity, Signature, SignatureId, + ChangeKind, Column, CommitFlags, CommitKind, CommitMeta, FileChange, FileHistory, HistorySpan, + Index, Oid, PathEvent, PathId, PathTable, RepoIdentity, Signature, SignatureId, }; use crate::hash_index::HashIndex; @@ -40,6 +40,14 @@ fn signature_hash(name: &[u8], email: &[u8]) -> u64 { h.digest() } +pub type Merge<'a> = dyn FnMut( + &Index, + &[CommitMeta], + &[FileChange], + &[u8], + ) -> Option<(Column, Column, Column)> + + 'a; + pub struct IndexBuilder { rules: IdentityRules, paths: PathTable, @@ -145,11 +153,17 @@ impl IndexBuilder { id } - pub fn finish( + pub fn finish(self, repo: RepoIdentity, frontier: Vec, history_truncated: bool) -> Index { + self.finish_merging(repo, frontier, history_truncated, &mut |_, _, _, _| None) + } + + /// Finishes as `finish` does, handing the earlier Index and the new commits, changes and subjects to `merge` first: what it returns become the Index's columns, and when it returns none they are merged in memory. + pub fn finish_merging( mut self, repo: RepoIdentity, frontier: Vec, history_truncated: bool, + merge: &mut Merge<'_>, ) -> Index { self.commits.sort_by_key(|c| (c.time, c.id.0)); @@ -222,7 +236,14 @@ impl IndexBuilder { let added = HistorySpan::of(&commits); let mut index = match self.base.take() { Some(mut base) => { - merge_history(&mut base, commits, changes, subjects); + match merge(&base, &commits, &changes, &subjects) { + Some((c, ch, s)) => { + base.commits = c; + base.changes = ch; + base.subjects = s; + } + None => merge_history(&mut base, commits, changes, subjects), + } base.span = base.span.joined(added); base.history_truncated = history_truncated; base diff --git a/crates/commitscape-index/src/cache/cols.rs b/crates/commitscape-index/src/cache/cols.rs new file mode 100644 index 0000000..31f0c8a --- /dev/null +++ b/crates/commitscape-index/src/cache/cols.rs @@ -0,0 +1,425 @@ +use std::fs::File; +use std::io::{Read, Seek, SeekFrom}; +use std::os::unix::fs::FileExt; +use std::path::{Path, PathBuf}; + +use commitscape_core::{Column, CommitFlags, CommitMeta, FileChange, Index, Record}; +use commitscape_map::Records; +use serde::{Deserialize, Serialize}; + +const MAGIC: [u8; 8] = *b"CSCOLS01"; +const PAGE: u64 = 4096; +const SECTIONS: usize = 4; +const MERGING: &str = "merging.part"; + +#[derive(Debug, Clone, Default, Serialize, Deserialize)] +struct Trailer { + sections: [(u64, u64); SECTIONS], + bulk: u32, + skipped: Vec, +} + +/// What the line pass masked the kept Lines Changed with: the Bulk Commit size and, file by file, which files it leaves out. +#[derive(Debug, Clone, Default, PartialEq, Eq)] +pub struct Masking { + pub bulk: u32, + pub skipped: Vec, +} + +impl Masking { + /// The files whose lines `now` keeps where `self` left them out, or the other way round, when lines masked with `self` can be brought to `now` file by file: the same Bulk Commit size, and no file forgotten. Files new since only reach commits not counted yet. + pub fn flips(&self, now: &Masking) -> Option> { + (self.bulk == now.bulk && self.skipped.len() <= now.skipped.len()).then(|| { + now.skipped + .iter() + .zip(&self.skipped) + .enumerate() + .filter(|(_, (a, b))| a != b) + .map(|(i, _)| i) + .collect() + }) + } +} + +/// The Index's columns kept beside the cache for one generation, with each commit's Lines Changed in its changes and whether they are settled. +pub type Mapped = (Column, Column, Column); + +pub struct Kept { + path: PathBuf, + sections: [(u64, u64); SECTIONS], + pub settled: Column, + pub masking: Masking, +} + +fn path_of(dir: &Path, generation: u64) -> PathBuf { + dir.join(format!("{generation:016x}.cols")) +} + +fn aligned(at: u64) -> u64 { + at.div_ceil(PAGE) * PAGE +} + +fn bits(skipped: &[bool]) -> Vec { + skipped + .chunks(8) + .map(|c| { + c.iter() + .enumerate() + .fold(0u8, |b, (i, &s)| b | (u8::from(s) << i)) + }) + .collect() +} + +fn unbits(bytes: &[u8], len: usize) -> Vec { + (0..len) + .map(|i| bytes.get(i / 8).is_some_and(|b| b >> (i % 8) & 1 == 1)) + .collect() +} + +struct Sink { + file: File, + at: u64, + pending: Vec, + record: Vec, +} + +const PENDING: usize = 1 << 20; + +impl Sink { + fn at(file: &File, offset: u64) -> std::io::Result { + Ok(Sink { + file: file.try_clone()?, + at: offset, + pending: Vec::with_capacity(PENDING), + record: Vec::new(), + }) + } + + fn put(&mut self, r: &T) -> std::io::Result<()> { + self.record.resize(T::SIZE, 0); + r.write_to(&mut self.record); + let record = std::mem::take(&mut self.record); + self.bytes(&record)?; + self.record = record; + Ok(()) + } + + fn bytes(&mut self, b: &[u8]) -> std::io::Result<()> { + self.pending.extend_from_slice(b); + if self.pending.len() >= PENDING { + self.flush()?; + } + Ok(()) + } + + fn flush(&mut self) -> std::io::Result<()> { + self.file.write_all_at(&self.pending, self.at)?; + self.at += self.pending.len() as u64; + self.pending.clear(); + Ok(()) + } + + fn done(mut self) -> std::io::Result<()> { + self.flush() + } +} + +fn layout(commits: u64, changes: u64, subjects: u64) -> [(u64, u64); SECTIONS] { + let mut at = PAGE; + let mut out = [(0, 0); SECTIONS]; + for (slot, (count, size)) in out.iter_mut().zip([ + (commits, CommitMeta::SIZE as u64), + (changes, FileChange::SIZE as u64), + (subjects, 1), + (commits, 1), + ]) { + *slot = (at, count); + at = aligned(at + count * size); + } + out +} + +fn finish(file: &File, sections: [(u64, u64); SECTIONS], masking: &Masking) -> std::io::Result<()> { + let end = sections + .iter() + .zip([CommitMeta::SIZE as u64, FileChange::SIZE as u64, 1, 1]) + .map(|((at, n), size)| at + n * size) + .max() + .unwrap_or(PAGE); + write_trailer(file, aligned(end), sections, masking) +} + +fn write_trailer( + file: &File, + at: u64, + sections: [(u64, u64); SECTIONS], + masking: &Masking, +) -> std::io::Result<()> { + let trailer = Trailer { + sections, + bulk: masking.bulk, + skipped: bits(&masking.skipped), + }; + let mut tail = bincode::serde::encode_to_vec(&trailer, bincode::config::standard()) + .map_err(std::io::Error::other)?; + let len = tail.len() as u64; + tail.extend_from_slice(&len.to_le_bytes()); + tail.extend_from_slice(&(masking.skipped.len() as u64).to_le_bytes()); + tail.extend_from_slice(&MAGIC); + file.write_all_at(&MAGIC, 0)?; + file.write_all_at(&tail, at)?; + file.set_len(at + tail.len() as u64) +} + +fn clean(commit: &CommitMeta) -> CommitMeta { + CommitMeta { + flags: CommitFlags(commit.flags.0 & !CommitFlags::BLAME_IGNORED.0), + ..*commit + } +} + +/// Writes the Index's columns for `generation` beside the cache, whole into a temporary file then moved into place, with the commits' settled marks and the masking their lines were counted with. Blame's ignored marks, which each Build sets again, are left out. +pub fn write( + dir: &Path, + generation: u64, + index: &Index, + settled: &[u8], + masking: &Masking, +) -> std::io::Result<()> { + let temp = dir.join(format!("{generation:016x}.cols.writing")); + let file = File::create(&temp)?; + let sections = layout( + index.commits.len() as u64, + index.changes.len() as u64, + index.subjects.len() as u64, + ); + let [c, ch, s, st] = sections; + let mut commits = Sink::at(&file, c.0)?; + for commit in index.commits.iter() { + commits.put(&clean(commit))?; + } + commits.done()?; + let mut changes = Sink::at(&file, ch.0)?; + for change in index.changes.iter() { + changes.put(change)?; + } + changes.done()?; + let mut subjects = Sink::at(&file, s.0)?; + subjects.bytes(&index.subjects)?; + subjects.done()?; + let mut marks = Sink::at(&file, st.0)?; + marks.bytes( + &settled + .iter() + .take(index.commits.len()) + .copied() + .collect::>(), + )?; + marks.bytes(&vec![0; index.commits.len().saturating_sub(settled.len())])?; + marks.done()?; + finish(&file, sections, masking)?; + file.sync_data()?; + std::fs::rename(temp, path_of(dir, generation)) +} + +/// Merges new commits, already in order, into the mapped columns of `base`, writing the result straight to a file and mapping it: no column of the base is copied into memory. The new commits are not settled. +pub fn merge( + dir: &Path, + base: &Index, + base_settled: &[u8], + masking: &Masking, + commits: &[CommitMeta], + changes: &[FileChange], + subjects: &[u8], +) -> std::io::Result<(Mapped, Kept)> { + let temp = dir.join(MERGING); + let file = File::create(&temp)?; + let sections = layout( + (base.commits.len() + commits.len()) as u64, + (base.changes.len() + changes.len()) as u64, + (base.subjects.len() + subjects.len()) as u64, + ); + let [c, ch, s, st] = sections; + let mut out_commits = Sink::at(&file, c.0)?; + let mut out_changes = Sink::at(&file, ch.0)?; + let mut out_subjects = Sink::at(&file, s.0)?; + let mut out_settled = Sink::at(&file, st.0)?; + let key = |c: &CommitMeta| (c.time, c.id.0); + let base_changes: &[FileChange] = &base.changes; + let base_subjects: &[u8] = &base.subjects; + let (mut a, mut b) = (0usize, 0usize); + let (mut change_at, mut subject_at) = (0u32, 0u32); + loop { + let from_base = match (base.commits.get(a), commits.get(b)) { + (Some(x), Some(y)) => key(x) <= key(y), + (Some(_), None) => true, + (None, Some(_)) => false, + (None, None) => break, + }; + let (commit, arena, texts, mark) = if from_base { + a += 1; + ( + base.commits.get(a - 1), + base_changes, + base_subjects, + base_settled.get(a - 1).copied().unwrap_or(0), + ) + } else { + b += 1; + (commits.get(b - 1), changes, subjects, 0) + }; + let Some(commit) = commit else { + break; + }; + for change in arena.get(commit.changes()).unwrap_or(&[]) { + out_changes.put(change)?; + } + let text = texts.get(commit.subject()).unwrap_or(&[]); + out_subjects.bytes(text)?; + out_commits.put(&clean(&CommitMeta { + changes_start: change_at, + subject_start: subject_at, + subject_len: text.len() as u8, + ..*commit + }))?; + out_settled.bytes(&[mark])?; + change_at += commit.changes_len; + subject_at += text.len() as u32; + } + for sink in [out_commits, out_changes, out_subjects, out_settled] { + sink.done()?; + } + finish(&file, sections, masking)?; + drop(file); + open(&temp) +} + +fn open(path: &Path) -> std::io::Result<(Mapped, Kept)> { + let mut file = File::open(path)?; + let size = file.metadata()?.len(); + let mut tail = [0u8; 24]; + file.seek(SeekFrom::Start( + size.checked_sub(24) + .ok_or_else(|| std::io::Error::other("too short"))?, + ))?; + file.read_exact(&mut tail)?; + let (len, rest) = tail.split_at(8); + let (files, magic) = rest.split_at(8); + if magic != MAGIC { + return Err(std::io::Error::other("not a column file")); + } + let len = u64::from_le_bytes(len.try_into().map_err(std::io::Error::other)?); + let files = u64::from_le_bytes(files.try_into().map_err(std::io::Error::other)?) as usize; + let mut body = vec![0u8; len as usize]; + file.seek(SeekFrom::Start(size - 24 - len))?; + file.read_exact(&mut body)?; + let (trailer, _): (Trailer, usize) = + bincode::serde::decode_from_slice(&body, bincode::config::standard()) + .map_err(std::io::Error::other)?; + let [c, ch, s, st] = trailer.sections; + let count = |n: u64| usize::try_from(n).map_err(std::io::Error::other); + let commits = Column::mapped(Box::new(Records::::open( + &file, + c.0, + count(c.1)?, + )?)); + let changes = Column::mapped(Box::new(Records::::open( + &file, + ch.0, + count(ch.1)?, + )?)); + let subjects = Column::mapped(Box::new(Records::::open(&file, s.0, count(s.1)?)?)); + let settled = Column::mapped(Box::new(Records::::open(&file, st.0, count(st.1)?)?)); + let kept = Kept { + path: path.to_path_buf(), + sections: trailer.sections, + settled, + masking: Masking { + bulk: trailer.bulk, + skipped: unbits(&trailer.skipped, files), + }, + }; + Ok(((commits, changes, subjects), kept)) +} + +/// Maps the columns kept for `generation`, when they are there and hold as many commits and changes as the cache says. +pub fn read(dir: &Path, generation: u64, counts: (usize, usize)) -> Option<(Mapped, Kept)> { + let (mapped, kept) = open(&path_of(dir, generation)).ok()?; + ((mapped.0.len(), mapped.1.len()) == counts).then_some((mapped, kept)) +} + +impl Kept { + /// Moves a merged column file into place as the columns of `generation`. + pub fn settle_as(&mut self, dir: &Path, generation: u64) -> std::io::Result<()> { + let to = path_of(dir, generation); + std::fs::rename(&self.path, &to)?; + self.path = to; + Ok(()) + } + + /// Keeps the same columns for another generation of the cache, whose commits did not change. + pub fn link_as(&mut self, dir: &Path, generation: u64) -> std::io::Result<()> { + let to = path_of(dir, generation); + if std::fs::hard_link(&self.path, &to).is_err() { + std::fs::copy(&self.path, &to)?; + } + self.path = to; + Ok(()) + } + + /// Writes into the file the changes and settled marks of the commits given, as they now are in `index`, and the masking. The file reads as no columns until the writes are on disk, so a Build stopped halfway reads the lines from the store again rather than trust them. + pub fn save(&self, index: &Index, commits: &[usize], masking: &Masking) -> std::io::Result<()> { + let file = std::fs::OpenOptions::new().write(true).open(&self.path)?; + let size = file.metadata()?.len(); + let sealed = size + .checked_sub(MAGIC.len() as u64) + .ok_or_else(|| std::io::Error::other("too short"))?; + file.write_all_at(&[0; MAGIC.len()], sealed)?; + file.sync_data()?; + let [_, ch, _, st] = self.sections; + let mut buf = Vec::new(); + for &i in commits { + let Some(c) = index.commits.get(i) else { + continue; + }; + let Some(changes) = index.changes.get(c.changes()) else { + continue; + }; + buf.clear(); + for change in changes { + let at = buf.len(); + buf.resize(at + FileChange::SIZE, 0); + if let Some(slot) = buf.get_mut(at..) { + change.write_to(slot); + } + } + file.write_all_at( + &buf, + ch.0 + u64::from(c.changes_start) * FileChange::SIZE as u64, + )?; + file.write_all_at( + &[self.settled.get(i).copied().unwrap_or(0)], + st.0 + i as u64, + )?; + } + file.sync_data()?; + let end = aligned(st.0 + st.1); + write_trailer(&file, end, self.sections, masking) + } +} + +/// Deletes column files no generation in `keep` names, and merges left half-written. +pub fn tidy(dir: &Path, keep: &[u64]) { + let Ok(entries) = std::fs::read_dir(dir) else { + return; + }; + let names: Vec = keep.iter().map(|g| format!("{g:016x}.cols")).collect(); + for entry in entries.flatten() { + let name = entry.file_name().to_string_lossy().into_owned(); + let stale = + (name.ends_with(".cols") && !names.contains(&name)) || name.ends_with(".cols.writing"); + if stale { + let _ = std::fs::remove_file(entry.path()); + } + } +} diff --git a/crates/commitscape-index/src/cache/format.rs b/crates/commitscape-index/src/cache/format.rs index 13d6ece..542a024 100644 --- a/crates/commitscape-index/src/cache/format.rs +++ b/crates/commitscape-index/src/cache/format.rs @@ -417,7 +417,7 @@ fn lock(dir: &Path) -> std::io::Result { Ok(WriteLock(f)) } -pub(super) fn write(w: Writing<'_>) -> std::io::Result<(String, Vec)> { +pub(super) fn write(w: Writing<'_>) -> std::io::Result { std::fs::create_dir_all(w.dir)?; let _lock = lock(w.dir)?; let mut head = w.head; @@ -494,7 +494,7 @@ pub(super) fn write(w: Writing<'_>) -> std::io::Result<(String, Vec) drop(out); swap_to(w.dir, head.generation, &head.data_file)?; - Ok((head.data_file, head.blocks)) + Ok(head.generation) } fn append(out: &mut impl std::io::Write, at: &mut u64, bytes: &[u8]) -> std::io::Result { @@ -545,7 +545,15 @@ fn swap_to(dir: &Path, generation: u64, data_file: &str) -> std::io::Result<()> if let Ok(entries) = std::fs::read_dir(dir) { for entry in entries.flatten() { let name = entry.file_name().to_string_lossy().into_owned(); - let stale = (name.ends_with(".head") && !keep_head(&name)) + let keep_cols = |name: &str| { + [Some(generation), previous] + .into_iter() + .flatten() + .any(|g| name == format!("{g:016x}.cols")) + }; + let stale = (name.ends_with(".cols") && !keep_cols(&name)) + || name.ends_with(".cols.writing") + || (name.ends_with(".head") && !keep_head(&name)) || (name.ends_with(".data") && !keep_data(&name)) || name.ends_with(".tmp"); if stale { diff --git a/crates/commitscape-index/src/cache/line_store.rs b/crates/commitscape-index/src/cache/line_store.rs index 8fae4fe..5836ccb 100644 --- a/crates/commitscape-index/src/cache/line_store.rs +++ b/crates/commitscape-index/src/cache/line_store.rs @@ -49,33 +49,54 @@ impl LineStore { counted } - /// Where the store's log ends now, and the commits counted into it after `mark`, an earlier end: `None` when the log no longer begins with what `mark` covered. + /// The lines kept for the commits in `wanted` only, read through the log a piece at a time without holding the rest. + pub fn read_some(&self, wanted: &std::collections::HashSet) -> Counted { + let mut out = Counted::new(); + if wanted.is_empty() { + return out; + } + let _ = each_record(&self.path(), &mut |id, deltas, _| { + if wanted.contains(&id) { + out.insert(id, deltas); + } + }); + out + } + + /// Where the store's log ends now, and the commits counted into it after `mark`, an earlier end: `None` when the log no longer begins with what `mark` covered. The log is read a piece at a time. pub fn since(&self, mark: Option) -> (LogMark, Option>) { - let bytes = std::fs::read(self.path()).unwrap_or_default(); let from = mark.map_or(0, |m| m.len); + let empty = xxh3_64(&[]); let mut after = Vec::new(); - let mut whole = 0usize; - if let Some(mut rest) = bytes.strip_prefix(MAGIC) { - whole = MAGIC.len(); - while let Some((id, _, next)) = record(rest) { - if whole as u64 >= from { - after.push(id); - } - whole += rest.len() - next.len(); - rest = next; - } - } - let hash_of = |len: u64| { - usize::try_from(len) - .ok() - .and_then(|n| bytes.get(..n.min(whole)).filter(|b| b.len() == n)) - .map(xxh3_64) + let mut hasher = xxhash_rust::xxh3::Xxh3::new(); + hasher.update(MAGIC); + let mut whole = MAGIC.len() as u64; + let mut at_mark = match from { + 0 => Some(empty), + n if n == whole => Some(hasher.digest()), + _ => None, }; - let now = LogMark { - len: whole as u64, - hash: hash_of(whole as u64).unwrap_or_default(), + let read = each_record(&self.path(), &mut |id, _, raw| { + if mark.is_some() && whole >= from { + after.push(id); + } + hasher.update(raw); + whole += raw.len() as u64; + if whole == from { + at_mark = Some(hasher.digest()); + } + }); + let now = match read { + Some(()) => LogMark { + len: whole, + hash: hasher.digest(), + }, + None => LogMark { + len: 0, + hash: empty, + }, }; - let held = mark.filter(|m| hash_of(m.len) == Some(m.hash)); + let held = mark.filter(|m| m.len <= now.len && at_mark == Some(m.hash)); (now, held.map(|_| after)) } @@ -177,3 +198,44 @@ pub(super) fn read_leb128(bytes: &[u8]) -> Option<(u64, &[u8])> { } None } + +type Visit<'a> = dyn FnMut(Oid, Vec>, &[u8]) + 'a; + +fn each_record(path: &Path, visit: &mut Visit<'_>) -> Option<()> { + use std::io::Read; + let mut file = std::fs::File::open(path).ok()?; + let mut buf: Vec = Vec::with_capacity(1 << 20); + let mut chunk = vec![0u8; 1 << 20]; + let mut started = false; + let mut eof = false; + loop { + if !eof && buf.len() < 1 << 19 { + let n = file.read(&mut chunk).ok()?; + eof = n == 0; + buf.extend_from_slice(chunk.get(..n).unwrap_or(&[])); + } + if !started { + if buf.len() < MAGIC.len() && !eof { + continue; + } + if !buf.starts_with(MAGIC) { + return None; + } + buf.drain(..MAGIC.len()); + started = true; + } + let mut used = 0usize; + while let Some((id, deltas, rest)) = buf.get(used..).and_then(record) { + let len = buf.len() - used - rest.len(); + visit(id, deltas, buf.get(used..used + len).unwrap_or(&[])); + used += len; + if !eof && buf.len() - used < 1 << 16 { + break; + } + } + buf.drain(..used); + if eof && (used == 0 || buf.is_empty()) { + return Some(()); + } + } +} diff --git a/crates/commitscape-index/src/cache/mod.rs b/crates/commitscape-index/src/cache/mod.rs index 876f055..39afd5e 100644 --- a/crates/commitscape-index/src/cache/mod.rs +++ b/crates/commitscape-index/src/cache/mod.rs @@ -1,4 +1,5 @@ mod blame_store; +pub mod cols; mod format; mod identity_store; mod line_store; @@ -75,6 +76,14 @@ pub struct Loaded { pub freshness: Freshness, pub lineage: u64, pub kept: bool, + pub columns: Columns, +} + +/// Where the Index's columns are kept beside the cache: the folder and the generation they belong to, and the kept columns when the Index was read from them. +#[derive(Default)] +pub struct Columns { + pub at: Option<(PathBuf, u64)>, + pub kept: Option, } /// Loads a repository's Index from the cache, reading only the history that is new. @@ -171,6 +180,7 @@ fn uncached( }, lineage: format::new_generation(), kept: false, + columns: Columns::default(), }) } @@ -249,19 +259,23 @@ fn rebuild( ctx.mailmap_fingerprint, classify, ); - let kept = format::write(format::Writing { + let written = format::write(format::Writing { head, previous: None, fresh: format::encode_blocks(&index.commits, &index.changes, &index.subjects), new_ids: SortedIds::run_of(index.commits.iter().map(|c| c.id)), dir: ctx.dir, }) - .is_ok(); + .ok(); Ok(Loaded { index, freshness: Freshness::Built { reason }, lineage, - kept, + kept: written.is_some(), + columns: Columns { + at: written.map(|g| (ctx.dir.to_path_buf(), g)), + kept: None, + }, }) } @@ -283,12 +297,24 @@ fn index_from(head: Head, decoded: format::Decoded) -> Index { } } +fn counts(blocks: &[BlockEntry]) -> (usize, usize) { + blocks.iter().fold((0, 0), |(c, ch), b| { + (c + b.commits as usize, ch + b.changes as usize) + }) +} + fn warm( ctx: &Context<'_>, head: Head, changed_rules: Option<&IdentityRules>, ) -> Result { - let decoded = format::read_blocks(ctx.dir, &head.data_file, &head.blocks)?; + let generation = head.generation; + let found = cols::read(ctx.dir, generation, counts(&head.blocks)); + let decoded = if found.is_some() { + format::Decoded::default() + } else { + format::read_blocks(ctx.dir, &head.data_file, &head.blocks)? + }; let previous = changed_rules.map(|_| PreviousParts { data_file: head.data_file.clone(), blocks: head.blocks.clone(), @@ -299,11 +325,18 @@ fn warm( let lineage = head.lineage; let mut index = index_from(head, decoded); + let mut kept = found.map(|((commits, changes, subjects), kept)| { + index.commits = commits; + index.changes = changes; + index.subjects = subjects; + kept + }); index.repo = ctx.identity.clone(); + let mut at = Some((ctx.dir.to_path_buf(), generation)); if let (Some(rules), Some(previous)) = (changed_rules, previous) { reresolve_authors(&mut index, rules); if let Ok(ids) = previous.ids { - let _ = format::write(format::Writing { + let written = format::write(format::Writing { head: format::head_of( &index, lineage, @@ -321,6 +354,12 @@ fn warm( new_ids: Vec::new(), dir: ctx.dir, }); + at = written.ok().map(|g| (ctx.dir.to_path_buf(), g)); + if let (Some(k), Some((_, g))) = (kept.as_mut(), at.as_ref()) { + if k.link_as(ctx.dir, *g).is_err() { + kept = None; + } + } } } Ok(Loaded { @@ -328,6 +367,7 @@ fn warm( freshness: Freshness::Warm, lineage, kept: true, + columns: Columns { at, kept }, }) } @@ -359,11 +399,22 @@ fn resume( Ok(ids) => ids, Err(_) => return rebuild(source, ctx, RebuildReason::Unreadable, progress), }; - let decoded = match format::read_blocks(ctx.dir, &data_file, &old_blocks) { - Ok(d) => d, - Err(_) => return rebuild(source, ctx, RebuildReason::Unreadable, progress), + let found = cols::read(ctx.dir, head.generation, counts(&old_blocks)); + let decoded = if found.is_some() { + format::Decoded::default() + } else { + match format::read_blocks(ctx.dir, &data_file, &old_blocks) { + Ok(d) => d, + Err(_) => return rebuild(source, ctx, RebuildReason::Unreadable, progress), + } }; - let base = index_from(head, decoded); + let mut base = index_from(head, decoded); + let mut kept = found.map(|((commits, changes, subjects), kept)| { + base.commits = commits; + base.changes = changes; + base.subjects = subjects; + kept + }); let mut builder = IndexBuilder::resume(base, ctx.rules(source)?); let stats = source.walk_history( @@ -377,7 +428,32 @@ fn resume( let changed_from = builder.oldest_pending_time().map(Month::of); let new_ids = SortedIds::run_of(builder.added_ids().into_iter()); - let mut index = builder.finish(ctx.identity.clone(), tips, stats.history_truncated); + let mut merged: Option = None; + let mut index = match kept.take() { + Some(base_kept) => { + let dir = ctx.dir; + builder.finish_merging( + ctx.identity.clone(), + tips, + stats.history_truncated, + &mut |base, commits, changes, subjects| { + let (columns, k) = cols::merge( + dir, + base, + &base_kept.settled, + &base_kept.masking, + commits, + changes, + subjects, + ) + .ok()?; + merged = Some(k); + Some(columns) + }, + ) + } + None => builder.finish(ctx.identity.clone(), tips, stats.history_truncated), + }; let head_commit = source.head_commit()?; if head_commit != index.head_commit || reclassify { @@ -414,7 +490,7 @@ fn resume( } None => (Vec::new(), old_blocks.clone()), }; - let kept = format::write(format::Writing { + let written = format::write(format::Writing { head: format::head_of( &index, lineage, @@ -432,12 +508,21 @@ fn resume( new_ids, dir: ctx.dir, }) - .is_ok(); + .ok(); + if let (Some(k), Some(g)) = (merged.as_mut(), written) { + if k.settle_as(ctx.dir, g).is_err() { + merged = None; + } + } Ok(Loaded { index, freshness: Freshness::Updated { added }, lineage, - kept, + kept: written.is_some(), + columns: Columns { + at: written.map(|g| (ctx.dir.to_path_buf(), g)), + kept: merged.filter(|_| written.is_some()), + }, }) } diff --git a/crates/commitscape-index/src/graph.rs b/crates/commitscape-index/src/graph.rs index f1f07ab..97c24d7 100644 --- a/crates/commitscape-index/src/graph.rs +++ b/crates/commitscape-index/src/graph.rs @@ -1,7 +1,7 @@ -use std::io::Write as _; use std::path::{Path, PathBuf}; -use commitscape_core::{Index, Oid}; +use commitscape_core::{Column, Index, Oid, Record}; +use commitscape_map::Records; use foldhash::{HashMap, HashMapExt, HashSet}; use tracing::field::Empty; use xxhash_rust::xxh3::{xxh3_64, Xxh3}; @@ -11,14 +11,16 @@ use crate::mainline::{Mainline, FIRST_PARENT, REACHABLE}; use crate::source::RepoSource; const FILE: &str = "graph"; -const MAGIC: [u8; 8] = *b"CSGRAPH\x01"; +const MAGIC: [u8; 8] = *b"CSGRAPH\x02"; +const PAGE: u64 = 4096; +const HEADER: usize = 69; const NONE: u32 = u32::MAX; const UPDATE_MAX: usize = 50_000; struct Line { head: Oid, - bits: Vec, - by: Vec, + bits: Column, + by: Column, } #[derive(Debug, Clone, Copy, PartialEq, Eq)] @@ -30,9 +32,9 @@ pub enum Kept { pub struct CommitGraph { lineage: u64, - hashes: Vec, - ends: Vec, - parents: Vec, + hashes: Column, + ends: Column, + parents: Column, line: Option, path: Option, changed: bool, @@ -136,9 +138,14 @@ impl CommitGraph { } Ok(CommitGraph { lineage, - hashes: index.commits.iter().map(|c| short(&c.id)).collect(), - ends, - parents, + hashes: index + .commits + .iter() + .map(|c| short(&c.id)) + .collect::>() + .into(), + ends: ends.into(), + parents: parents.into(), line: None, path: None, changed: true, @@ -287,7 +294,7 @@ impl CommitGraph { None => { touched.clear(); let (bits, by) = self.whole_line(h); - (bits, by, None) + (bits.into(), by.into(), None) } }; span.record("walked", touched.len()); @@ -378,9 +385,9 @@ impl CommitGraph { struct Stored { lineage: u64, ids: u64, - hashes: Vec, - ends: Vec, - parents: Vec, + hashes: Column, + ends: Column, + parents: Column, line: Option, } @@ -488,15 +495,20 @@ impl Stored { } Line { head: l.head, - bits, - by, + bits: bits.into(), + by: by.into(), } }); Ok(Some(CommitGraph { lineage: self.lineage, - hashes: index.commits.iter().map(|c| short(&c.id)).collect(), - ends, - parents, + hashes: index + .commits + .iter() + .map(|c| short(&c.id)) + .collect::>() + .into(), + ends: ends.into(), + parents: parents.into(), line, path: None, changed: true, @@ -505,52 +517,86 @@ impl Stored { } } -fn u32s(bytes: &[u8]) -> Vec { - bytes - .as_chunks::<4>() - .0 - .iter() - .map(|b| u32::from_le_bytes(*b)) - .collect() +fn aligned(at: u64) -> u64 { + at.div_ceil(PAGE) * PAGE +} + +fn layout(n: u64, m: u64, line: bool) -> [(u64, u64, u64); 5] { + let mut at = PAGE; + let mut out = [(0, 0, 0); 5]; + let line = u64::from(line); + for (slot, (count, size)) in + out.iter_mut() + .zip([(n, 4), (n, 4), (m, 4), (n * line, 1), (n * line, 4)]) + { + *slot = (at, count, size); + at = aligned(at + count * size); + } + out +} + +fn summed(h: &mut Xxh3, values: &[T]) { + let mut buf = vec![0u8; T::SIZE * 16_384]; + for chunk in values.chunks(16_384) { + for (v, slot) in chunk.iter().zip(buf.chunks_mut(T::SIZE)) { + v.write_to(slot); + } + h.update(buf.get(..chunk.len() * T::SIZE).unwrap_or(&[])); + } } -fn take<'a>(rest: &mut &'a [u8], len: usize) -> Option<&'a [u8]> { - let (head, tail) = rest.split_at_checked(len)?; - *rest = tail; - Some(head) +fn checksum(hashes: &[u32], ends: &[u32], parents: &[u32], line: Option<&Line>) -> u64 { + let mut h = Xxh3::new(); + summed(&mut h, hashes); + summed(&mut h, ends); + summed(&mut h, parents); + if let Some(l) = line { + h.update(&l.head.0); + h.update(&l.bits); + summed(&mut h, &l.by); + } + h.digest() } -fn take_u64(rest: &mut &[u8]) -> Option { - Some(u64::from_le_bytes(take(rest, 8)?.try_into().ok()?)) +fn header_u64(header: &[u8], at: usize) -> Option { + Some(u64::from_le_bytes(header.get(at..at + 8)?.try_into().ok()?)) } fn read(path: &Path) -> Option { - let bytes = std::fs::read(path).ok()?; - let (body, sum) = bytes.split_at_checked(bytes.len().checked_sub(8)?)?; - if xxh3_64(body).to_le_bytes() != sum { + use std::io::Read as _; + let mut file = std::fs::File::open(path).ok()?; + let mut header = [0u8; HEADER]; + file.read_exact(&mut header).ok()?; + if header.get(..8)? != MAGIC { return None; } - let mut rest = body; - if take(&mut rest, 8)? != MAGIC { + let lineage = header_u64(&header, 8)?; + let ids = header_u64(&header, 16)?; + let n = header_u64(&header, 24)?; + let m = header_u64(&header, 32)?; + let sum = header_u64(&header, 40)?; + let has_line = *header.get(48)? == 1; + let head = Oid::from_bytes(header.get(49..69)?)?; + let [h, e, p, b, y] = layout(n, m, has_line); + let size = |x: u64| usize::try_from(x).ok(); + let hashes = Column::mapped(Box::new(Records::::open(&file, h.0, size(h.1)?).ok()?)); + let ends = Column::mapped(Box::new(Records::::open(&file, e.0, size(e.1)?).ok()?)); + let parents = Column::mapped(Box::new(Records::::open(&file, p.0, size(p.1)?).ok()?)); + let line = has_line + .then(|| { + Some(Line { + head, + bits: Column::mapped(Box::new(Records::::open(&file, b.0, size(b.1)?).ok()?)), + by: Column::mapped(Box::new(Records::::open(&file, y.0, size(y.1)?).ok()?)), + }) + }) + .flatten(); + if has_line && line.is_none() { return None; } - let lineage = take_u64(&mut rest)?; - let ids = take_u64(&mut rest)?; - let n = usize::try_from(take_u64(&mut rest)?).ok()?; - let m = usize::try_from(take_u64(&mut rest)?).ok()?; - let hashes = u32s(take(&mut rest, n.checked_mul(4)?)?); - let ends = u32s(take(&mut rest, n.checked_mul(4)?)?); - let parents = u32s(take(&mut rest, m.checked_mul(4)?)?); - let line = match take(&mut rest, 1)?.first()? { - 0 => None, - _ => { - let head = Oid::from_bytes(take(&mut rest, 20)?)?; - let bits = take(&mut rest, n)?.to_vec(); - let by = u32s(take(&mut rest, n.checked_mul(4)?)?); - Some(Line { head, bits, by }) - } - }; - if !rest.is_empty() || ends.last().is_some_and(|&e| e as usize != m) { + if ends.last().is_some_and(|&x| u64::from(x) != m) + || checksum(&hashes, &ends, &parents, line.as_ref()) != sum + { return None; } Some(Stored { @@ -563,36 +609,52 @@ fn read(path: &Path) -> Option { }) } -fn write(path: &Path, graph: &CommitGraph, index: &Index) -> std::io::Result<()> { - let n = graph.hashes.len(); - let mut out: Vec = Vec::with_capacity(48 + n * 13 + graph.parents.len() * 4 + 30); - out.extend_from_slice(&MAGIC); - out.extend_from_slice(&graph.lineage.to_le_bytes()); - out.extend_from_slice(&ids_hash(index.commits.iter().map(|c| &c.id)).to_le_bytes()); - out.extend_from_slice(&(n as u64).to_le_bytes()); - out.extend_from_slice(&(graph.parents.len() as u64).to_le_bytes()); - for v in [&graph.hashes, &graph.ends, &graph.parents] { - for x in v.iter() { - out.extend_from_slice(&x.to_le_bytes()); +fn put(file: &std::fs::File, at: u64, values: &[T]) -> std::io::Result<()> { + use std::os::unix::fs::FileExt; + let mut buf = vec![0u8; T::SIZE * 65_536]; + let mut offset = at; + for chunk in values.chunks(65_536) { + for (v, slot) in chunk.iter().zip(buf.chunks_mut(T::SIZE)) { + v.write_to(slot); } + let bytes = buf.get(..chunk.len() * T::SIZE).unwrap_or(&[]); + file.write_all_at(bytes, offset)?; + offset += bytes.len() as u64; } - match &graph.line { - Some(l) => { - out.push(1); - out.extend_from_slice(&l.head.0); - out.extend_from_slice(&l.bits); - for x in &l.by { - out.extend_from_slice(&x.to_le_bytes()); - } - } - None => out.push(0), - } - let sum = xxh3_64(&out); - out.extend_from_slice(&sum.to_le_bytes()); + Ok(()) +} + +fn write(path: &Path, graph: &CommitGraph, index: &Index) -> std::io::Result<()> { + use std::os::unix::fs::FileExt; + let n = graph.hashes.len() as u64; + let m = graph.parents.len() as u64; + let line = graph.line.as_ref(); + let [h, e, p, b, y] = layout(n, m, line.is_some()); let temp = path.with_extension("writing"); - { - let mut f = std::fs::File::create(&temp)?; - f.write_all(&out)?; + let file = std::fs::File::create(&temp)?; + put(&file, h.0, &graph.hashes)?; + put(&file, e.0, &graph.ends)?; + put(&file, p.0, &graph.parents)?; + let mut end = aligned(p.0 + m * 4); + if let Some(l) = line { + put(&file, b.0, &l.bits)?; + put(&file, y.0, &l.by)?; + end = aligned(y.0 + n * 4); } + let mut header = Vec::with_capacity(HEADER); + header.extend_from_slice(&MAGIC); + header.extend_from_slice(&graph.lineage.to_le_bytes()); + header.extend_from_slice(&ids_hash(index.commits.iter().map(|c| &c.id)).to_le_bytes()); + header.extend_from_slice(&n.to_le_bytes()); + header.extend_from_slice(&m.to_le_bytes()); + header.extend_from_slice( + &checksum(&graph.hashes, &graph.ends, &graph.parents, line).to_le_bytes(), + ); + header.push(u8::from(line.is_some())); + header.extend_from_slice(&line.map_or([0; 20], |l| l.head.0)); + file.write_all_at(&header, 0)?; + file.set_len(end.max(PAGE))?; + file.sync_data()?; + drop(file); std::fs::rename(&temp, path) } diff --git a/crates/commitscape-index/src/lines.rs b/crates/commitscape-index/src/lines.rs index d0526e3..1b8a67c 100644 --- a/crates/commitscape-index/src/lines.rs +++ b/crates/commitscape-index/src/lines.rs @@ -138,7 +138,7 @@ pub fn line_pass( let _entered = span.enter(); let until = plan.budget.and_then(|b| Instant::now().checked_add(b)); let mut known = store.map(LineStore::read).unwrap_or_default(); - let mut todo: Vec = index + let todo: Vec = index .commits .iter() .enumerate() @@ -146,6 +146,61 @@ pub fn line_pass( .map(|(i, _)| i) .collect(); span.record("commits", todo.len()); + let mainline_count = count_into( + source, index, plan, store, &mut known, todo, until, progress, + )?; + span.record("mainline", mainline_count); + + let mut lines = vec![None; index.changes.len()]; + let mut settled = vec![true; index.commits.len()]; + let (mut counted, mut left) = (0u64, 0u64); + for (i, c) in index.commits.iter().enumerate() { + if plan.skips_commit(i, c) { + continue; + } + let Some(deltas) = known.get(&c.id) else { + left += 1; + if let Some(s) = settled.get_mut(i) { + *s = false; + } + continue; + }; + counted += 1; + if let Some(slots) = lines.get_mut(c.changes()) { + if slots.len() == deltas.len() { + for ((slot, delta), change) in slots.iter_mut().zip(deltas).zip(index.changes_of(c)) + { + *slot = if plan.skips_file(change.file) { + None + } else { + *delta + }; + } + } + } + } + span.record("counted", counted); + span.record("left", left); + Ok(LinePass { + lines, + ignored: source.blame_ignore_revs()?, + counted, + left, + settled, + }) +} + +#[allow(clippy::too_many_arguments)] +fn count_into( + source: &S, + index: &Index, + plan: &LinePlan, + store: Option<&LineStore>, + known: &mut Counted, + mut todo: Vec, + until: Option, + progress: &mut dyn FnMut(u64, u64), +) -> Result { let bits = match (&plan.mainline, todo.is_empty()) { (Some(bits), _) => Cow::Borrowed(bits.as_slice()), (None, false) => Cow::Owned(mainline(source, index)?.bits), @@ -153,7 +208,7 @@ pub fn line_pass( }; let on_mainline = |i: usize| bits.get(i).is_some_and(|b| b & REACHABLE != 0); order(&mut todo, &bits); - span.record("mainline", todo.iter().filter(|&&i| on_mainline(i)).count()); + let on_line = todo.iter().filter(|&&i| on_mainline(i)).count(); let mut skips: Vec = Vec::new(); let mut ends: Vec = Vec::with_capacity(todo.len()); @@ -172,7 +227,7 @@ pub fn line_pass( let counting = { let mut kept = Kept { store, - known: &mut known, + known, fresh: Vec::new(), done: 0, total: todo.len() as u64, @@ -205,44 +260,205 @@ pub fn line_pass( counting }; counting?; + Ok(on_line) +} - let mut lines = vec![None; index.changes.len()]; - let mut settled = vec![true; index.commits.len()]; - let (mut counted, mut left) = (0u64, 0u64); - for (i, c) in index.commits.iter().enumerate() { - if plan.skips_commit(i, c) { +fn masked( + plan: &LinePlan, + index: &Index, + c: &CommitMeta, + deltas: &[Option], +) -> Option>> { + let changes = index.changes_of(c); + (changes.len() == deltas.len()).then(|| { + changes + .iter() + .zip(deltas) + .map(|(change, delta)| { + if plan.skips_file(change.file) { + None + } else { + *delta + } + }) + .collect() + }) +} + +/// Brings the settled lines in the Index's changes, masked when the files in `flipped` were kept or left out the other way, to `plan`'s masking: changes of files now left out lose their lines, and changes of files now kept get theirs from the store. Returns the commits whose changes it rewrote. +pub fn remask( + index: &mut Index, + plan: &LinePlan, + store: Option<&LineStore>, + flipped: &[usize], + settled: &[u8], +) -> Vec { + if flipped.is_empty() { + return Vec::new(); + } + let mut flips = vec![false; index.paths.len()]; + for &f in flipped { + if let Some(slot) = flips.get_mut(f) { + *slot = true; + } + } + let flips_file = |file: FileId| flips.get(file.idx()).copied().unwrap_or(false); + let mut rewritten = Vec::new(); + let mut wanted = std::collections::HashSet::new(); + for i in 0..index.commits.len() { + let Some(c) = index.commits.get(i).copied() else { continue; + }; + if settled.get(i).copied().unwrap_or(0) == 0 || plan.skips_commit(i, &c) { + continue; + } + let Some(slots) = index.changes.get(c.changes()) else { + continue; + }; + let mut cleared = false; + let mut restore = false; + for change in slots.iter().filter(|ch| flips_file(ch.file)) { + if plan.skips_file(change.file) { + cleared |= change.lines().is_some(); + } else { + restore = true; + } + } + if cleared { + if let Some(slots) = index.changes.get_mut(c.changes()) { + for slot in slots.iter_mut().filter(|ch| flips_file(ch.file)) { + if plan.skips_file(slot.file) { + slot.set_lines(None); + } + } + } + rewritten.push(i); } + if restore { + wanted.insert(c.id); + } + } + let known = match (store, wanted.is_empty()) { + (Some(store), false) => store.read_some(&wanted), + _ => Counted::default(), + }; + for i in 0..index.commits.len() { + let Some(c) = index.commits.get(i).copied() else { + continue; + }; let Some(deltas) = known.get(&c.id) else { - left += 1; - if let Some(s) = settled.get_mut(i) { - *s = false; + continue; + }; + let Some(slots) = index.changes.get_mut(c.changes()) else { + continue; + }; + if slots.len() != deltas.len() { + continue; + } + for (slot, delta) in slots.iter_mut().zip(deltas) { + if flips_file(slot.file) && !plan.skips_file(slot.file) { + slot.set_lines(*delta); } + } + rewritten.push(i); + } + rewritten.sort_unstable(); + rewritten.dedup(); + rewritten +} + +/// Counts the lines of the commits the kept columns do not hold settled, as `line_pass` does, writing them into the Index's changes and marking them settled there; every other commit's lines are already in the Index. Returns the pass and the commits it settled, for the columns to keep. +pub fn line_pass_kept( + source: &S, + index: &mut Index, + plan: &LinePlan, + store: Option<&LineStore>, + settled: &mut [u8], + progress: &mut dyn FnMut(u64, u64), +) -> Result<(LinePass, Vec), S::Error> { + let span = tracing::info_span!( + "line_pass", + commits = Empty, + mainline = Empty, + counted = Empty, + left = Empty, + kept = true + ); + let _entered = span.enter(); + let until = plan.budget.and_then(|b| Instant::now().checked_add(b)); + let open: Vec = index + .commits + .iter() + .enumerate() + .filter(|(i, c)| !plan.skips_commit(*i, c) && settled.get(*i).copied().unwrap_or(0) == 0) + .map(|(i, _)| i) + .collect(); + let wanted: std::collections::HashSet = open + .iter() + .filter_map(|&i| index.commits.get(i).map(|c| c.id)) + .collect(); + let mut known = store.map(|s| s.read_some(&wanted)).unwrap_or_default(); + let todo: Vec = open + .iter() + .copied() + .filter(|&i| { + index + .commits + .get(i) + .is_some_and(|c| !known.contains_key(&c.id)) + }) + .collect(); + span.record("commits", todo.len()); + let mainline_count = count_into( + source, index, plan, store, &mut known, todo, until, progress, + )?; + span.record("mainline", mainline_count); + + let mut newly = Vec::new(); + for &i in &open { + let Some(c) = index.commits.get(i).copied() else { continue; }; - counted += 1; - if let Some(slots) = lines.get_mut(c.changes()) { - if slots.len() == deltas.len() { - for ((slot, delta), change) in slots.iter_mut().zip(deltas).zip(index.changes_of(c)) - { - *slot = if plan.skips_file(change.file) { - None - } else { - *delta - }; - } + let Some(lines) = known.get(&c.id).and_then(|d| masked(plan, index, &c, d)) else { + continue; + }; + if let Some(slots) = index.changes.get_mut(c.changes()) { + for (slot, delta) in slots.iter_mut().zip(lines) { + slot.set_lines(delta); + } + } + if let Some(s) = settled.get_mut(i) { + *s = 1; + } + newly.push(i); + } + let mut marks = vec![true; index.commits.len()]; + let (mut counted, mut left) = (0u64, 0u64); + for (i, c) in index.commits.iter().enumerate() { + if plan.skips_commit(i, c) { + continue; + } + if settled.get(i).copied().unwrap_or(0) == 0 { + left += 1; + if let Some(m) = marks.get_mut(i) { + *m = false; } + } else { + counted += 1; } } span.record("counted", counted); span.record("left", left); - Ok(LinePass { - lines, - ignored: source.blame_ignore_revs()?, - counted, - left, - settled, - }) + Ok(( + LinePass { + lines: Vec::new(), + ignored: source.blame_ignore_revs()?, + counted, + left, + settled: marks, + }, + newly, + )) } fn order(todo: &mut [usize], mainline: &[u8]) { diff --git a/crates/commitscape-map/Cargo.toml b/crates/commitscape-map/Cargo.toml new file mode 100644 index 0000000..c7be828 --- /dev/null +++ b/crates/commitscape-map/Cargo.toml @@ -0,0 +1,25 @@ +[package] +name = "commitscape-map" +description = "Reads commitscape's column files in place: the one place that maps memory." +version.workspace = true +edition.workspace = true +license.workspace = true +rust-version.workspace = true +repository.workspace = true +homepage.workspace = true + +[lints.rust] +unsafe_code = "deny" + +[lints.clippy] +unwrap_used = "deny" +expect_used = "deny" +panic = "deny" +indexing_slicing = "warn" + +[dependencies] +commitscape-core.workspace = true +memmap2 = "0.9.11" + +[dev-dependencies] +tempfile = "3" diff --git a/crates/commitscape-map/src/lib.rs b/crates/commitscape-map/src/lib.rs new file mode 100644 index 0000000..b6e2dfa --- /dev/null +++ b/crates/commitscape-map/src/lib.rs @@ -0,0 +1,151 @@ +use std::fs::File; +use std::io; +use std::marker::PhantomData; +use std::mem::{align_of, size_of}; + +use commitscape_core::{Record, Slab}; +use memmap2::{MmapMut, MmapOptions}; + +/// Records read in place from a stretch of a file mapped copy-on-write: the pages are the file's until one is written, which then becomes the process's own and never reaches the file. +pub struct Records { + map: Option, + len: usize, + kind: PhantomData, +} + +fn invalid(why: &str) -> io::Error { + io::Error::new(io::ErrorKind::InvalidData, why.to_string()) +} + +impl Records { + /// Maps `len` records of `file` from `offset`, which is a multiple of the page size, after checking every record is one: a kind byte outside its kinds, or a record of another size, refuses the whole stretch. + #[allow(unsafe_code)] + pub fn open(file: &File, offset: u64, len: usize) -> io::Result> { + if size_of::() != T::SIZE { + return Err(invalid("a record's size differs from its layout")); + } + if len == 0 { + return Ok(Records { + map: None, + len: 0, + kind: PhantomData, + }); + } + let bytes = len + .checked_mul(T::SIZE) + .ok_or_else(|| invalid("too many records"))?; + let map = unsafe { + MmapOptions::new() + .offset(offset) + .len(bytes) + .map_copy(file)? + }; + if map.as_ptr().align_offset(align_of::()) != 0 { + return Err(invalid("records are not aligned")); + } + if !map.chunks_exact(T::SIZE).all(T::valid) { + return Err(invalid("a record is not one")); + } + Ok(Records { + map: Some(map), + len, + kind: PhantomData, + }) + } +} + +impl Slab for Records { + #[allow(unsafe_code)] + fn get(&self) -> &[T] { + match &self.map { + Some(map) => unsafe { std::slice::from_raw_parts(map.as_ptr().cast::(), self.len) }, + None => &[], + } + } + + #[allow(unsafe_code)] + fn get_mut(&mut self) -> &mut [T] { + match &mut self.map { + Some(map) => unsafe { + std::slice::from_raw_parts_mut(map.as_mut_ptr().cast::(), self.len) + }, + None => &mut [], + } + } +} + +#[cfg(test)] +mod tests { + #![allow(clippy::expect_used, clippy::indexing_slicing)] + + use super::*; + use commitscape_core::{ + ChangeKind, CommitFlags, CommitKind, CommitMeta, FileChange, FileId, LineDelta, Oid, + SignatureId, + }; + use std::io::{Seek, SeekFrom, Write}; + + const PAGE: u64 = 4096; + + fn commit(n: u8) -> CommitMeta { + CommitMeta { + id: Oid([n; 20]), + time: i64::from(n) * 100, + signature: SignatureId(u32::from(n)), + flags: CommitFlags(n % 3), + changes_start: u32::from(n), + changes_len: 1, + offset_minutes: -30, + author_delta: 5, + kind: CommitKind::EVERY[usize::from(n) % 11], + subject_start: 0, + subject_len: n, + } + } + + #[test] + fn records_written_by_their_layout_read_back_in_place_and_writes_stay_in_memory() { + let commits: Vec = (0..300u16).map(|n| commit(n as u8)).collect(); + let changes = vec![ + FileChange::new(FileId(1), ChangeKind::Added, None), + FileChange::new( + FileId(2), + ChangeKind::Renamed, + Some(LineDelta { + added: 4, + removed: 9, + }), + ), + ]; + let mut file = tempfile::tempfile().expect("a file"); + let mut buf = vec![0u8; CommitMeta::SIZE]; + file.seek(SeekFrom::Start(PAGE)).expect("seek"); + for c in &commits { + c.write_to(&mut buf); + file.write_all(&buf).expect("write"); + } + let at = PAGE * 8; + file.seek(SeekFrom::Start(at)).expect("seek"); + let mut buf = vec![0u8; FileChange::SIZE]; + for c in &changes { + c.write_to(&mut buf); + file.write_all(&buf).expect("write"); + } + let read = Records::::open(&file, PAGE, commits.len()).expect("mapped"); + assert_eq!(read.get(), commits.as_slice()); + let mut read = Records::::open(&file, at, changes.len()).expect("mapped"); + assert_eq!(read.get(), changes.as_slice()); + read.get_mut()[0].set_lines(Some(LineDelta { + added: 1, + removed: 1, + })); + let again = Records::::open(&file, at, changes.len()).expect("mapped"); + assert_eq!(again.get(), changes.as_slice()); + file.seek(SeekFrom::Start( + PAGE + std::mem::offset_of!(CommitMeta, kind) as u64, + )) + .expect("seek"); + file.write_all(&[200]).expect("write"); + assert!(Records::::open(&file, PAGE, commits.len()).is_err()); + } +} diff --git a/crates/commitscape-report/src/universe.rs b/crates/commitscape-report/src/universe.rs index 18c38f2..aefa642 100644 --- a/crates/commitscape-report/src/universe.rs +++ b/crates/commitscape-report/src/universe.rs @@ -55,34 +55,50 @@ pub struct Rows { struct Header { mainline: bool, newest: i64, - picked: Vec<(i64, usize)>, + picked: Vec, +} + +fn arrived(pack: &Pack, mainline: bool, at: usize) -> i64 { + let time = pack.index.commits.get(at).map_or(0, |c| c.time); + if mainline { + pack.arrival.get(at).copied().flatten().unwrap_or(time) + } else { + time + } } fn header(pack: &Pack) -> Header { let index = &pack.index; let bits = |at: usize| pack.mainline.get(at).copied().unwrap_or(0); - let arrival = |at: usize| pack.arrival.get(at).copied().flatten(); let mainline = (0..index.commits.len()).any(|at| bits(at) & REACHABLE != 0); - let mut picked: Vec<(i64, i64, Oid, usize)> = index + let mut picked: Vec = index .commits .iter() .enumerate() .filter(|(at, c)| !c.is_merge() && (!mainline || bits(*at) & REACHABLE != 0)) - .map(|(at, c)| { - let t = if mainline { - arrival(at).unwrap_or(c.time) - } else { - c.time - }; - (t, c.time, c.id, at) - }) + .map(|(at, _)| at as u32) .collect(); - picked.sort_unstable(); - let newest = picked.iter().map(|p| p.0).max().unwrap_or(0).max(0); + let key = |&at: &u32| { + let at = at as usize; + let c = index.commits.get(at); + ( + arrived(pack, mainline, at), + c.map_or(0, |c| c.time), + c.map_or([0; 20], |c| c.id.0), + at, + ) + }; + picked.sort_unstable_by_key(key); + let newest = picked + .iter() + .map(|&at| arrived(pack, mainline, at as usize)) + .max() + .unwrap_or(0) + .max(0); Header { mainline, newest, - picked: picked.into_iter().map(|(t, _, _, at)| (t, at)).collect(), + picked, } } @@ -112,7 +128,7 @@ pub fn rows(pack: &Pack) -> Rows { newest, commits: picked .into_iter() - .filter_map(|(t, at)| commit_row(pack, t, at)) + .filter_map(|at| commit_row(pack, arrived(pack, mainline, at as usize), at as usize)) .collect(), files: files(pack), people: people(pack), @@ -155,8 +171,9 @@ pub fn write_rows(pack: &Pack, out: &mut impl Write) -> std::io::Result<()> { people: people.len(), }, )?; - for (t, at) in picked { - let row = commit_row(pack, t, at) + for at in picked { + let at = at as usize; + let row = commit_row(pack, arrived(pack, mainline, at), at) .ok_or_else(|| std::io::Error::other("a commit the pack does not hold"))?; line(out, &row)?; } diff --git a/crates/commitscape/src/build.rs b/crates/commitscape/src/build.rs index e64e752..afb0d28 100644 --- a/crates/commitscape/src/build.rs +++ b/crates/commitscape/src/build.rs @@ -16,7 +16,7 @@ use tracing::field::Empty; use crate::mark::{fingerprint, Mark}; use crate::{ - commit_link, count_lines_into, events, read_accounts, repo_name, with_accounts, Common, + commit_link, count_lines_kept, events, read_accounts, repo_name, with_accounts, Common, LineCount, ProgressLine, RunArgs, }; @@ -124,10 +124,10 @@ fn read(args: &ExportArgs) -> anyhow::Result { let lines = if args.no_lines { None } else { - Some(count_lines_into( + Some(count_lines_kept( &repo, &options, - &mut loaded.index, + &mut loaded, args.common.metrics(), args.run.budget(), Some(mainline.bits.clone()), diff --git a/crates/commitscape/src/main.rs b/crates/commitscape/src/main.rs index 7b6c7c8..0acbc0e 100644 --- a/crates/commitscape/src/main.rs +++ b/crates/commitscape/src/main.rs @@ -18,7 +18,9 @@ use std::time::Duration; use clap::{Args, Parser, Subcommand}; use commitscape_core::Index; use commitscape_forge::Remote; +use commitscape_index::cache::cols::{self, Masking}; use commitscape_index::identity::Account; +use commitscape_index::lines::{line_pass_kept, remask}; use commitscape_index::RepoSource; use commitscape_index::{ default_cache_root, line_pass, load, reresolve_authors, CacheOptions, GixRepo, IdentityRules, @@ -403,6 +405,88 @@ pub(crate) fn count_lines_into( Ok(count) } +/// Counts Lines Changed as `count_lines_into` does, from the Index's kept columns when they were read and counted with the same masking: only the commits they do not hold settled are read from the line store or counted, and only those are written back. Otherwise every commit's lines are put in as before and the columns are written whole for the cache's generation. +pub(crate) fn count_lines_kept( + repo: &GixRepo, + options: &CacheOptions, + loaded: &mut commitscape_index::Loaded, + metrics: Options, + budget: Option, + mainline: Option>, +) -> anyhow::Result { + let index = &mut loaded.index; + let plan = LinePlan { + skip_commits: index.commits.iter().map(|c| metrics.is_bulk(c)).collect(), + skip_files: commitscape_metrics::skipped_files(index), + mainline, + budget, + }; + let masking = Masking { + bulk: metrics.max_changeset_size, + skipped: plan.skip_files.clone(), + }; + let store = LineStore::for_repo(options, &index.repo); + let mut meter = ProgressLine::new(); + let kept = loaded.columns.kept.as_mut().and_then(|k| { + let flipped = k.masking.flips(&masking)?; + Some((k, flipped)) + }); + let count = match kept { + Some((kept, flipped)) => { + let remasked = remask(index, &plan, store.as_ref(), &flipped, &kept.settled); + let (mut pass, newly) = line_pass_kept( + repo, + index, + &plan, + store.as_ref(), + &mut kept.settled, + &mut |done, total| meter.lines(done, total), + )?; + meter.clear(); + let count = LineCount { + counted: pass.counted, + left: pass.left, + settled: std::mem::take(&mut pass.settled), + }; + pass.apply(index); + let mut written = newly; + written.extend(remasked); + written.sort_unstable(); + written.dedup(); + if let Err(e) = kept.save(index, &written, &masking) { + tracing::warn!("the kept columns were not brought up to date: {e}"); + } + count + } + None => { + let mut pass = line_pass(repo, index, &plan, store.as_ref(), &mut |done, total| { + meter.lines(done, total) + })?; + meter.clear(); + let count = LineCount { + counted: pass.counted, + left: pass.left, + settled: std::mem::take(&mut pass.settled), + }; + pass.apply(index); + if let Some((dir, generation)) = loaded.columns.at.as_ref() { + let marks: Vec = count.settled.iter().map(|&s| u8::from(s)).collect(); + if let Err(e) = cols::write(dir, *generation, index, &marks, &masking) { + tracing::warn!("the Index's columns were not kept: {e}"); + } + } + count + } + }; + if count.left > 0 { + eprintln!( + "lines not counted yet for {} commits: the next run carries on", + grouped(count.left) + ); + } + Ok(count) +} + /// Joins the addresses given one GitHub login into one person, and returns every known address's login. pub(crate) fn with_accounts( repo: &GixRepo, diff --git a/crates/commitscape/tests/build.rs b/crates/commitscape/tests/build.rs index a689160..e4f8fa1 100644 --- a/crates/commitscape/tests/build.rs +++ b/crates/commitscape/tests/build.rs @@ -473,3 +473,179 @@ fn a_build_after_the_mark_the_site_holds_writes_only_what_changed_since() { assert_eq!(resent["mainline_rows"], 7); assert_eq!(resent["lines_rows"], counted["lines_rows"]); } + +fn committed(repo: &Path, files: &[(&str, &str)], when: u64) { + for (path, text) in files { + std::fs::write(repo.join(path), text).expect("a file"); + } + let date = format!("@{when} +0000"); + for args in [ + vec!["add", "-A"], + vec!["commit", "-q", "-m", "fix: a change"], + ] { + let out = Command::new("git") + .current_dir(repo) + .args(&args) + .env("GIT_CONFIG_GLOBAL", "/dev/null") + .env("GIT_AUTHOR_NAME", "Ada") + .env("GIT_AUTHOR_EMAIL", "ada@example.com") + .env("GIT_COMMITTER_NAME", "Ada") + .env("GIT_COMMITTER_EMAIL", "ada@example.com") + .env("GIT_AUTHOR_DATE", &date) + .env("GIT_COMMITTER_DATE", &date) + .output() + .expect("git"); + assert!( + out.status.success(), + "{}", + String::from_utf8_lossy(&out.stderr) + ); + } +} + +fn outputs(dir: &Path) -> Vec<(String, Vec)> { + let mut files: Vec<(String, Vec)> = std::fs::read_dir(dir) + .expect("an output folder") + .flatten() + .map(|e| { + ( + e.file_name().to_string_lossy().into_owned(), + std::fs::read(e.path()).expect("an output"), + ) + }) + .collect(); + files.sort(); + files +} + +fn copied(from: &Path, to: &Path) { + std::fs::create_dir_all(to).expect("a folder"); + for entry in std::fs::read_dir(from).expect("a folder").flatten() { + let target = to.join(entry.file_name()); + if entry.path().is_dir() { + copied(&entry.path(), &target); + } else { + std::fs::copy(entry.path(), target).expect("a copy"); + } + } +} + +fn kept_files(cache: &Path) -> Vec { + let mut out = Vec::new(); + for dir in std::fs::read_dir(cache).into_iter().flatten().flatten() { + for f in std::fs::read_dir(dir.path()) + .into_iter() + .flatten() + .flatten() + { + if f.file_name().to_string_lossy().ends_with(".cols") { + out.push(f.path()); + } + } + } + out +} + +#[test] +fn builds_from_the_kept_columns_write_what_builds_from_the_cache_write_warm_and_after_new_commits() +{ + let dir = tempfile::tempdir().expect("a temporary directory"); + let repo = dir.path().join("repo"); + std::fs::create_dir(&repo).expect("a repository folder"); + git(&[ + "-C", + repo.to_str().expect("a path"), + "init", + "-q", + "-b", + "main", + ]); + committed( + &repo, + &[("a.rs", "1\n2\n3\n"), ("b.md", "x\n")], + 1_700_000_000, + ); + committed(&repo, &[("a.rs", "1\ntwo\n3\n4\n")], 1_700_086_400); + let run = |cache: &Path, name: &str, fresh: bool| -> (Vec<(String, Vec)>, Vec) { + if fresh { + for f in kept_files(cache) { + std::fs::remove_file(f).expect("removing kept columns"); + } + } + let out = dir.path().join(name); + let events_file = dir.path().join(format!("{name}.events")); + commitscape( + &[ + "build", + "--offline", + "--anchor", + "1800000000", + "--cache-key", + "acme/kept", + ], + &[ + Path::new("--cache-dir"), + cache, + Path::new("--events"), + &events_file, + Path::new("--out"), + &out, + &repo, + ], + ); + (outputs(&out), events(&events_file)) + }; + let kept = dir.path().join("kept"); + let plain = dir.path().join("plain"); + for (step, more) in [ + (0, None), + (1, None), + (2, Some((1_700_172_800, "c\n"))), + (3, Some((1_700_259_200, "c\nd\n"))), + (4, None), + (5, Some((1_700_345_600, "// @generated\nc\nd\n"))), + (6, None), + (7, Some((1_700_432_000, "c\nd\ne\n"))), + (8, None), + ] { + if let Some((when, c)) = more { + committed( + &repo, + &[("a.rs", &format!("1\ntwo\n3\n4\n{when}\n")), ("c.rs", c)], + when, + ); + } + let _ = std::fs::remove_dir_all(&plain); + if kept.exists() { + copied(&kept, &plain); + } + let (with, events_with) = run(&kept, &format!("kept{step}"), false); + if step == 0 { + assert_eq!(field(&events_with, "line_pass", "kept"), Value::Null); + continue; + } + let (without, _) = run(&plain, &format!("plain{step}"), true); + assert_eq!( + with.iter().map(|f| &f.0).collect::>(), + without.iter().map(|f| &f.0).collect::>() + ); + for ((name, a), (_, b)) in with.iter().zip(&without) { + assert!(a == b, "step {step}: {name} differs"); + } + assert_eq!( + kept_files(&kept).len().min(1), + 1, + "step {step}: columns kept" + ); + let from_kept = field(&events_with, "line_pass", "kept"); + assert_eq!( + from_kept, + if step == 0 { + Value::Null + } else { + Value::Bool(true) + }, + "step {step}" + ); + } +} From c81424750db579e44ed319fb36f16260fcc30f10 Mon Sep 17 00:00:00 2001 From: Dev Talan <84081651+devchaudhary24k@users.noreply.github.com> Date: Tue, 27 Oct 2026 07:42:53 +0530 Subject: [PATCH 22/82] perf(index): size git's object and delta caches for a small box Every git handle kept up to 64 MB of objects and 128 MB of deltas, and each walk, line and blame thread its own 48-96 MB, all filled by a long Build and held to its end. They are now 1-8 MB each; speed is within measurement noise except on a cold walk of linux. 2 threads, before -> after: - linux +17,137 commits: 453 -> 224 MB peak anon, 12.4 -> 12.8 s - linux cold, no lines: 1,100 -> 705 MB, 181 -> 200 s (same CPU time) - react cold with lines: 558 -> 169 MB, 34.1 -> 33.4 s --- crates/commitscape-index/src/gix_source/blobs.rs | 2 +- crates/commitscape-index/src/gix_source/lines.rs | 6 +++--- crates/commitscape-index/src/gix_source/mod.rs | 4 ++-- crates/commitscape-index/src/gix_source/walk.rs | 4 ++-- 4 files changed, 8 insertions(+), 8 deletions(-) diff --git a/crates/commitscape-index/src/gix_source/blobs.rs b/crates/commitscape-index/src/gix_source/blobs.rs index ad97316..821bd61 100644 --- a/crates/commitscape-index/src/gix_source/blobs.rs +++ b/crates/commitscape-index/src/gix_source/blobs.rs @@ -9,7 +9,7 @@ use crate::source::BlobSink; const BATCH: usize = 256; -const THREAD_DELTA_CACHE_BYTES: usize = 32 * 1024 * 1024; +const THREAD_DELTA_CACHE_BYTES: usize = 2 * 1024 * 1024; pub(super) fn read(source: &GixRepo, blobs: &[Oid], sink: BlobSink<'_>) -> Result<(), GixError> { let threads = crate::threads::threads(blobs.len().div_ceil(BATCH)); diff --git a/crates/commitscape-index/src/gix_source/lines.rs b/crates/commitscape-index/src/gix_source/lines.rs index ea7c370..1ebd5d5 100644 --- a/crates/commitscape-index/src/gix_source/lines.rs +++ b/crates/commitscape-index/src/gix_source/lines.rs @@ -21,9 +21,9 @@ const COMMIT_BATCH: usize = 16; const PAIR_BATCH: usize = 32; const FIRST_SEGMENT: usize = 1_024; const LARGEST_SEGMENT: usize = 16_384; -const TREE_OBJECT_CACHE_BYTES: usize = 16 * 1024 * 1024; -const TREE_DELTA_CACHE_BYTES: usize = 32 * 1024 * 1024; -const BLOB_DELTA_CACHE_BYTES: usize = 48 * 1024 * 1024; +const TREE_OBJECT_CACHE_BYTES: usize = 1024 * 1024; +const TREE_DELTA_CACHE_BYTES: usize = 2 * 1024 * 1024; +const BLOB_DELTA_CACHE_BYTES: usize = 3 * 1024 * 1024; const RECENT_BLOBS: usize = 4; pub(super) fn count( diff --git a/crates/commitscape-index/src/gix_source/mod.rs b/crates/commitscape-index/src/gix_source/mod.rs index 2abdfdd..6269af9 100644 --- a/crates/commitscape-index/src/gix_source/mod.rs +++ b/crates/commitscape-index/src/gix_source/mod.rs @@ -24,9 +24,9 @@ mod lines; mod tree_diff; mod walk; -const OBJECT_CACHE_BYTES: usize = 64 * 1024 * 1024; +const OBJECT_CACHE_BYTES: usize = 4 * 1024 * 1024; -const DELTA_CACHE_BYTES: usize = 128 * 1024 * 1024; +const DELTA_CACHE_BYTES: usize = 8 * 1024 * 1024; fn with_delta_cache(repo: &mut gix::Repository) { repo.objects.set_pack_cache(|| { diff --git a/crates/commitscape-index/src/gix_source/walk.rs b/crates/commitscape-index/src/gix_source/walk.rs index 510148d..90f282d 100644 --- a/crates/commitscape-index/src/gix_source/walk.rs +++ b/crates/commitscape-index/src/gix_source/walk.rs @@ -14,9 +14,9 @@ use crate::source::{CommitSink, Indexed, RawChange, RawCommit, WalkStats}; const BATCH: usize = 64; -const THREAD_OBJECT_CACHE_BYTES: usize = 16 * 1024 * 1024; +const THREAD_OBJECT_CACHE_BYTES: usize = 1024 * 1024; -const THREAD_DELTA_CACHE_BYTES: usize = 48 * 1024 * 1024; +const THREAD_DELTA_CACHE_BYTES: usize = 3 * 1024 * 1024; const PROGRESS_EVERY: u64 = 4096; From 10dafd6e8e00d66989f5bba60535a8fede65954b Mon Sep 17 00:00:00 2001 From: Dev Talan <84081651+devchaudhary24k@users.noreply.github.com> Date: Tue, 27 Oct 2026 07:42:53 +0530 Subject: [PATCH 23/82] perf(report): count the Report's people without whole-history buffers The summary's people now come straight from the contributors and their lines, without working out directory ownership it never shows; the contributors are counted per person, with one exact-size list of (person, day) for active days instead of a growing list of every commit; directory ownership counts pairs in a map instead of a list. Same output. linux warm (nothing new), production arguments: 118 -> 94 MB peak anon, 5.9 s. --- crates/commitscape-metrics/src/people.rs | 84 ++++++++++++++---------- crates/commitscape-report/src/api.rs | 2 +- crates/commitscape-report/src/report.rs | 34 ++++++---- 3 files changed, 70 insertions(+), 50 deletions(-) diff --git a/crates/commitscape-metrics/src/people.rs b/crates/commitscape-metrics/src/people.rs index a86f163..28cb7eb 100644 --- a/crates/commitscape-metrics/src/people.rs +++ b/crates/commitscape-metrics/src/people.rs @@ -92,7 +92,8 @@ impl Analysis<'_> { let mut dir_list: Vec = Vec::new(); let mut last_seen: Vec = Vec::new(); let mut commits_per_dir: Vec = Vec::new(); - let mut pairs: Vec<(u32, AuthorId)> = Vec::new(); + let mut counted: std::collections::HashMap<(u32, AuthorId), u32> = + std::collections::HashMap::new(); for (n, commit) in self.window_commits().iter().enumerate() { if !counts(commit, &options) { @@ -137,30 +138,30 @@ impl Analysis<'_> { if let Some(c) = commits_per_dir.get_mut(d_idx) { *c += 1; } - pairs.push((d, author)); + *counted.entry((d, author)).or_default() += 1; } } } + let mut pairs: Vec<((u32, AuthorId), u32)> = counted.into_iter().collect(); pairs.sort_unstable(); let mut out: Vec = Vec::new(); let mut i = 0; - while let Some(&(dir, _)) = pairs.get(i) { + while let Some(&((dir, _), _)) = pairs.get(i) { let run = pairs .get(i..) .unwrap_or(&[]) .iter() - .take_while(|(d, _)| *d == dir) + .take_while(|((d, _), _)| *d == dir) .count(); let commits = commits_per_dir.get(dir as usize).copied().unwrap_or(0); if commits >= options.ownership_min_commits { - let mut owners: Vec = Vec::new(); - for &(_, author) in pairs.get(i..i + run).unwrap_or(&[]) { - match owners.last_mut() { - Some(o) if o.author == author => o.commits += 1, - _ => owners.push(Owner { author, commits: 1 }), - } - } + let mut owners: Vec = pairs + .get(i..i + run) + .unwrap_or(&[]) + .iter() + .map(|&((_, author), commits)| Owner { author, commits }) + .collect(); owners.sort_by(|a, b| b.commits.cmp(&a.commits).then(a.author.cmp(&b.author))); out.push(DirectoryOwnership { dir: dirs.path(dir), @@ -209,36 +210,47 @@ impl Analysis<'_> { fn committers(&self, bots: bool) -> Vec { let index = self.index(); - let mut made: Vec<(AuthorId, i64)> = self - .window_commits() - .iter() - .filter(|c| !c.is_merge()) - .filter_map(|c| index.author_of(c).map(|a| (a, c.landed_clock()))) - .filter(|&(a, _)| index.authors.is_bot(a) == bots) - .collect(); - made.sort_unstable(); - + let made = || { + self.window_commits() + .iter() + .filter(|c| !c.is_merge()) + .filter_map(|c| index.author_of(c).map(|a| (a, c.landed_clock()))) + .filter(|&(a, _)| index.authors.is_bot(a) == bots) + }; + let mut at: std::collections::HashMap = std::collections::HashMap::new(); let mut out: Vec = Vec::new(); - let mut last_day = None; - for (author, clock) in made { - let day = clock.div_euclid(DAY); - match out.last_mut() { - Some(c) if c.author == author => { - c.commits += 1; - c.last = clock; - if last_day != Some(day) { - c.active_days += 1; - } - } - _ => out.push(Contributor { + let mut count = 0; + for (author, clock) in made() { + count += 1; + let i = *at.entry(author).or_insert_with(|| { + out.push(Contributor { author, - commits: 1, - active_days: 1, + commits: 0, + active_days: 0, first: clock, last: clock, - }), + }); + out.len() - 1 + }); + if let Some(c) = out.get_mut(i) { + c.commits += 1; + c.first = c.first.min(clock); + c.last = c.last.max(clock); + } + } + let mut days: Vec = Vec::with_capacity(count); + for (author, clock) in made() { + if let Some(&i) = at.get(&author) { + let day = clock.div_euclid(DAY) as i32 as u32; + days.push(((i as u64) << 32) | u64::from(day)); + } + } + days.sort_unstable(); + days.dedup(); + for d in days { + if let Some(c) = out.get_mut((d >> 32) as usize) { + c.active_days += 1; } - last_day = Some(day); } top(&mut out, |a, b| { b.commits.cmp(&a.commits).then(a.author.cmp(&b.author)) diff --git a/crates/commitscape-report/src/api.rs b/crates/commitscape-report/src/api.rs index 87aaeda..e000e44 100644 --- a/crates/commitscape-report/src/api.rs +++ b/crates/commitscape-report/src/api.rs @@ -278,7 +278,7 @@ impl Shared { } impl Context<'_> { - fn person(&self, index: &Index, id: AuthorId) -> PersonRef { + pub(crate) fn person(&self, index: &Index, id: AuthorId) -> PersonRef { PersonRef { id: id.0, name: index diff --git a/crates/commitscape-report/src/report.rs b/crates/commitscape-report/src/report.rs index 02c4221..78e08dc 100644 --- a/crates/commitscape-report/src/report.rs +++ b/crates/commitscape-report/src/report.rs @@ -79,28 +79,36 @@ pub fn summary(r: &Report) -> Summary { login_of: &login_of, emails: false, }; - let (people, stats) = rayon::join( + let ((contributors, lines), stats) = rayon::join( || { let a = Analysis::new(&r.index, Span::All.window(r.anchor), r.options); - api::People::of(&a, &cx, &api::Shared::of(&a)) + rayon::join(|| a.contributors(), || a.lines_by_person()) }, || api::Stats::of(&r.index, r.anchor, r.options, &r.releases), ); Summary { meta: r.meta(), stats, - people: people - .people + people: contributors .into_iter() - .map(|row| SummaryPerson { - person_id: row.person.id, - name: row.person.name, - login: row.person.login, - commits: row.commits, - lines_added: row.lines_added, - lines_removed: row.lines_removed, - first: row.first, - last: row.last, + .map(|c| { + let person = cx.person(&r.index, c.author); + let changed = lines + .binary_search_by_key(&c.author, |(a, _)| *a) + .ok() + .and_then(|i| lines.get(i)) + .map(|(_, l)| *l) + .unwrap_or_default(); + SummaryPerson { + person_id: person.id, + name: person.name, + login: person.login, + commits: c.commits, + lines_added: r.lines_counted.then_some(changed.added), + lines_removed: r.lines_counted.then_some(changed.removed), + first: c.first, + last: c.last, + } }) .collect(), head: r.index.head_commit.map(|h| h.to_hex()), From 2d80d200a76057b61b7f3460760ea8c49a95db58 Mon Sep 17 00:00:00 2001 From: Dev Talan <84081651+devchaudhary24k@users.noreply.github.com> Date: Tue, 27 Oct 2026 08:37:31 +0530 Subject: [PATCH 24/82] perf(index): keep the Ownership of lines in a file read in place The Ownership kept per head was decoded whole, and the next one built whole beside it. Its file now holds the commits sorted by id, the files sorted by path and each file's owners as varint runs, mapped and read in place; a new one is written file by file, owners going to disk as they come, then laid out and mapped. Carried-over files copy their runs renumbered, without hashing. The moves found on the way live in a small file beside it. Survival looks commits up by sorted id keys instead of two maps over every commit, and a blame walk holds 32 MB of head text instead of 256 MB. Same counts as before (react: 1,997 people, 827,110 lines). 2 threads, before -> after: - linux everyone from nothing: 2 runs of 30 + 29 min, 6,467 CPU-s, 1,577 MB peak anon -> 18 min, 2,078 CPU-s, 443 MB - linux everyone at a head 17,137 commits later: 327 s, 967 MB -> 305 s, 428 MB; the same head again: 4.7 s, 223 MB - react everyone from nothing: 18.5 s, 508 MB -> 16.4 s, 173 MB - linux Ownership file: 71 MB -> 57 MB, plus 2.3 MB of moves --- crates/commitscape-index/src/blame.rs | 2 +- .../commitscape-index/src/ownership/file.rs | 611 ++++++++++++++++++ .../src/{ownership.rs => ownership/mod.rs} | 99 +-- crates/commitscape-index/src/surviving.rs | 186 ++++-- crates/commitscape/src/surviving.rs | 14 +- 5 files changed, 740 insertions(+), 172 deletions(-) create mode 100644 crates/commitscape-index/src/ownership/file.rs rename crates/commitscape-index/src/{ownership.rs => ownership/mod.rs} (83%) diff --git a/crates/commitscape-index/src/blame.rs b/crates/commitscape-index/src/blame.rs index 9b2d47b..c3b1580 100644 --- a/crates/commitscape-index/src/blame.rs +++ b/crates/commitscape-index/src/blame.rs @@ -12,7 +12,7 @@ pub(crate) const UNMAPPED: u32 = u32::MAX; const MAX_THREADS: usize = 8; -pub const BATCH_BYTES: usize = 256 << 20; +pub const BATCH_BYTES: usize = 32 << 20; #[derive(Debug, Clone, PartialEq, Eq)] pub struct BlameFile { diff --git a/crates/commitscape-index/src/ownership/file.rs b/crates/commitscape-index/src/ownership/file.rs new file mode 100644 index 0000000..cfbfb4a --- /dev/null +++ b/crates/commitscape-index/src/ownership/file.rs @@ -0,0 +1,611 @@ +use std::collections::HashMap; +use std::fs::File; +use std::io::{self, BufReader, BufWriter, Read, Write}; +use std::path::{Path, PathBuf}; +use std::sync::atomic::{AtomicU64, Ordering}; + +use commitscape_core::{Column, Oid}; +use commitscape_map::Records; +use xxhash_rust::xxh3::{xxh3_64, Xxh3}; + +use crate::cache::Moved; + +const MAGIC: &[u8; 8] = b"CSOWNS\x00\x02"; +const ID: usize = 20; +const ENTRY: usize = 8 + 4 + ID + 8 + 4; +const FOOTER: usize = ID + 1 + 1 + 8 + 8 * 8; +const SUM: usize = 8; + +static TEMPS: AtomicU64 = AtomicU64::new(0); + +#[derive(Debug, Clone, Copy, Default, PartialEq, Eq)] +struct Span { + at: usize, + len: usize, +} + +/// Who owns every line of a head's files, as blame would say, kept per head so the next head only works out the files that changed. Read in place from its file: commits sorted by id, files sorted by path, and each file's owners as runs of (commit, lines). +#[derive(Debug, Clone, Default, PartialEq)] +pub struct Ownership { + pub head: Option, + pub settings: u64, + pub complete: bool, + pub moves: HashMap, + bytes: Column, + commits: Span, + runs: Span, + paths: Span, + files: Span, + kept: Option, +} + +/// One file at a head: its blob, and its owners as runs of (commit, lines), the commit a position in the Ownership's commits. +#[derive(Debug, Clone, Copy)] +pub struct Owned<'a> { + pub blob: Oid, + runs: &'a [u8], +} + +impl Owned<'_> { + pub fn runs(&self) -> Runs<'_> { + Runs { + bytes: self.runs, + at: 0, + } + } +} + +pub struct Runs<'a> { + bytes: &'a [u8], + at: usize, +} + +impl Iterator for Runs<'_> { + type Item = (u32, u32); + + fn next(&mut self) -> Option<(u32, u32)> { + let commit = varint(self.bytes, &mut self.at)?; + let lines = varint(self.bytes, &mut self.at)?; + Some((u32::try_from(commit).ok()?, u32::try_from(lines).ok()?)) + } +} + +fn varint(bytes: &[u8], at: &mut usize) -> Option { + let mut value = 0u64; + let mut shift = 0; + loop { + let b = *bytes.get(*at)?; + *at += 1; + value |= u64::from(b & 0x7f) << shift; + if b & 0x80 == 0 { + return Some(value); + } + shift += 7; + if shift > 63 { + return None; + } + } +} + +fn put_varint(out: &mut Vec, mut value: u64) { + while value >= 0x80 { + out.push((value as u8) | 0x80); + value >>= 7; + } + out.push(value as u8); +} + +fn number(bytes: &[u8], at: usize) -> Option { + let mut b = [0u8; 8]; + b.copy_from_slice(bytes.get(at..at + 8)?); + Some(u64::from_le_bytes(b)) +} + +fn small(bytes: &[u8], at: usize) -> Option { + let mut b = [0u8; 4]; + b.copy_from_slice(bytes.get(at..at + 4)?); + Some(u32::from_le_bytes(b)) +} + +fn oid(bytes: &[u8], at: usize) -> Option { + let mut b = [0u8; ID]; + b.copy_from_slice(bytes.get(at..at + ID)?); + Some(Oid(b)) +} + +fn moves_of(path: &Path) -> PathBuf { + path.with_extension("moves") +} + +impl Ownership { + /// Maps an Ownership written by `Writer`, with the moves kept beside it; None when there is none or it is not whole. + pub fn open(path: &Path) -> Option { + let file = File::open(path).ok()?; + let size = usize::try_from(file.metadata().ok()?.len()).ok()?; + if size < MAGIC.len() + FOOTER + SUM { + return None; + } + let bytes = Column::mapped(Box::new(Records::::open(&file, 0, size).ok()?)); + let mut ownership = Ownership::parse(bytes)?; + ownership.moves = std::fs::read(moves_of(path)) + .ok() + .and_then(|b| { + bincode::serde::decode_from_slice(&b, bincode::config::standard()) + .ok() + .map(|(m, _)| m) + }) + .unwrap_or_default(); + ownership.kept = Some(path.to_path_buf()); + Some(ownership) + } + + fn parse(bytes: Column) -> Option { + let size = bytes.len(); + if bytes.get(..MAGIC.len())? != MAGIC { + return None; + } + let body = size.checked_sub(SUM)?; + if number(&bytes, body)? != xxh3_64(bytes.get(..body)?) { + return None; + } + let f = body.checked_sub(FOOTER)?; + let head = oid(&bytes, f)?; + let has_head = *bytes.get(f + ID)? == 1; + let complete = *bytes.get(f + ID + 1)? == 1; + let at = f + ID + 2; + let settings = number(&bytes, at)?; + let span = |i: usize, unit: usize| -> Option { + let s = Span { + at: usize::try_from(number(&bytes, at + 8 + i * 16)?).ok()?, + len: usize::try_from(number(&bytes, at + 16 + i * 16)?).ok()?, + }; + (s.at.checked_add(s.len.checked_mul(unit)?)? <= f).then_some(s) + }; + let commits = span(0, ID)?; + let runs = span(1, 1)?; + let paths = span(2, 1)?; + let files = span(3, ENTRY)?; + Some(Ownership { + head: has_head.then_some(head), + settings, + complete, + moves: HashMap::new(), + bytes, + commits, + runs, + paths, + files, + kept: None, + }) + } + + /// Keeps the moves beside the Ownership's file, when it has one. + pub fn keep_moves(&self) -> io::Result<()> { + let Some(path) = self.kept.as_deref() else { + return Ok(()); + }; + let to = moves_of(path); + let temp = to.with_extension("moves.writing"); + let bytes = bincode::serde::encode_to_vec(&self.moves, bincode::config::standard()) + .map_err(io::Error::other)?; + std::fs::write(&temp, bytes)?; + std::fs::rename(temp, to) + } + + pub fn len(&self) -> usize { + self.files.len + } + + pub fn is_empty(&self) -> bool { + self.files.len == 0 + } + + fn commit(&self, i: u32) -> Option { + let i = i as usize; + (i < self.commits.len) + .then(|| oid(&self.bytes, self.commits.at + i * ID)) + .flatten() + } + + fn commits_len(&self) -> usize { + self.commits.len + } + + fn position(&self, id: &Oid) -> Option { + let (mut lo, mut hi) = (0usize, self.commits.len); + while lo < hi { + let mid = lo + (hi - lo) / 2; + let at = self.commits.at + mid * ID; + match self.bytes.get(at..at + ID)?.cmp(&id.0[..]) { + std::cmp::Ordering::Less => lo = mid + 1, + std::cmp::Ordering::Greater => hi = mid, + std::cmp::Ordering::Equal => return u32::try_from(mid).ok(), + } + } + None + } + + fn path(&self, i: usize) -> Option<&[u8]> { + let e = self.files.at + i * ENTRY; + let at = usize::try_from(number(&self.bytes, e)?).ok()?; + let len = small(&self.bytes, e + 8)? as usize; + let from = self.paths.at.checked_add(at)?; + let to = from.checked_add(len)?; + (to <= self.paths.at + self.paths.len) + .then(|| self.bytes.get(from..to)) + .flatten() + } + + fn entry(&self, i: usize) -> Option> { + let e = self.files.at + i * ENTRY + 12; + let blob = oid(&self.bytes, e)?; + let at = usize::try_from(number(&self.bytes, e + ID)?).ok()?; + let len = small(&self.bytes, e + ID + 8)? as usize; + let from = self.runs.at.checked_add(at)?; + let to = from.checked_add(len)?; + (to <= self.runs.at + self.runs.len).then_some(Owned { + blob, + runs: self.bytes.get(from..to)?, + }) + } + + fn find(&self, path: &[u8]) -> Option { + let (mut lo, mut hi) = (0usize, self.files.len); + while lo < hi { + let mid = lo + (hi - lo) / 2; + match self.path(mid)?.cmp(path) { + std::cmp::Ordering::Less => lo = mid + 1, + std::cmp::Ordering::Greater => hi = mid, + std::cmp::Ordering::Equal => return Some(mid), + } + } + None + } + + /// One file's blob and owners. + pub fn get(&self, path: &[u8]) -> Option> { + self.entry(self.find(path)?) + } + + /// The files' paths, in order. + pub fn paths(&self) -> impl Iterator { + (0..self.files.len).filter_map(|i| self.path(i)) + } + + /// Each owner of a file's lines with how many lines it owns. + pub fn counts(&self, path: &[u8]) -> Vec<(Oid, u32)> { + let Some(owned) = self.get(path) else { + return Vec::new(); + }; + let mut counts: HashMap = HashMap::new(); + for (c, n) in owned.runs() { + if let Some(id) = self.commit(c) { + *counts.entry(id).or_default() += n; + } + } + let mut out: Vec<(Oid, u32)> = counts.into_iter().collect(); + out.sort_unstable(); + out + } + + /// The owner of each line of a file at `blob`. + pub fn lines(&self, path: &[u8], blob: Oid) -> Option> { + let owned = self.get(path).filter(|o| o.blob == blob)?; + let mut out = Vec::new(); + for (c, n) in owned.runs() { + out.extend(std::iter::repeat_n(self.commit(c)?, n as usize)); + } + Some(out) + } +} + +struct Entry { + path: Vec, + blob: Oid, + len: u32, +} + +/// Writes a new Ownership file by file, owners going to disk as they come, then lays the file out whole and maps it. +pub(crate) struct Writer<'p> { + to: PathBuf, + temporary: bool, + runs_path: PathBuf, + runs: BufWriter, + previous: Option<&'p Ownership>, + used: Vec, + fresh: Vec, + fresh_at: HashMap, + entries: Vec, + head: Option, + settings: u64, + buf: Vec, +} + +impl<'p> Writer<'p> { + /// A writer for the Ownership of `head` at `to`, or in a temporary file when there is nowhere to keep it, numbering owners the previous Ownership knows by its numbers. + pub(crate) fn create( + to: Option<&Path>, + previous: Option<&'p Ownership>, + head: Option, + settings: u64, + ) -> io::Result> { + let (to, temporary) = match to { + Some(p) => (p.to_path_buf(), false), + None => ( + std::env::temp_dir().join(format!( + "commitscape-ownership-{}-{}", + std::process::id(), + TEMPS.fetch_add(1, Ordering::Relaxed) + )), + true, + ), + }; + if let Some(parent) = to.parent() { + std::fs::create_dir_all(parent)?; + } + let runs_path = to.with_extension("runs"); + let runs = BufWriter::new(File::create(&runs_path)?); + Ok(Writer { + used: vec![false; previous.map_or(0, Ownership::commits_len)], + to, + temporary, + runs_path, + runs, + previous, + fresh: Vec::new(), + fresh_at: HashMap::new(), + entries: Vec::new(), + head, + settings, + buf: Vec::new(), + }) + } + + fn push(&mut self, path: Vec, blob: Oid) -> io::Result<()> { + self.runs.write_all(&self.buf)?; + self.entries.push(Entry { + path, + blob, + len: u32::try_from(self.buf.len()).map_err(io::Error::other)?, + }); + Ok(()) + } + + /// Keeps a file's owners as the previous Ownership has them; false when it has no such file. + pub(crate) fn carry(&mut self, path: &[u8]) -> io::Result { + let Some(previous) = self.previous else { + return Ok(false); + }; + let Some(owned) = previous.get(path) else { + return Ok(false); + }; + self.buf.clear(); + for (c, n) in owned.runs() { + if let Some(u) = self.used.get_mut(c as usize) { + *u = true; + } + put_varint(&mut self.buf, u64::from(c) << 1); + put_varint(&mut self.buf, u64::from(n)); + } + self.push(path.to_vec(), owned.blob)?; + Ok(true) + } + + /// Adds a file with the owner of each of its lines. + pub(crate) fn add(&mut self, path: Vec, blob: Oid, owners: &[Oid]) -> io::Result<()> { + self.buf.clear(); + let mut at = 0; + while let Some(&id) = owners.get(at) { + let n = owners + .get(at..) + .unwrap_or(&[]) + .iter() + .take_while(|&&o| o == id) + .count(); + at += n; + let known = self.previous.and_then(|p| p.position(&id)); + let code = match known { + Some(c) => { + if let Some(u) = self.used.get_mut(c as usize) { + *u = true; + } + u64::from(c) << 1 + } + None => { + let next = self.fresh.len() as u32; + let f = *self.fresh_at.entry(id).or_insert(next); + if f == next { + self.fresh.push(id); + } + (u64::from(f) << 1) | 1 + } + }; + put_varint(&mut self.buf, code); + put_varint(&mut self.buf, n as u64); + } + self.push(path, blob) + } + + /// Lays the Ownership out in its file, the owners numbered by their place among the commits it keeps, then maps it. + pub(crate) fn finish( + mut self, + complete: bool, + moves: HashMap, + ) -> io::Result { + self.runs.flush()?; + let mut fresh: Vec<(Oid, u32)> = self.fresh.iter().copied().zip(0u32..).collect(); + fresh.sort_unstable(); + let mut from_previous = vec![u32::MAX; self.used.len()]; + let mut from_fresh = vec![u32::MAX; fresh.len()]; + let mut commits: Vec = Vec::new(); + { + let mut old = (0..self.used.len()) + .filter(|&i| self.used.get(i).copied().unwrap_or(false)) + .filter_map(|i| { + let id = self.previous.and_then(|p| p.commit(i as u32))?; + Some((id, i)) + }) + .peekable(); + let mut new = fresh.iter().peekable(); + loop { + let take_old = match (old.peek(), new.peek()) { + (Some((a, _)), Some((b, _))) => a < b, + (Some(_), None) => true, + (None, Some(_)) => false, + (None, None) => break, + }; + let n = commits.len() as u32; + if take_old { + if let Some((id, i)) = old.next() { + commits.push(id); + if let Some(slot) = from_previous.get_mut(i) { + *slot = n; + } + } + } else if let Some(&(id, f)) = new.next() { + commits.push(id); + if let Some(slot) = from_fresh.get_mut(f as usize) { + *slot = n; + } + } + } + } + let renumber = |code: u64| -> u64 { + let i = (code >> 1) as usize; + let table = if code & 1 == 0 { + &from_previous + } else { + &from_fresh + }; + u64::from(table.get(i).copied().unwrap_or(u32::MAX)) + }; + + let writing = self.to.with_extension("writing"); + let mut out = Hashed::new(BufWriter::new(File::create(&writing)?)); + out.write_all(MAGIC)?; + let commits_at = out.at; + for id in &commits { + out.write_all(&id.0)?; + } + let runs_at = out.at; + let mut reading = BufReader::new(File::open(&self.runs_path)?); + let mut chunk = Vec::new(); + let mut placed: Vec<(u64, u32)> = Vec::with_capacity(self.entries.len()); + for e in &self.entries { + chunk.resize(e.len as usize, 0); + reading.read_exact(&mut chunk)?; + self.buf.clear(); + let mut at = 0; + while let (Some(code), Some(n)) = (varint(&chunk, &mut at), varint(&chunk, &mut at)) { + put_varint(&mut self.buf, renumber(code)); + put_varint(&mut self.buf, n); + } + placed.push(( + out.at - runs_at, + u32::try_from(self.buf.len()).map_err(io::Error::other)?, + )); + out.write_all(&self.buf)?; + } + drop(reading); + let runs_len = out.at - runs_at; + let mut order: Vec = (0..self.entries.len()).collect(); + order.sort_unstable_by(|&a, &b| { + let path = |i: usize| self.entries.get(i).map(|e| e.path.as_slice()); + path(a).cmp(&path(b)) + }); + let paths_at = out.at; + let mut path_at: Vec = Vec::with_capacity(order.len()); + for &i in &order { + path_at.push(out.at - paths_at); + if let Some(e) = self.entries.get(i) { + out.write_all(&e.path)?; + } + } + let paths_len = out.at - paths_at; + let files_at = out.at; + for (&i, &p) in order.iter().zip(&path_at) { + let (Some(e), Some(&(at, len))) = (self.entries.get(i), placed.get(i)) else { + continue; + }; + out.write_all(&p.to_le_bytes())?; + out.write_all( + &u32::try_from(e.path.len()) + .map_err(io::Error::other)? + .to_le_bytes(), + )?; + out.write_all(&e.blob.0)?; + out.write_all(&at.to_le_bytes())?; + out.write_all(&len.to_le_bytes())?; + } + out.write_all(&self.head.map_or([0; ID], |h| h.0))?; + out.write_all(&[u8::from(self.head.is_some()), u8::from(complete)])?; + out.write_all(&self.settings.to_le_bytes())?; + for (at, len) in [ + (commits_at, commits.len() as u64), + (runs_at, runs_len), + (paths_at, paths_len), + (files_at, order.len() as u64), + ] { + out.write_all(&at.to_le_bytes())?; + out.write_all(&len.to_le_bytes())?; + } + let sum = out.hasher.digest(); + let mut file = out.into_inner(); + file.write_all(&sum.to_le_bytes())?; + let file = file.into_inner().map_err(io::IntoInnerError::into_error)?; + file.sync_data()?; + drop(file); + std::fs::rename(&writing, &self.to)?; + let _ = std::fs::remove_file(&self.runs_path); + let opened = Ownership::open(&self.to); + if self.temporary { + let _ = std::fs::remove_file(&self.to); + } + let mut ownership = + opened.ok_or_else(|| io::Error::other("the ownership just written does not read"))?; + ownership.moves = moves; + if self.temporary { + ownership.kept = None; + } + Ok(ownership) + } +} + +impl Drop for Writer<'_> { + fn drop(&mut self) { + let _ = std::fs::remove_file(&self.runs_path); + } +} + +struct Hashed { + inner: W, + hasher: Xxh3, + at: u64, +} + +impl Hashed { + fn new(inner: W) -> Self { + Hashed { + inner, + hasher: Xxh3::new(), + at: 0, + } + } + + fn into_inner(self) -> W { + self.inner + } +} + +impl Write for Hashed { + fn write(&mut self, buf: &[u8]) -> io::Result { + let n = self.inner.write(buf)?; + self.hasher.update(buf.get(..n).unwrap_or(&[])); + self.at += n as u64; + Ok(n) + } + + fn flush(&mut self) -> io::Result<()> { + self.inner.flush() + } +} diff --git a/crates/commitscape-index/src/ownership.rs b/crates/commitscape-index/src/ownership/mod.rs similarity index 83% rename from crates/commitscape-index/src/ownership.rs rename to crates/commitscape-index/src/ownership/mod.rs index d4266aa..a8b9985 100644 --- a/crates/commitscape-index/src/ownership.rs +++ b/crates/commitscape-index/src/ownership/mod.rs @@ -1,112 +1,25 @@ -use std::collections::{BTreeMap, BinaryHeap, HashMap, HashSet}; -use std::path::Path; +use std::collections::{BinaryHeap, HashMap, HashSet}; use std::rc::Rc; use std::time::Instant; use commitscape_core::Oid; use imara_diff::{Algorithm, Diff, InternedInput}; -use serde::{Deserialize, Serialize}; use crate::blame::{ folder, ignored_map, line_count, line_map, spans_at, BlameFile, Gone, MayChange, Walked, UNMAPPED, }; -use crate::cache::Moved; use crate::similarity::rename_source; use crate::source::{BlameCommit, BlameSource, BlameThreads, InParent}; -const MAX_THREADS: usize = 8; -const MAGIC: &[u8; 8] = b"CSOWNS\x00\x01"; - -type Seg = (u32, u32, u32); - -/// One file at a head: its blob, and who owns its lines as runs of (commit, lines), the commit an index into the Ownership's commits. -#[derive(Debug, Clone, PartialEq, Eq, Serialize, Deserialize)] -pub struct Owned { - pub blob: Oid, - pub runs: Vec<(u32, u32)>, -} - -/// Who owns every line of a head's files, as blame would say, kept per head so the next head only works out the files that changed. -#[derive(Debug, Clone, Default, PartialEq, Eq, Serialize, Deserialize)] -pub struct Ownership { - pub head: Option, - pub settings: u64, - pub commits: Vec, - pub files: BTreeMap, Owned>, - pub moves: HashMap, - pub complete: bool, -} - -impl Ownership { - /// Each owner of a file's lines with how many lines it owns. - pub fn counts(&self, path: &[u8]) -> Vec<(Oid, u32)> { - let Some(owned) = self.files.get(path) else { - return Vec::new(); - }; - let mut counts: HashMap = HashMap::new(); - for &(c, n) in &owned.runs { - if let Some(id) = self.commits.get(c as usize) { - *counts.entry(*id).or_default() += n; - } - } - let mut out: Vec<(Oid, u32)> = counts.into_iter().collect(); - out.sort_unstable(); - out - } - - pub(crate) fn lines(&self, path: &[u8], blob: Oid) -> Option> { - let owned = self.files.get(path).filter(|o| o.blob == blob)?; - let mut out = Vec::new(); - for &(c, n) in &owned.runs { - let id = *self.commits.get(c as usize)?; - out.extend(std::iter::repeat_n(id, n as usize)); - } - Some(out) - } +mod file; - /// Reads an Ownership written by `write`; None when there is none or it cannot be read. - pub fn read(path: &Path) -> Option { - let bytes = std::fs::read(path).ok()?; - let body = bytes.strip_prefix(MAGIC)?; - bincode::serde::decode_from_slice(body, bincode::config::standard()) - .ok() - .map(|(o, _)| o) - } +pub(crate) use file::Writer; +pub use file::{Owned, Ownership, Runs}; - /// Writes the Ownership beside the cache, whole, then moves it into place. - pub fn write(&self, path: &Path) -> std::io::Result<()> { - let mut out = MAGIC.to_vec(); - out.extend( - bincode::serde::encode_to_vec(self, bincode::config::standard()) - .map_err(std::io::Error::other)?, - ); - let temp = path.with_extension("writing"); - std::fs::write(&temp, out)?; - std::fs::rename(temp, path) - } +const MAX_THREADS: usize = 8; - pub(crate) fn add( - &mut self, - path: Vec, - blob: Oid, - owners: &[Oid], - at: &mut HashMap, - ) { - let mut runs: Vec<(u32, u32)> = Vec::new(); - for id in owners { - let c = *at.entry(*id).or_insert_with(|| { - self.commits.push(*id); - (self.commits.len() - 1) as u32 - }); - match runs.last_mut() { - Some(last) if last.0 == c => last.1 += 1, - _ => runs.push((c, 1)), - } - } - self.files.insert(path, Owned { blob, runs }); - } -} +type Seg = (u32, u32, u32); /// What the previous head's Ownership says, for blame walks that reach that head. pub(crate) struct Known<'a> { diff --git a/crates/commitscape-index/src/surviving.rs b/crates/commitscape-index/src/surviving.rs index dfa1048..38e5df9 100644 --- a/crates/commitscape-index/src/surviving.rs +++ b/crates/commitscape-index/src/surviving.rs @@ -1,17 +1,29 @@ use std::collections::{HashMap, HashSet}; +use std::path::PathBuf; use std::time::{Duration, Instant}; -use commitscape_core::{AuthorId, ChangeKind, CommitFlags, FileClass, FileId, Index, Oid}; +use commitscape_core::{ + AuthorId, ChangeKind, CommitFlags, CommitMeta, FileClass, FileId, Index, Oid, +}; use crate::blame::{blame_in_threads, spans_at, BlameFile, Walked, BATCH_BYTES}; -use crate::cache::{BlameStore, CacheOptions, Known, Moved}; +use crate::cache::{repo_dir, BlameStore, CacheOptions, Known, Moved}; use crate::lines::MAX_BYTES; -use crate::ownership::{own_in_threads, Known as Owners, Ownership}; +use crate::ownership::{own_in_threads, Known as Owners, Ownership, Writer}; use crate::similarity::rename_source; use crate::source::{BlameSource, BlameThreads}; const ENGINE: u64 = 4; +/// Why working out the Ownership stopped: the repository could not be read, or the Ownership could not be kept. +#[derive(Debug, thiserror::Error)] +pub enum OwnError { + #[error(transparent)] + Source(E), + #[error("could not keep the ownership of lines")] + Kept(#[source] std::io::Error), +} + #[derive(Debug, Clone, Copy, PartialEq, Eq)] pub enum Survived { Counted { @@ -28,16 +40,49 @@ pub struct Survival<'i> { index: &'i Index, head: Oid, pass_through: HashSet, - authors: HashMap, known: Known, store: Option, deletions: HashMap>, flows: HashMap>, paths: Option>>>, - commit_at: HashMap, + commit_at: CommitAt, files_at: HashMap, Vec>, batch_bytes: usize, settings: u64, + kept: Option, +} + +struct CommitAt { + keys: Vec<(u64, u32)>, +} + +impl CommitAt { + fn of(index: &Index) -> Self { + let mut keys: Vec<(u64, u32)> = index + .commits + .iter() + .zip(0u32..) + .map(|(c, i)| (key(&c.id), i)) + .collect(); + keys.sort_unstable(); + CommitAt { keys } + } + + fn get<'i>(&self, index: &'i Index, id: &Oid) -> Option<&'i CommitMeta> { + let k = key(id); + let from = self.keys.partition_point(|&(at, _)| at < k); + self.keys + .get(from..)? + .iter() + .take_while(|&&(at, _)| at == k) + .find_map(|&(_, i)| index.commits.get(i as usize).filter(|c| c.id == *id)) + } +} + +fn key(id: &Oid) -> u64 { + let mut head = [0u8; 8]; + head.copy_from_slice(id.0.get(..8).unwrap_or(&[0; 8])); + u64::from_le_bytes(head) } impl<'i> Survival<'i> { @@ -59,16 +104,6 @@ impl<'i> Survival<'i> { .map(|c| c.id) .collect(); pass_through.extend(ignored.iter().copied()); - let authors = index - .commits - .iter() - .filter_map(|c| { - Some(( - c.id, - (index.author_of(c)?, c.time + i64::from(c.author_delta)), - )) - }) - .collect(); let store = BlameStore::for_head( options, &index.repo, @@ -91,21 +126,16 @@ impl<'i> Survival<'i> { index, head, pass_through, - authors, known, store, deletions, flows: HashMap::new(), paths: None, - commit_at: index - .commits - .iter() - .enumerate() - .map(|(i, c)| (c.id, i)) - .collect(), + commit_at: CommitAt::of(index), files_at: HashMap::new(), batch_bytes: BATCH_BYTES, settings: settings(max_changeset_size, ignored), + kept: repo_dir(options, &index.repo).map(|d| d.join("ownership")), }) } @@ -113,6 +143,16 @@ impl<'i> Survival<'i> { self.head } + /// The Ownership kept in the cache from the last count, when there is one. + pub fn previous(&self) -> Option { + self.kept.as_deref().and_then(Ownership::open) + } + + fn author(&self, commit: &Oid) -> Option<(AuthorId, i64)> { + let c = self.commit_at.get(self.index, commit)?; + Some((self.index.author_of(c)?, c.time + i64::from(c.author_delta))) + } + /// Counts one person's Surviving Lines over the files at the head they ever changed, or says they are over budget. pub fn person( &mut self, @@ -153,7 +193,7 @@ impl<'i> Survival<'i> { } = self; let index: &Index = index; let may_change = |commit: Oid, path: &[u8]| -> bool { - let Some(c) = commit_at.get(&commit).and_then(|&i| index.commits.get(i)) else { + let Some(c) = commit_at.get(index, &commit) else { return true; }; if c.is_merge() || c.flags.contains(CommitFlags::BULK) { @@ -193,8 +233,8 @@ impl<'i> Survival<'i> { .filter_map(|f| self.known.files.get(&f.path)) .flatten() .filter(|(_, n)| *n > 0) - .filter_map(|(commit, n)| match self.authors.get(commit) { - Some((author, time)) if *author == person => Some((u64::from(*n), *time)), + .filter_map(|(commit, n)| match self.author(commit) { + Some((author, time)) if author == person => Some((u64::from(*n), time)), _ => None, }) .collect(); @@ -249,54 +289,44 @@ impl<'i> Survival<'i> { threads: &T, previous: Option, deadline: Option, - ) -> Result::Error> { + ) -> Result::Error>> { let source = threads.local(); let files = self.head_files(); let previous = previous.filter(|p| p.settings == self.settings && p.head.is_some()); - let mut out = Ownership { - head: Some(self.head), - settings: self.settings, - ..Ownership::default() - }; - let mut at: HashMap = HashMap::new(); + let mut out = Writer::create( + self.kept.as_deref(), + previous.as_ref(), + Some(self.head), + self.settings, + ) + .map_err(OwnError::Kept)?; let mut carried: HashSet> = HashSet::new(); if let Some(prev) = previous.as_ref() { - out.moves.clone_from(&prev.moves); let candidates: Vec<&BlameFile> = files .iter() - .filter(|f| prev.files.get(&f.path).is_some_and(|o| o.blob == f.blob)) + .filter(|f| prev.get(&f.path).is_some_and(|o| o.blob == f.blob)) .collect(); let line = match prev.head { - Some(h) => self.first_parent_line(&source, h)?, + Some(h) => self + .first_parent_line(&source, h) + .map_err(OwnError::Source)?, None => None, }; if let Some(edges) = line { let paths: Vec<&[u8]> = candidates.iter().map(|f| f.path.as_slice()).collect(); let mut changed = vec![false; paths.len()]; for (commit, parent) in edges { - let states = source.blame_compare(commit, parent, &paths)?; + let states = source + .blame_compare(commit, parent, &paths) + .map_err(OwnError::Source)?; for (c, s) in changed.iter_mut().zip(states) { *c |= s != crate::source::InParent::Same; } } for (f, changed) in candidates.iter().zip(changed) { - if changed { - continue; + if !changed && out.carry(&f.path).map_err(OwnError::Kept)? { + carried.insert(f.path.clone()); } - let owners: Vec = prev - .files - .get(&f.path) - .into_iter() - .flat_map(|o| &o.runs) - .flat_map(|&(c, n)| { - std::iter::repeat_n( - prev.commits.get(c as usize).copied().unwrap_or(self.head), - n as usize, - ) - }) - .collect(); - out.add(f.path.clone(), f.blob, &owners, &mut at); - carried.insert(f.path.clone()); } } } @@ -304,6 +334,7 @@ impl<'i> Survival<'i> { .into_iter() .filter(|f| !carried.contains(&f.path)) .collect(); + drop(carried); if self.files_at.is_empty() { for (file, path) in self.index.paths.iter().chain(self.index.paths.departures()) { self.files_at.entry(path.to_vec()).or_default().push(file); @@ -320,7 +351,7 @@ impl<'i> Survival<'i> { } = self; let index: &Index = index; let may_change = |commit: Oid, path: &[u8]| -> bool { - let Some(c) = commit_at.get(&commit).and_then(|&i| index.commits.get(i)) else { + let Some(c) = commit_at.get(index, &commit) else { return true; }; if c.is_merge() || c.flags.contains(CommitFlags::BULK) { @@ -340,6 +371,7 @@ impl<'i> Survival<'i> { ownership: p, }) }); + let mut failed: Option = None; let walked = own_in_threads( threads, *head, @@ -350,13 +382,23 @@ impl<'i> Survival<'i> { deadline, *batch_bytes, &mut |i, owners| { - if let Some(f) = todo.get(i) { - out.add(f.path.clone(), f.blob, &owners, &mut at); + if let (Some(f), None) = (todo.get(i), failed.as_ref()) { + if let Err(e) = out.add(f.path.clone(), f.blob, &owners) { + failed = Some(e); + } } }, - )?; - out.complete = walked == Walked::Finished; - Ok(out) + ) + .map_err(OwnError::Source)?; + if let Some(e) = failed { + return Err(OwnError::Kept(e)); + } + let moves = previous + .as_ref() + .map(|p| p.moves.clone()) + .unwrap_or_default(); + out.finish(walked == Walked::Finished, moves) + .map_err(OwnError::Kept) } /// Every person's Surviving Lines from the head's Ownership, as `person` counts them one by one: their lines in the head files they or the files they changed flowed into, with how many such files and when their oldest surviving line was written. None when the Ownership is not complete, or not of this head; the moves found on the way are kept in it. @@ -388,7 +430,7 @@ impl<'i> Survival<'i> { if n == 0 { continue; } - if let Some(&(author, time)) = self.authors.get(&commit) { + if let Some((author, time)) = self.author(&commit) { let e = by.entry(author).or_insert((0, i64::MAX)); e.0 += u64::from(n); e.1 = e.1.min(time); @@ -899,8 +941,7 @@ mod tests { } fn lines_of(o: &Ownership, path: &[u8]) -> Vec { - o.files - .get(path) + o.get(path) .and_then(|f| o.lines(path, f.blob)) .unwrap_or_default() } @@ -1004,19 +1045,27 @@ mod tests { #[test] fn a_later_head_carries_over_what_did_not_change_and_works_out_the_rest_as_blame_does() { - let mut previous: Option = None; + let dir = tempfile::tempdir().unwrap(); + let options = CacheOptions { + root: Some(dir.path().to_path_buf()), + key: Some("acme/grown".to_string()), + }; for steps in [1, 2, 4, 5, 6, 7] { let repo = grown(steps); let index = index_from_scratch(&repo).unwrap(); - let mut survival = Survival::new(&index, &[], 50, &CacheOptions::default()).unwrap(); + let mut survival = Survival::new(&index, &[], 50, &options).unwrap(); let fresh = same_as_blame(&repo, 50); - let carried = survival.own(&repo, previous.take(), None).unwrap(); + let previous = survival.previous(); + assert_eq!(previous.is_some(), steps > 1, "step {steps}"); + let mut carried = survival.own(&repo, previous, None).unwrap(); assert!(carried.complete); + assert!(survival.everyone(&repo, &mut carried).unwrap().is_some()); + carried.keep_moves().unwrap(); assert_eq!( - carried.files.keys().collect::>(), - fresh.files.keys().collect::>() + carried.paths().collect::>(), + fresh.paths().collect::>() ); - for path in fresh.files.keys() { + for path in fresh.paths() { assert_eq!( lines_of(&carried, path), lines_of(&fresh, path), @@ -1024,7 +1073,6 @@ mod tests { String::from_utf8_lossy(path) ); } - previous = Some(carried); } } @@ -1039,7 +1087,7 @@ mod tests { assert!(ownership.complete); assert!(survival.everyone(&repo, &mut ownership).unwrap().is_some()); let fresh = same_as_blame(&repo, 50); - for path in fresh.files.keys() { + for path in fresh.paths() { assert_eq!(lines_of(&ownership, path), lines_of(&fresh, path)); } } diff --git a/crates/commitscape/src/surviving.rs b/crates/commitscape/src/surviving.rs index b79fcb2..3c064cc 100644 --- a/crates/commitscape/src/surviving.rs +++ b/crates/commitscape/src/surviving.rs @@ -6,10 +6,9 @@ use std::time::{Duration, Instant}; use clap::Args; use commitscape_core::{AuthorId, Index, Oid}; -use commitscape_index::ownership::Ownership; use commitscape_index::{ - load, repo_dir, BlameCommit, BlameSource, BlameThreads, GixError, GixRepo, GixThreads, - InParent, Moves, RepoSource, Survival, Survived, + load, BlameCommit, BlameSource, BlameThreads, GixError, GixRepo, GixThreads, InParent, Moves, + RepoSource, Survival, Survived, }; use commitscape_metrics::{Analysis, Window}; use commitscape_report::api::{Surviving, SurvivingPerson, SurvivingStatus}; @@ -101,8 +100,7 @@ pub fn run(args: SurvivingArgs) -> anyhow::Result<()> { if args.everyone { let started = Instant::now(); - let kept = repo_dir(&options, &index.repo).map(|d| d.join("ownership")); - let previous = kept.as_deref().and_then(Ownership::read); + let previous = survival.previous(); let deadline = started.checked_add(budget); let (ownership, everyone) = if args.partial || repo.is_partial() { let mut ownership = survival.own(&fetching, previous, deadline)?; @@ -113,9 +111,7 @@ pub fn run(args: SurvivingArgs) -> anyhow::Result<()> { let everyone = survival.everyone(&repo, &mut ownership)?; (ownership, everyone) }; - if let Some(path) = kept.as_deref() { - ownership.write(path)?; - } + ownership.keep_moves()?; let seconds = (started.elapsed().as_secs_f64() * 1000.0).round() / 1000.0; let people: Vec = everyone .unwrap_or_default() @@ -144,7 +140,7 @@ pub fn run(args: SurvivingArgs) -> anyhow::Result<()> { let out = serde_json::json!({ "head": survival.head().to_hex(), "complete": ownership.complete, - "files": ownership.files.len(), + "files": ownership.len(), "people": people, }); let mut stdout = std::io::stdout().lock(); From c3701051e2946cb2e4c0bccd75f1389c38d1221d Mon Sep 17 00:00:00 2001 From: Dev Talan <84081651+devchaudhary24k@users.noreply.github.com> Date: Tue, 27 Oct 2026 08:37:39 +0530 Subject: [PATCH 25/82] perf(engine): map packs instead of decoding them Packs are now format 3: the bincode of everything but the Index's long columns, then the commits, changes, subjects and Mainline arrival times each as zlib of their fixed records, with a table of the sections at the end. The engine unpacks one once, streaming, into a page-aligned file in its pack folder and maps it, so the columns are read in place and the memory budget counts only what is left on the heap. Packs of format 2 already in R2 are decoded as before. linux pack, before -> after: - R2 object: 103.8 MB -> 106.9 MB; on the engine's disk 275 MB unpacked - engine anon after the first answer: 338 MB (580 MB while decoding) -> 117 MB; after the screens 463 -> 228 MB; per pack on the heap 52 MB - answer times unchanged (overview all, cold: 3.1 s both) --- Cargo.lock | 3 + apps/engine/Cargo.toml | 1 + apps/engine/src/packs.rs | 114 +++++++-- apps/engine/tests/common/mod.rs | 2 +- apps/engine/tests/engine.rs | 54 +++- crates/commitscape-map/src/lib.rs | 40 +++ crates/commitscape-report/Cargo.toml | 2 + crates/commitscape-report/src/pack.rs | 353 ++++++++++++++++++++++++-- crates/commitscape/src/build.rs | 4 +- crates/commitscape/tests/build.rs | 4 +- 10 files changed, 531 insertions(+), 46 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 0c30d04..b741a98 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -454,6 +454,7 @@ name = "commitscape-engine" version = "0.4.0" dependencies = [ "axum", + "bincode", "commitscape-core", "commitscape-index", "commitscape-metrics", @@ -526,11 +527,13 @@ dependencies = [ "bincode", "commitscape-core", "commitscape-index", + "commitscape-map", "commitscape-metrics", "flate2", "rayon", "serde", "serde_json", + "tempfile", "ts-rs", ] diff --git a/apps/engine/Cargo.toml b/apps/engine/Cargo.toml index ca5fac4..813ff46 100644 --- a/apps/engine/Cargo.toml +++ b/apps/engine/Cargo.toml @@ -34,6 +34,7 @@ ureq = { version = "3.4.2", default-features = false, features = ["rustls"] } url = "2.5.4" [dev-dependencies] +bincode = { version = "=2.0.1", features = ["serde"] } commitscape-index.workspace = true flate2 = { version = "1.1.10", default-features = false, features = ["zlib-rs"] } tempfile = "3.27.0" diff --git a/apps/engine/src/packs.rs b/apps/engine/src/packs.rs index 154a0cb..2118181 100644 --- a/apps/engine/src/packs.rs +++ b/apps/engine/src/packs.rs @@ -9,6 +9,8 @@ use sha2::{Digest, Sha256}; use tokio::sync::OnceCell; use tracing::Instrument; +use commitscape_report::pack::{open_unpacked, unpack, PackError}; + use crate::loaded::LoadedPack; use crate::lru::SizedLru; use crate::s3::{Fetched, S3Source}; @@ -84,6 +86,10 @@ fn file_name(key: &str) -> String { out } +fn unpacked_name(name: &str) -> String { + format!("{}.unpacked", name.trim_end_matches(".pack")) +} + fn io(e: std::io::Error) -> PackFailure { PackFailure::Fetch(e.to_string()) } @@ -104,7 +110,7 @@ impl Packs { let name = entry.file_name().to_string_lossy().into_owned(); if name.ends_with(".part") { let _ = tokio::fs::remove_file(entry.path()).await; - } else if name.ends_with(".pack") { + } else if name.ends_with(".pack") || name.ends_with(".unpacked") { let meta = entry.metadata().await?; found.push(( meta.modified().unwrap_or(SystemTime::UNIX_EPOCH), @@ -184,18 +190,90 @@ impl Packs { } let name = file_name(key); let path = self.dir.join(&name); - let kept = self.disk.lock().is_ok_and(|mut d| d.get(&name).is_some()); - if !kept { - self.fetch(key, &name, &path).await?; - } - let bytes = match tokio::fs::read(&path).await { - Ok(bytes) => bytes, - Err(e) if e.kind() == std::io::ErrorKind::NotFound => { + let unpacked = unpacked_name(&name); + let mapped = self.dir.join(&unpacked); + let kept = self + .disk + .lock() + .is_ok_and(|mut d| d.get(&unpacked).is_some()); + let loaded = if kept && tokio::fs::try_exists(&mapped).await.unwrap_or(false) { + self.open_unpacked(key, &mapped).await? + } else { + let kept = self.disk.lock().is_ok_and(|mut d| d.get(&name).is_some()); + if !kept || !tokio::fs::try_exists(&path).await.unwrap_or(false) { self.fetch(key, &name, &path).await?; - tokio::fs::read(&path).await.map_err(io)? } - Err(e) => return Err(io(e)), + let (from, to) = (path.clone(), mapped.clone()); + let unpacking = self + .work + .run(move || { + let _span = tracing::info_span!("pack.unpack").entered(); + unpack(&from, &to) + }) + .await + .map_err(PackFailure::Work)?; + match unpacking { + Ok(bytes) => { + let gone = match self.disk.lock() { + Ok(mut disk) => { + disk.remove(&name); + disk.insert(unpacked.clone(), (), bytes) + } + Err(_) => Vec::new(), + }; + let _ = tokio::fs::remove_file(&path).await; + for (old, ()) in gone { + let _ = tokio::fs::remove_file(self.dir.join(old)).await; + } + self.open_unpacked(key, &mapped).await? + } + Err(PackError::Format(_)) => self.decode(key, &name, &path).await?, + Err(e) => { + self.forget(&name, &path).await; + return Err(PackFailure::Decode(e.to_string())); + } + } }; + self.decodes.fetch_add(1, Ordering::Relaxed); + let loaded = Arc::new(loaded); + if let Ok(mut memory) = self.memory.lock() { + memory.insert(key.to_string(), loaded.clone(), loaded.bytes); + } + Ok(loaded) + } + + async fn forget(&self, name: &str, path: &Path) { + if let Ok(mut disk) = self.disk.lock() { + disk.remove(&name.to_string()); + } + let _ = tokio::fs::remove_file(path).await; + } + + async fn open_unpacked(&self, key: &str, path: &Path) -> Result { + let (owned, from) = (key.to_string(), path.to_path_buf()); + let opened = self + .work + .run(move || { + let _span = tracing::info_span!("pack.open").entered(); + open_unpacked(&from).map(|pack| LoadedPack::of(&owned, pack)) + }) + .await + .map_err(PackFailure::Work)?; + match opened { + Ok(loaded) => Ok(loaded), + Err(e) => { + let name = path + .file_name() + .map(|n| n.to_string_lossy().into_owned()) + .unwrap_or_default(); + self.forget(&name, path).await; + Err(PackFailure::Decode(e.to_string())) + } + } + } + + async fn decode(&self, key: &str, name: &str, path: &Path) -> Result { + let bytes = tokio::fs::read(path).await.map_err(io)?; let owned = key.to_string(); let decoded = self .work @@ -205,21 +283,13 @@ impl Packs { }) .await .map_err(PackFailure::Work)?; - let loaded = match decoded { - Ok(loaded) => Arc::new(loaded), + match decoded { + Ok(loaded) => Ok(loaded), Err(e) => { - if let Ok(mut disk) = self.disk.lock() { - disk.remove(&name); - } - let _ = tokio::fs::remove_file(&path).await; - return Err(PackFailure::Decode(e.to_string())); + self.forget(name, path).await; + Err(PackFailure::Decode(e.to_string())) } - }; - self.decodes.fetch_add(1, Ordering::Relaxed); - if let Ok(mut memory) = self.memory.lock() { - memory.insert(key.to_string(), loaded.clone(), loaded.bytes); } - Ok(loaded) } async fn fetch(&self, key: &str, name: &str, path: &Path) -> Result<(), PackFailure> { diff --git a/apps/engine/tests/common/mod.rs b/apps/engine/tests/common/mod.rs index d2ab008..6eec171 100644 --- a/apps/engine/tests/common/mod.rs +++ b/apps/engine/tests/common/mod.rs @@ -170,7 +170,7 @@ pub async fn serve(packs: &[(&str, &Pack)]) -> Served { let path = source.join(key); std::fs::create_dir_all(path.parent().unwrap()).unwrap(); let mut bytes = Vec::new(); - write_pack(pack, &mut bytes).unwrap(); + write_pack(&mut (*pack).clone(), &mut bytes).unwrap(); std::fs::write(path, bytes).unwrap(); } let engine = commitscape_engine::engine(&Settings { diff --git a/apps/engine/tests/engine.rs b/apps/engine/tests/engine.rs index 981450a..7f951b4 100644 --- a/apps/engine/tests/engine.rs +++ b/apps/engine/tests/engine.rs @@ -92,7 +92,7 @@ fn put(dir: &Path, key: &str, pack: &Pack) { let path = dir.join(key); std::fs::create_dir_all(path.parent().unwrap()).unwrap(); let mut bytes = Vec::new(); - write_pack(pack, &mut bytes).unwrap(); + write_pack(&mut pack.clone(), &mut bytes).unwrap(); std::fs::write(path, bytes).unwrap(); } @@ -283,6 +283,56 @@ async fn answers_are_the_reports_screens_for_any_window() { ); } +#[tokio::test] +async fn a_pack_of_the_format_before_answers_as_the_same_pack_does_unpacked() { + use std::io::Write; + + let s = setup().await; + let old = "packs/acme/rocket/0/old-0-lines.pack"; + let mut pack = pack("acme/rocket"); + pack.format = 2; + let payload = bincode::serde::encode_to_vec(&pack, bincode::config::standard()).unwrap(); + let mut z = flate2::write::ZlibEncoder::new( + b"commitscape pack 1\n".to_vec(), + flate2::Compression::default(), + ); + z.write_all(&payload).unwrap(); + std::fs::write( + s.source + .join(old) + .parent() + .map(|p| { + std::fs::create_dir_all(p).unwrap(); + s.source.join(old) + }) + .unwrap(), + z.finish().unwrap(), + ) + .unwrap(); + for path in ["/api/overview", "/api/people", "/api/activity", "/api/map"] { + let (status, new) = ask(&s.app, json!({ "pack": ROCKET, "path": path })).await; + assert_eq!(status, StatusCode::OK, "{path}"); + let (status, before) = ask(&s.app, json!({ "pack": old, "path": path })).await; + assert_eq!(status, StatusCode::OK, "{path}"); + assert_eq!(before, new, "{path}"); + } + let kept: Vec = std::fs::read_dir(&s.cache) + .unwrap() + .flatten() + .map(|e| e.file_name().to_string_lossy().into_owned()) + .collect(); + assert_eq!( + kept.iter().filter(|n| n.ends_with(".unpacked")).count(), + 1, + "{kept:?}" + ); + assert_eq!( + kept.iter().filter(|n| n.ends_with(".pack")).count(), + 1, + "{kept:?}" + ); +} + #[tokio::test] async fn questions_with_no_answer_say_so() { let s = setup().await; @@ -755,7 +805,7 @@ async fn packs_are_fetched_from_s3_with_a_signed_get() { use axum::routing::get; let mut bytes = Vec::new(); - write_pack(&pack("acme/rocket"), &mut bytes).unwrap(); + write_pack(&mut pack("acme/rocket"), &mut bytes).unwrap(); let stored = Arc::new(bytes); let fake = Router::new() .route( diff --git a/crates/commitscape-map/src/lib.rs b/crates/commitscape-map/src/lib.rs index b6e2dfa..01b9acc 100644 --- a/crates/commitscape-map/src/lib.rs +++ b/crates/commitscape-map/src/lib.rs @@ -54,6 +54,36 @@ impl Records { } } +impl Records { + /// Records copied out of `bytes` into memory of their own, after the same checks as `open`. + pub fn copied(bytes: &[u8]) -> io::Result> { + if size_of::() != T::SIZE || !bytes.len().is_multiple_of(T::SIZE) { + return Err(invalid("not whole records")); + } + let len = bytes.len() / T::SIZE; + if len == 0 { + return Ok(Records { + map: None, + len: 0, + kind: PhantomData, + }); + } + let mut map = MmapMut::map_anon(bytes.len())?; + map.copy_from_slice(bytes); + if map.as_ptr().align_offset(align_of::()) != 0 { + return Err(invalid("records are not aligned")); + } + if !map.chunks_exact(T::SIZE).all(T::valid) { + return Err(invalid("a record is not one")); + } + Ok(Records { + map: Some(map), + len, + kind: PhantomData, + }) + } +} + impl Slab for Records { #[allow(unsafe_code)] fn get(&self) -> &[T] { @@ -133,6 +163,16 @@ mod tests { } let read = Records::::open(&file, PAGE, commits.len()).expect("mapped"); assert_eq!(read.get(), commits.as_slice()); + let mut bytes = vec![0u8; CommitMeta::SIZE * commits.len()]; + for (c, slot) in commits + .iter() + .zip(bytes.as_chunks_mut::<{ CommitMeta::SIZE }>().0) + { + c.write_to(slot); + } + let copied = Records::::copied(&bytes).expect("copied"); + assert_eq!(copied.get(), commits.as_slice()); + assert!(Records::::copied(&bytes[1..]).is_err()); let mut read = Records::::open(&file, at, changes.len()).expect("mapped"); assert_eq!(read.get(), changes.as_slice()); read.get_mut()[0].set_lines(Some(LineDelta { diff --git a/crates/commitscape-report/Cargo.toml b/crates/commitscape-report/Cargo.toml index 7f8a18d..b9c5820 100644 --- a/crates/commitscape-report/Cargo.toml +++ b/crates/commitscape-report/Cargo.toml @@ -14,6 +14,7 @@ workspace = true [dependencies] bincode = { version = "=2.0.1", features = ["serde"] } commitscape-core.workspace = true +commitscape-map.workspace = true commitscape-metrics.workspace = true flate2 = { version = "1.1.10", default-features = false, features = ["zlib-rs"] } rayon = "1.12.0" @@ -22,4 +23,5 @@ serde_json = "1.0.151" [dev-dependencies] commitscape-index.workspace = true +tempfile = "3" ts-rs = "12" \ No newline at end of file diff --git a/crates/commitscape-report/src/pack.rs b/crates/commitscape-report/src/pack.rs index 1665a14..949a96f 100644 --- a/crates/commitscape-report/src/pack.rs +++ b/crates/commitscape-report/src/pack.rs @@ -1,6 +1,10 @@ -use std::io::{BufWriter, Read, Write}; +use std::fs::File; +use std::io::{BufReader, BufWriter, Read, Seek, SeekFrom, Write}; +use std::os::unix::fs::FileExt; +use std::path::Path; -use commitscape_core::Index; +use commitscape_core::{Column, CommitMeta, FileChange, Index, Record}; +use commitscape_map::Records; use commitscape_metrics::Options; use flate2::read::ZlibDecoder; use flate2::write::ZlibEncoder; @@ -10,12 +14,22 @@ use serde::{Deserialize, Serialize}; use crate::api; use crate::report::Report; -pub const MAGIC: &[u8] = b"commitscape pack 1\n"; +pub const MAGIC: &[u8] = b"commitscape pack 3\n"; -pub const FORMAT: u32 = 2; +const MAGIC_2: &[u8] = b"commitscape pack 1\n"; + +const UNPACKED: &[u8; 8] = b"CSUNPK03"; + +pub const FORMAT: u32 = 3; const LEVEL: u32 = 6; +const SECTIONS: usize = 5; + +const PAGE: u64 = 4096; + +const NO_ARRIVAL: i64 = i64::MIN; + #[derive(Debug, Clone, PartialEq, Serialize, Deserialize)] pub struct Pack { pub format: u32, @@ -145,27 +159,225 @@ fn config() -> bincode::config::Configuration { bincode::config::standard() } -/// Writes a pack: its magic line, then the zlib of its bincode. -pub fn write_pack(pack: &Pack, out: &mut impl Write) -> Result<(), PackError> { +struct Counting { + inner: W, + n: u64, +} + +impl Write for Counting { + fn write(&mut self, buf: &[u8]) -> std::io::Result { + let n = self.inner.write(buf)?; + self.n += n as u64; + Ok(n) + } + + fn flush(&mut self) -> std::io::Result<()> { + self.inner.flush() + } +} + +fn section( + out: &mut Counting, + fill: &mut dyn FnMut(&mut dyn Write) -> std::io::Result<()>, +) -> std::io::Result<(u64, u64)> { + let start = out.n; + let n = { + let mut raw = Counting { + inner: BufWriter::with_capacity( + 1 << 16, + ZlibEncoder::new(&mut *out, Compression::new(LEVEL)), + ), + n: 0, + }; + fill(&mut raw)?; + let n = raw.n; + raw.inner + .into_inner() + .map_err(std::io::IntoInnerError::into_error)? + .finish()?; + n + }; + Ok((n, out.n - start)) +} + +fn records(out: &mut dyn Write, items: &[T]) -> std::io::Result<()> { + let mut buf = vec![0u8; T::SIZE * 4096]; + for chunk in items.chunks(4096) { + for (r, slot) in chunk.iter().zip(buf.chunks_exact_mut(T::SIZE)) { + r.write_to(slot); + } + out.write_all(buf.get(..chunk.len() * T::SIZE).unwrap_or(&[]))?; + } + Ok(()) +} + +/// Writes a pack: its magic line, the zlib of its bincode without the Index's long columns, then each column as zlib of its records, and a table of the sections' sizes at the end. +pub fn write_pack(pack: &mut Pack, out: &mut impl Write) -> Result<(), PackError> { + let commits = std::mem::take(&mut pack.index.commits); + let changes = std::mem::take(&mut pack.index.changes); + let subjects = std::mem::take(&mut pack.index.subjects); + let arrival = std::mem::take(&mut pack.arrival); + let written = write_sections(pack, &commits, &changes, &subjects, &arrival, out); + pack.index.commits = commits; + pack.index.changes = changes; + pack.index.subjects = subjects; + pack.arrival = arrival; + written +} + +fn write_sections( + rest: &Pack, + commits: &[CommitMeta], + changes: &[FileChange], + subjects: &[u8], + arrival: &[Option], + out: &mut impl Write, +) -> Result<(), PackError> { out.write_all(MAGIC)?; - let mut z = BufWriter::with_capacity(1 << 16, ZlibEncoder::new(out, Compression::new(LEVEL))); - bincode::serde::encode_into_std_write(pack, &mut z, config()) - .map_err(|e| PackError::Encode(e.to_string()))?; - z.into_inner() - .map_err(|e| PackError::Io(e.into_error()))? - .finish()?; + let mut out = Counting { inner: out, n: 0 }; + let mut sizes = Vec::with_capacity(SECTIONS); + sizes.push(section(&mut out, &mut |mut w| { + bincode::serde::encode_into_std_write(rest, &mut w, config()) + .map(|_| ()) + .map_err(|e| std::io::Error::other(e.to_string())) + })?); + sizes.push(section(&mut out, &mut |w| records(w, commits))?); + sizes.push(section(&mut out, &mut |w| records(w, changes))?); + sizes.push(section(&mut out, &mut |w| w.write_all(subjects))?); + sizes.push(section(&mut out, &mut |w| { + for chunk in arrival.chunks(4096) { + let bytes: Vec = chunk + .iter() + .flat_map(|a| a.unwrap_or(NO_ARRIVAL).to_le_bytes()) + .collect(); + w.write_all(&bytes)?; + } + Ok(()) + })?); + for (raw, packed) in &sizes { + out.write_all(&raw.to_le_bytes())?; + out.write_all(&packed.to_le_bytes())?; + } + out.write_all(&(sizes.len() as u32).to_le_bytes())?; Ok(()) } -/// Reads a pack `write_pack` wrote. +const TAIL: usize = 4 + 16 * SECTIONS; + +fn sections(tail: &[u8], size: u64) -> Result, PackError> { + let bad = || PackError::Decode("the section table does not add up".into()); + let count = tail + .get(TAIL - 4..TAIL) + .and_then(|b| b.try_into().ok()) + .map(u32::from_le_bytes) + .ok_or_else(bad)?; + if count as usize != SECTIONS { + return Err(bad()); + } + let mut at = MAGIC.len() as u64; + let mut out = Vec::with_capacity(SECTIONS); + for i in 0..SECTIONS { + let e = 16 * i; + let raw = tail + .get(e..e + 8) + .and_then(|b| b.try_into().ok()) + .map(u64::from_le_bytes) + .ok_or_else(bad)?; + let packed = tail + .get(e + 8..e + 16) + .and_then(|b| b.try_into().ok()) + .map(u64::from_le_bytes) + .ok_or_else(bad)?; + out.push((at, packed, raw)); + at = at.checked_add(packed).ok_or_else(bad)?; + } + if at + TAIL as u64 != size { + return Err(bad()); + } + Ok(out) +} + +fn table(bytes: &[u8]) -> Result, PackError> { + let from = bytes.len().checked_sub(TAIL).ok_or(PackError::NotAPack)?; + sections(bytes.get(from..).unwrap_or(&[]), bytes.len() as u64) +} + +fn footer(file: &File) -> Result, PackError> { + let size = file.metadata()?.len(); + let mut head = vec![0u8; MAGIC.len()]; + file.read_exact_at(&mut head, 0)?; + if head != MAGIC { + return Err(PackError::NotAPack); + } + let mut tail = vec![0u8; TAIL]; + file.read_exact_at( + &mut tail, + size.checked_sub(TAIL as u64).ok_or(PackError::NotAPack)?, + )?; + sections(&tail, size) +} + +fn inflate(bytes: &[u8], raw: u64) -> Result, PackError> { + let mut out = Vec::with_capacity(usize::try_from(raw).unwrap_or(0)); + ZlibDecoder::new(bytes).read_to_end(&mut out)?; + if out.len() as u64 != raw { + return Err(PackError::Decode( + "a section is not as long as its table says".into(), + )); + } + Ok(out) +} + +fn decoded_rest(bytes: &[u8]) -> Result { + let format: u32 = bincode::serde::decode_from_slice(bytes, config()) + .map(|(f, _)| f) + .map_err(|e| PackError::Decode(e.to_string()))?; + if format != FORMAT { + return Err(PackError::Format(format)); + } + bincode::serde::decode_from_slice(bytes, config()) + .map(|(pack, _)| pack) + .map_err(|e| PackError::Decode(e.to_string())) +} + +fn column(records: std::io::Result>) -> Result, PackError> { + Ok(Column::mapped(Box::new( + records.map_err(|e| PackError::Decode(e.to_string()))?, + ))) +} + +/// Reads a pack `write_pack` wrote, or one of format 2, whole into memory. pub fn read_pack(bytes: &[u8]) -> Result { - let rest = bytes.strip_prefix(MAGIC).ok_or(PackError::NotAPack)?; + if let Some(rest) = bytes.strip_prefix(MAGIC_2) { + return read_pack_2(rest); + } + if !bytes.starts_with(MAGIC) { + return Err(PackError::NotAPack); + } + let sections = table(bytes)?; + let part = |i: usize| -> Result, PackError> { + let &(at, packed, raw) = sections + .get(i) + .ok_or_else(|| PackError::Decode("a section is missing".into()))?; + let at = usize::try_from(at).map_err(|e| PackError::Decode(e.to_string()))?; + let to = at + usize::try_from(packed).map_err(|e| PackError::Decode(e.to_string()))?; + inflate(bytes.get(at..to).unwrap_or(&[]), raw) + }; + let mut pack = decoded_rest(&part(0)?)?; + pack.index.commits = column(Records::::copied(&part(1)?))?; + pack.index.changes = column(Records::::copied(&part(2)?))?; + pack.index.subjects = column(Records::::copied(&part(3)?))?; + pack.arrival = arrivals(&part(4)?); + Ok(pack) +} + +fn read_pack_2(rest: &[u8]) -> Result { let mut payload = Vec::with_capacity(rest.len().saturating_mul(4)); ZlibDecoder::new(rest).read_to_end(&mut payload)?; let format: u32 = bincode::serde::decode_from_slice(&payload, config()) .map(|(f, _)| f) .map_err(|e| PackError::Decode(e.to_string()))?; - if format != FORMAT { + if format != 2 { return Err(PackError::Format(format)); } bincode::serde::decode_from_slice(&payload, config()) @@ -173,6 +385,106 @@ pub fn read_pack(bytes: &[u8]) -> Result { .map_err(|e| PackError::Decode(e.to_string())) } +/// Unpacks a pack of this format from `from` into `to`, its columns laid out on page boundaries to be mapped by `open_unpacked`, streaming each section so only a little of it is in memory at once. Returns the bytes written; a pack of an older format is `PackError::Format`, to be read whole instead. +pub fn unpack(from: &Path, to: &Path) -> Result { + let file = File::open(from)?; + let mut head = vec![0u8; MAGIC.len().max(MAGIC_2.len())]; + file.read_exact_at(&mut head, 0)?; + if head.starts_with(MAGIC_2) { + return Err(PackError::Format(2)); + } + let sections = footer(&file)?; + let part = to.with_extension("part"); + let out = File::create(&part)?; + let mut placed: Vec<(u64, u64)> = Vec::with_capacity(SECTIONS); + let mut at = PAGE; + for &(from_at, packed, raw) in §ions { + let mut reader = BufReader::with_capacity(1 << 16, &file); + reader.seek(SeekFrom::Start(from_at))?; + let mut z = ZlibDecoder::new(reader.take(packed)); + let mut buf = vec![0u8; 1 << 20]; + let mut written = 0u64; + loop { + let n = z.read(&mut buf)?; + if n == 0 { + break; + } + out.write_all_at(buf.get(..n).unwrap_or(&[]), at + written)?; + written += n as u64; + } + if written != raw { + let _ = std::fs::remove_file(&part); + return Err(PackError::Decode( + "a section is not as long as its table says".into(), + )); + } + placed.push((at, raw)); + at = (at + raw).div_ceil(PAGE) * PAGE; + } + let mut header = UNPACKED.to_vec(); + for (offset, len) in &placed { + header.extend_from_slice(&offset.to_le_bytes()); + header.extend_from_slice(&len.to_le_bytes()); + } + out.write_all_at(&header, 0)?; + out.set_len(at.max(PAGE))?; + out.sync_data()?; + drop(out); + std::fs::rename(&part, to)?; + Ok(at.max(PAGE)) +} + +/// Opens a pack `unpack` laid out, the Index's columns read in place from the file. +pub fn open_unpacked(path: &Path) -> Result { + let file = File::open(path)?; + let mut header = vec![0u8; UNPACKED.len() + 16 * SECTIONS]; + file.read_exact_at(&mut header, 0)?; + if header.get(..UNPACKED.len()) != Some(UNPACKED.as_slice()) { + return Err(PackError::NotAPack); + } + let placed: Vec<(u64, usize)> = (0..SECTIONS) + .filter_map(|i| { + let e = UNPACKED.len() + 16 * i; + let offset = u64::from_le_bytes(header.get(e..e + 8)?.try_into().ok()?); + let len = u64::from_le_bytes(header.get(e + 8..e + 16)?.try_into().ok()?); + Some((offset, usize::try_from(len).ok()?)) + }) + .collect(); + let [rest, commits, changes, subjects, arrival] = placed.as_slice() else { + return Err(PackError::Decode( + "the unpacked pack has no section table".into(), + )); + }; + let mut bytes = vec![0u8; rest.1]; + file.read_exact_at(&mut bytes, rest.0)?; + let mut pack = decoded_rest(&bytes)?; + drop(bytes); + pack.index.commits = column(Records::::open( + &file, + commits.0, + commits.1 / CommitMeta::SIZE, + ))?; + pack.index.changes = column(Records::::open( + &file, + changes.0, + changes.1 / FileChange::SIZE, + ))?; + pack.index.subjects = column(Records::::open(&file, subjects.0, subjects.1))?; + let mut times = vec![0u8; arrival.1]; + file.read_exact_at(&mut times, arrival.0)?; + pack.arrival = arrivals(×); + Ok(pack) +} + +fn arrivals(bytes: &[u8]) -> Vec> { + bytes + .as_chunks::<8>() + .0 + .iter() + .map(|&b| Some(i64::from_le_bytes(b)).filter(|&t| t != NO_ARRIVAL)) + .collect() +} + #[cfg(test)] mod tests { #![allow(clippy::expect_used)] @@ -241,12 +553,19 @@ mod tests { pack.logins, vec![(0, "bob".to_string()), (1, "ada".to_string())] ); + let mut pack = pack; let mut bytes = Vec::new(); - write_pack(&pack, &mut bytes).expect("written"); + write_pack(&mut pack, &mut bytes).expect("written"); assert!(bytes.starts_with(MAGIC)); let read = read_pack(&bytes).expect("read"); assert_eq!(read, pack); - assert!(read.heap_bytes() > read.index.commits.len() * 40); + let dir = tempfile::tempdir().expect("a folder"); + let (packed, unpacked) = (dir.path().join("a.pack"), dir.path().join("a.unpacked")); + std::fs::write(&packed, &bytes).expect("a pack file"); + unpack(&packed, &unpacked).expect("unpacked"); + let mapped = open_unpacked(&unpacked).expect("opened"); + assert!(mapped.index.commits.is_mapped()); + assert_eq!(mapped, pack); let payload = bincode::serde::encode_to_vec(&read, config()).expect("encoded"); assert!(!payload.contains(&b'@')); } diff --git a/crates/commitscape/src/build.rs b/crates/commitscape/src/build.rs index afb0d28..ad88ba5 100644 --- a/crates/commitscape/src/build.rs +++ b/crates/commitscape/src/build.rs @@ -286,7 +286,7 @@ pub fn build(args: ExportArgs) -> anyhow::Result<()> { let span = tracing::info_span!("pack", bytes = Empty); let entered = span.enter(); - let pack = Pack::of( + let mut pack = Pack::of( report, Reading { lineage: loaded.lineage, @@ -302,7 +302,7 @@ pub fn build(args: ExportArgs) -> anyhow::Result<()> { ); let path = args.out.join("pack.bin"); let mut out = BufWriter::with_capacity(1 << 20, std::fs::File::create(&path)?); - write_pack(&pack, &mut out)?; + write_pack(&mut pack, &mut out)?; out.flush()?; drop(out); span.record("bytes", std::fs::metadata(&path)?.len()); diff --git a/crates/commitscape/tests/build.rs b/crates/commitscape/tests/build.rs index e4f8fa1..a598864 100644 --- a/crates/commitscape/tests/build.rs +++ b/crates/commitscape/tests/build.rs @@ -6,7 +6,7 @@ use std::path::{Path, PathBuf}; use std::process::{Command, Stdio}; use commitscape_index::{load, CacheOptions, GixRepo}; -use commitscape_report::pack::{read_pack, MAGIC}; +use commitscape_report::pack::{read_pack, FORMAT, MAGIC}; use serde_json::Value; fn fixture(name: &str) -> PathBuf { @@ -160,7 +160,7 @@ fn build_writes_the_export_the_pack_and_the_meta_from_one_reading() { let bytes = std::fs::read(out.join("pack.bin")).expect("a pack"); assert!(bytes.starts_with(MAGIC)); let pack = read_pack(&bytes).expect("it reads back"); - assert_eq!(pack.format, 2); + assert_eq!(pack.format, FORMAT); assert_eq!(pack.head.as_deref(), manifest["head"].as_str()); assert_eq!( pack.lineage.to_string(), From b87206c2415db82e390efb9a8bc2adcdf2860197 Mon Sep 17 00:00:00 2001 From: Dev Talan <84081651+devchaudhary24k@users.noreply.github.com> Date: Tue, 27 Oct 2026 08:51:43 +0530 Subject: [PATCH 26/82] perf(metrics): count the code map's owners per folder and person The code map found each folder's and file's top person from a list of every (node, commit) pair a Window's changes reach, millions on linux. It now counts (node, person) pairs in a map and keeps the best of each node, most commits first and the lower person id on a tie, as before. Same answers. linux, the standard screens of one head: 249 -> 187 MB peak anon, 3.5 s. The engine works one Window's shared answers out the same way. --- crates/commitscape-metrics/src/code_map.rs | 38 +++++++++------------- 1 file changed, 15 insertions(+), 23 deletions(-) diff --git a/crates/commitscape-metrics/src/code_map.rs b/crates/commitscape-metrics/src/code_map.rs index 7885d33..a521bfa 100644 --- a/crates/commitscape-metrics/src/code_map.rs +++ b/crates/commitscape-metrics/src/code_map.rs @@ -84,7 +84,7 @@ impl Analysis<'_> { let options = self.options(); let mut counted_for = vec![0u32; nodes.len()]; - let mut made: Vec<(usize, AuthorId)> = Vec::new(); + let mut made: HashMap<(usize, AuthorId), u32> = HashMap::new(); for (n, commit) in self.window_commits().iter().enumerate() { if !counts(commit, &options) { continue; @@ -106,36 +106,28 @@ impl Analysis<'_> { break; }; node.churn += 1; - made.push((i, author)); + *made.entry((i, author)).or_default() += 1; at = node.parent; } } } - made.sort_unstable(); - let mut i = 0; - while let Some(&(at, _)) = made.get(i) { - let rest = made.get(i..).unwrap_or_default(); - let len = rest.iter().take_while(|(n, _)| *n == at).count(); - let run = rest.get(..len).unwrap_or_default(); - let mut best: Option = None; - let mut j = 0; - while let Some(&(_, author)) = run.get(j) { - let commits = run - .get(j..) - .unwrap_or_default() - .iter() - .take_while(|(_, a)| *a == author) - .count() as u32; - if commits > best.map_or(0, |b| b.commits) { - best = Some(Owner { author, commits }); + let mut best: Vec> = vec![None; nodes.len()]; + for (&(at, author), &commits) in &made { + if let Some(slot) = best.get_mut(at) { + let better = slot.is_none_or(|b| { + commits > b.commits || (commits == b.commits && author < b.author) + }); + if better { + *slot = Some(Owner { author, commits }); } - j += commits as usize; } - if let Some(node) = nodes.get_mut(at) { - node.owner = best; + } + drop(made); + for (node, owner) in nodes.iter_mut().zip(best) { + if owner.is_some() { + node.owner = owner; } - i += run.len().max(1); } let sizes: Vec<(u64, String)> = nodes.iter().map(|n| (n.lines, n.name.clone())).collect(); From 4adcb263e0c9bac639cf49dab9491b8a90b1383b Mon Sep 17 00:00:00 2001 From: Dev Talan <84081651+devchaudhary24k@users.noreply.github.com> Date: Tue, 27 Oct 2026 08:51:52 +0530 Subject: [PATCH 27/82] perf: store each head's standard screens with its Report and send them first A Build now works out its head's standard screens ahead, in a process of its own (`commitscape screens`, reading the pack's columns in place): the stats, and the overview, activity, people and top of the map of the whole history, the last year and the last 90 days. The Builder stores them as one R2 object each under the Report's prefix before publishing it. The Site sends one of those questions from there, kept in memory like the rest and for good when pinned to the Report, and asks the engine service only for the others; a Report written before is asked once per question. The engine test checks every stored screen is the engine's own answer. linux: 13 answers, 2.1 MB of JSON, 3.5 s and 187 MB peak anon once per head; the engine needed 3.1 s and up to 168 MB more for the first of them on every cold pack. --- apps/builder/src/job.ts | 7 ++ apps/builder/src/screens.test.ts | 30 ++++++++ apps/builder/src/screens.ts | 13 ++++ apps/engine/tests/engine.rs | 25 +++++++ apps/site/src/server/answers.test.ts | 20 +++++- apps/site/src/server/repos.ts | 32 ++++++++- apps/site/src/server/telemetry.ts | 2 +- crates/commitscape-report/src/lib.rs | 1 + crates/commitscape-report/src/report.rs | 23 +----- crates/commitscape-report/src/screens.rs | 89 ++++++++++++++++++++++++ crates/commitscape/src/main.rs | 11 ++- crates/commitscape/src/screens.rs | 37 ++++++++++ packages/server/src/reports.test.ts | 26 +++++++ packages/server/src/reports.ts | 21 ++++++ 14 files changed, 311 insertions(+), 26 deletions(-) create mode 100644 apps/builder/src/screens.test.ts create mode 100644 apps/builder/src/screens.ts create mode 100644 crates/commitscape-report/src/screens.rs create mode 100644 crates/commitscape/src/screens.rs create mode 100644 packages/server/src/reports.test.ts diff --git a/apps/builder/src/job.ts b/apps/builder/src/job.ts index 60cdfd1..4e91001 100644 --- a/apps/builder/src/job.ts +++ b/apps/builder/src/job.ts @@ -23,6 +23,7 @@ import { import type { BuildFailure, Meta } from "@commitscape/data"; import { accountsFor } from "./accounts"; import { replaceIndex } from "./atlas"; +import { storeScreens } from "./screens"; import { cloneUrl, gitEnv, remoteHead } from "./clone"; import type { Config } from "./config"; import type { SummaryPerson } from "./engine"; @@ -297,6 +298,11 @@ async function publishBuild(ctx: JobContext, phases: Phases, buildId: string, ma const lines = made.phase === "full" && made.manifest.lines_mainline; const same = made.phase === "full" && named.reportLines === true && !made.loaded.full && made.before?.id === si && made.before.head === made.manifest.head; const prefix = same && named.reportKey ? named.reportKey : reportPrefix(named.id, made.phase === "full" ? buildId : `${buildId}-quick`); + await phases + .time(`screens ${made.phase}`, "screens", () => + storeScreens(ctx.run, storage, { bin: ctx.cfg.bin, pack: made.pack, dir: made.dir, prefix, env: ctx.cfg.threads ? { COMMITSCAPE_THREADS: String(ctx.cfg.threads) } : {}, timeoutMs: timeLimitOf(ctx.cfg) * 1000, nice: ctx.cfg.nice }), + ) + .catch((e: unknown) => ctx.log(`screens of ${named.id}: ${(e as Error).message}, so the engine service answers them`)); const { stats, people } = made.summary; const meta: Meta = { ...made.summary.meta, lines: lines ? "counted" : continuing ? "counting" : "off" }; const target = await db.transaction(async (tx) => { @@ -342,6 +348,7 @@ async function publishBuild(ctx: JobContext, phases: Phases, buildId: string, ma }); if (!target) { await storage.delete([pack]).catch(() => undefined); + if (prefix !== named.reportKey) await storage.deletePrefix(`${prefix}/`).catch(() => undefined); return null; } if (target.replaced && target.replaced !== pack) await storage.delete([target.replaced]).catch(() => undefined); diff --git a/apps/builder/src/screens.test.ts b/apps/builder/src/screens.test.ts new file mode 100644 index 0000000..6aefe53 --- /dev/null +++ b/apps/builder/src/screens.test.ts @@ -0,0 +1,30 @@ +import { mkdtemp, writeFile } from "node:fs/promises"; +import { tmpdir } from "node:os"; +import { join } from "node:path"; +import { expect, test } from "vitest"; +import { memoryStorage, readEntry } from "@commitscape/server"; +import { storeScreens } from "./screens"; + +test("a Build's standard screens are worked out from its pack and stored with its Report, one answer each", async () => { + const dir = await mkdtemp(join(tmpdir(), "screens-")); + const storage = memoryStorage(); + const asked: string[][] = []; + const run = async (cmd: string, args: string[]) => { + asked.push([cmd, ...args]); + await writeFile(args[3] ?? "", JSON.stringify({ "/api/overview?window=all": { commits: 3 }, "/api/stats?": { bus_factor: 1 } })); + return { code: 0, stderr: "", timedOut: false }; + }; + const pack = join(dir, "pack.bin"); + const stored = await storeScreens(run, storage, { bin: "commitscape", pack, dir, prefix: "reports/gh/1/b1", env: {}, timeoutMs: 1000 }); + expect(stored).toBe(2); + expect(asked).toEqual([["commitscape", "screens", pack, "--out", join(dir, "screens.json")]]); + expect(await readEntry(storage, "reports/gh/1/b1", "/api/overview?window=all")).toEqual({ commits: 3 }); +}); + +test("screens that fail say why and store nothing", async () => { + const dir = await mkdtemp(join(tmpdir(), "screens-")); + const storage = memoryStorage(); + const failing = async () => ({ code: 1, stderr: "not a commitscape pack\n", timedOut: false }); + await expect(storeScreens(failing, storage, { bin: "commitscape", pack: join(dir, "pack.bin"), dir, prefix: "reports/gh/1/b1", env: {}, timeoutMs: 1000 })).rejects.toThrow("working out the screens failed: not a commitscape pack"); + expect(storage.objects.size).toBe(0); +}); diff --git a/apps/builder/src/screens.ts b/apps/builder/src/screens.ts new file mode 100644 index 0000000..3ffb3b9 --- /dev/null +++ b/apps/builder/src/screens.ts @@ -0,0 +1,13 @@ +import { readFile } from "node:fs/promises"; +import { join } from "node:path"; +import { storeEntries, type Storage } from "@commitscape/server"; +import type { Runner } from "./run"; + +/** Works out the standard screens of a Build's pack with `commitscape screens` and stores them with its Report, so the Site sends them without asking the engine service. Returns how many it stored. */ +export async function storeScreens(run: Runner, storage: Storage, made: { bin: string; pack: string; dir: string; prefix: string; env: NodeJS.ProcessEnv; timeoutMs: number; nice?: number }): Promise { + const out = join(made.dir, "screens.json"); + const ran = await run(made.bin, ["screens", made.pack, "--out", out], made.env, made.timeoutMs, made.nice === undefined ? {} : { nice: made.nice }); + if (ran.code !== 0) throw new Error(ran.timedOut ? "working out the screens took too long" : `working out the screens failed: ${ran.stderr.trim().split("\n").at(-1) ?? ""}`); + const data = JSON.parse(await readFile(out, "utf8")) as Record; + return storeEntries(storage, made.prefix, data); +} diff --git a/apps/engine/tests/engine.rs b/apps/engine/tests/engine.rs index 7f951b4..3ce6e93 100644 --- a/apps/engine/tests/engine.rs +++ b/apps/engine/tests/engine.rs @@ -333,6 +333,31 @@ async fn a_pack_of_the_format_before_answers_as_the_same_pack_does_unpacked() { ); } +#[tokio::test] +async fn the_standard_screens_worked_out_ahead_are_the_engines_answers() { + let s = setup().await; + let screens = commitscape_report::screens::standard(&pack("acme/rocket")); + assert_eq!(screens.len(), 13); + for (key, want) in screens { + let (path, query) = key.split_once('?').unwrap(); + let params: serde_json::Map = query + .split('&') + .filter(|q| !q.is_empty()) + .map(|q| { + let (k, v) = q.split_once('=').unwrap(); + (k.to_string(), json!(v)) + }) + .collect(); + let (status, got) = ask( + &s.app, + json!({ "pack": ROCKET, "path": path, "params": params }), + ) + .await; + assert_eq!(status, StatusCode::OK, "{key}"); + assert_eq!(got, want, "{key}"); + } +} + #[tokio::test] async fn questions_with_no_answer_say_so() { let s = setup().await; diff --git a/apps/site/src/server/answers.test.ts b/apps/site/src/server/answers.test.ts index d0fa496..5060731 100644 --- a/apps/site/src/server/answers.test.ts +++ b/apps/site/src/server/answers.test.ts @@ -2,7 +2,7 @@ import { brotliDecompressSync, gunzipSync, gzipSync } from "node:zlib"; import { eq } from "drizzle-orm"; import { describe, expect, test } from "vitest"; import { key, limited, OVERVIEW_TOP, topOf, type People, type Params } from "@commitscape/data"; -import { now, schema, seedIndex, sha256, storeReport, type SeedIndex } from "@commitscape/server"; +import { now, schema, seedIndex, sha256, storeEntries, storeReport, type SeedIndex } from "@commitscape/server"; import { fakeEngine, packed, testDeps, viewer, type Asked } from "#/test/deps"; import { forgetPack, packOf, wholeDays } from "./answers"; import { NoPack } from "./engine-service"; @@ -67,6 +67,24 @@ describe("a Report's answers as plain JSON", () => { expect(engine.asked).toHaveLength(1); }); + test("a Build stored with its Report are sent without asking the engine service, cut the same way and kept for good when pinned; other questions still ask it", async () => { + const { deps, engine } = await stored(); + await deps.db.insert(repositories).values({ id: "acme/stored", owner: "acme", name: "stored", githubId: 3, status: "ok", factsAt: now(), reportKey: "reports/gh/acme/stored/b2", reportAt: 900 }); + await packed(deps.db, await seedIndex(deps.db, "acme/stored", seed)); + await storeEntries(deps.storage, "reports/gh/acme/stored/b2", { [overview]: { window: "all", commits: 9 }, [key("/api/people", { window: "all" })]: people }); + const sent = await reportAnswer(deps, viewer(), "acme", "stored", key("/api/overview", { window: "all", top: OVERVIEW_TOP }), 900); + expect(sent.cacheControl).toBe("public, max-age=31536000, immutable"); + expect(await brotliJson(sent)).toEqual({ window: "all", commits: 9 }); + expect(await reportEntry(deps, viewer(), "acme", "stored", overview)).toEqual({ window: "all", commits: 9 }); + const cut = (await brotliJson(await reportAnswer(deps, viewer(), "acme", "stored", key("/api/people", { window: "all", top: 1 }), 900))) as People & { count: number }; + expect([cut.people.length, cut.count]).toEqual([1, 2]); + expect((await reportAnswer(deps, viewer(), "acme", "stored", key("/api/overview", { window: "all", top: OVERVIEW_TOP }), 900, sent.etag)).packed).toBeNull(); + expect(engine.asked).toEqual([]); + expect(await reportEntry(deps, viewer(), "acme", "stored", key("/api/overview", { window: "30d" }))).toEqual({ window: "30d", commits: 3 }); + expect(await reportEntry(deps, viewer(), "acme", "stored", key("/api/activity", { window: "all" }))).toBeNull(); + expect(engine.asked.map((a) => a.body.path)).toEqual(["/api/overview", "/api/activity"]); + }); + test("answer an ETag they gave with no body, whatever params the answer does not depend on, and another once the pack is another", async () => { const { deps, si, engine } = await stored(); const sent = await reportAnswer(deps, viewer(), "acme", "rocket", overview, 500); diff --git a/apps/site/src/server/repos.ts b/apps/site/src/server/repos.ts index 214ca6e..42a1b12 100644 --- a/apps/site/src/server/repos.ts +++ b/apps/site/src/server/repos.ts @@ -6,6 +6,7 @@ import { cachedGet, currentAt, installationOf, + isStoredScreen, now, PRIORITY, queueBuild, @@ -29,7 +30,7 @@ import { lendToken } from "@commitscape/server"; import { apiOf, askGitHub, GITHUB_TTL, type GitHubConfig } from "./github"; import { SiteError } from "./http"; import { allow, RANGE_LIMIT } from "./limits"; -import { askedKey, isKept, isRange, keptEntry, keptText, packedOf, withPack, wholeDays } from "./answers"; +import { askedKey, isKept, isRange, keptEntry, keptText, packedOf, withPack, wholeDays, type Kept } from "./answers"; import { answerTimed } from "./telemetry"; import type { EngineService } from "./engine-service"; import { jsonOf, type Packed } from "./packed"; @@ -333,6 +334,22 @@ const fromReport = (deps: Deps, reportKey: string, asked: ReturnType(); +const UNSTORED_MAX = 50_000; + +/** A standard screen a Build stored with the Report, when the question is one and it is there: read once per Report and question, and kept; a Report written before Builds stored them is asked once. */ +async function storedScreen(deps: Deps, reportKey: string | null, asked: ReturnType, browser = false): Promise { + if (!reportKey || !isStoredScreen(asked.path, asked.params)) return null; + const at = `${reportKey}#${keyOf(asked.path, withoutTop(asked.params))}`; + if (unstored.has(at)) return null; + const kept = await keptEntry(`${reportKey}#${asked.key}`, fromReport(deps, reportKey, asked), browser); + if (!kept) { + if (unstored.size >= UNSTORED_MAX) unstored.clear(); + unstored.add(at); + } + return kept; +} + /** One answer of a pack as JSON packed to send, asked of the engine service once per pack and question; a range of dates not asked before counts against the address's limit. Null when there is no such answer. */ function packedAnswer(deps: Deps, viewer: Viewer, pack: string, asked: ReturnType): Promise { const kept = `${pack}#${asked.key}`; @@ -352,6 +369,11 @@ export async function reportEntry(deps: Deps, viewer: Viewer, owner: string, nam const started = performance.now(); const row = await readable(deps, viewer, owner, name); const asked = questionOf(key); + const stored = await storedScreen(deps, row.reportKey, asked); + if (stored) { + answerTimed(asked.path, "stored", performance.now() - started); + return stored.value; + } const found = await withPack(deps.db, row.indexId, (pack) => packedAnswer(deps, viewer, pack, asked), row.reportAt); if (found) { if (found.value === null) return null; @@ -374,6 +396,14 @@ export async function reportAnswer(deps: Deps, viewer: Viewer, owner: string, na const pinned = at !== null && at === row.reportAt; const cacheControl = row.isPrivate ? "private, max-age=60" : pinned ? `public, max-age=${YEAR}, immutable` : "public, max-age=60"; const tagOf = (version: string) => `"${sha256(`${version}\n${asked.key}`).slice(0, 32)}"`; + if (row.reportKey && isStoredScreen(asked.path, asked.params)) { + const etag = tagOf(row.reportKey); + const stored = matches(seen, etag) ? null : await storedScreen(deps, row.reportKey, asked, true); + if (matches(seen, etag) || stored) { + answerTimed(asked.path, "stored", performance.now() - started); + return { packed: stored ? await packedOf(stored) : null, etag, cacheControl }; + } + } const found = await withPack(deps.db, row.indexId, async (pack) => { const etag = tagOf(pack); if (matches(seen, etag)) return { packed: null, etag }; diff --git a/apps/site/src/server/telemetry.ts b/apps/site/src/server/telemetry.ts index 75b466e..5489a9b 100644 --- a/apps/site/src/server/telemetry.ts +++ b/apps/site/src/server/telemetry.ts @@ -9,7 +9,7 @@ export const SERVER_FN_ROUTE = "/_serverFn"; export type EngineOutcome = "ok" | "no_answer" | "no_pack" | "refused" | "failed" | "timeout" | "unreachable"; -export type AnswerSource = "engine" | "report" | "unchanged"; +export type AnswerSource = "engine" | "report" | "stored" | "unchanged"; type Scored = { route: string; literal: number; length: number; splat: boolean }; diff --git a/crates/commitscape-report/src/lib.rs b/crates/commitscape-report/src/lib.rs index cbf0cad..5f9cb0e 100644 --- a/crates/commitscape-report/src/lib.rs +++ b/crates/commitscape-report/src/lib.rs @@ -2,4 +2,5 @@ pub mod api; pub mod export; pub mod pack; pub mod report; +pub mod screens; pub mod universe; diff --git a/crates/commitscape-report/src/report.rs b/crates/commitscape-report/src/report.rs index 78e08dc..feec5e1 100644 --- a/crates/commitscape-report/src/report.rs +++ b/crates/commitscape-report/src/report.rs @@ -6,6 +6,7 @@ use rayon::prelude::*; use serde::Serialize; use crate::api; +use crate::screens::key; const PROFILES: usize = 30; @@ -123,28 +124,6 @@ struct Inlined { stats: api::Stats, } -fn key(path: &str, params: &[(&str, &str)]) -> String { - let mut params = params.to_vec(); - params.sort(); - let query: Vec = params - .iter() - .map(|(k, v)| format!("{k}={}", encode(v))) - .collect(); - format!("{path}?{}", query.join("&")) -} - -fn encode(s: &str) -> String { - let mut out = String::with_capacity(s.len()); - for b in s.bytes() { - if b.is_ascii_alphanumeric() || b"-_.!~*'()".contains(&b) { - out.push(b as char); - } else { - out.push_str(&format!("%{b:02X}")); - } - } - out -} - fn value(answer: impl Serialize) -> Option { serde_json::to_value(answer).ok() } diff --git a/crates/commitscape-report/src/screens.rs b/crates/commitscape-report/src/screens.rs new file mode 100644 index 0000000..18844c4 --- /dev/null +++ b/crates/commitscape-report/src/screens.rs @@ -0,0 +1,89 @@ +use std::collections::HashMap; + +use commitscape_core::AuthorId; +use commitscape_metrics::{Analysis, Span}; +use serde::Serialize; +use serde_json::Value; + +use crate::api; +use crate::pack::Pack; + +/// The Windows whose screens are worked out ahead for every head. +pub const SPANS: [Span; 3] = [Span::All, Span::Year, Span::Quarter]; + +fn value(answer: impl Serialize) -> Option { + serde_json::to_value(answer).ok() +} + +/// The key the Site asks an answer by: its path, then its parameters sorted and escaped as `encodeURIComponent` escapes them. +pub fn key(path: &str, params: &[(&str, &str)]) -> String { + let mut params = params.to_vec(); + params.sort_unstable(); + let query: Vec = params + .iter() + .map(|(k, v)| { + let mut out = format!("{k}="); + for b in v.bytes() { + if b.is_ascii_alphanumeric() || b"-_.!~*'()".contains(&b) { + out.push(b as char); + } else { + out.push_str(&format!("%{b:02X}")); + } + } + out + }) + .collect(); + format!("{path}?{}", query.join("&")) +} + +/// The standard screens of a pack's head, as the engine answers them before `top` cuts their lists: its stats, and the overview, activity, people and top of the map for the whole history, the last year and the last 90 days. One Window is worked out at a time. +pub fn standard(pack: &Pack) -> Vec<(String, Value)> { + let colours: HashMap = pack + .colours + .iter() + .map(|&(id, colour)| (AuthorId(id), colour)) + .collect(); + let login_of: HashMap = pack + .logins + .iter() + .map(|(id, login)| (AuthorId(*id), login.clone())) + .collect(); + let mut out = Vec::new(); + if let Some(stats) = value(api::Stats::of( + &pack.index, + pack.anchor, + pack.options, + &pack.releases, + )) { + out.push((key("/api/stats", &[]), stats)); + } + for span in SPANS { + let label = span.label(); + let a = Analysis::new(&pack.index, span.window(pack.anchor), pack.options); + let shared = api::Shared::of(&a); + let cx = api::Context { + window: label, + colours: &colours, + releases: &pack.releases, + lines_counted: pack.lines_mainline, + login_of: &login_of, + emails: false, + }; + let window = [("window", label)]; + let answers = [ + ("/api/overview", value(api::Overview::of(&a, &cx, &shared))), + ("/api/activity", value(api::Activity::of(&a, &cx, &shared))), + ("/api/people", value(api::People::of(&a, &cx, &shared))), + ( + "/api/map", + api::MapLevel::of(&a, &cx, &shared, "").and_then(value), + ), + ]; + for (path, answer) in answers { + if let Some(answer) = answer { + out.push((key(path, &window), answer)); + } + } + } + out +} diff --git a/crates/commitscape/src/main.rs b/crates/commitscape/src/main.rs index 0acbc0e..23fe374 100644 --- a/crates/commitscape/src/main.rs +++ b/crates/commitscape/src/main.rs @@ -4,6 +4,7 @@ mod events; mod format; mod health; mod mark; +mod screens; mod share; mod signatures; mod surviving; @@ -80,6 +81,11 @@ enum Command { /// meta, stats and people. #[command(hide = true)] Build(build::ExportArgs), + /// Work out the standard screens of a pack a Build wrote: the overview, + /// activity, people and top of the map of the whole history, the last + /// year and the last 90 days, and the stats, as one JSON object. + #[command(hide = true)] + Screens(screens::ScreensArgs), } #[derive(Args)] @@ -225,7 +231,9 @@ fn counted_as(command: Option<&Command>) -> Option<&'static str> { Some(Command::Health(_)) => Some("health"), Some(Command::Surviving(_)) => Some("surviving"), Some(Command::Report(_)) => Some("report"), - Some(Command::Signatures(_) | Command::Export(_) | Command::Build(_)) => None, + Some( + Command::Signatures(_) | Command::Export(_) | Command::Build(_) | Command::Screens(_), + ) => None, } } @@ -257,6 +265,7 @@ fn run(cli: Cli) -> anyhow::Result<()> { Some(Command::Signatures(args)) => signatures::run(args), Some(Command::Export(args)) => build::export(args), Some(Command::Build(args)) => build::build(args), + Some(Command::Screens(args)) => screens::run(args), None => share::run(cli.share), } } diff --git a/crates/commitscape/src/screens.rs b/crates/commitscape/src/screens.rs new file mode 100644 index 0000000..b98158e --- /dev/null +++ b/crates/commitscape/src/screens.rs @@ -0,0 +1,37 @@ +use std::fs::File; +use std::io::{BufWriter, Write}; +use std::path::PathBuf; + +use clap::Args; +use commitscape_report::pack::{open_unpacked, read_pack, unpack, PackError}; +use commitscape_report::screens::standard; + +#[derive(Args)] +pub struct ScreensArgs { + /// The pack a Build wrote. + pack: PathBuf, + + /// Where to write the screens: one JSON object of answers, each under + /// the key the Site asks it by. + #[arg(long, value_name = "FILE")] + out: PathBuf, +} + +/// Works out the standard screens of a pack's head, reading the pack's columns in place, and writes them as one JSON object. +pub fn run(args: ScreensArgs) -> anyhow::Result<()> { + let unpacked = args.out.with_extension("unpacked"); + let pack = match unpack(&args.pack, &unpacked) { + Ok(_) => { + let opened = open_unpacked(&unpacked); + let _ = std::fs::remove_file(&unpacked); + opened? + } + Err(PackError::Format(_)) => read_pack(&std::fs::read(&args.pack)?)?, + Err(e) => return Err(e.into()), + }; + let screens: serde_json::Map = standard(&pack).into_iter().collect(); + let mut out = BufWriter::new(File::create(&args.out)?); + serde_json::to_writer(&mut out, &screens)?; + out.flush()?; + Ok(()) +} diff --git a/packages/server/src/reports.test.ts b/packages/server/src/reports.test.ts new file mode 100644 index 0000000..f904523 --- /dev/null +++ b/packages/server/src/reports.test.ts @@ -0,0 +1,26 @@ +import { describe, expect, it } from "vitest"; +import { isStoredScreen, readEntry, storeEntries } from "./reports"; +import { memoryStorage } from "./storage"; + +describe("screens stored with a Report", () => { + it("are the stats and the four screens of the stored Windows, whatever top asks for", () => { + expect(isStoredScreen("/api/stats", {})).toBe(true); + expect(isStoredScreen("/api/overview", { window: "all", top: "8" })).toBe(true); + expect(isStoredScreen("/api/people", { window: "1y" })).toBe(true); + expect(isStoredScreen("/api/map", { window: "90d" })).toBe(true); + expect(isStoredScreen("/api/activity", { window: "30d" })).toBe(false); + expect(isStoredScreen("/api/map", { window: "all", path: "src" })).toBe(false); + expect(isStoredScreen("/api/overview", { from: "0", to: "86399" })).toBe(false); + expect(isStoredScreen("/api/person", { window: "all", id: "1" })).toBe(false); + expect(isStoredScreen("/api/stats", { window: "all" })).toBe(false); + }); + + it("read back one by one under the Report's prefix", async () => { + const storage = memoryStorage(); + const written = await storeEntries(storage, "reports/gh/1/b", { "/api/overview?window=all": { commits: 3 }, "/api/stats?": { bus_factor: 1 } }); + expect(written).toBe(2); + expect(await readEntry(storage, "reports/gh/1/b", "/api/overview?window=all")).toEqual({ commits: 3 }); + expect(await readEntry(storage, "reports/gh/1/b", "/api/stats?")).toEqual({ bus_factor: 1 }); + expect(await readEntry(storage, "reports/gh/1/b", "/api/people?window=all")).toBeNull(); + }); +}); diff --git a/packages/server/src/reports.ts b/packages/server/src/reports.ts index de69b24..cbc99ef 100644 --- a/packages/server/src/reports.ts +++ b/packages/server/src/reports.ts @@ -45,6 +45,27 @@ export async function storeReport(storage: Storage, prefix: string, gzipped: Uin return { index, bytes }; } +/** The Windows whose screens every Build works out ahead and stores with its Report. */ +export const SCREEN_WINDOWS = ["all", "1y", "90d"]; + +const SCREENS = new Set(["/api/overview", "/api/activity", "/api/people", "/api/map"]); + +/** Whether a question, without its `top`, is one of the screens a Build stores with its Report: the stats, or the overview, activity, people or top of the map of a stored Window. */ +export function isStoredScreen(path: string, params: Record): boolean { + const asked = Object.keys(params).filter((k) => k !== "top"); + if (path === "/api/stats") return asked.length === 0; + return SCREENS.has(path) && asked.length === 1 && asked[0] === "window" && SCREEN_WINDOWS.includes(String(params.window)); +} + +/** Stores answers a Build worked out ahead with its Report, one R2 object per answer, read back by `readEntry`. */ +export async function storeEntries(storage: Storage, prefix: string, data: Record): Promise { + const writes: [string, Uint8Array][] = Object.entries(data).map(([k, value]) => [entryKey(prefix, k), gz(value)]); + for (let i = 0; i < writes.length; i += 16) { + await Promise.all(writes.slice(i, i + 16).map(([key, body]) => storage.put(key, body, { type: "application/json", encoding: "gzip" }))); + } + return writes.length; +} + const cache = new LRUCache({ maxSize: 256 * 1024 * 1024 }); async function readJson(storage: Storage, key: string): Promise { From fb6dc77c0ccc4f9cc8ede397c695840a0982d5db Mon Sep 17 00:00:00 2001 From: Dev Talan <84081651+devchaudhary24k@users.noreply.github.com> Date: Tue, 27 Oct 2026 09:00:49 +0530 Subject: [PATCH 28/82] ci: deploy the engine service before the Builder The engine service reads every pack format a Builder of the same or an earlier release writes, and needs nothing the Builder's migrations add, so it goes first: a Builder that starts writing pack format 3 then never publishes a pack the running engine service cannot read. --- .github/workflows/docker.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/docker.yml b/.github/workflows/docker.yml index 8ae7a91..eff6499 100644 --- a/.github/workflows/docker.yml +++ b/.github/workflows/docker.yml @@ -143,7 +143,7 @@ jobs: SITE: ${{ secrets.DOKPLOY_SITE_WEBHOOK }} ENGINE: ${{ secrets.DOKPLOY_ENGINE_WEBHOOK }} run: | - for app in BUILDER ENGINE SITE; do + for app in ENGINE BUILDER SITE; do hook="${!app}" if [ -z "$hook" ]; then echo "::notice::DOKPLOY_${app}_WEBHOOK is not set: not deployed." From 2137525c1ffe7f2f4ce7fcd75d977f0c18ffbc06 Mon Sep 17 00:00:00 2001 From: Dev Talan <84081651+devchaudhary24k@users.noreply.github.com> Date: Tue, 27 Oct 2026 09:00:49 +0530 Subject: [PATCH 29/82] docs: mapped columns, pack format 3 and stored screens How the cache keeps the Index's columns, how the engine service reads a pack in place, which screens a Build stores with its Report and how the Site sends them, the ownership counts as measured now, and the upgrade order: the engine service first, since only it reads the Builder's new packs. --- CONTEXT.md | 4 ++-- DEPLOY.md | 47 ++++++++++++++++++++++++--------------- docs/index-in-postgres.md | 7 ++++-- docs/working.md | 39 ++++++++++++++++++++++++-------- 4 files changed, 66 insertions(+), 31 deletions(-) diff --git a/CONTEXT.md b/CONTEXT.md index 487dba6..154c95a 100644 --- a/CONTEXT.md +++ b/CONTEXT.md @@ -49,7 +49,7 @@ A repository's Index as the Site keeps it, in Postgres: every commit with its Ch _Avoid_: index tables, commit store. **Pack**: -A repository's Index at one head as the engine service reads it, with its people already resolved to their GitHub logins and colours, its Mainline, and no email address. Each publish of a Build writes a new one, which never changes; the Stored Index names the current one. +A repository's Index at one head as the engine service reads it, with its people already resolved to their GitHub logins and colours, its Mainline, and no email address. Each publish of a Build writes a new one, which never changes; the Stored Index names the current one. Compressed in R2; the engine service unpacks it once onto its disk and reads its columns in place. _Avoid_: snapshot, bundle, cache, export. **Mainline**: @@ -135,7 +135,7 @@ A Card placed in a README or elsewhere by its address, served from a stored copy _Avoid_: badge, widget, stats image. **Report**: -A repository's story told screen by screen (the Overview, Activity, People, a person, the Map, a file) for a Window. On the Site the engine service answers each screen from the repository's Pack, for any Window, and its Commit List is rows in the Stored Index. A Shared Report carries every screen's answer for its Windows, written ahead of time on someone's machine, and answers only what it was written with. +A repository's story told screen by screen (the Overview, Activity, People, a person, the Map, a file) for a Window. On the Site the standard screens of the Windows all, 1y and 90d are worked out from the repository's Pack once per head and stored with the Report; the engine service answers every other screen from the Pack, for any dates, and its Commit List is rows in the Stored Index. A Shared Report carries every screen's answer for its Windows, written ahead of time on someone's machine, and answers only what it was written with. _Avoid_: export, snapshot, dump. **Shared Report**: diff --git a/DEPLOY.md b/DEPLOY.md index 61cb990..d2e003b 100644 --- a/DEPLOY.md +++ b/DEPLOY.md @@ -268,8 +268,8 @@ Optional, with their defaults: | Variable | Default | What | |---|---|---| -| `PACK_DISK_GB` | 10 | Packs kept on the volume; past this, the least recently used are deleted. Fractions are allowed | -| `PACK_MEMORY_MB` | 512 | Packs kept decoded in memory, the least recently used first to go (facebook/react's is about 17 MB). Its answers are kept besides, up to 128 MB | +| `PACK_DISK_GB` | 10 | Packs kept on the volume; past this, the least recently used are deleted. Fractions are allowed. A pack is kept unpacked, its columns laid out to be read in place, about 2.6 times its size in R2 (linux: 107 MB in R2, 275 MB unpacked) | +| `PACK_MEMORY_MB` | 512 | Packs kept open in memory, the least recently used first to go. Only what a pack keeps on the heap counts, not the columns read in place from the volume (linux: about 52 MB, facebook/react: a few MB). Its answers are kept besides, up to 128 MB | | `COMMITSCAPE_THREADS` | every core, up to 16 | Threads working out answers, and answers worked out at once | | `PORT` | 4100 | The port it listens on | | `PACK_DIR` | `/data/packs` | Where packs are kept on disk | @@ -448,7 +448,9 @@ record proxied, the Site reads the visitor's address from When a release is made, the Docker images workflow pushes `latest` and `vX.Y.Z` and then calls a Dokploy deploy webhook for each application, in -this order: Builder, engine service, Site. In each application's +this order: engine service, Builder, Site. The engine service goes first +because it reads every pack format a Builder of the same or an earlier +release writes. In each application's Deployments tab in Dokploy, copy its webhook URL into this repository's secrets on GitHub: @@ -482,27 +484,36 @@ needs. In this order: ## Upgrading to the Repo State -The release that keeps each repository's Repo State (ADR-0030) deploys in -the usual order, and works without new settings. In this order: +The release that keeps each repository's Repo State (ADR-0030) works +without new settings, and deploys the engine service first: its Builder +writes packs of a new format (3) that only this engine service reads. In +this order: -1. Deploy the Builder. Its migrations add `repositories.checked_at` and +1. Deploy the engine service. It reads packs of both formats; the old ones + it decodes as before, the new ones it unpacks once on its volume and + reads in place. It adds `/v1/commits/search` and matches words in + `/v1/commits/under`. +2. Deploy the Builder. Its migrations add `repositories.checked_at` and the `repo_states` table. From then on it ends a Build early when the - head has not moved, makes each pack's Atlas itself, counts everyone's - Surviving Lines once per new Report, and moves a repository to a lean - clone once its lines and Surviving Lines are counted. The first Build of - each repository makes its commit graph once (linux: 2.6 s). -2. To keep Repo States in R2 as well, set `STATE_KEY` on the Builder (a + head has not moved, makes each pack's Atlas and standard screens itself, + counts everyone's Surviving Lines once per new Report, and moves a + repository to a lean clone once its lines and Surviving Lines are + counted. The first Build of each repository makes its commit graph and + its Index's columns once (linux: 2.6 s and 13 s). +3. To keep Repo States in R2 as well, set `STATE_KEY` on the Builder (a secret of 32 characters or more, kept only there, never changed after) before or with this deploy. Without it the States live on its disk only. -3. Deploy the engine service: it adds `/v1/commits/search` and matches - words in `/v1/commits/under`. -4. Deploy the Site: it searches the Commit List's words through the engine - service, counts a Report found unchanged as current, and no longer - serves `git/log.json`. +4. Deploy the Site: it sends a Report's standard screens (the stats, and + the overview, activity, people and top of the map of all history, the + last year and the last 90 days) from what the Builder stored with it, + asks the engine service for the rest, searches the Commit List's words + through the engine service, counts a Report found unchanged as current, + and no longer serves `git/log.json`. Reports published before ask the + engine service as before until their next Build. 5. Seeds' Surviving Lines rows of older Reports stay; each repository's next Report gets everyone's. The first count of a large repository - (linux: about 45 minutes of both cores, in budgeted runs) shows - "counting" until it is whole. + (linux: about 20 minutes of both cores) shows "counting" until it is + whole. ## Moving to a new R2 bucket diff --git a/docs/index-in-postgres.md b/docs/index-in-postgres.md index e4319c2..1b1907a 100644 --- a/docs/index-in-postgres.md +++ b/docs/index-in-postgres.md @@ -10,8 +10,11 @@ Every phase is built, and [ADR-0028](./adr/0028-the-engine-service-answers-from- changed where answers come from. The Stored Index is now for row lookups: the Commit List and its search, a person's commits on a day, branches, tags, pull requests and the files at HEAD. Every screen's answer comes from -the engine service, from the pack each Build writes beside the rows, and -the Site holds no Stored Index in memory. The four daily summary tables were +the pack each Build writes beside the rows, and the Site holds no Stored +Index in memory: since 2026-10-27 a Report's standard screens (all, 1y and +90d) are worked out from the pack once per head and stored in R2 with the +Report, and the engine service answers the rest, reading the pack's +columns in place. The four daily summary tables were dropped with export format 3: nothing read them. Since 2026-10-27 a search of the Commit List by its words asks the engine service which commits match (it holds every subject), and reads only that page's rows from Postgres; the diff --git a/docs/working.md b/docs/working.md index aed028e..f4f4829 100644 --- a/docs/working.md +++ b/docs/working.md @@ -112,13 +112,16 @@ to a repository the App is installed on, the nightly seeds and person of it marked counting meanwhile. It reuses the full clone and the same accounts, so person ids match, and works out the head's Ownership of lines: kept in the cache as `ownership` (runs of lines per file, with - the commit each came from), a later head along the first-parent line + the commit each came from, read in place; the renames found on the way + beside it in `ownership.moves`), a later head along the first-parent line keeps every file no first-parent commit since changed and blames only the rest, stopping wherever a walk reaches the earlier head. Everyone's Surviving Lines are then a sum over it. Ownership not whole within the budget is kept and the count is queued again with twice the budget; a person asked for on the Site gets the same count for everyone. react: - 1,997 people in 18.5 s from nothing, 0.3 s for a head 20 commits on. + 1,997 people in 16.4 s from nothing, 0.3 s for a head 20 commits on; + linux: 31,000 people in 18 minutes from nothing, 5 minutes for a head + 17,000 commits on. Every publish sends `pg_notify`, so the Site forgets the old pack key and warms the new pack in the engine service. If the full phase fails after the @@ -134,14 +137,24 @@ queued ones whose job was lost. - Every page needs a signed-in person, except the sign-in page, `/privacy`, Shared Reports and shared Proof of Work; Cards, webhooks and `/api/health` answer anyone (`apps/site/src/server/gate.ts`). -- A screen's answer, for any dates, comes from the engine service +- A Report's standard screens (the stats, and the Overview, Activity, + People and top of the Map of all history, the last year and the last 90 + days) are worked out once per head: the Builder runs `commitscape screens` + on the pack, in a process of its own that takes an engine slot, and + stores each answer under the Report's prefix in R2 before publishing it + (`apps/builder/src/screens.ts`). The Site sends those first, kept for good + when the request is pinned to the Report, with ETags from the Report's + key (`storedScreen` in `apps/site/src/server/repos.ts`). +- Any other screen's answer, for any dates, comes from the engine service (`apps/site/src/server/engine-service.ts`), asked with the key of the repository's pack (`stored_indexes.pack`, remembered for ten seconds). - The engine service fetches the pack from R2 once and keeps it on disk and - decoded in memory, and keeps its answers. The Site keeps only the answers - it sent, packed with brotli, and its ETags come from the pack key. A - repository whose Stored Index has no pack yet reads its old Report's - answers from R2 until `node builder.mjs rebuild` has it built again. + The engine service fetches the pack from R2 once, unpacks it on its disk + with its columns laid out to be read in place (pack format 3; packs of + format 2 are decoded into memory as before), and keeps its answers. The + Site keeps only the answers it sent, packed with brotli, and its ETags + come from the pack key. A repository whose Stored Index has no pack yet + reads its old Report's answers from R2 until `node builder.mjs rebuild` + has it built again. - The Commits screen asks `GET /api/reports///commits` for 50 rows at a time: `q`, `person`, `kind`, `from`, `to`, `cursor`, `limit`, read from `index_commits` and cached by ETag. A search by words, and @@ -192,7 +205,15 @@ Mainline that moved and the Lines Changed counted since. Beside the Index the cache keeps its commit graph (`graph`: each commit's parents by place, and the Mainline of the head it was last worked out for); a Build brings it up to date from the commits added since, so the Mainline and the commits -the frontier reaches come from memory instead of from walking git. `--anchor SECONDS` ends every Window there +the frontier reaches come from memory instead of from walking git. Each +generation of the cache also keeps the Index's long arrays (commits, +changes, subjects, and which commits' Lines Changed are settled) in a +column file (`.cols`), laid out to be mapped and read in place: +a warm Build reads it without decoding, a Build with new commits streams +the old file and the new commits into the next one, and the line pass +counts only the commits not settled and writes them back in place. +`commitscape screens PACK --out FILE` works out a pack's standard screens +as one JSON object. `--anchor SECONDS` ends every Window there instead of now, so the output comes out the same every time. `COMMITSCAPE_SITE` points `share` at another Site. From d90fa0c14bbff92d9fd3bc448cb0cc5bf45b8381 Mon Sep 17 00:00:00 2001 From: Dev Talan <84081651+devchaudhary24k@users.noreply.github.com> Date: Tue, 27 Oct 2026 09:31:56 +0530 Subject: [PATCH 30/82] perf(index): blame in 16 MB batches, and find moves without file text Finding a commit's moves kept every deleted file's text beside its similarity spans, though only the spans are compared; on linux's large renames that was 104 MB at once. It now keeps the spans alone. A blame walk holds 16 MB of head text instead of 32 MB, finishing as many files in the same time. linux everyone from nothing, first 300 s, 2 threads: median 260 -> 235 MB anon, peak 389 -> 364 MB, 30,775 -> 31,041 files. The whole count still peaks near 440 MB, somewhere else in the walk. --- crates/commitscape-index/src/blame.rs | 2 +- crates/commitscape-index/src/surviving.rs | 20 ++++++++++++++++---- 2 files changed, 17 insertions(+), 5 deletions(-) diff --git a/crates/commitscape-index/src/blame.rs b/crates/commitscape-index/src/blame.rs index c3b1580..5e4378d 100644 --- a/crates/commitscape-index/src/blame.rs +++ b/crates/commitscape-index/src/blame.rs @@ -12,7 +12,7 @@ pub(crate) const UNMAPPED: u32 = u32::MAX; const MAX_THREADS: usize = 8; -pub const BATCH_BYTES: usize = 32 << 20; +pub const BATCH_BYTES: usize = 16 << 20; #[derive(Debug, Clone, PartialEq, Eq)] pub struct BlameFile { diff --git a/crates/commitscape-index/src/surviving.rs b/crates/commitscape-index/src/surviving.rs index 38e5df9..af159c6 100644 --- a/crates/commitscape-index/src/surviving.rs +++ b/crates/commitscape-index/src/surviving.rs @@ -1,16 +1,17 @@ use std::collections::{HashMap, HashSet}; use std::path::PathBuf; +use std::rc::Rc; use std::time::{Duration, Instant}; use commitscape_core::{ AuthorId, ChangeKind, CommitFlags, CommitMeta, FileClass, FileId, Index, Oid, }; -use crate::blame::{blame_in_threads, spans_at, BlameFile, Walked, BATCH_BYTES}; +use crate::blame::{blame_in_threads, BlameFile, Walked, BATCH_BYTES}; use crate::cache::{repo_dir, BlameStore, CacheOptions, Known, Moved}; use crate::lines::MAX_BYTES; use crate::ownership::{own_in_threads, Known as Owners, Ownership, Writer}; -use crate::similarity::rename_source; +use crate::similarity::{rename_source, spans, Spans}; use crate::source::{BlameSource, BlameThreads}; const ENGINE: u64 = 4; @@ -612,12 +613,23 @@ fn moves_in(source: &S, commit: Oid) -> Result return Ok(Vec::new()); }; let moves = source.blame_moves(commit, *parent)?; - let mut texts = vec![None; moves.deleted.len()]; + let mut known: Vec>> = vec![None; moves.deleted.len()]; let mut out = Vec::new(); for (path, blob) in &moves.added { let data = source.blame_blob(*blob)?; let found = rename_source((path, *blob, &data), &moves.deleted, &mut |i| { - spans_at(source, &moves.deleted, &mut texts, i) + if let Some(Some(found)) = known.get(i) { + return Ok(found.clone()); + } + let text = match moves.deleted.get(i) { + Some((_, blob)) => source.blame_blob(*blob)?, + None => Vec::new(), + }; + let found = Rc::new(spans(&text)); + if let Some(slot) = known.get_mut(i) { + *slot = Some(found.clone()); + } + Ok(found) })?; if let Some((from, _)) = found.and_then(|j| moves.deleted.get(j)) { out.push((from.clone(), path.clone())); From 88e917d017d4c9a36420c6f8b2d22a664ad8d3dd Mon Sep 17 00:00:00 2001 From: Dev Talan <84081651+devchaudhary24k@users.noreply.github.com> Date: Tue, 27 Oct 2026 10:07:27 +0530 Subject: [PATCH 31/82] perf(index): walk history 32,768 commits at a time The walk read every commit it would deliver (id, tree, parents, subject) into one list and a map of trees before diffing any: 434 MB on linux. It now reads one chunk ahead and diffs the chunk before it, so a parent's tree is nearly always at hand, and reads it from git when it is not. A fixture walked three commits at a time gives the same commits and changes in the same order. linux cold, no lines, 2 threads: 705 -> 624 MB peak anon, 200 -> 172 s. --- .../commitscape-index/src/gix_source/walk.rs | 210 +++++++++++++----- 1 file changed, 156 insertions(+), 54 deletions(-) diff --git a/crates/commitscape-index/src/gix_source/walk.rs b/crates/commitscape-index/src/gix_source/walk.rs index 90f282d..fbf11ff 100644 --- a/crates/commitscape-index/src/gix_source/walk.rs +++ b/crates/commitscape-index/src/gix_source/walk.rs @@ -14,6 +14,8 @@ use crate::source::{CommitSink, Indexed, RawChange, RawCommit, WalkStats}; const BATCH: usize = 64; +const CHUNK: usize = 32_768; + const THREAD_OBJECT_CACHE_BYTES: usize = 1024 * 1024; const THREAD_DELTA_CACHE_BYTES: usize = 3 * 1024 * 1024; @@ -36,10 +38,43 @@ struct Walked { type BatchResult = Result>, GixError>; +struct Signatures { + list: Vec<(Vec, Vec)>, + ids: HashIndex, +} + +impl Signatures { + fn of(&mut self, name: &[u8], email: &[u8]) -> usize { + let hash = signature_hash(name, email); + let list = &self.list; + let found = self.ids.get(hash, |i| { + list.get(i as usize) + .is_some_and(|(n, e)| n.as_slice() == name && e.as_slice() == email) + }); + match found { + Some(i) => i as usize, + None => { + self.list.push((name.to_vec(), email.to_vec())); + self.ids.insert(hash, (self.list.len() - 1) as u32); + self.list.len() - 1 + } + } + } +} + pub(super) fn walk( source: &GixRepo, indexed: &dyn Indexed, sink: &mut dyn CommitSink, +) -> Result { + walk_in(source, indexed, sink, CHUNK) +} + +fn walk_in( + source: &GixRepo, + indexed: &dyn Indexed, + sink: &mut dyn CommitSink, + chunk: usize, ) -> Result { let repo = &source.repo; let tips: Vec = source.tips_gix()?.into_iter().map(|(_, id)| id).collect(); @@ -49,74 +84,100 @@ pub(super) fn walk( ..WalkStats::default() }; - let walk = git_ctx!( + let mut walk = git_ctx!( repo.rev_walk(tips).selected(|id| { Oid::from_bytes(id.as_bytes()).is_none_or(|oid| !indexed.contains(&oid)) }), "starting the history walk" )?; - let mut signatures: Vec<(Vec, Vec)> = Vec::new(); - let mut signature_ids = HashIndex::default(); - let mut walked: Vec = Vec::new(); + let mut signatures = Signatures { + list: Vec::new(), + ids: HashIndex::default(), + }; let mut buf = Vec::new(); - for info in walk { - let info = git_ctx!(info, "walking history")?; - let commit = git_ctx!( - repo.objects.find_commit(&info.id, &mut buf), - "reading a commit" - )?; - let author = git_ctx!(commit.author(), "reading an author")?; - let time = git_ctx!(commit.time(), "reading a commit time")?.seconds; - let written = author.time().unwrap_or(gix::date::Time { - seconds: time, - offset: 0, - }); - let kind = message::kind_of(commit.message); - let subject = message::subject_of(commit.message).into_boxed_str(); - let (name, email): (&[u8], &[u8]) = (author.name, author.email); - let hash = signature_hash(name, email); - let found = signature_ids.get(hash, |i| { - signatures - .get(i as usize) - .is_some_and(|(n, e)| n.as_slice() == name && e.as_slice() == email) - }); - let signature = match found { - Some(i) => i as usize, - None => { - signatures.push((name.to_vec(), email.to_vec())); - signature_ids.insert(hash, (signatures.len() - 1) as u32); - signatures.len() - 1 + let mut read = + |walked: &mut Vec, signatures: &mut Signatures| -> Result<(), GixError> { + while walked.len() < chunk { + let Some(info) = walk.next() else { + break; + }; + let info = git_ctx!(info, "walking history")?; + let commit = git_ctx!( + repo.objects.find_commit(&info.id, &mut buf), + "reading a commit" + )?; + let author = git_ctx!(commit.author(), "reading an author")?; + let time = git_ctx!(commit.time(), "reading a commit time")?.seconds; + let written = author.time().unwrap_or(gix::date::Time { + seconds: time, + offset: 0, + }); + walked.push(Walked { + id: info.id, + time, + signature: signatures.of(author.name, author.email), + author_time: written.seconds, + author_offset: written.offset, + kind: message::kind_of(commit.message), + subject: message::subject_of(commit.message).into_boxed_str(), + tree: commit.tree(), + parents: commit.parents().collect(), + }); } + Ok(()) }; - walked.push(Walked { - id: info.id, - time, - signature, - author_time: written.seconds, - author_offset: written.offset, - kind, - subject, - tree: commit.tree(), - parents: commit.parents().collect(), - }); + + let mut current: Vec = Vec::new(); + read(&mut current, &mut signatures)?; + let mut done = 0u64; + while !current.is_empty() { + let mut next: Vec = Vec::new(); + read(&mut next, &mut signatures)?; + let tree_of: gix::hashtable::HashMap = current + .iter() + .chain(&next) + .map(|w| (w.id, w.tree)) + .collect(); + let total = done + (current.len() + next.len()) as u64; + let delivered = deliver( + source, + ¤t, + &tree_of, + &signatures.list, + sink, + &mut stats, + (&mut done, total), + )?; + if !delivered { + break; + } + current = next; } + Ok(stats) +} - let tree_of: gix::hashtable::HashMap = - walked.iter().map(|w| (w.id, w.tree)).collect(); - let total = walked.len() as u64; +/// Diffs a chunk of walked commits on several threads and hands them to the sink in walk order; false when the sink asked to stop. +fn deliver( + source: &GixRepo, + walked: &[Walked], + tree_of: &gix::hashtable::HashMap, + signatures: &[(Vec, Vec)], + sink: &mut dyn CommitSink, + stats: &mut WalkStats, + (done, total): (&mut u64, u64), +) -> Result { let threads = crate::threads::threads(walked.len().div_ceil(BATCH)); - let next_batch = AtomicUsize::new(0); let delivered = AtomicUsize::new(0); let stop = AtomicBool::new(false); let ahead = threads * AHEAD_PER_THREAD; let (tx, rx) = sync_channel::<(usize, BatchResult)>(ahead); + let mut broke = false; std::thread::scope(|scope| -> Result<(), GixError> { for _ in 0..threads { let tx = tx.clone(); let (next_batch, delivered, stop) = (&next_batch, &delivered, &stop); - let (walked, tree_of) = (&walked, &tree_of); let sync = &source.sync; scope.spawn(move || { let mut repo = sync.to_thread_local(); @@ -159,8 +220,6 @@ pub(super) fn walk( let mut waiting: BTreeMap = BTreeMap::new(); let mut want = 0usize; - let mut done = 0u64; - let mut broke = false; let mut outcome = Ok(()); 'receive: for (batch, result) in &rx { waiting.insert(batch, result); @@ -207,9 +266,9 @@ pub(super) fn walk( parent_count: w.parents.len(), }; stats.commits_visited += 1; - done += 1; - if done.is_multiple_of(PROGRESS_EVERY) || done == total { - sink.on_progress(done, total); + *done += 1; + if done.is_multiple_of(PROGRESS_EVERY) || *done == total { + sink.on_progress(*done, total); } if sink.on_commit(&raw, &raw_changes).is_break() { broke = true; @@ -226,8 +285,7 @@ pub(super) fn walk( drop(rx); outcome })?; - - Ok(stats) + Ok(!broke) } fn diff_one( @@ -279,3 +337,47 @@ pub(super) fn tree_of_commit( let commit = git_ctx!(data.decode(), "decoding a parent commit")?; Ok(commit.as_commit().map(|c| c.tree())) } + +#[cfg(test)] +mod tests { + #![allow(clippy::expect_used)] + + use std::collections::HashSet; + use std::ops::ControlFlow; + use std::path::Path; + + use super::*; + + type Changes = Vec<(Vec, Oid)>; + + #[derive(Default)] + struct Seen(Vec<(Oid, String, Changes)>); + + impl CommitSink for Seen { + fn on_commit( + &mut self, + commit: &RawCommit<'_>, + changes: &[RawChange<'_>], + ) -> ControlFlow<()> { + self.0.push(( + commit.id, + commit.subject.to_string(), + changes.iter().map(|c| (c.path.to_vec(), c.blob)).collect(), + )); + ControlFlow::Continue(()) + } + } + + #[test] + fn a_history_walked_a_few_commits_at_a_time_is_the_history_walked_at_once() { + let repo = + GixRepo::open(&Path::new(env!("CARGO_MANIFEST_DIR")).join("../../fixtures/merges")) + .expect("the merges fixture"); + let (mut whole, mut chunked) = (Seen::default(), Seen::default()); + walk_in(&repo, &HashSet::new(), &mut whole, CHUNK).expect("walked"); + walk_in(&repo, &HashSet::new(), &mut chunked, 3).expect("walked"); + assert!(whole.0.len() > 6); + assert!(whole.0.iter().any(|c| !c.2.is_empty())); + assert_eq!(whole.0, chunked.0); + } +} From be0c7420cbc18fb0dd336c65ee6ee4811a7d28f6 Mon Sep 17 00:00:00 2001 From: Dev Talan <84081651+devchaudhary24k@users.noreply.github.com> Date: Tue, 27 Oct 2026 10:07:27 +0530 Subject: [PATCH 32/82] perf(index): build a cold Index through files in its cache folder A Build with no cache gathered every change and subject on the heap and laid the history out in a second copy, then encoded every month's block before writing any. The builder now appends what it gathers to files in the cache folder and lays the columns out into files it maps, and the blocks are encoded one by one as they are written. If a file cannot be written the history is walked again in memory. The same Index either way (tested). linux cold, no lines, 2 threads: 624 -> 280 MB peak anon, 187 s. --- crates/commitscape-index/src/build.rs | 209 ++++++++++++++++--- crates/commitscape-index/src/cache/format.rs | 45 ++-- crates/commitscape-index/src/cache/mod.rs | 71 ++++++- 3 files changed, 273 insertions(+), 52 deletions(-) diff --git a/crates/commitscape-index/src/build.rs b/crates/commitscape-index/src/build.rs index ba3b895..3e34b80 100644 --- a/crates/commitscape-index/src/build.rs +++ b/crates/commitscape-index/src/build.rs @@ -1,9 +1,14 @@ +use std::fs::File; +use std::io::{BufWriter, Write}; +use std::mem::{offset_of, size_of}; use std::ops::ControlFlow; +use std::path::{Path, PathBuf}; use commitscape_core::{ ChangeKind, Column, CommitFlags, CommitKind, CommitMeta, FileChange, FileHistory, HistorySpan, - Index, Oid, PathEvent, PathId, PathTable, RepoIdentity, Signature, SignatureId, + Index, Oid, PathEvent, PathId, PathTable, Record, RepoIdentity, Signature, SignatureId, }; +use commitscape_map::Records; use crate::hash_index::HashIndex; use crate::identity::resolve_authors; @@ -11,10 +16,121 @@ use crate::identity::IdentityRules; use crate::source::{CommitSink, RawChange, RawChangeKind, RawCommit}; #[derive(Debug, Clone, Copy)] +#[repr(C)] struct PendingChange { path: PathId, - kind: ChangeKind, from: PathId, + kind: ChangeKind, +} + +impl Record for PendingChange { + const SIZE: usize = size_of::(); + + fn write_to(&self, out: &mut [u8]) { + out.fill(0); + for (at, bytes) in [ + (offset_of!(PendingChange, path), self.path.0.to_ne_bytes()), + (offset_of!(PendingChange, from), self.from.0.to_ne_bytes()), + ] { + if let Some(slot) = out.get_mut(at..at + 4) { + slot.copy_from_slice(&bytes); + } + } + if let Some(slot) = out.get_mut(offset_of!(PendingChange, kind)) { + *slot = self.kind as u8; + } + } + + fn valid(bytes: &[u8]) -> bool { + bytes + .get(offset_of!(PendingChange, kind)) + .is_some_and(|&k| k < 4) + } +} + +/// Records kept in memory, or appended to a file and mapped once all are written, so a long history does not sit on the heap. +enum Spill { + Memory(Vec), + File { + out: BufWriter, + path: PathBuf, + len: usize, + buf: Vec, + failed: Option, + }, +} + +impl Spill { + fn at(dir: Option<&Path>, name: &str) -> std::io::Result> { + let Some(dir) = dir else { + return Ok(Spill::Memory(Vec::new())); + }; + let path = dir.join(format!("building.{name}")); + Ok(Spill::File { + out: BufWriter::with_capacity(1 << 20, File::create(&path)?), + path, + len: 0, + buf: vec![0; T::SIZE], + failed: None, + }) + } + + fn len(&self) -> usize { + match self { + Spill::Memory(v) => v.len(), + Spill::File { len, .. } => *len, + } + } + + fn extend(&mut self, items: &[T]) { + match self { + Spill::Memory(v) => v.extend_from_slice(items), + Spill::File { + out, + len, + buf, + failed, + .. + } => { + for item in items { + item.write_to(buf); + if let Err(e) = out.write_all(buf) { + failed.get_or_insert(e); + } + } + *len += items.len(); + } + } + } + + fn push(&mut self, item: T) { + self.extend(&[item]); + } + + fn done(self) -> std::io::Result> { + match self { + Spill::Memory(v) => Ok(v.into()), + Spill::File { + out, + path, + len, + failed, + .. + } => { + if let Some(e) = failed { + return Err(e); + } + let file = out + .into_inner() + .map_err(std::io::IntoInnerError::into_error)?; + drop(file); + let file = File::open(&path)?; + let records = Records::::open(&file, 0, len)?; + let _ = std::fs::remove_file(&path); + Ok(Column::mapped(Box::new(records))) + } + } + } } #[derive(Debug, Clone, Copy)] @@ -56,8 +172,9 @@ pub struct IndexBuilder { used: Vec, signature_ids: HashIndex, commits: Vec, - pending: Vec, - subjects: Vec, + pending: Spill, + subjects: Spill, + spill: Option, base: Option, } @@ -71,12 +188,23 @@ impl IndexBuilder { used: Vec::new(), signature_ids: HashIndex::default(), commits: Vec::new(), - pending: Vec::new(), - subjects: Vec::new(), + pending: Spill::Memory(Vec::new()), + subjects: Spill::Memory(Vec::new()), + spill: None, base: None, } } + /// A builder that keeps the changes and subjects it gathers, and the columns it lays out, in files in `dir` rather than on the heap; `finish_spilled` finishes it. + pub fn spilling(rules: IdentityRules, dir: &Path) -> std::io::Result { + Ok(IndexBuilder { + pending: Spill::at(Some(dir), "pending")?, + subjects: Spill::at(Some(dir), "text")?, + spill: Some(dir.to_path_buf()), + ..IndexBuilder::new(rules) + }) + } + pub fn resume(mut index: Index, rules: IdentityRules) -> Self { let paths = std::mem::take(&mut index.paths); let mut path_ids = HashIndex::default(); @@ -99,8 +227,9 @@ impl IndexBuilder { used, signature_ids, commits: Vec::new(), - pending: Vec::new(), - subjects: Vec::new(), + pending: Spill::Memory(Vec::new()), + subjects: Spill::Memory(Vec::new()), + spill: None, base: Some(index), } } @@ -159,17 +288,43 @@ impl IndexBuilder { /// Finishes as `finish` does, handing the earlier Index and the new commits, changes and subjects to `merge` first: what it returns become the Index's columns, and when it returns none they are merged in memory. pub fn finish_merging( - mut self, + self, repo: RepoIdentity, frontier: Vec, history_truncated: bool, merge: &mut Merge<'_>, ) -> Index { - self.commits.sort_by_key(|c| (c.time, c.id.0)); + let empty = Index::empty(repo.clone()); + self.finished(repo, frontier, history_truncated, merge) + .unwrap_or(empty) + } - let mut changes = Vec::with_capacity(self.pending.len()); - let mut commits = Vec::with_capacity(self.commits.len()); - let mut subjects = Vec::with_capacity(self.subjects.len()); + /// Finishes a builder made by `spilling`, its columns read in place from the files it laid them out in. + pub fn finish_spilled( + self, + repo: RepoIdentity, + frontier: Vec, + history_truncated: bool, + ) -> std::io::Result { + self.finished(repo, frontier, history_truncated, &mut |_, _, _, _| None) + } + + fn finished( + mut self, + repo: RepoIdentity, + frontier: Vec, + history_truncated: bool, + merge: &mut Merge<'_>, + ) -> std::io::Result { + self.commits.sort_by_key(|c| (c.time, c.id.0)); + let dir = self.spill.clone(); + let dir = dir.as_deref(); + let pending = std::mem::replace(&mut self.pending, Spill::Memory(Vec::new())).done()?; + let text = std::mem::replace(&mut self.subjects, Spill::Memory(Vec::new())).done()?; + + let mut changes: Spill = Spill::at(dir, "changes")?; + let mut commits: Spill = Spill::at(dir, "commits")?; + let mut subjects: Spill = Spill::at(dir, "subjects")?; let mut history: Vec = self .base .as_mut() @@ -179,7 +334,7 @@ impl IndexBuilder { for c in &self.commits { let start = changes.len() as u32; let range = c.changes_start as usize..(c.changes_start + c.changes_len) as usize; - for p in self.pending.get(range).unwrap_or(&[]) { + for p in pending.get(range).unwrap_or(&[]) { let event = match p.kind { ChangeKind::Added => PathEvent::Added(p.path), ChangeKind::Modified => PathEvent::Modified(p.path), @@ -213,11 +368,7 @@ impl IndexBuilder { } let subject_start = subjects.len() as u32; let from = c.subject_start as usize; - subjects.extend_from_slice( - self.subjects - .get(from..from + c.subject_len as usize) - .unwrap_or(&[]), - ); + subjects.extend(text.get(from..from + c.subject_len as usize).unwrap_or(&[])); commits.push(CommitMeta { id: c.id, time: c.time, @@ -232,6 +383,9 @@ impl IndexBuilder { subject_len: c.subject_len, }); } + drop(pending); + drop(text); + let (commits, changes, subjects) = (commits.done()?, changes.done()?, subjects.done()?); let added = HistorySpan::of(&commits); let mut index = match self.base.take() { @@ -242,7 +396,12 @@ impl IndexBuilder { base.changes = ch; base.subjects = s; } - None => merge_history(&mut base, commits, changes, subjects), + None => merge_history( + &mut base, + commits.into_vec(), + changes.into_vec(), + subjects.into_vec(), + ), } base.span = base.span.joined(added); base.history_truncated = history_truncated; @@ -250,9 +409,9 @@ impl IndexBuilder { } None => { let mut fresh = Index::empty(repo.clone()); - fresh.commits = commits.into(); - fresh.changes = changes.into(); - fresh.subjects = subjects.into(); + fresh.commits = commits; + fresh.changes = changes; + fresh.subjects = subjects; fresh.span = added; fresh.history_truncated = history_truncated; fresh @@ -264,7 +423,7 @@ impl IndexBuilder { index.schema_version = commitscape_core::SCHEMA_VERSION; index.paths = self.paths; index.authors = resolve_authors(self.signatures, self.used, &self.rules); - index + Ok(index) } } @@ -378,7 +537,7 @@ impl CommitSink for IndexBuilder { subject_start: self.subjects.len() as u32, subject_len: commit.subject.len().min(commitscape_core::SUBJECT_CAP) as u8, }); - self.subjects.extend_from_slice( + self.subjects.extend( commit .subject .as_bytes() diff --git a/crates/commitscape-index/src/cache/format.rs b/crates/commitscape-index/src/cache/format.rs index 542a024..da6ab76 100644 --- a/crates/commitscape-index/src/cache/format.rs +++ b/crates/commitscape-index/src/cache/format.rs @@ -343,14 +343,20 @@ pub(super) fn read_ids(dir: &Path, head: &Head) -> Result { Ok(SortedIds { runs }) } -pub(super) fn encode_blocks( - commits: &[CommitMeta], - changes: &[FileChange], - subjects: &[u8], -) -> Vec<(Month, u32, u32, Vec)> { - let mut out = Vec::new(); +pub(super) type Fresh<'a> = Box)> + 'a>; + +pub(super) fn no_blocks<'a>() -> Fresh<'a> { + Box::new(std::iter::empty()) +} + +pub(super) fn encode_blocks<'a>( + commits: &'a [CommitMeta], + changes: &'a [FileChange], + subjects: &'a [u8], +) -> Fresh<'a> { let mut i = 0; - while let Some(first) = commits.get(i) { + Box::new(std::iter::from_fn(move || { + let first = commits.get(i)?; let month = Month::of(first.time); let len = commits .get(i..) @@ -377,10 +383,9 @@ pub(super) fn encode_blocks( } let (n_commits, n_changes) = (block.commits.len() as u32, block.changes.len() as u32); let bytes = bincode::serde::encode_to_vec(&block, config()).unwrap_or_default(); - out.push((month, n_commits, n_changes, bytes)); i += len.max(1); - } - out + Some((month, n_commits, n_changes, bytes)) + })) } pub(super) struct Previous { @@ -393,7 +398,7 @@ pub(super) struct Previous { pub(super) struct Writing<'a> { pub head: Head, pub previous: Option, - pub fresh: Vec<(Month, u32, u32, Vec)>, + pub fresh: Fresh<'a>, pub new_ids: Vec, pub dir: &'a Path, } @@ -417,7 +422,7 @@ fn lock(dir: &Path) -> std::io::Result { Ok(WriteLock(f)) } -pub(super) fn write(w: Writing<'_>) -> std::io::Result { +pub(super) fn write(mut w: Writing<'_>) -> std::io::Result { std::fs::create_dir_all(w.dir)?; let _lock = lock(w.dir)?; let mut head = w.head; @@ -441,7 +446,7 @@ pub(super) fn write(w: Writing<'_>) -> std::io::Result { let mut out = std::io::BufWriter::with_capacity(1 << 20, &mut file); head.data_file = prev.data_file.clone(); head.blocks = prev.blocks.clone(); - append_blocks(&mut out, &mut at, &w.fresh, &mut head.blocks)?; + append_blocks(&mut out, &mut at, &mut w.fresh, &mut head.blocks)?; head.id_runs = prev.id_runs.clone(); if prev.id_runs.len() >= MAX_ID_RUNS { let merged = prev.ids.merged_with(&w.new_ids); @@ -475,7 +480,7 @@ pub(super) fn write(w: Writing<'_>) -> std::io::Result { } None => w.new_ids.clone(), }; - append_blocks(&mut out, &mut at, &w.fresh, &mut head.blocks)?; + append_blocks(&mut out, &mut at, &mut w.fresh, &mut head.blocks)?; head.id_runs = vec![append(&mut out, &mut at, &ids)?]; out.flush()?; } @@ -511,16 +516,16 @@ fn append(out: &mut impl std::io::Write, at: &mut u64, bytes: &[u8]) -> std::io: fn append_blocks( out: &mut impl std::io::Write, at: &mut u64, - fresh: &[(Month, u32, u32, Vec)], + fresh: &mut dyn Iterator)>, blocks: &mut Vec, ) -> std::io::Result<()> { for (month, commits, changes, bytes) in fresh { - let extent = append(out, at, bytes)?; - blocks.retain(|b| b.month != *month); + let extent = append(out, at, &bytes)?; + blocks.retain(|b| b.month != month); blocks.push(BlockEntry { - month: *month, - commits: *commits, - changes: *changes, + month, + commits, + changes, extent, }); } diff --git a/crates/commitscape-index/src/cache/mod.rs b/crates/commitscape-index/src/cache/mod.rs index 39afd5e..de58e7c 100644 --- a/crates/commitscape-index/src/cache/mod.rs +++ b/crates/commitscape-index/src/cache/mod.rs @@ -172,7 +172,7 @@ fn uncached( progress: &mut dyn FnMut(Progress), ) -> Result { let rules = IdentityRules::from_mailmap(source.mailmap()?); - let (index, _) = build(source, identity, rules, progress)?; + let (index, _) = build(source, identity, rules, progress, None)?; Ok(Loaded { index, freshness: Freshness::Built { @@ -226,8 +226,14 @@ fn build( identity: RepoIdentity, rules: IdentityRules, progress: &mut dyn FnMut(Progress), + spill: Option<&Path>, ) -> Result<(Index, ClassifyContext), S::Error> { - let mut builder = IndexBuilder::new(rules); + let spilling = spill.and_then(|dir| { + std::fs::create_dir_all(dir).ok()?; + IndexBuilder::spilling(rules.clone(), dir).ok() + }); + let spilled = spilling.is_some(); + let mut builder = spilling.unwrap_or_else(|| IndexBuilder::new(rules.clone())); let stats = source.walk_history( &std::collections::HashSet::new(), &mut Reporting { @@ -236,7 +242,14 @@ fn build( }, )?; let tips = source.tips()?; - let mut index = builder.finish(identity, tips, stats.history_truncated); + let mut index = if spilled { + match builder.finish_spilled(identity.clone(), tips, stats.history_truncated) { + Ok(index) => index, + Err(_) => return build(source, identity, rules, progress, None), + } + } else { + builder.finish(identity, tips, stats.history_truncated) + }; progress(Progress::HeadFiles); let head = head_pass(source, &index.paths, None)?; index.head = head.files; @@ -250,7 +263,13 @@ fn rebuild( reason: RebuildReason, progress: &mut dyn FnMut(Progress), ) -> Result { - let (index, classify) = build(source, ctx.identity.clone(), ctx.rules(source)?, progress)?; + let (index, classify) = build( + source, + ctx.identity.clone(), + ctx.rules(source)?, + progress, + Some(ctx.dir), + )?; let lineage = format::new_generation(); let head = format::head_of( &index, @@ -350,7 +369,7 @@ fn warm( id_runs: previous.id_runs, ids, }), - fresh: Vec::new(), + fresh: format::no_blocks(), new_ids: Vec::new(), dir: ctx.dir, }); @@ -488,7 +507,7 @@ fn resume( .collect(), ) } - None => (Vec::new(), old_blocks.clone()), + None => (format::no_blocks(), old_blocks.clone()), }; let written = format::write(format::Writing { head: format::head_of( @@ -561,6 +580,44 @@ mod tests { } } + #[test] + fn a_history_built_through_files_is_the_history_built_in_memory() { + let blob = |n: u8| Oid([n; 20]); + let repo = ScriptedRepo::new() + .commit( + 10, + ("Ada", "ada@example.com"), + &[(b"src/a.rs", Added, blob(1))], + ) + .commit( + 30, + ("Bob", "bob@example.com"), + &[(b"src/b.rs", Added, blob(2))], + ) + .commit( + 20, + ("Ada", "ada@example.com"), + &[(b"docs/c.md", Added, blob(3))], + ); + let dir = tempfile::tempdir().expect("a folder"); + let build_in = |spill: Option<&Path>| match build( + &repo, + RepoIdentity { + git_dir: "/scripted/.git".to_string(), + }, + IdentityRules::default(), + &mut |_| {}, + spill, + ) { + Ok(built) => built.0, + Err(never) => match never {}, + }; + let (memory, files) = (build_in(None), build_in(Some(dir.path()))); + assert!(files.changes.is_mapped() && !memory.changes.is_mapped()); + assert_eq!(files, memory); + assert_eq!(files.commits.len(), 3); + } + #[test] fn a_cache_classified_by_older_rules_is_classified_again_without_rewalking() { let repo = ScriptedRepo::new() @@ -595,7 +652,7 @@ mod tests { format::write(format::Writing { head, previous: Some(previous), - fresh: Vec::new(), + fresh: format::no_blocks(), new_ids: Vec::new(), dir: &cache, }) From c5dc6e4cc1b9cfe4a35b89b2da359f9f36016e78 Mon Sep 17 00:00:00 2001 From: Dev Talan <84081651+devchaudhary24k@users.noreply.github.com> Date: Tue, 27 Oct 2026 10:07:27 +0530 Subject: [PATCH 33/82] perf(index): make the commit graph from sorted edges A graph made from nothing kept a map from every commit id to its place and a small list of parents per commit. It now looks places up by sorted id keys (twelve bytes a commit, shared with the Surviving Lines count) and sorts one list of (child, parent) pairs into the graph. linux cold, no lines: the graph step 120 -> 52 MB on top of the Index, peak 280 -> 276 MB anon (270 MB with MALLOC_ARENA_MAX=2); the rest of the peak is gix decoding the 16-24 MB headers at the head, two at a time. --- crates/commitscape-index/src/commit_at.rs | 41 +++++++++++++++++++++++ crates/commitscape-index/src/graph.rs | 26 +++++++------- crates/commitscape-index/src/lib.rs | 1 + crates/commitscape-index/src/surviving.rs | 38 ++------------------- 4 files changed, 58 insertions(+), 48 deletions(-) create mode 100644 crates/commitscape-index/src/commit_at.rs diff --git a/crates/commitscape-index/src/commit_at.rs b/crates/commitscape-index/src/commit_at.rs new file mode 100644 index 0000000..e3c7657 --- /dev/null +++ b/crates/commitscape-index/src/commit_at.rs @@ -0,0 +1,41 @@ +use commitscape_core::{CommitMeta, Index, Oid}; + +/// Where each commit of an Index is, by id: the first eight bytes of each id with its place, sorted, so a lookup is a binary search and a check of the whole id, in twelve bytes a commit. +pub(crate) struct CommitAt { + keys: Vec<(u64, u32)>, +} + +impl CommitAt { + pub(crate) fn of(index: &Index) -> Self { + let mut keys: Vec<(u64, u32)> = index + .commits + .iter() + .zip(0u32..) + .map(|(c, i)| (key(&c.id), i)) + .collect(); + keys.sort_unstable(); + CommitAt { keys } + } + + /// The place of a commit in the Index. + pub(crate) fn position(&self, index: &Index, id: &Oid) -> Option { + let k = key(id); + let from = self.keys.partition_point(|&(at, _)| at < k); + self.keys + .get(from..)? + .iter() + .take_while(|&&(at, _)| at == k) + .find(|&&(_, i)| index.commits.get(i as usize).is_some_and(|c| c.id == *id)) + .map(|&(_, i)| i) + } + + pub(crate) fn get<'i>(&self, index: &'i Index, id: &Oid) -> Option<&'i CommitMeta> { + index.commits.get(self.position(index, id)? as usize) + } +} + +fn key(id: &Oid) -> u64 { + let mut head = [0u8; 8]; + head.copy_from_slice(id.0.get(..8).unwrap_or(&[0; 8])); + u64::from_le_bytes(head) +} diff --git a/crates/commitscape-index/src/graph.rs b/crates/commitscape-index/src/graph.rs index 97c24d7..2762089 100644 --- a/crates/commitscape-index/src/graph.rs +++ b/crates/commitscape-index/src/graph.rs @@ -7,6 +7,7 @@ use tracing::field::Empty; use xxhash_rust::xxh3::{xxh3_64, Xxh3}; use crate::cache::{repo_dir, CacheOptions}; +use crate::commit_at::CommitAt; use crate::mainline::{Mainline, FIRST_PARENT, REACHABLE}; use crate::source::RepoSource; @@ -114,28 +115,29 @@ impl CommitGraph { lineage: u64, ) -> Result { let n = index.commits.len(); - let mut at: HashMap = HashMap::with_capacity(n); - for (i, c) in index.commits.iter().enumerate() { - at.insert(c.id, i as u32); - } - let mut of: Vec>> = vec![None; n]; + let at = CommitAt::of(index); + let mut edges: Vec<(u32, u32)> = Vec::with_capacity(n + n / 8); source.history_parents(&mut |id, parents| { - if let Some(slot) = at.get(&id).and_then(|&i| of.get_mut(i as usize)) { - *slot = Some( + if let Some(child) = at.position(index, &id) { + edges.extend( parents .iter() - .map(|p| at.get(p).copied().unwrap_or(NONE)) - .collect(), + .map(|p| (child, at.position(index, p).unwrap_or(NONE))), ); } })?; drop(at); + edges.sort_by_key(|&(child, _)| child); let mut ends = Vec::with_capacity(n); - let mut parents = Vec::with_capacity(n + n / 8); - for p in of { - parents.extend(p.unwrap_or_default()); + let mut parents = Vec::with_capacity(edges.len()); + let mut next = edges.iter().peekable(); + for i in 0..n as u32 { + while let Some(&(_, parent)) = next.next_if(|&&(child, _)| child == i) { + parents.push(parent); + } ends.push(parents.len() as u32); } + drop(edges); Ok(CommitGraph { lineage, hashes: index diff --git a/crates/commitscape-index/src/lib.rs b/crates/commitscape-index/src/lib.rs index f0b5159..72bd4ea 100644 --- a/crates/commitscape-index/src/lib.rs +++ b/crates/commitscape-index/src/lib.rs @@ -2,6 +2,7 @@ pub mod blame; pub mod build; pub mod cache; mod classify; +mod commit_at; pub mod gix_source; pub mod graph; mod hash_index; diff --git a/crates/commitscape-index/src/surviving.rs b/crates/commitscape-index/src/surviving.rs index af159c6..70eae96 100644 --- a/crates/commitscape-index/src/surviving.rs +++ b/crates/commitscape-index/src/surviving.rs @@ -3,12 +3,11 @@ use std::path::PathBuf; use std::rc::Rc; use std::time::{Duration, Instant}; -use commitscape_core::{ - AuthorId, ChangeKind, CommitFlags, CommitMeta, FileClass, FileId, Index, Oid, -}; +use commitscape_core::{AuthorId, ChangeKind, CommitFlags, FileClass, FileId, Index, Oid}; use crate::blame::{blame_in_threads, BlameFile, Walked, BATCH_BYTES}; use crate::cache::{repo_dir, BlameStore, CacheOptions, Known, Moved}; +use crate::commit_at::CommitAt; use crate::lines::MAX_BYTES; use crate::ownership::{own_in_threads, Known as Owners, Ownership, Writer}; use crate::similarity::{rename_source, spans, Spans}; @@ -53,39 +52,6 @@ pub struct Survival<'i> { kept: Option, } -struct CommitAt { - keys: Vec<(u64, u32)>, -} - -impl CommitAt { - fn of(index: &Index) -> Self { - let mut keys: Vec<(u64, u32)> = index - .commits - .iter() - .zip(0u32..) - .map(|(c, i)| (key(&c.id), i)) - .collect(); - keys.sort_unstable(); - CommitAt { keys } - } - - fn get<'i>(&self, index: &'i Index, id: &Oid) -> Option<&'i CommitMeta> { - let k = key(id); - let from = self.keys.partition_point(|&(at, _)| at < k); - self.keys - .get(from..)? - .iter() - .take_while(|&&(at, _)| at == k) - .find_map(|&(_, i)| index.commits.get(i as usize).filter(|c| c.id == *id)) - } -} - -fn key(id: &Oid) -> u64 { - let mut head = [0u8; 8]; - head.copy_from_slice(id.0.get(..8).unwrap_or(&[0; 8])); - u64::from_le_bytes(head) -} - impl<'i> Survival<'i> { /// Prepares to count Surviving Lines at the Index's head, passing Bulk Commits and `ignored` commits through, with each file's blame kept in the cache directory for that head. pub fn new( From 010b3be729648f5a6f331be9a6dee435b9dc7f9d Mon Sep 17 00:00:00 2001 From: Dev Talan <84081651+devchaudhary24k@users.noreply.github.com> Date: Tue, 27 Oct 2026 10:11:13 +0530 Subject: [PATCH 34/82] docs: ADR-0031, the Repo State and packs are read in place Records the step 4 decisions: the Index's columns, the commit graph and the Ownership of lines mapped in place, the cold Build through files, small git caches, pack format 3 unpacked once by the engine service, and each head's standard screens stored with its Report; what was weighed (uncompressed packs in R2, screens inside build, rollups) and what still peaks above 256 MB on linux. STATE.md points at it. --- STATE.md | 2 +- ...o-state-and-works-out-only-what-changed.md | 2 +- ...n-place-and-standard-screens-are-stored.md | 34 +++++++++++++++++++ 3 files changed, 36 insertions(+), 2 deletions(-) create mode 100644 docs/adr/0031-the-repo-state-and-packs-are-read-in-place-and-standard-screens-are-stored.md diff --git a/STATE.md b/STATE.md index c36542d..80e82bb 100644 --- a/STATE.md +++ b/STATE.md @@ -3,7 +3,7 @@ Running log for Build Run 1 (Phases 0 to 7). Written so a fresh session with no context can read this plus `docs/adr/` and continue without asking anything. -This log stops at the end of Build Run 5. What runs now is described in `README.md`, `docs/working.md` and the ADRs up to ADR-0030 (the Repo State). +This log stops at the end of Build Run 5. What runs now is described in `README.md`, `docs/working.md` and the ADRs up to ADR-0031 (the Repo State and packs read in place, standard screens stored). **Where this log stops:** Build Run 5 (Phases 32 to 42) is done: its brief is `IDEA.md`, with ADR-0020 to ADR-0022 and ADR-0023, written during the run. The table under "Build Run 5" gives each phase's gate and result, each phase's findings are under "Phase N findings", and "Where to pick up" (at the end) lists what is left for the owner. Phase 36's README embed and Phase 40's three real accounts need the owner; everything else met its gate. Build Run 4 (Phases 23 to 31) is committed. Since Build Run 4 the Site moved from Cloudflare to TanStack Start on Node with Postgres and R2 (`CLAUDE.md`, `DEPLOY.md`); older findings below that mention D1, Workers or `wrangler` describe that earlier Site. Build Run 1 (Phases 0 to 7) built a correct, fast tool. Build Run 2 (Phases 8 diff --git a/docs/adr/0030-the-builder-keeps-a-repo-state-and-works-out-only-what-changed.md b/docs/adr/0030-the-builder-keeps-a-repo-state-and-works-out-only-what-changed.md index 115cfbe..c6a2f66 100644 --- a/docs/adr/0030-the-builder-keeps-a-repo-state-and-works-out-only-what-changed.md +++ b/docs/adr/0030-the-builder-keeps-a-repo-state-and-works-out-only-what-changed.md @@ -15,7 +15,7 @@ Measured on two cores, a warm linux Build with nothing new took about 10 s and 6 - **Nothing new costs one question.** A Build whose Report is whole (its pack, every Mainline line counted, built within a week) asks the remote for its head with `git ls-remote`, and ends there when it has not moved; `repositories.checked_at` records it. Seeds ask GitHub's GraphQL API for a hundred heads at a time, and are built when their head moved and someone viewed them since, or weekly (D1). - **The commit graph is kept.** The cache keeps each commit's parents by its place in the Index, and the Mainline of the last head, brought up to date from the commits added since. The Mainline walks only the new part of the first-parent line; the commits the last export's frontier reaches come from memory. - **The Atlas is made once per pack, by the Builder,** from rows `build` writes beside the pack, with the Site's own encoder, in a process of its own that waits for an engine slot, and is stored before the pack is published. The Site only sends it. -- **The Repo State has four tiers.** Read from disk by the Build that uses it (decoded today, to be mapped in place); on the Builder's disk until unused for `STATE_DISK_DAYS` (7) or past `CACHE_BUDGET_GB` (5), least recently used first; in R2 as 8 MB chunks named by their content (zstd, then AES-256-GCM with a key made from `STATE_KEY`), uploading only chunks R2 lacks, until unused for `STATE_KEEP_DAYS` (180), cleaned up by the Builder, not a bucket rule; and nothing, which means a clean Build. A disk miss restores from R2; an R2 miss, or a history rewritten past what the State holds, builds clean. +- **The Repo State has four tiers.** Read from disk by the Build that uses it (mapped in place since ADR-0031); on the Builder's disk until unused for `STATE_DISK_DAYS` (7) or past `CACHE_BUDGET_GB` (5), least recently used first; in R2 as 8 MB chunks named by their content (zstd, then AES-256-GCM with a key made from `STATE_KEY`), uploading only chunks R2 lacks, until unused for `STATE_KEEP_DAYS` (180), cleaned up by the Builder, not a bucket rule; and nothing, which means a clean Build. A disk miss restores from R2; an R2 miss, or a history rewritten past what the State holds, builds clean. - **Surviving Lines are a sum over the Ownership of lines** (D2). The Ownership of a head says which commit each line of each Source file came from, as blame says, and is kept per head as runs of lines. A new head that went forward along its first-parent line keeps every file whose path no first-parent commit since changed: walking back from the new head, such a file meets only first-parent commits whose first parent has it unchanged, so blame passes it straight down to the earlier head. Every other file is blamed with the same walk, which stops wherever it reaches the earlier head with a file whose ownership is known there. Lines Changed stay counted over every branch (D3). - **Today's blame is the referee.** A test compares everyone's counts with blame person by person on scripted histories, on every fixture and, on demand, on a real repository; react agrees for all 1,997 people. diff --git a/docs/adr/0031-the-repo-state-and-packs-are-read-in-place-and-standard-screens-are-stored.md b/docs/adr/0031-the-repo-state-and-packs-are-read-in-place-and-standard-screens-are-stored.md new file mode 100644 index 0000000..da66cb9 --- /dev/null +++ b/docs/adr/0031-the-repo-state-and-packs-are-read-in-place-and-standard-screens-are-stored.md @@ -0,0 +1,34 @@ +# The Repo State and packs are read in place, and standard screens are stored + +What a Build or the engine service reads from disk stays on disk: the Index's long columns, the commit graph, the Ownership of lines and a pack's columns are mapped and read in place rather than decoded onto the heap, and a cold Build lays its history out in files as it goes. Each head's standard screens are worked out once and stored with its Report. + +## Status + +accepted (2026-10-27). Amends ADR-0030, whose Repo State was decoded whole ("to be mapped in place"). Amends ADR-0028: packs are of format 3 and the engine service unpacks each once on its volume; the screens of the Windows all, 1y and 90d no longer come from the engine service. + +## Context + +The owner's target is a Build and an engine service that fit in about 250 MB, ideally 100 to 150 MB, on a two-core server. Measured on linux at the start of this work: a warm Build 600 to 885 MB of anonymous memory, a cold one 1.1 GB, everyone's Surviving Lines 1.6 GB, and the engine service 338 MB for one pack (580 MB while decoding it). The heap held what the files already held: the Index decoded whole, every git handle and thread with 50 to 190 MB of object and delta caches, the previous Ownership decoded beside the one being built, and every history walk's list of all commits. + +## Decision + +- **The Index's columns are kept beside the cache, laid out to be mapped.** Each cache generation has a column file (commits, changes, subjects, settled line marks) mapped copy-on-write by one small crate, the only code that maps memory. A warm Build maps it; a Build with new commits streams the old file and the new commits into the next one; the line pass counts only commits not settled and writes them back; a change in which files are left out masks only those files again. The file reads as absent until a save is on disk. +- **A cold Build goes through files.** The walk reads 32,768 commits at a time; the Index builder appends what it gathers to files in the cache folder and lays the columns out into files it maps; the cache's blocks are encoded one at a time as they are written. +- **The Ownership of lines is a file read in place,** commits sorted by id, files by path, each file's owners as varint runs; a new one is written file by file to disk and laid out at the end. Carried-over files copy their runs. A blame walk holds 16 MB of head text. +- **git's caches are small:** 1 to 8 MB per handle and thread. Speed is the same within noise, except a cold walk of linux (10% more wall time, the same CPU). +- **Packs are of format 3:** the bincode of everything but the long columns, then each column as zlib of its fixed records, compressed in R2 (3% larger than format 2). The engine service unpacks a pack once, streaming, into a page-aligned file on its volume and maps it; format 2 packs are still decoded. The engine service deploys before the Builder. +- **Standard screens are stored per head.** After publishing a pack, the Builder runs `commitscape screens` in a process of its own under an engine slot and stores the stats and the overview, activity, people and top of the map of all, 1y and 90d under the Report's prefix. The Site sends those first and asks the engine service only for the rest. A test checks every stored screen is the engine's own answer. + +## Considered + +- **Uncompressed columns in R2,** so the engine service maps what it downloads: linux's pack would grow from 103 MB to about 400 MB, four times the storage and transfer on a free tier, for a download that happens once per pack. +- **Working the screens out inside `build`:** one Window's shared answers cost about 170 MB on linux, which would have doubled the warm Build. A process of its own keeps each under its own budget. +- **Rollups per person and month,** so 1y and 90d slide by subtracting months: with the screens stored once per head, a page view no longer works anything out; rollups would make that once-per-head step cheaper and are left for later. + +## Consequences + +- linux, two threads: warm Build 94 MB, a Build 17,127 commits on 211 MB, cold without lines 276 MB, everyone's Surviving Lines from nothing 442 MB in 20 minutes (was 1.6 GB in about an hour), the engine service 117 MB after its first answer with 52 MB per pack on its heap; react under 160 MB for everything. +- The first Build of each repository after the upgrade writes its column file once (linux 13 s, 498 MB). +- The engine service's volume holds packs unpacked, about 2.6 times their R2 size; `PACK_DISK_GB` counts them so. +- A Report published before this release asks the engine service for its standard screens until its next Build. +- Still above 256 MB on linux: everyone's Surviving Lines (the blame walk's frontier) and the cold head pass (gix resolving 16 to 24 MB headers two at a time). From 5382777afb1339886209dabaaaf4690c4b857489 Mon Sep 17 00:00:00 2001 From: Dev Talan <84081651+devchaudhary24k@users.noreply.github.com> Date: Tue, 27 Oct 2026 13:29:14 +0530 Subject: [PATCH 35/82] fix(builder): hold a repository's cache while its State is saved or restored A Build and a count of everyone's Surviving Lines run on separate queues and could use the same cache at once: a State could be saved while the other job was rewriting a column or Ownership file in place, and a torn file uploaded and later brought back; a restore could race a job making the cache. Every engine run on a cache folder (signatures, build, surviving), and every save or restore of its State, now holds that folder in turn. The hold is taken before an engine slot, never while holding one. Tests: a save never overlaps an engine run of the same repository, from its own Build or from another job, and a count waits while another job holds the cache. --- apps/builder/src/builder.test.ts | 30 +++++++++++++++++++++++++++++- apps/builder/src/disk.ts | 6 ++++++ apps/builder/src/run.ts | 11 ++++++----- apps/builder/src/survival.test.ts | 19 +++++++++++++++++++ apps/builder/src/survival.ts | 13 ++++++++----- 5 files changed, 68 insertions(+), 11 deletions(-) diff --git a/apps/builder/src/builder.test.ts b/apps/builder/src/builder.test.ts index 8f51109..85cd7b9 100644 --- a/apps/builder/src/builder.test.ts +++ b/apps/builder/src/builder.test.ts @@ -7,7 +7,7 @@ import { expect, test } from "vitest"; import { readManifest, type LiveIndex, type Loaded } from "@commitscape/server"; import { ensureClone, failure, gitEnv } from "./clone"; import type { Config } from "./config"; -import { cacheDir, cacheFor, prune, repoDir } from "./disk"; +import { cacheDir, cacheFor, holdingCache, prune, repoDir } from "./disk"; import { readEvents } from "./engine"; import { flagOf, writeBuilt, type FakeBuild } from "./fake"; import { build, BUILD_ATTEMPTS, cloneLimitOf, run, sharingEngine, timeLimitOf, type BuildTarget, type Deps, type Made, type Ran, type RunOptions } from "./run"; @@ -124,6 +124,34 @@ test("a Build brings its State back before the engine first runs and keeps it af } }); +test("a State is saved or brought back only while no engine run reads or writes its cache, from this job or another", async () => { + const work = await mkdtemp(join(tmpdir(), "builder-")); + let busy = 0; + const seen: number[] = []; + const f = fake(async (c) => { + if (c.cmd !== "commitscape") return ok; + busy += 1; + await pause(40); + busy -= 1; + return ok; + }); + const holdSave = async () => { + seen.push(busy); + await pause(30); + seen.push(busy); + return { uploaded: 0, sent: 0, bytes: 0 }; + }; + f.deps.state = { restore: async () => ({ restored: false, bytes: 0 }), save: holdSave }; + const root = cacheDir(cfg(work), "acme", "rocket"); + const building = build(req(), cfg(work), f.deps); + await pause(20); + const elsewhere = [holdingCache(root, holdSave), pause(60).then(() => holdingCache(root, holdSave))]; + await Promise.all([building, ...elsewhere]); + expect(builds(f.calls)).toHaveLength(2); + expect(seen).toHaveLength(6); + expect(seen.every((n) => n === 0)).toBe(true); +}); + test("a repository ready to be lean is read from a blobless clone without files, fetching only what its Build reads, and its full clone is let go", async () => { const work = await mkdtemp(join(tmpdir(), "builder-")); const live: LiveIndex = { id: 1, lineage: "7", kept: true, frontier: ["f".repeat(40)], lines: true, linesLeft: 0, head: "f".repeat(40), pack: "p", mark: null }; diff --git a/apps/builder/src/disk.ts b/apps/builder/src/disk.ts index 1ca55b2..ca47b5b 100644 --- a/apps/builder/src/disk.ts +++ b/apps/builder/src/disk.ts @@ -3,6 +3,7 @@ import { mkdir, readdir, readFile, rename, rm, stat, utimes, writeFile } from "n import { dirname, join } from "node:path"; import { and, eq, gt, inArray, or } from "drizzle-orm"; import { now, schema, type Db } from "@commitscape/server"; +import { locked } from "./clone"; import type { Config } from "./config"; const { builds, repositories, surviving } = schema; @@ -31,6 +32,11 @@ export async function cacheFor(cfg: Config, repo: { isPrivate: boolean; owner: s return dir; } +/** Runs `fn` holding a cache folder: an engine run reading or writing it, and its State being saved or brought back, never overlap. Take it before an engine slot, never while holding one. */ +export function holdingCache(root: string, fn: () => Promise): Promise { + return locked(`cache:${root}`, fn); +} + /** Where a private repository's clone and cache live while one job uses them. */ export const privateDir = (cfg: Config, key: string) => join(cfg.work, "private", key); diff --git a/apps/builder/src/run.ts b/apps/builder/src/run.ts index fb13a63..f5a0afd 100644 --- a/apps/builder/src/run.ts +++ b/apps/builder/src/run.ts @@ -8,7 +8,7 @@ import { appendable, type LiveIndex, type Loaded } from "@commitscape/server"; import { readSignatures, writeAccountsFile, type Signature } from "./accounts"; import { cloneUrl, ensureClone, gitEnv, locked, missingIn, tipsOf, type Cloned } from "./clone"; import type { Config } from "./config"; -import { cacheFor, privateDir, repoDir, scratchDir } from "./disk"; +import { cacheFor, holdingCache, privateDir, repoDir, scratchDir } from "./disk"; import { readBuilt, readEvents, type Built } from "./engine"; import { prefetch } from "./lean"; import { engineSpans, Phases } from "./telemetry"; @@ -198,6 +198,7 @@ export async function build(req: BuildTarget, cfg: Config, deps: Deps): Promise< const url = cloneUrl(cfg, req.owner, req.name); const cacheRoot = await cacheFor(cfg, { isPrivate: !!req.private, owner: req.owner, name: req.name, home }); const cache = ["--cache-dir", cacheRoot, "--cache-key", req.repo]; + const cached: typeof deps.run = (cmd, args, env, timeoutMs, opts) => holdingCache(cacheRoot, () => deps.run(cmd, args, env, timeoutMs, opts)); const state = req.private ? undefined : deps.state; let restoring: Promise = Promise.resolve(); const warm = existsSync(join(full, ".git")); @@ -225,7 +226,7 @@ export async function build(req: BuildTarget, cfg: Config, deps: Deps): Promise< args.push("--", dir); const t = Date.now(); const ran = await phases.time(`build ${phase}`, "engine", async () => { - const done = await deps.run(cfg.bin, args, engineEnv, binLimit * 1000, { nice: cfg.nice }); + const done = await cached(cfg.bin, args, engineEnv, binLimit * 1000, { nice: cfg.nice }); engineSpans(await readEvents(events)); return done; }); @@ -248,7 +249,7 @@ export async function build(req: BuildTarget, cfg: Config, deps: Deps): Promise< await restoring; const events = join(scratch, "signatures.events"); const signatures = await phases.time("signatures", "engine", async () => { - const found = await readSignatures(deps.run, { bin: cfg.bin, dir, scratch, cache, env: engineEnv, timeoutMs: binLimit * 1000, nice: cfg.nice, events, ...(deps.log ? { log: deps.log } : {}) }); + const found = await readSignatures(cached, { bin: cfg.bin, dir, scratch, cache, env: engineEnv, timeoutMs: binLimit * 1000, nice: cfg.nice, events, ...(deps.log ? { log: deps.log } : {}) }); engineSpans(await readEvents(events)); return found; }); @@ -287,7 +288,7 @@ export async function build(req: BuildTarget, cfg: Config, deps: Deps): Promise< await utimes(home, new Date(), new Date()); if (state) { restoring = phases - .time("restore state", "state", () => state.restore(cacheRoot)) + .time("restore state", "state", () => holdingCache(cacheRoot, () => state.restore(cacheRoot))) .then((r) => r.restored && deps.log?.(`state of ${req.owner}/${req.name}: restored ${Math.round(r.bytes / 1e6)} MB from R2`)) .catch((e: unknown) => deps.log?.(`state of ${req.owner}/${req.name} not restored: ${(e as Error).message}`)); } @@ -354,7 +355,7 @@ export async function build(req: BuildTarget, cfg: Config, deps: Deps): Promise< const made = fullMade ?? quickMade; if (state && made) { await phases - .time("save state", "state", () => state.save(cacheRoot)) + .time("save state", "state", () => holdingCache(cacheRoot, () => state.save(cacheRoot))) .then((s) => deps.log?.(`state of ${req.owner}/${req.name}: ${s.uploaded} new chunks, ${Math.round(s.sent / 1e6)} MB sent, ${Math.round(s.bytes / 1e6)} MB kept`)) .catch((e: unknown) => deps.log?.(`state of ${req.owner}/${req.name} not saved: ${(e as Error).message}`)); } diff --git a/apps/builder/src/survival.test.ts b/apps/builder/src/survival.test.ts index c6fe217..a7f86ad 100644 --- a/apps/builder/src/survival.test.ts +++ b/apps/builder/src/survival.test.ts @@ -7,6 +7,7 @@ import { drizzle } from "drizzle-orm/pglite"; import { migrate } from "drizzle-orm/pglite/migrator"; import { expect, test } from "vitest"; import { memoryStorage, schema, type Db, type SurvivalJob } from "@commitscape/server"; +import { holdingCache } from "./disk"; import type { JobContext } from "./job"; import type { Ran } from "./run"; import { budgetOf, runSurvival, SURVIVING_BUDGET_MAX } from "./survival"; @@ -67,6 +68,24 @@ test("a count is everyone's, whoever asked: each person's answer is recorded at expect(await oldestOf(db, 4)).toBeNull(); }); +test("a count waits while another job holds the repository's cache, and saves its State holding it too", async () => { + const order: string[] = []; + const { ctx } = await setup(async (_cmd, args) => { + order.push(args[0] ?? ""); + return { code: 0, stderr: "", timedOut: false, stdout: everyone([alice, bob]) }; + }); + const root = join(ctx.cfg.work, "caches", "acme", "rocket"); + ctx.saveState = async () => void order.push("save"); + const pause = (ms: number) => new Promise((r) => setTimeout(r, ms)); + const other = holdingCache(root, async () => { + order.push("other starts"); + await pause(80); + order.push("other ends"); + }); + await Promise.all([other, runSurvival({ repoId: "acme/rocket", reportKey: "r/b1", personIds: [3] }, ctx)]); + expect(order).toEqual(["other starts", "other ends", "surviving", "save"]); +}); + test("ownership not whole within the budget is asked again for everyone with twice the budget, and its rows stay counting; past four hours they are over budget", async () => { const budgets: string[] = []; const timers: number[] = []; diff --git a/apps/builder/src/survival.ts b/apps/builder/src/survival.ts index d1c335c..0af2a6e 100644 --- a/apps/builder/src/survival.ts +++ b/apps/builder/src/survival.ts @@ -5,7 +5,7 @@ import { and, desc, eq, inArray, isNotNull, sql } from "drizzle-orm"; import { installationToken, now, randomId, schema, type SurvivalJob } from "@commitscape/server"; import { cloneUrl, ensureClone, gitEnv, locked } from "./clone"; import { accountsFor, writeAccounts } from "./accounts"; -import { cacheFor, holding, privateDir, repoDir, scratchDir } from "./disk"; +import { cacheFor, holding, holdingCache, privateDir, repoDir, scratchDir } from "./disk"; import { fetchBlobs, historyBlobs } from "./lean"; import type { JobContext } from "./job"; import { NAME, type Ran } from "./run"; @@ -80,14 +80,17 @@ export async function runSurvival(job: SurvivalJob, ctx: JobContext & { budget: await mkdir(scratch, { recursive: true }); const gh = { ...ctx.github, token: token ?? ctx.github.token }; const scope = repo.isPrivate ? repo.id : "public"; - const cache = ["--cache-dir", await cacheFor(cfg, { isPrivate: repo.isPrivate, owner: repo.owner, name: repo.name, home }), "--cache-key", repo.id]; + const cacheRoot = await cacheFor(cfg, { isPrivate: repo.isPrivate, owner: repo.owner, name: repo.name, home }); + const cache = ["--cache-dir", cacheRoot, "--cache-key", repo.id]; + const cached: typeof ctx.run = (cmd, args, env, timeoutMs, opts) => holdingCache(cacheRoot, () => ctx.run(cmd, args, env, timeoutMs, opts)); const engineEnv = { ...env, ...(cfg.threads ? { COMMITSCAPE_THREADS: String(cfg.threads) } : {}) }; - const accounts = await writeAccounts(ctx.run, { bin: cfg.bin, dir: full, scratch, cache, env: engineEnv, timeoutMs: cfg.timeLimit * 1000, nice: cfg.nice, log: ctx.log }, async (signatures) => (await accountsFor(db, gh, { owner: repo.owner, name: repo.name, scope }, signatures, cfg.logins)).accounts); + const accounts = await writeAccounts(cached, { bin: cfg.bin, dir: full, scratch, cache, env: engineEnv, timeoutMs: cfg.timeLimit * 1000, nice: cfg.nice, log: ctx.log }, async (signatures) => (await accountsFor(db, gh, { owner: repo.owner, name: repo.name, scope }, signatures, cfg.logins)).accounts); const args = ["surviving", "--everyone", "--budget-seconds", String(budget), ...cache, "--offline"]; if (accounts) args.push("--accounts", accounts); args.push("--", full); - ran = await ctx.run(cfg.bin, args, engineEnv, (budget + cfg.timeLimit) * 1000, { nice: cfg.nice, maxStdout: EVERYONE_BYTES }); - if (!repo.isPrivate && ran.code === 0) await ctx.saveState?.(repo.id, cache[1] ?? "").catch((e: unknown) => ctx.log(`state of ${repo.id} not saved: ${(e as Error).message}`)); + ran = await cached(cfg.bin, args, engineEnv, (budget + cfg.timeLimit) * 1000, { nice: cfg.nice, maxStdout: EVERYONE_BYTES }); + const save = ctx.saveState; + if (save && !repo.isPrivate && ran.code === 0) await holdingCache(cacheRoot, () => save(repo.id, cacheRoot)).catch((e: unknown) => ctx.log(`state of ${repo.id} not saved: ${(e as Error).message}`)); } finally { await rm(scratch, { recursive: true, force: true }); if (repo.isPrivate) await rm(home, { recursive: true, force: true }); From 64b0cabad0575172f7f9614b733fa4c6b2e9062c Mon Sep 17 00:00:00 2001 From: Dev Talan <84081651+devchaudhary24k@users.noreply.github.com> Date: Tue, 27 Oct 2026 13:37:33 +0530 Subject: [PATCH 36/82] perf(builder): cut the Repo State's files by their content State files were cut every 8 MB from their start, so the column file a Build writes anew, with new commits inserted by time, shifted every boundary after the first insertion, and the previous generation's columns and head, kept only to fall back on, were kept in R2 too. Files are now cut where their content says (a gear hash, 512 KB to 8 MB, about 2.5 MB apart), and files of another generation or being written are left out. A restored State still builds warm. States already in R2 still restore; their files are sent once more at the next save. linux State saves, after an upgrade Build at the old head: - +643 commits: 59 -> 18 MB sent, State 757 -> 496 MB, 1.9 -> 2.0 CPU-s - +16,521 more: 63 -> 35 MB sent, 2.6 CPU-s - nothing new: 0 sent; restore 3.0 s, then a warm Build at 132 MB --- apps/builder/src/state.test.ts | 34 +++++++++++++ apps/builder/src/state.ts | 93 +++++++++++++++++++++++++--------- 2 files changed, 104 insertions(+), 23 deletions(-) diff --git a/apps/builder/src/state.test.ts b/apps/builder/src/state.test.ts index 1275767..7683262 100644 --- a/apps/builder/src/state.test.ts +++ b/apps/builder/src/state.test.ts @@ -1,3 +1,4 @@ +import { randomBytes } from "node:crypto"; import { appendFile, mkdir, mkdtemp, readFile, writeFile } from "node:fs/promises"; import { tmpdir } from "node:os"; import { join } from "node:path"; @@ -67,6 +68,39 @@ test("a later save uploads only the chunks R2 does not hold, and deletes the one expect([...now].filter((k) => !first.has(k))).toHaveLength(1); }); +test("bytes inserted into a large file upload only the chunks around them, and it comes back the same", async () => { + const storage = memoryStorage(); + const root = await cache(); + const columns = join(root, "key-0123456789abcdef", "00000000000000aa.cols"); + const whole = randomBytes(24 << 20); + await writeFile(columns, whole); + const first = await saveState({ storage, keys }, "acme/rocket", root); + expect(first.chunks).toBeGreaterThan(8); + const inserted = Buffer.concat([whole.subarray(0, 10 << 20), randomBytes(4096), whole.subarray(10 << 20)]); + await writeFile(columns, inserted); + const again = await saveState({ storage, keys }, "acme/rocket", root); + expect(again.uploaded).toBeLessThanOrEqual(2); + expect(again.sent).toBeLessThan(CHUNK_BYTES * 2); + const into = join(await mkdtemp(join(tmpdir(), "state-")), "rocket"); + expect((await restoreState({ storage, keys }, "acme/rocket", into)).restored).toBe(true); + expect((await read(into, "00000000000000aa.cols")).equals(inserted)).toBe(true); +}); + +test("files of another cache generation, and files being written, are not kept", async () => { + const storage = memoryStorage(); + const root = await cache(); + const dir = join(root, "key-0123456789abcdef"); + for (const name of ["00000000000000ab.cols", "00000000000000ab.head", "00000000000000aa.cols.writing", "ownership.runs", "building.changes", "merging.part"]) await writeFile(join(dir, name), "passing"); + await writeFile(join(dir, "00000000000000aa.cols"), "current columns"); + const saved = await saveState({ storage, keys }, "acme/rocket", root); + expect(saved.files).toBe(5); + const into = join(await mkdtemp(join(tmpdir(), "state-")), "rocket"); + await restoreState({ storage, keys }, "acme/rocket", into); + expect((await read(into, "00000000000000aa.cols")).toString()).toBe("current columns"); + await expect(read(into, "00000000000000ab.cols")).rejects.toThrow(); + await expect(read(into, "ownership.runs")).rejects.toThrow(); +}); + test("a State whose chunk was changed or lost is not restored, and nothing is left half in place", async () => { const storage = memoryStorage(); const root = await cache(); diff --git a/apps/builder/src/state.ts b/apps/builder/src/state.ts index a754098..b4e45f9 100644 --- a/apps/builder/src/state.ts +++ b/apps/builder/src/state.ts @@ -14,9 +14,63 @@ const unzstd = promisify(zstdDecompress); export const CHUNK_BYTES = 8 << 20; +const LEAST_BYTES = 512 << 10; + +const CUT_BITS = 21; + const LOCAL = "state.json"; -const SKIPPED = new Set(["index.lock", "index.load", "graph", "graph.writing", "blame", LOCAL]); +const SKIPPED = new Set(["index.lock", "index.load", "graph", "graph.writing", "blame", "merging.part", LOCAL]); const POINTER = "index.current"; +const GENERATION = /^([0-9a-f]{16})\.(cols|head)$/; +const PASSING = /\.(tmp|writing|part|runs)$|^building\./; + +const GEAR = (() => { + const table = new Uint32Array(256); + let x = 0x9e3779b9; + for (let i = 0; i < 256; i++) { + x = (x + 0x6d2b79f5) >>> 0; + let z = x; + z = Math.imul(z ^ (z >>> 15), z | 1); + z ^= z + Math.imul(z ^ (z >>> 7), z | 61); + table[i] = (z ^ (z >>> 14)) >>> 0; + } + return table; +})(); + +function cutAt(buf: Buffer, have: number): number { + if (have <= LEAST_BYTES) return have; + const limit = Math.min(have, CHUNK_BYTES); + let h = 0; + for (let i = LEAST_BYTES; i < limit; i++) { + h = ((h << 1) + (GEAR[buf[i] ?? 0] ?? 0)) >>> 0; + if (h >>> (32 - CUT_BITS) === 0) return i + 1; + } + return limit; +} + +/** A file cut where its content says, between 512 KB and 8 MB, about 2.5 MB apart: bytes inserted or removed change only the chunks around them. */ +async function* chunksOf(path: string): AsyncGenerator { + const handle = await open(path, "r"); + try { + const buf = Buffer.alloc(2 * CHUNK_BYTES); + let have = 0; + let done = false; + for (;;) { + while (!done && have < CHUNK_BYTES) { + const { bytesRead } = await handle.read(buf, have, buf.length - have, null); + if (bytesRead === 0) done = true; + else have += bytesRead; + } + if (have === 0) return; + const end = cutAt(buf, have); + yield Buffer.from(buf.subarray(0, end)); + buf.copy(buf, 0, end, have); + have -= end; + } + } finally { + await handle.close(); + } +} const DAY = 24 * 3600; type Entry = { path: string; size: number; mtime: number; chunks: string[] }; @@ -54,8 +108,11 @@ async function unseal(keys: StateKeys, bytes: Uint8Array): Promise { async function files(root: string): Promise { const out: string[] = []; const walk = async (dir: string) => { + const current = (await readFile(join(dir, POINTER), "utf8").catch(() => "")).trim(); for (const entry of await readdir(dir, { withFileTypes: true }).catch(() => [])) { - if (SKIPPED.has(entry.name) || entry.name.endsWith(".tmp")) continue; + if (SKIPPED.has(entry.name) || PASSING.test(entry.name)) continue; + const generation = GENERATION.exec(entry.name)?.[1]; + if (generation && current && generation !== current) continue; const path = join(dir, entry.name); if (entry.isDirectory()) await walk(path); else if (entry.isFile()) out.push(path); @@ -83,7 +140,7 @@ export async function hasCache(root: string): Promise { export type Saved = { files: number; chunks: number; uploaded: number; bytes: number; sent: number; deleted: number }; -/** Keeps a repository's engine cache in R2 as sealed chunks named by their content, uploading only the chunks R2 does not hold yet (an append to a file uploads its new tail), then the manifest naming them, then deletes the chunks no manifest names any more. A file unchanged since the last save is not read again. */ +/** Keeps a repository's engine cache in R2 as sealed chunks cut and named by their content, uploading only the chunks R2 does not hold yet (an append or an insertion uploads the chunks around it), then the manifest naming them, then deletes the chunks no manifest names any more. A file unchanged since the last save is not read again; files of a cache generation other than the current one, and files being written, are left out. */ export async function saveState(tier: StateTier, repoId: string, root: string, at = now()): Promise { const prefix = statePrefix(repoId); const before = await readLocal(root); @@ -103,29 +160,19 @@ export async function saveState(tier: StateTier, repoId: string, root: string, a bytes += was.size; continue; } - const handle = await open(path, "r"); const chunks: string[] = []; let size = 0; - try { - const buffer = Buffer.alloc(CHUNK_BYTES); - for (;;) { - const { bytesRead } = await handle.read(buffer, 0, CHUNK_BYTES, size); - if (bytesRead === 0) break; - const chunk = buffer.subarray(0, bytesRead); - const name = nameOf(tier.keys, chunk); - if (!held.has(name)) { - const body = await seal(tier.keys, chunk); - await tier.storage.put(prefix + name, body, { type: "application/octet-stream" }); - held.add(name); - uploaded++; - sent += body.byteLength; - } - chunks.push(name); - size += bytesRead; - if (bytesRead < CHUNK_BYTES) break; + for await (const chunk of chunksOf(path)) { + const name = nameOf(tier.keys, chunk); + if (!held.has(name)) { + const body = await seal(tier.keys, chunk); + await tier.storage.put(prefix + name, body, { type: "application/octet-stream" }); + held.add(name); + uploaded++; + sent += body.byteLength; } - } finally { - await handle.close(); + chunks.push(name); + size += chunk.byteLength; } entries.push({ path: rel, size, mtime: s.mtimeMs, chunks }); bytes += size; From bd10c18f0994ad0b5780492cb84dd27b3cf898e6 Mon Sep 17 00:00:00 2001 From: Dev Talan <84081651+devchaudhary24k@users.noreply.github.com> Date: Tue, 27 Oct 2026 13:42:08 +0530 Subject: [PATCH 37/82] fix(builder): build Reports from an earlier release again A Report was kept as whole by its head, lines and age alone, so after this release every Report a Builder of an earlier one published (format 2 pack, no stored screens, no Atlas made by the Builder, no Ownership for everyone) would have been kept for up to a week. A publish now records the build format on its Stored Index (migration: build_format), and a Report is whole only with this release's. `node builder.mjs rebuild` also queues, at the lowest priority, every repository whose live Stored Index has another; DEPLOY.md says to run it once after this deploy. --- DEPLOY.md | 29 +- apps/builder/src/builder.test.ts | 8 +- apps/builder/src/job.test.ts | 26 +- apps/builder/src/job.ts | 3 +- apps/builder/src/rebuild.test.ts | 16 +- apps/builder/src/rebuild.ts | 8 +- apps/builder/src/seeds.ts | 2 +- .../drizzle/0039_omniscient_flatman.sql | 1 + .../server/drizzle/meta/0039_snapshot.json | 3408 +++++++++++++++++ packages/server/drizzle/meta/_journal.json | 7 + packages/server/src/builds.test.ts | 8 +- packages/server/src/builds.ts | 13 +- packages/server/src/db/schema.ts | 1 + packages/server/src/stored-index.test.ts | 2 +- packages/server/src/stored-index.ts | 4 +- 15 files changed, 3497 insertions(+), 39 deletions(-) create mode 100644 packages/server/drizzle/0039_omniscient_flatman.sql create mode 100644 packages/server/drizzle/meta/0039_snapshot.json diff --git a/DEPLOY.md b/DEPLOY.md index d2e003b..3a31613 100644 --- a/DEPLOY.md +++ b/DEPLOY.md @@ -234,9 +234,9 @@ In Schedules, add two jobs for this application: | `0 3 * * *` | `node builder.mjs seed` | Queues the night's seed Builds: a seed whose Report is whole is queued only when its head moved (asked of GitHub's GraphQL API, a hundred repositories to a request) and someone viewed it since its last Build, or when its Report is a week old | `node builder.mjs rebuild` queues a Build, at the lowest priority, for every -repository whose live Stored Index has no pack. Run it once after upgrading -from a release without the engine service (see "Upgrading" below), in the -application's terminal or as a one-off schedule. +repository whose live Stored Index has no pack, or was made by a Builder of +an earlier release. Run it once after an upgrade that says so (see +"Upgrading" below), in the application's terminal or as a one-off schedule. ## 5. The engine service @@ -493,13 +493,13 @@ this order: it decodes as before, the new ones it unpacks once on its volume and reads in place. It adds `/v1/commits/search` and matches words in `/v1/commits/under`. -2. Deploy the Builder. Its migrations add `repositories.checked_at` and - the `repo_states` table. From then on it ends a Build early when the - head has not moved, makes each pack's Atlas and standard screens itself, - counts everyone's Surviving Lines once per new Report, and moves a - repository to a lean clone once its lines and Surviving Lines are - counted. The first Build of each repository makes its commit graph and - its Index's columns once (linux: 2.6 s and 13 s). +2. Deploy the Builder. Its migrations add `repositories.checked_at`, the + `repo_states` table and `stored_indexes.build_format`. From then on it + ends a Build early when the head has not moved, makes each pack's Atlas + and standard screens itself, counts everyone's Surviving Lines once per + new Report, and moves a repository to a lean clone once its lines and + Surviving Lines are counted. The first Build of each repository makes + its commit graph and its Index's columns once (linux: 2.6 s and 13 s). 3. To keep Repo States in R2 as well, set `STATE_KEY` on the Builder (a secret of 32 characters or more, kept only there, never changed after) before or with this deploy. Without it the States live on its disk only. @@ -510,7 +510,14 @@ this order: through the engine service, counts a Report found unchanged as current, and no longer serves `git/log.json`. Reports published before ask the engine service as before until their next Build. -5. Seeds' Surviving Lines rows of older Reports stay; each repository's +5. Run `node builder.mjs rebuild` once (on the Builder, from its Terminal + in Dokploy). It queues, at the lowest priority, a Build for every + repository whose live Stored Index was made by a Builder of an earlier + release; its migration adds `stored_indexes.build_format`, which only + this release's Builds fill in, and a Report without it is never kept as + whole, so those repositories are built again at their next Build anyway. + Until then they answer as before, from the engine service. +6. Seeds' Surviving Lines rows of older Reports stay; each repository's next Report gets everyone's. The first count of a large repository (linux: about 20 minutes of both cores) shows "counting" until it is whole. diff --git a/apps/builder/src/builder.test.ts b/apps/builder/src/builder.test.ts index 85cd7b9..ae39c6a 100644 --- a/apps/builder/src/builder.test.ts +++ b/apps/builder/src/builder.test.ts @@ -78,7 +78,7 @@ function fake(answer: (call: Call) => Ran | Promise = () => ok, built: Fake load: async (dir): Promise => { const m = await readManifest(dir); loads.push({ full: m.full, lines: m.lines_mainline }); - index.live = { id: 1, lineage: m.lineage, kept: true, frontier: m.frontier, lines: m.lines_mainline, linesLeft: m.lines_left, head: m.head, pack: null, mark: m.mark }; + index.live = { id: 1, lineage: m.lineage, kept: true, frontier: m.frontier, lines: m.lines_mainline, linesLeft: m.lines_left, head: m.head, pack: null, mark: m.mark, buildFormat: null }; return { si: 1, full: m.full, commits: m.commits, total: m.total, mainline: 0, lines: 0, seconds: 0 }; }, }, @@ -154,7 +154,7 @@ test("a State is saved or brought back only while no engine run reads or writes test("a repository ready to be lean is read from a blobless clone without files, fetching only what its Build reads, and its full clone is let go", async () => { const work = await mkdtemp(join(tmpdir(), "builder-")); - const live: LiveIndex = { id: 1, lineage: "7", kept: true, frontier: ["f".repeat(40)], lines: true, linesLeft: 0, head: "f".repeat(40), pack: "p", mark: null }; + const live: LiveIndex = { id: 1, lineage: "7", kept: true, frontier: ["f".repeat(40)], lines: true, linesLeft: 0, head: "f".repeat(40), pack: "p", mark: null, buildFormat: null }; const f = fake(() => ok, {}, live); const asked: string[][] = []; f.deps.prefetch = async (dir, _env, frontier) => { @@ -243,7 +243,7 @@ test("a warm Build brings the kept clone up to date and goes straight to the ful const work = await mkdtemp(join(tmpdir(), "builder-")); const full = join(work, "repos", "acme", "rocket", "full"); await mkdir(join(full, ".git"), { recursive: true }); - const f = fake(() => ok, {}, { id: 1, lineage: "7", kept: true, frontier: ["b".repeat(40)], lines: true, linesLeft: 0, head: "b".repeat(40), pack: "packs/acme/rocket/1/b-lines.pack", mark: null }); + const f = fake(() => ok, {}, { id: 1, lineage: "7", kept: true, frontier: ["b".repeat(40)], lines: true, linesLeft: 0, head: "b".repeat(40), pack: "packs/acme/rocket/1/b-lines.pack", mark: null, buildFormat: null }); const outcome = await build(req(), cfg(work), f.deps); expect(outcome).toMatchObject({ published: "full", kind: "warm" }); expect(commands(f.calls)).toEqual(["git rev-parse", "git fetch", "git reset", "signatures", "build"]); @@ -259,7 +259,7 @@ test("a warm Build brings the kept clone up to date and goes straight to the ful test("a cold Build of a repository whose Stored Index has lines skips the quick phase, and so does one whose Report has them", async () => { const work = await mkdtemp(join(tmpdir(), "builder-")); - const f = fake(() => ok, {}, { id: 1, lineage: "7", kept: true, frontier: ["b".repeat(40)], lines: true, linesLeft: 3, head: "b".repeat(40), pack: null, mark: null }); + const f = fake(() => ok, {}, { id: 1, lineage: "7", kept: true, frontier: ["b".repeat(40)], lines: true, linesLeft: 3, head: "b".repeat(40), pack: null, mark: null, buildFormat: null }); expect(await build(req(), cfg(work), f.deps)).toMatchObject({ published: "full", kind: "cold" }); expect(commands(f.calls)).toEqual(["git clone", "git commit-graph", "signatures", "build"]); expect(f.published).toEqual(["full"]); diff --git a/apps/builder/src/job.test.ts b/apps/builder/src/job.test.ts index f8739ee..29a1249 100644 --- a/apps/builder/src/job.test.ts +++ b/apps/builder/src/job.test.ts @@ -7,7 +7,7 @@ import { and, eq, ne } from "drizzle-orm"; import { drizzle } from "drizzle-orm/pglite"; import { migrate } from "drizzle-orm/pglite/migrator"; import { expect, test } from "vitest"; -import { atlasKey, lendToken, memoryStorage, now, PRIORITY, readManifest, schema, settleRepository, type BuildJob, type Db, type Loaded, type Queue, type SurvivalJob } from "@commitscape/server"; +import { atlasKey, BUILD_FORMAT, lendToken, memoryStorage, now, PRIORITY, readManifest, schema, settleRepository, type BuildJob, type Db, type Loaded, type Queue, type SurvivalJob } from "@commitscape/server"; import type { Config } from "./config"; import { cacheDir, inUse, sweep } from "./disk"; import { fakePerson, flagOf, writeBuilt, type FakeBuild } from "./fake"; @@ -144,6 +144,7 @@ test("a Build makes its pack's Atlas in a process of its own, under the engine's await runJob("b1", ctx); const [si] = await db.select().from(storedIndexes); expect(si?.pack).toBeTruthy(); + expect(si?.buildFormat).toBe(BUILD_FORMAT); expect(ctx.storage.objects.has(atlasKey(si?.id ?? 0, si?.pack ?? "", "map"))).toBe(true); expect(ctx.storage.objects.has(atlasKey(si?.id ?? 0, si?.pack ?? "", "names"))).toBe(true); expect(order).toEqual(["atlas", "map.bin.br before the publish", "names.bin.br before the publish"]); @@ -299,7 +300,7 @@ async function wholeReport(db: Db, id: string, head: string, over: Partial { + const db = await database(); + const head = "c".repeat(40); + const ran: string[] = []; + const base = tools(); + const ctx = await context(db, { + run: async (cmd, args) => { + ran.push(`${cmd} ${args[0]}`); + return cmd === "git" && args[0] === "ls-remote" ? { ...ok, stdout: `${head}\tHEAD\n` } : base(cmd, args); + }, + }); + await wholeReport(db, "acme/rocket", head); + await db.update(storedIndexes).set({ buildFormat: null }); + await db.insert(builds).values({ id: "b1", repoId: "acme/rocket", state: "queued", requestedAt: 1 }); + await runJob("b1", ctx); + expect(ran).not.toContain("git ls-remote"); + expect(ran.some((r) => r.startsWith("commitscape build"))).toBe(true); + const live = await db.select().from(storedIndexes).where(eq(storedIndexes.state, "live")); + expect(live.map((l) => l.buildFormat)).toEqual([BUILD_FORMAT]); +}); + test("a Build goes on when the head moved, when the Report is not whole, or for quiet Builds and retries, and asks the remote only when the Report is whole", async () => { const head = "c".repeat(40); const cases: [string, Partial, string, number, JobAsked, boolean][] = [ diff --git a/apps/builder/src/job.ts b/apps/builder/src/job.ts index 4e91001..185f5a6 100644 --- a/apps/builder/src/job.ts +++ b/apps/builder/src/job.ts @@ -1,6 +1,7 @@ import { readFile } from "node:fs/promises"; import { and, eq, sql } from "drizzle-orm"; import { + BUILD_FORMAT, type createDb, liveIndex, LOADED, @@ -313,7 +314,7 @@ async function publishBuild(ctx: JobContext, phases: Phases, buildId: string, ma .where(eq(builds.id, buildId)); if (!current) return null; const [index] = await tx.select({ pack: storedIndexes.pack }).from(storedIndexes).where(eq(storedIndexes.id, si)); - await tx.update(storedIndexes).set({ pack }).where(eq(storedIndexes.id, si)); + await tx.update(storedIndexes).set({ pack, buildFormat: BUILD_FORMAT }).where(eq(storedIndexes.id, si)); await tx .update(repositories) .set({ diff --git a/apps/builder/src/rebuild.test.ts b/apps/builder/src/rebuild.test.ts index e3911cb..1022849 100644 --- a/apps/builder/src/rebuild.test.ts +++ b/apps/builder/src/rebuild.test.ts @@ -4,7 +4,7 @@ import { eq } from "drizzle-orm"; import { drizzle } from "drizzle-orm/pglite"; import { migrate } from "drizzle-orm/pglite/migrator"; import { expect, test } from "vitest"; -import { now, PRIORITY, schema, type BuildJob, type Db } from "@commitscape/server"; +import { BUILD_FORMAT, now, PRIORITY, schema, type BuildJob, type Db } from "@commitscape/server"; import { queueRebuilds } from "./rebuild"; const { builds, repositories, storedIndexes } = schema; @@ -16,17 +16,19 @@ async function testDb(): Promise { return db; } -async function indexed(db: Db, id: string, pack: string | null, extra: Partial = {}): Promise { +async function indexed(db: Db, id: string, pack: string | null, extra: Partial = {}, buildFormat: number | null = pack ? BUILD_FORMAT : null): Promise { const [owner = "", name = ""] = id.split("/"); await db.insert(repositories).values({ id, owner, name, status: "ok", ...extra }); - const [si] = await db.insert(storedIndexes).values({ repoId: id, lineage: "1", kept: true, state: "live", lines: true, builtAt: now(), pack }).returning({ id: storedIndexes.id }); + const [si] = await db.insert(storedIndexes).values({ repoId: id, lineage: "1", kept: true, state: "live", lines: true, builtAt: now(), pack, buildFormat }).returning({ id: storedIndexes.id }); await db.update(repositories).set({ indexId: si?.id ?? null }).where(eq(repositories.id, id)); } -test("every repository whose live Stored Index has no pack gets a Build at the lowest priority, once", async () => { +test("every repository whose live Stored Index has no pack, or one from a Builder of an earlier release, gets a Build at the lowest priority, once", async () => { const db = await testDb(); await indexed(db, "acme/old", null); await indexed(db, "acme/new", "packs/acme/new/1/a-b-lines.pack"); + await indexed(db, "acme/before", "packs/acme/before/1/a-b-lines.pack", {}, null); + await indexed(db, "acme/earlier", "packs/acme/earlier/1/a-b-lines.pack", {}, BUILD_FORMAT - 1); await indexed(db, "acme/gone", null, { status: "not_found" }); await indexed(db, "acme/mine", null, { status: "private", isPrivate: true, installationId: 5 }); await indexed(db, "acme/busy", null); @@ -34,12 +36,14 @@ test("every repository whose live Stored Index has no pack gets a Build at the l await db.insert(repositories).values({ id: "acme/never", owner: "acme", name: "never", status: "ok" }); const sent: [BuildJob, number][] = []; const queue = { send: async (job: BuildJob, priority: number) => void sent.push([job, priority]) }; - expect(await queueRebuilds(db, queue)).toEqual({ queued: 2, repos: ["acme/mine", "acme/old"] }); + expect(await queueRebuilds(db, queue)).toEqual({ queued: 4, repos: ["acme/before", "acme/earlier", "acme/mine", "acme/old"] }); expect(sent.map(([job, priority]) => [job.repoId, priority])).toEqual([ + ["acme/before", PRIORITY.rebuild], + ["acme/earlier", PRIORITY.rebuild], ["acme/mine", PRIORITY.rebuild], ["acme/old", PRIORITY.rebuild], ]); const queued = (await db.select().from(builds)).filter((b) => b.state === "queued").map((b) => b.repoId); - expect(queued.sort()).toEqual(["acme/busy", "acme/mine", "acme/old"]); + expect(queued.sort()).toEqual(["acme/before", "acme/busy", "acme/earlier", "acme/mine", "acme/old"]); expect(await queueRebuilds(db, queue)).toEqual({ queued: 0, repos: [] }); }); diff --git a/apps/builder/src/rebuild.ts b/apps/builder/src/rebuild.ts index 8b44fe7..cbab662 100644 --- a/apps/builder/src/rebuild.ts +++ b/apps/builder/src/rebuild.ts @@ -1,9 +1,9 @@ -import { and, eq, inArray, isNull, notExists, or, isNotNull } from "drizzle-orm"; -import { PRIORITY, queueBuild, schema, type Db, type Queue } from "@commitscape/server"; +import { and, eq, inArray, isNull, ne, notExists, or, isNotNull } from "drizzle-orm"; +import { BUILD_FORMAT, PRIORITY, queueBuild, schema, type Db, type Queue } from "@commitscape/server"; const { builds, repositories, storedIndexes } = schema; -/** Queues a Build at the lowest priority for every repository whose live Stored Index has no pack, which the engine service needs to answer for it; not for one already queued or building. */ +/** Queues a Build at the lowest priority for every repository whose live Stored Index has no pack, which the engine service needs to answer for it, or was made by a Build of an earlier release (its build format is not BUILD_FORMAT); not for one already queued or building. */ export async function queueRebuilds(db: Db, queue: Queue): Promise<{ queued: number; repos: string[] }> { const waiting = db .select({ id: builds.id }) @@ -13,7 +13,7 @@ export async function queueRebuilds(db: Db, queue: Queue): Promise<{ queued: num .select({ id: repositories.id }) .from(repositories) .innerJoin(storedIndexes, and(eq(storedIndexes.id, repositories.indexId), eq(storedIndexes.state, "live"))) - .where(and(isNull(storedIndexes.pack), or(eq(repositories.status, "ok"), isNotNull(repositories.installationId)), notExists(waiting))) + .where(and(or(isNull(storedIndexes.pack), isNull(storedIndexes.buildFormat), ne(storedIndexes.buildFormat, BUILD_FORMAT)), or(eq(repositories.status, "ok"), isNotNull(repositories.installationId)), notExists(waiting))) .orderBy(repositories.id); for (const r of rows) await queueBuild(db, queue, r.id, PRIORITY.rebuild); return { queued: rows.length, repos: rows.map((r) => r.id) }; diff --git a/apps/builder/src/seeds.ts b/apps/builder/src/seeds.ts index 7ee1447..90afb20 100644 --- a/apps/builder/src/seeds.ts +++ b/apps/builder/src/seeds.ts @@ -102,7 +102,7 @@ export async function queueSeeds(db: Db, queue: Queue, list: Seed[], budget: num const at = now(); const due = ( await db - .select({ row: repositories, live: { pack: storedIndexes.pack, lines: storedIndexes.lines, linesLeft: storedIndexes.linesLeft, head: storedIndexes.head } }) + .select({ row: repositories, live: { pack: storedIndexes.pack, lines: storedIndexes.lines, linesLeft: storedIndexes.linesLeft, head: storedIndexes.head, buildFormat: storedIndexes.buildFormat } }) .from(repositories) .leftJoin(storedIndexes, eq(storedIndexes.id, repositories.indexId)) .where(and(eq(repositories.seed, true), eq(repositories.isPrivate, false))) diff --git a/packages/server/drizzle/0039_omniscient_flatman.sql b/packages/server/drizzle/0039_omniscient_flatman.sql new file mode 100644 index 0000000..fb58c3e --- /dev/null +++ b/packages/server/drizzle/0039_omniscient_flatman.sql @@ -0,0 +1 @@ +ALTER TABLE "stored_indexes" ADD COLUMN "build_format" integer; \ No newline at end of file diff --git a/packages/server/drizzle/meta/0039_snapshot.json b/packages/server/drizzle/meta/0039_snapshot.json new file mode 100644 index 0000000..0a602f9 --- /dev/null +++ b/packages/server/drizzle/meta/0039_snapshot.json @@ -0,0 +1,3408 @@ +{ + "id": "8e63aa45-4f5f-4fbd-9489-d0193e8e2dbc", + "prevId": "c551e79d-618a-4781-b987-42b0c66908c1", + "version": "7", + "dialect": "postgresql", + "tables": { + "public.access": { + "name": "access", + "schema": "", + "columns": { + "session_id": { + "name": "session_id", + "type": "text", + "primaryKey": false, + "notNull": true + }, + "repo_id": { + "name": "repo_id", + "type": "text", + "primaryKey": false, + "notNull": true + }, + "allowed": { + "name": "allowed", + "type": "boolean", + "primaryKey": false, + "notNull": true + }, + "until": { + "name": "until", + "type": "bigint", + "primaryKey": false, + "notNull": true + } + }, + "indexes": {}, + "foreignKeys": { + "access_session_id_session_id_fk": { + "name": "access_session_id_session_id_fk", + "tableFrom": "access", + "tableTo": "session", + "columnsFrom": [ + "session_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": { + "access_session_id_repo_id_pk": { + "name": "access_session_id_repo_id_pk", + "columns": [ + "session_id", + "repo_id" + ] + } + }, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.account": { + "name": "account", + "schema": "", + "columns": { + "id": { + "name": "id", + "type": "text", + "primaryKey": true, + "notNull": true + }, + "account_id": { + "name": "account_id", + "type": "text", + "primaryKey": false, + "notNull": true + }, + "provider_id": { + "name": "provider_id", + "type": "text", + "primaryKey": false, + "notNull": true + }, + "user_id": { + "name": "user_id", + "type": "text", + "primaryKey": false, + "notNull": true + }, + "access_token": { + "name": "access_token", + "type": "text", + "primaryKey": false, + "notNull": false + }, + "refresh_token": { + "name": "refresh_token", + "type": "text", + "primaryKey": false, + "notNull": false + }, + "id_token": { + "name": "id_token", + "type": "text", + "primaryKey": false, + "notNull": false + }, + "access_token_expires_at": { + "name": "access_token_expires_at", + "type": "timestamp", + "primaryKey": false, + "notNull": false + }, + "refresh_token_expires_at": { + "name": "refresh_token_expires_at", + "type": "timestamp", + "primaryKey": false, + "notNull": false + }, + "scope": { + "name": "scope", + "type": "text", + "primaryKey": false, + "notNull": false + }, + "password": { + "name": "password", + "type": "text", + "primaryKey": false, + "notNull": false + }, + "created_at": { + "name": "created_at", + "type": "timestamp", + "primaryKey": false, + "notNull": true, + "default": "now()" + }, + "updated_at": { + "name": "updated_at", + "type": "timestamp", + "primaryKey": false, + "notNull": true + } + }, + "indexes": { + "account_user_id": { + "name": "account_user_id", + "columns": [ + { + "expression": "user_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": { + "account_user_id_user_id_fk": { + "name": "account_user_id_user_id_fk", + "tableFrom": "account", + "tableTo": "user", + "columnsFrom": [ + "user_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.builds": { + "name": "builds", + "schema": "", + "columns": { + "id": { + "name": "id", + "type": "text", + "primaryKey": true, + "notNull": true + }, + "repo_id": { + "name": "repo_id", + "type": "text", + "primaryKey": false, + "notNull": true + }, + "state": { + "name": "state", + "type": "text", + "primaryKey": false, + "notNull": true + }, + "step": { + "name": "step", + "type": "text", + "primaryKey": false, + "notNull": false + }, + "reason": { + "name": "reason", + "type": "text", + "primaryKey": false, + "notNull": false + }, + "detail": { + "name": "detail", + "type": "text", + "primaryKey": false, + "notNull": false + }, + "seconds": { + "name": "seconds", + "type": "integer", + "primaryKey": false, + "notNull": false + }, + "partial": { + "name": "partial", + "type": "boolean", + "primaryKey": false, + "notNull": false + }, + "requested_at": { + "name": "requested_at", + "type": "bigint", + "primaryKey": false, + "notNull": true + }, + "started_at": { + "name": "started_at", + "type": "bigint", + "primaryKey": false, + "notNull": false + }, + "finished_at": { + "name": "finished_at", + "type": "bigint", + "primaryKey": false, + "notNull": false + } + }, + "indexes": { + "builds_repo_requested": { + "name": "builds_repo_requested", + "columns": [ + { + "expression": "repo_id", + "isExpression": false, + "asc": true, + "nulls": "last" + }, + { + "expression": "requested_at", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "builds_state": { + "name": "builds_state", + "columns": [ + { + "expression": "state", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": { + "builds_repo_id_repositories_id_fk": { + "name": "builds_repo_id_repositories_id_fk", + "tableFrom": "builds", + "tableTo": "repositories", + "columnsFrom": [ + "repo_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.github_cache": { + "name": "github_cache", + "schema": "", + "columns": { + "key": { + "name": "key", + "type": "text", + "primaryKey": true, + "notNull": true + }, + "etag": { + "name": "etag", + "type": "text", + "primaryKey": false, + "notNull": false + }, + "status": { + "name": "status", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "body": { + "name": "body", + "type": "text", + "primaryKey": false, + "notNull": false + }, + "fetched_at": { + "name": "fetched_at", + "type": "bigint", + "primaryKey": false, + "notNull": true + }, + "until": { + "name": "until", + "type": "bigint", + "primaryKey": false, + "notNull": true + } + }, + "indexes": { + "github_cache_until": { + "name": "github_cache_until", + "columns": [ + { + "expression": "until", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": {}, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.index_commit_lines": { + "name": "index_commit_lines", + "schema": "", + "columns": { + "si": { + "name": "si", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "sha": { + "name": "sha", + "type": "bytea", + "primaryKey": false, + "notNull": true + }, + "added": { + "name": "added", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "removed": { + "name": "removed", + "type": "integer", + "primaryKey": false, + "notNull": true + } + }, + "indexes": {}, + "foreignKeys": {}, + "compositePrimaryKeys": { + "index_commit_lines_si_sha_pk": { + "name": "index_commit_lines_si_sha_pk", + "columns": [ + "si", + "sha" + ] + } + }, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.index_commits": { + "name": "index_commits", + "schema": "", + "columns": { + "si": { + "name": "si", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "sha": { + "name": "sha", + "type": "bytea", + "primaryKey": false, + "notNull": true + }, + "at": { + "name": "at", + "type": "bigint", + "primaryKey": false, + "notNull": true + }, + "offset": { + "name": "offset", + "type": "smallint", + "primaryKey": false, + "notNull": true + }, + "author_delta": { + "name": "author_delta", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "signature": { + "name": "signature", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "kind": { + "name": "kind", + "type": "smallint", + "primaryKey": false, + "notNull": true + }, + "flags": { + "name": "flags", + "type": "smallint", + "primaryKey": false, + "notNull": true + }, + "arrival": { + "name": "arrival", + "type": "bigint", + "primaryKey": false, + "notNull": false + }, + "subject": { + "name": "subject", + "type": "text", + "primaryKey": false, + "notNull": true + }, + "files": { + "name": "files", + "type": "integer[]", + "primaryKey": false, + "notNull": true + }, + "changes": { + "name": "changes", + "type": "smallint[]", + "primaryKey": false, + "notNull": true + }, + "added": { + "name": "added", + "type": "integer[]", + "primaryKey": false, + "notNull": false + }, + "removed": { + "name": "removed", + "type": "integer[]", + "primaryKey": false, + "notNull": false + } + }, + "indexes": { + "index_commits_at": { + "name": "index_commits_at", + "columns": [ + { + "expression": "si", + "isExpression": false, + "asc": true, + "nulls": "last" + }, + { + "expression": "at", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "index_commits_signature": { + "name": "index_commits_signature", + "columns": [ + { + "expression": "si", + "isExpression": false, + "asc": true, + "nulls": "last" + }, + { + "expression": "signature", + "isExpression": false, + "asc": true, + "nulls": "last" + }, + { + "expression": "at", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": {}, + "compositePrimaryKeys": { + "index_commits_si_sha_pk": { + "name": "index_commits_si_sha_pk", + "columns": [ + "si", + "sha" + ] + } + }, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.index_file_paths": { + "name": "index_file_paths", + "schema": "", + "columns": { + "si": { + "name": "si", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "file": { + "name": "file", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "path": { + "name": "path", + "type": "text", + "primaryKey": false, + "notNull": true + } + }, + "indexes": {}, + "foreignKeys": {}, + "compositePrimaryKeys": { + "index_file_paths_si_file_path_pk": { + "name": "index_file_paths_si_file_path_pk", + "columns": [ + "si", + "file", + "path" + ] + } + }, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.index_files": { + "name": "index_files", + "schema": "", + "columns": { + "si": { + "name": "si", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "file": { + "name": "file", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "path": { + "name": "path", + "type": "text", + "primaryKey": false, + "notNull": true + }, + "folder": { + "name": "folder", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "born": { + "name": "born", + "type": "bigint", + "primaryKey": false, + "notNull": true + }, + "last": { + "name": "last", + "type": "bigint", + "primaryKey": false, + "notNull": true + }, + "alive": { + "name": "alive", + "type": "boolean", + "primaryKey": false, + "notNull": true + }, + "role": { + "name": "role", + "type": "smallint", + "primaryKey": false, + "notNull": true, + "default": 0 + }, + "language": { + "name": "language", + "type": "text", + "primaryKey": false, + "notNull": false + }, + "guessed_generated": { + "name": "guessed_generated", + "type": "boolean", + "primaryKey": false, + "notNull": true, + "default": false + }, + "lockfile": { + "name": "lockfile", + "type": "boolean", + "primaryKey": false, + "notNull": true, + "default": false + } + }, + "indexes": { + "index_files_folder": { + "name": "index_files_folder", + "columns": [ + { + "expression": "si", + "isExpression": false, + "asc": true, + "nulls": "last" + }, + { + "expression": "folder", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": {}, + "compositePrimaryKeys": { + "index_files_si_file_pk": { + "name": "index_files_si_file_pk", + "columns": [ + "si", + "file" + ] + } + }, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.index_folders": { + "name": "index_folders", + "schema": "", + "columns": { + "si": { + "name": "si", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "id": { + "name": "id", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "path": { + "name": "path", + "type": "text", + "primaryKey": false, + "notNull": true + }, + "parent": { + "name": "parent", + "type": "integer", + "primaryKey": false, + "notNull": false + }, + "depth": { + "name": "depth", + "type": "smallint", + "primaryKey": false, + "notNull": true + } + }, + "indexes": { + "index_folders_path": { + "name": "index_folders_path", + "columns": [ + { + "expression": "si", + "isExpression": false, + "asc": true, + "nulls": "last" + }, + { + "expression": "path", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": true, + "concurrently": false, + "method": "btree", + "with": {} + }, + "index_folders_parent": { + "name": "index_folders_parent", + "columns": [ + { + "expression": "si", + "isExpression": false, + "asc": true, + "nulls": "last" + }, + { + "expression": "parent", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": {}, + "compositePrimaryKeys": { + "index_folders_si_id_pk": { + "name": "index_folders_si_id_pk", + "columns": [ + "si", + "id" + ] + } + }, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.index_head_files": { + "name": "index_head_files", + "schema": "", + "columns": { + "si": { + "name": "si", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "file": { + "name": "file", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "blob": { + "name": "blob", + "type": "bytea", + "primaryKey": false, + "notNull": true + }, + "bytes": { + "name": "bytes", + "type": "bigint", + "primaryKey": false, + "notNull": true + }, + "lines": { + "name": "lines", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "class": { + "name": "class", + "type": "text", + "primaryKey": false, + "notNull": true + }, + "indent_levels": { + "name": "indent_levels", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "indent_mean": { + "name": "indent_mean", + "type": "real", + "primaryKey": false, + "notNull": true + }, + "indent_stddev": { + "name": "indent_stddev", + "type": "real", + "primaryKey": false, + "notNull": true + } + }, + "indexes": {}, + "foreignKeys": {}, + "compositePrimaryKeys": { + "index_head_files_si_file_pk": { + "name": "index_head_files_si_file_pk", + "columns": [ + "si", + "file" + ] + } + }, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.index_people": { + "name": "index_people", + "schema": "", + "columns": { + "si": { + "name": "si", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "signature": { + "name": "signature", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "name": { + "name": "name", + "type": "text", + "primaryKey": false, + "notNull": true + }, + "person": { + "name": "person", + "type": "integer", + "primaryKey": false, + "notNull": false + }, + "person_name": { + "name": "person_name", + "type": "text", + "primaryKey": false, + "notNull": false + }, + "colour": { + "name": "colour", + "type": "smallint", + "primaryKey": false, + "notNull": false + }, + "login": { + "name": "login", + "type": "text", + "primaryKey": false, + "notNull": false + }, + "bot": { + "name": "bot", + "type": "boolean", + "primaryKey": false, + "notNull": true + } + }, + "indexes": { + "index_people_person": { + "name": "index_people_person", + "columns": [ + { + "expression": "si", + "isExpression": false, + "asc": true, + "nulls": "last" + }, + { + "expression": "person", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": {}, + "compositePrimaryKeys": { + "index_people_si_signature_pk": { + "name": "index_people_si_signature_pk", + "columns": [ + "si", + "signature" + ] + } + }, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.index_persons": { + "name": "index_persons", + "schema": "", + "columns": { + "si": { + "name": "si", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "person": { + "name": "person", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "traits": { + "name": "traits", + "type": "smallint", + "primaryKey": false, + "notNull": true + }, + "identities": { + "name": "identities", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "commits": { + "name": "commits", + "type": "integer", + "primaryKey": false, + "notNull": true + } + }, + "indexes": {}, + "foreignKeys": {}, + "compositePrimaryKeys": { + "index_persons_si_person_pk": { + "name": "index_persons_si_person_pk", + "columns": [ + "si", + "person" + ] + } + }, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.lent_tokens": { + "name": "lent_tokens", + "schema": "", + "columns": { + "repo_id": { + "name": "repo_id", + "type": "text", + "primaryKey": true, + "notNull": true + }, + "user_id": { + "name": "user_id", + "type": "text", + "primaryKey": false, + "notNull": true + }, + "token": { + "name": "token", + "type": "text", + "primaryKey": false, + "notNull": true + }, + "until": { + "name": "until", + "type": "bigint", + "primaryKey": false, + "notNull": true + } + }, + "indexes": {}, + "foreignKeys": { + "lent_tokens_repo_id_repositories_id_fk": { + "name": "lent_tokens_repo_id_repositories_id_fk", + "tableFrom": "lent_tokens", + "tableTo": "repositories", + "columnsFrom": [ + "repo_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + }, + "lent_tokens_user_id_user_id_fk": { + "name": "lent_tokens_user_id_user_id_fk", + "tableFrom": "lent_tokens", + "tableTo": "user", + "columnsFrom": [ + "user_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.people": { + "name": "people", + "schema": "", + "columns": { + "login": { + "name": "login", + "type": "text", + "primaryKey": true, + "notNull": true + }, + "user_id": { + "name": "user_id", + "type": "text", + "primaryKey": false, + "notNull": false + }, + "hidden": { + "name": "hidden", + "type": "boolean", + "primaryKey": false, + "notNull": true, + "default": false + }, + "name_private": { + "name": "name_private", + "type": "boolean", + "primaryKey": false, + "notNull": true, + "default": false + }, + "updated_at": { + "name": "updated_at", + "type": "bigint", + "primaryKey": false, + "notNull": true + } + }, + "indexes": { + "people_user": { + "name": "people_user", + "columns": [ + { + "expression": "user_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": { + "people_user_id_user_id_fk": { + "name": "people_user_id_user_id_fk", + "tableFrom": "people", + "tableTo": "user", + "columnsFrom": [ + "user_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.private_work": { + "name": "private_work", + "schema": "", + "columns": { + "login": { + "name": "login", + "type": "text", + "primaryKey": false, + "notNull": true + }, + "repo": { + "name": "repo", + "type": "text", + "primaryKey": false, + "notNull": true + }, + "show": { + "name": "show", + "type": "text", + "primaryKey": false, + "notNull": true + }, + "updated_at": { + "name": "updated_at", + "type": "bigint", + "primaryKey": false, + "notNull": true + } + }, + "indexes": {}, + "foreignKeys": {}, + "compositePrimaryKeys": { + "private_work_login_repo_pk": { + "name": "private_work_login_repo_pk", + "columns": [ + "login", + "repo" + ] + } + }, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.profiles": { + "name": "profiles", + "schema": "", + "columns": { + "login": { + "name": "login", + "type": "text", + "primaryKey": false, + "notNull": true + }, + "scope": { + "name": "scope", + "type": "text", + "primaryKey": false, + "notNull": true + }, + "github_id": { + "name": "github_id", + "type": "bigint", + "primaryKey": false, + "notNull": false + }, + "identity": { + "name": "identity", + "type": "text", + "primaryKey": false, + "notNull": true + }, + "identity_at": { + "name": "identity_at", + "type": "bigint", + "primaryKey": false, + "notNull": true + }, + "data": { + "name": "data", + "type": "text", + "primaryKey": false, + "notNull": false + }, + "raw": { + "name": "raw", + "type": "text", + "primaryKey": false, + "notNull": false + }, + "fetched_at": { + "name": "fetched_at", + "type": "bigint", + "primaryKey": false, + "notNull": false + } + }, + "indexes": { + "profiles_github_id": { + "name": "profiles_github_id", + "columns": [ + { + "expression": "github_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": {}, + "compositePrimaryKeys": { + "profiles_login_scope_pk": { + "name": "profiles_login_scope_pk", + "columns": [ + "login", + "scope" + ] + } + }, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.proofs": { + "name": "proofs", + "schema": "", + "columns": { + "id": { + "name": "id", + "type": "text", + "primaryKey": true, + "notNull": true + }, + "login": { + "name": "login", + "type": "text", + "primaryKey": false, + "notNull": true + }, + "user_id": { + "name": "user_id", + "type": "text", + "primaryKey": false, + "notNull": true + }, + "data": { + "name": "data", + "type": "text", + "primaryKey": false, + "notNull": true + }, + "created_at": { + "name": "created_at", + "type": "bigint", + "primaryKey": false, + "notNull": true + } + }, + "indexes": { + "proofs_login": { + "name": "proofs_login", + "columns": [ + { + "expression": "login", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": { + "proofs_user_id_user_id_fk": { + "name": "proofs_user_id_user_id_fk", + "tableFrom": "proofs", + "tableTo": "user", + "columnsFrom": [ + "user_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.pull_requests": { + "name": "pull_requests", + "schema": "", + "columns": { + "repo_id": { + "name": "repo_id", + "type": "text", + "primaryKey": false, + "notNull": true + }, + "number": { + "name": "number", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "author": { + "name": "author", + "type": "text", + "primaryKey": false, + "notNull": false + }, + "state": { + "name": "state", + "type": "text", + "primaryKey": false, + "notNull": true + }, + "title": { + "name": "title", + "type": "text", + "primaryKey": false, + "notNull": true + }, + "created_at": { + "name": "created_at", + "type": "bigint", + "primaryKey": false, + "notNull": true + }, + "merged_at": { + "name": "merged_at", + "type": "bigint", + "primaryKey": false, + "notNull": false + }, + "updated_at": { + "name": "updated_at", + "type": "bigint", + "primaryKey": false, + "notNull": true + }, + "additions": { + "name": "additions", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "deletions": { + "name": "deletions", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "head_ref": { + "name": "head_ref", + "type": "text", + "primaryKey": false, + "notNull": false + }, + "closed_at": { + "name": "closed_at", + "type": "bigint", + "primaryKey": false, + "notNull": false + }, + "merged_by": { + "name": "merged_by", + "type": "text", + "primaryKey": false, + "notNull": false + }, + "base_ref": { + "name": "base_ref", + "type": "text", + "primaryKey": false, + "notNull": false + }, + "draft": { + "name": "draft", + "type": "boolean", + "primaryKey": false, + "notNull": false + }, + "changed_files": { + "name": "changed_files", + "type": "integer", + "primaryKey": false, + "notNull": false + }, + "commits": { + "name": "commits", + "type": "integer", + "primaryKey": false, + "notNull": false + }, + "head_owner": { + "name": "head_owner", + "type": "text", + "primaryKey": false, + "notNull": false + }, + "from_fork": { + "name": "from_fork", + "type": "boolean", + "primaryKey": false, + "notNull": false + }, + "labels": { + "name": "labels", + "type": "jsonb", + "primaryKey": false, + "notNull": false + }, + "review_decision": { + "name": "review_decision", + "type": "text", + "primaryKey": false, + "notNull": false + }, + "merge_commit": { + "name": "merge_commit", + "type": "text", + "primaryKey": false, + "notNull": false + }, + "comments": { + "name": "comments", + "type": "integer", + "primaryKey": false, + "notNull": false + } + }, + "indexes": { + "pull_requests_head": { + "name": "pull_requests_head", + "columns": [ + { + "expression": "repo_id", + "isExpression": false, + "asc": true, + "nulls": "last" + }, + { + "expression": "head_ref", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": { + "pull_requests_repo_id_repositories_id_fk": { + "name": "pull_requests_repo_id_repositories_id_fk", + "tableFrom": "pull_requests", + "tableTo": "repositories", + "columnsFrom": [ + "repo_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": { + "pull_requests_repo_id_number_pk": { + "name": "pull_requests_repo_id_number_pk", + "columns": [ + "repo_id", + "number" + ] + } + }, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.pull_reviews": { + "name": "pull_reviews", + "schema": "", + "columns": { + "repo_id": { + "name": "repo_id", + "type": "text", + "primaryKey": false, + "notNull": true + }, + "number": { + "name": "number", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "reviewer": { + "name": "reviewer", + "type": "text", + "primaryKey": false, + "notNull": true + }, + "reviews": { + "name": "reviews", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "first_at": { + "name": "first_at", + "type": "bigint", + "primaryKey": false, + "notNull": true + }, + "last_at": { + "name": "last_at", + "type": "bigint", + "primaryKey": false, + "notNull": false + }, + "state": { + "name": "state", + "type": "text", + "primaryKey": false, + "notNull": false + }, + "approved_at": { + "name": "approved_at", + "type": "bigint", + "primaryKey": false, + "notNull": false + } + }, + "indexes": {}, + "foreignKeys": { + "pull_reviews_repo_id_repositories_id_fk": { + "name": "pull_reviews_repo_id_repositories_id_fk", + "tableFrom": "pull_reviews", + "tableTo": "repositories", + "columnsFrom": [ + "repo_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": { + "pull_reviews_repo_id_number_reviewer_pk": { + "name": "pull_reviews_repo_id_number_reviewer_pk", + "columns": [ + "repo_id", + "number", + "reviewer" + ] + } + }, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.rate_limits": { + "name": "rate_limits", + "schema": "", + "columns": { + "key": { + "name": "key", + "type": "text", + "primaryKey": true, + "notNull": true + }, + "count": { + "name": "count", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "until": { + "name": "until", + "type": "bigint", + "primaryKey": false, + "notNull": true + } + }, + "indexes": {}, + "foreignKeys": {}, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.repo_blobs": { + "name": "repo_blobs", + "schema": "", + "columns": { + "repo_id": { + "name": "repo_id", + "type": "text", + "primaryKey": false, + "notNull": true + }, + "sha": { + "name": "sha", + "type": "text", + "primaryKey": false, + "notNull": true + }, + "lines": { + "name": "lines", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "binary": { + "name": "binary", + "type": "boolean", + "primaryKey": false, + "notNull": true + } + }, + "indexes": {}, + "foreignKeys": { + "repo_blobs_repo_id_repositories_id_fk": { + "name": "repo_blobs_repo_id_repositories_id_fk", + "tableFrom": "repo_blobs", + "tableTo": "repositories", + "columnsFrom": [ + "repo_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": { + "repo_blobs_repo_id_sha_pk": { + "name": "repo_blobs_repo_id_sha_pk", + "columns": [ + "repo_id", + "sha" + ] + } + }, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.repo_branch_details": { + "name": "repo_branch_details", + "schema": "", + "columns": { + "repo_id": { + "name": "repo_id", + "type": "text", + "primaryKey": false, + "notNull": true + }, + "position": { + "name": "position", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "against": { + "name": "against", + "type": "text", + "primaryKey": false, + "notNull": true + }, + "commits": { + "name": "commits", + "type": "jsonb", + "primaryKey": false, + "notNull": true + }, + "commits_total": { + "name": "commits_total", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "files": { + "name": "files", + "type": "jsonb", + "primaryKey": false, + "notNull": true + }, + "files_total": { + "name": "files_total", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "added": { + "name": "added", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "removed": { + "name": "removed", + "type": "integer", + "primaryKey": false, + "notNull": true + } + }, + "indexes": {}, + "foreignKeys": { + "repo_branch_details_repo_id_repositories_id_fk": { + "name": "repo_branch_details_repo_id_repositories_id_fk", + "tableFrom": "repo_branch_details", + "tableTo": "repositories", + "columnsFrom": [ + "repo_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": { + "repo_branch_details_repo_id_position_pk": { + "name": "repo_branch_details_repo_id_position_pk", + "columns": [ + "repo_id", + "position" + ] + } + }, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.repo_branches": { + "name": "repo_branches", + "schema": "", + "columns": { + "repo_id": { + "name": "repo_id", + "type": "text", + "primaryKey": false, + "notNull": true + }, + "position": { + "name": "position", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "name": { + "name": "name", + "type": "text", + "primaryKey": false, + "notNull": true + }, + "sha": { + "name": "sha", + "type": "text", + "primaryKey": false, + "notNull": true + }, + "at": { + "name": "at", + "type": "bigint", + "primaryKey": false, + "notNull": true + }, + "author": { + "name": "author", + "type": "text", + "primaryKey": false, + "notNull": true + }, + "login": { + "name": "login", + "type": "text", + "primaryKey": false, + "notNull": false + }, + "subject": { + "name": "subject", + "type": "text", + "primaryKey": false, + "notNull": true + }, + "ahead": { + "name": "ahead", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "behind": { + "name": "behind", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "base": { + "name": "base", + "type": "text", + "primaryKey": false, + "notNull": true + }, + "base_at": { + "name": "base_at", + "type": "bigint", + "primaryKey": false, + "notNull": true + }, + "merged": { + "name": "merged", + "type": "boolean", + "primaryKey": false, + "notNull": true + }, + "squashed": { + "name": "squashed", + "type": "boolean", + "primaryKey": false, + "notNull": true, + "default": false + }, + "parent": { + "name": "parent", + "type": "text", + "primaryKey": false, + "notNull": false + }, + "shared": { + "name": "shared", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "bot": { + "name": "bot", + "type": "boolean", + "primaryKey": false, + "notNull": true, + "default": false + } + }, + "indexes": {}, + "foreignKeys": { + "repo_branches_repo_id_repositories_id_fk": { + "name": "repo_branches_repo_id_repositories_id_fk", + "tableFrom": "repo_branches", + "tableTo": "repositories", + "columnsFrom": [ + "repo_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": { + "repo_branches_repo_id_position_pk": { + "name": "repo_branches_repo_id_position_pk", + "columns": [ + "repo_id", + "position" + ] + } + }, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.repo_events": { + "name": "repo_events", + "schema": "", + "columns": { + "id": { + "name": "id", + "type": "text", + "primaryKey": true, + "notNull": true + }, + "repo_id": { + "name": "repo_id", + "type": "text", + "primaryKey": false, + "notNull": true + }, + "kind": { + "name": "kind", + "type": "text", + "primaryKey": false, + "notNull": true + }, + "actor": { + "name": "actor", + "type": "text", + "primaryKey": false, + "notNull": false + }, + "title": { + "name": "title", + "type": "text", + "primaryKey": false, + "notNull": false + }, + "url": { + "name": "url", + "type": "text", + "primaryKey": false, + "notNull": false + }, + "count": { + "name": "count", + "type": "integer", + "primaryKey": false, + "notNull": false + }, + "at": { + "name": "at", + "type": "bigint", + "primaryKey": false, + "notNull": true + } + }, + "indexes": { + "repo_events_repo_at": { + "name": "repo_events_repo_at", + "columns": [ + { + "expression": "repo_id", + "isExpression": false, + "asc": true, + "nulls": "last" + }, + { + "expression": "at", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": { + "repo_events_repo_id_repositories_id_fk": { + "name": "repo_events_repo_id_repositories_id_fk", + "tableFrom": "repo_events", + "tableTo": "repositories", + "columnsFrom": [ + "repo_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.repo_git": { + "name": "repo_git", + "schema": "", + "columns": { + "repo_id": { + "name": "repo_id", + "type": "text", + "primaryKey": true, + "notNull": true + }, + "prefix": { + "name": "prefix", + "type": "text", + "primaryKey": false, + "notNull": true + }, + "build_id": { + "name": "build_id", + "type": "text", + "primaryKey": false, + "notNull": true + }, + "built_at": { + "name": "built_at", + "type": "bigint", + "primaryKey": false, + "notNull": true + }, + "head": { + "name": "head", + "type": "text", + "primaryKey": false, + "notNull": true + }, + "branch": { + "name": "branch", + "type": "text", + "primaryKey": false, + "notNull": true + }, + "branches": { + "name": "branches", + "type": "integer", + "primaryKey": false, + "notNull": true, + "default": 0 + }, + "tags": { + "name": "tags", + "type": "integer", + "primaryKey": false, + "notNull": true, + "default": 0 + }, + "files": { + "name": "files", + "type": "integer", + "primaryKey": false, + "notNull": true, + "default": 0 + }, + "stored": { + "name": "stored", + "type": "integer", + "primaryKey": false, + "notNull": true, + "default": 0 + }, + "pulls": { + "name": "pulls", + "type": "integer", + "primaryKey": false, + "notNull": true, + "default": 0 + }, + "bytes": { + "name": "bytes", + "type": "bigint", + "primaryKey": false, + "notNull": true, + "default": 0 + }, + "logged": { + "name": "logged", + "type": "integer", + "primaryKey": false, + "notNull": true, + "default": 0 + }, + "complete": { + "name": "complete", + "type": "boolean", + "primaryKey": false, + "notNull": true, + "default": false + }, + "seconds": { + "name": "seconds", + "type": "real", + "primaryKey": false, + "notNull": true, + "default": 0 + }, + "steps": { + "name": "steps", + "type": "text", + "primaryKey": false, + "notNull": true, + "default": "'[]'" + }, + "branches_total": { + "name": "branches_total", + "type": "integer", + "primaryKey": false, + "notNull": true, + "default": 0 + }, + "tags_total": { + "name": "tags_total", + "type": "integer", + "primaryKey": false, + "notNull": true, + "default": 0 + }, + "inferred": { + "name": "inferred", + "type": "boolean", + "primaryKey": false, + "notNull": true, + "default": false + } + }, + "indexes": {}, + "foreignKeys": { + "repo_git_repo_id_repositories_id_fk": { + "name": "repo_git_repo_id_repositories_id_fk", + "tableFrom": "repo_git", + "tableTo": "repositories", + "columnsFrom": [ + "repo_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.repo_names": { + "name": "repo_names", + "schema": "", + "columns": { + "id": { + "name": "id", + "type": "text", + "primaryKey": true, + "notNull": true + }, + "repo_id": { + "name": "repo_id", + "type": "text", + "primaryKey": false, + "notNull": true + }, + "at": { + "name": "at", + "type": "bigint", + "primaryKey": false, + "notNull": true + } + }, + "indexes": { + "repo_names_repo": { + "name": "repo_names_repo", + "columns": [ + { + "expression": "repo_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": { + "repo_names_repo_id_repositories_id_fk": { + "name": "repo_names_repo_id_repositories_id_fk", + "tableFrom": "repo_names", + "tableTo": "repositories", + "columnsFrom": [ + "repo_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.repo_people": { + "name": "repo_people", + "schema": "", + "columns": { + "repo_id": { + "name": "repo_id", + "type": "text", + "primaryKey": false, + "notNull": true + }, + "person_id": { + "name": "person_id", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "name": { + "name": "name", + "type": "text", + "primaryKey": false, + "notNull": true + }, + "login": { + "name": "login", + "type": "text", + "primaryKey": false, + "notNull": false + }, + "commits": { + "name": "commits", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "lines_added": { + "name": "lines_added", + "type": "integer", + "primaryKey": false, + "notNull": false + }, + "lines_removed": { + "name": "lines_removed", + "type": "integer", + "primaryKey": false, + "notNull": false + }, + "first": { + "name": "first", + "type": "bigint", + "primaryKey": false, + "notNull": false + }, + "last": { + "name": "last", + "type": "bigint", + "primaryKey": false, + "notNull": false + }, + "report_key": { + "name": "report_key", + "type": "text", + "primaryKey": false, + "notNull": true + } + }, + "indexes": { + "repo_people_lower_login": { + "name": "repo_people_lower_login", + "columns": [ + { + "expression": "lower(\"login\")", + "asc": true, + "isExpression": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": { + "repo_people_repo_id_repositories_id_fk": { + "name": "repo_people_repo_id_repositories_id_fk", + "tableFrom": "repo_people", + "tableTo": "repositories", + "columnsFrom": [ + "repo_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": { + "repo_people_repo_id_person_id_pk": { + "name": "repo_people_repo_id_person_id_pk", + "columns": [ + "repo_id", + "person_id" + ] + } + }, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.repo_states": { + "name": "repo_states", + "schema": "", + "columns": { + "repo_id": { + "name": "repo_id", + "type": "text", + "primaryKey": true, + "notNull": true + }, + "saved_at": { + "name": "saved_at", + "type": "bigint", + "primaryKey": false, + "notNull": true + }, + "used_at": { + "name": "used_at", + "type": "bigint", + "primaryKey": false, + "notNull": true + }, + "bytes": { + "name": "bytes", + "type": "bigint", + "primaryKey": false, + "notNull": true + } + }, + "indexes": { + "repo_states_used": { + "name": "repo_states_used", + "columns": [ + { + "expression": "used_at", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": {}, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.repo_tags": { + "name": "repo_tags", + "schema": "", + "columns": { + "repo_id": { + "name": "repo_id", + "type": "text", + "primaryKey": false, + "notNull": true + }, + "position": { + "name": "position", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "name": { + "name": "name", + "type": "text", + "primaryKey": false, + "notNull": true + }, + "sha": { + "name": "sha", + "type": "text", + "primaryKey": false, + "notNull": true + }, + "at": { + "name": "at", + "type": "bigint", + "primaryKey": false, + "notNull": true + } + }, + "indexes": {}, + "foreignKeys": { + "repo_tags_repo_id_repositories_id_fk": { + "name": "repo_tags_repo_id_repositories_id_fk", + "tableFrom": "repo_tags", + "tableTo": "repositories", + "columnsFrom": [ + "repo_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": { + "repo_tags_repo_id_position_pk": { + "name": "repo_tags_repo_id_position_pk", + "columns": [ + "repo_id", + "position" + ] + } + }, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.repositories": { + "name": "repositories", + "schema": "", + "columns": { + "id": { + "name": "id", + "type": "text", + "primaryKey": true, + "notNull": true + }, + "owner": { + "name": "owner", + "type": "text", + "primaryKey": false, + "notNull": true + }, + "name": { + "name": "name", + "type": "text", + "primaryKey": false, + "notNull": true + }, + "github_id": { + "name": "github_id", + "type": "bigint", + "primaryKey": false, + "notNull": false + }, + "private": { + "name": "private", + "type": "boolean", + "primaryKey": false, + "notNull": true, + "default": false + }, + "status": { + "name": "status", + "type": "text", + "primaryKey": false, + "notNull": true, + "default": "'ok'" + }, + "facts": { + "name": "facts", + "type": "text", + "primaryKey": false, + "notNull": false + }, + "facts_at": { + "name": "facts_at", + "type": "bigint", + "primaryKey": false, + "notNull": false + }, + "size_kb": { + "name": "size_kb", + "type": "integer", + "primaryKey": false, + "notNull": false + }, + "report_key": { + "name": "report_key", + "type": "text", + "primaryKey": false, + "notNull": false + }, + "report_at": { + "name": "report_at", + "type": "bigint", + "primaryKey": false, + "notNull": false + }, + "report_bytes": { + "name": "report_bytes", + "type": "integer", + "primaryKey": false, + "notNull": false + }, + "report_lines": { + "name": "report_lines", + "type": "boolean", + "primaryKey": false, + "notNull": false + }, + "viewed_at": { + "name": "viewed_at", + "type": "bigint", + "primaryKey": false, + "notNull": false + }, + "checked_at": { + "name": "checked_at", + "type": "bigint", + "primaryKey": false, + "notNull": false + }, + "installation_id": { + "name": "installation_id", + "type": "bigint", + "primaryKey": false, + "notNull": false + }, + "connected_by": { + "name": "connected_by", + "type": "text", + "primaryKey": false, + "notNull": false + }, + "seed": { + "name": "seed", + "type": "boolean", + "primaryKey": false, + "notNull": true, + "default": false + }, + "language": { + "name": "language", + "type": "text", + "primaryKey": false, + "notNull": false + }, + "stars": { + "name": "stars", + "type": "integer", + "primaryKey": false, + "notNull": false + }, + "bus_factor": { + "name": "bus_factor", + "type": "integer", + "primaryKey": false, + "notNull": false + }, + "maintainers": { + "name": "maintainers", + "type": "integer", + "primaryKey": false, + "notNull": false + }, + "commits_30d": { + "name": "commits_30d", + "type": "integer", + "primaryKey": false, + "notNull": false + }, + "code_lines": { + "name": "code_lines", + "type": "integer", + "primaryKey": false, + "notNull": false + }, + "pulls_at": { + "name": "pulls_at", + "type": "text", + "primaryKey": false, + "notNull": false + }, + "pulls_read_at": { + "name": "pulls_read_at", + "type": "bigint", + "primaryKey": false, + "notNull": false + }, + "pulls_cursor": { + "name": "pulls_cursor", + "type": "text", + "primaryKey": false, + "notNull": false + }, + "pulls_mark": { + "name": "pulls_mark", + "type": "text", + "primaryKey": false, + "notNull": false + }, + "pulls_version": { + "name": "pulls_version", + "type": "integer", + "primaryKey": false, + "notNull": true, + "default": 0 + }, + "index_id": { + "name": "index_id", + "type": "integer", + "primaryKey": false, + "notNull": false + }, + "report_meta": { + "name": "report_meta", + "type": "jsonb", + "primaryKey": false, + "notNull": false + }, + "report_stats": { + "name": "report_stats", + "type": "jsonb", + "primaryKey": false, + "notNull": false + } + }, + "indexes": { + "repositories_installation": { + "name": "repositories_installation", + "columns": [ + { + "expression": "installation_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "repositories_seed": { + "name": "repositories_seed", + "columns": [ + { + "expression": "seed", + "isExpression": false, + "asc": true, + "nulls": "last" + }, + { + "expression": "report_at", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "repositories_github_id": { + "name": "repositories_github_id", + "columns": [ + { + "expression": "github_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": { + "repositories_connected_by_user_id_fk": { + "name": "repositories_connected_by_user_id_fk", + "tableFrom": "repositories", + "tableTo": "user", + "columnsFrom": [ + "connected_by" + ], + "columnsTo": [ + "id" + ], + "onDelete": "set null", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.session": { + "name": "session", + "schema": "", + "columns": { + "id": { + "name": "id", + "type": "text", + "primaryKey": true, + "notNull": true + }, + "expires_at": { + "name": "expires_at", + "type": "timestamp", + "primaryKey": false, + "notNull": true + }, + "token": { + "name": "token", + "type": "text", + "primaryKey": false, + "notNull": true + }, + "created_at": { + "name": "created_at", + "type": "timestamp", + "primaryKey": false, + "notNull": true, + "default": "now()" + }, + "updated_at": { + "name": "updated_at", + "type": "timestamp", + "primaryKey": false, + "notNull": true + }, + "ip_address": { + "name": "ip_address", + "type": "text", + "primaryKey": false, + "notNull": false + }, + "user_agent": { + "name": "user_agent", + "type": "text", + "primaryKey": false, + "notNull": false + }, + "user_id": { + "name": "user_id", + "type": "text", + "primaryKey": false, + "notNull": true + } + }, + "indexes": { + "session_user_id": { + "name": "session_user_id", + "columns": [ + { + "expression": "user_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": { + "session_user_id_user_id_fk": { + "name": "session_user_id_user_id_fk", + "tableFrom": "session", + "tableTo": "user", + "columnsFrom": [ + "user_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": { + "session_token_unique": { + "name": "session_token_unique", + "nullsNotDistinct": false, + "columns": [ + "token" + ] + } + }, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.shares": { + "name": "shares", + "schema": "", + "columns": { + "id": { + "name": "id", + "type": "text", + "primaryKey": true, + "notNull": true + }, + "bytes": { + "name": "bytes", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "created_at": { + "name": "created_at", + "type": "bigint", + "primaryKey": false, + "notNull": true + }, + "expires_at": { + "name": "expires_at", + "type": "bigint", + "primaryKey": false, + "notNull": true + }, + "delete_hash": { + "name": "delete_hash", + "type": "text", + "primaryKey": false, + "notNull": true + }, + "upload_hash": { + "name": "upload_hash", + "type": "text", + "primaryKey": false, + "notNull": false + }, + "uploaded": { + "name": "uploaded", + "type": "boolean", + "primaryKey": false, + "notNull": true, + "default": false + } + }, + "indexes": { + "shares_expires": { + "name": "shares_expires", + "columns": [ + { + "expression": "expires_at", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": {}, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.stored_indexes": { + "name": "stored_indexes", + "schema": "", + "columns": { + "id": { + "name": "id", + "type": "serial", + "primaryKey": true, + "notNull": true + }, + "repo_id": { + "name": "repo_id", + "type": "text", + "primaryKey": false, + "notNull": true + }, + "lineage": { + "name": "lineage", + "type": "text", + "primaryKey": false, + "notNull": true + }, + "kept": { + "name": "kept", + "type": "boolean", + "primaryKey": false, + "notNull": true + }, + "state": { + "name": "state", + "type": "text", + "primaryKey": false, + "notNull": true + }, + "head": { + "name": "head", + "type": "text", + "primaryKey": false, + "notNull": false + }, + "frontier": { + "name": "frontier", + "type": "text[]", + "primaryKey": false, + "notNull": true, + "default": "'{}'" + }, + "lines": { + "name": "lines", + "type": "boolean", + "primaryKey": false, + "notNull": true + }, + "lines_left": { + "name": "lines_left", + "type": "integer", + "primaryKey": false, + "notNull": false + }, + "commits": { + "name": "commits", + "type": "integer", + "primaryKey": false, + "notNull": true, + "default": 0 + }, + "built_at": { + "name": "built_at", + "type": "bigint", + "primaryKey": false, + "notNull": true + }, + "loaded_at": { + "name": "loaded_at", + "type": "bigint", + "primaryKey": false, + "notNull": false + }, + "anchor": { + "name": "anchor", + "type": "bigint", + "primaryKey": false, + "notNull": true, + "default": 0 + }, + "options": { + "name": "options", + "type": "jsonb", + "primaryKey": false, + "notNull": true, + "default": "'{\"max_changeset_size\":50,\"coupling_support\":5,\"ownership_min_commits\":10}'::jsonb" + }, + "snapshot": { + "name": "snapshot", + "type": "jsonb", + "primaryKey": false, + "notNull": false + }, + "pack": { + "name": "pack", + "type": "text", + "primaryKey": false, + "notNull": false + }, + "mark": { + "name": "mark", + "type": "text", + "primaryKey": false, + "notNull": false + }, + "build_format": { + "name": "build_format", + "type": "integer", + "primaryKey": false, + "notNull": false + } + }, + "indexes": { + "stored_indexes_repo": { + "name": "stored_indexes_repo", + "columns": [ + { + "expression": "repo_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": { + "stored_indexes_repo_id_repositories_id_fk": { + "name": "stored_indexes_repo_id_repositories_id_fk", + "tableFrom": "stored_indexes", + "tableTo": "repositories", + "columnsFrom": [ + "repo_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.surviving": { + "name": "surviving", + "schema": "", + "columns": { + "repo_id": { + "name": "repo_id", + "type": "text", + "primaryKey": false, + "notNull": true + }, + "report_key": { + "name": "report_key", + "type": "text", + "primaryKey": false, + "notNull": true + }, + "person_id": { + "name": "person_id", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "status": { + "name": "status", + "type": "text", + "primaryKey": false, + "notNull": true + }, + "lines": { + "name": "lines", + "type": "integer", + "primaryKey": false, + "notNull": false + }, + "added": { + "name": "added", + "type": "integer", + "primaryKey": false, + "notNull": false + }, + "files": { + "name": "files", + "type": "integer", + "primaryKey": false, + "notNull": false + }, + "seconds": { + "name": "seconds", + "type": "real", + "primaryKey": false, + "notNull": false + }, + "head": { + "name": "head", + "type": "text", + "primaryKey": false, + "notNull": false + }, + "oldest": { + "name": "oldest", + "type": "bigint", + "primaryKey": false, + "notNull": false + }, + "asked_at": { + "name": "asked_at", + "type": "bigint", + "primaryKey": false, + "notNull": true + }, + "counted_at": { + "name": "counted_at", + "type": "bigint", + "primaryKey": false, + "notNull": false + } + }, + "indexes": { + "surviving_status": { + "name": "surviving_status", + "columns": [ + { + "expression": "status", + "isExpression": false, + "asc": true, + "nulls": "last" + }, + { + "expression": "asked_at", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": { + "surviving_repo_id_repositories_id_fk": { + "name": "surviving_repo_id_repositories_id_fk", + "tableFrom": "surviving", + "tableTo": "repositories", + "columnsFrom": [ + "repo_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": { + "surviving_repo_id_report_key_person_id_pk": { + "name": "surviving_repo_id_report_key_person_id_pk", + "columns": [ + "repo_id", + "report_key", + "person_id" + ] + } + }, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.user": { + "name": "user", + "schema": "", + "columns": { + "id": { + "name": "id", + "type": "text", + "primaryKey": true, + "notNull": true + }, + "name": { + "name": "name", + "type": "text", + "primaryKey": false, + "notNull": true + }, + "email": { + "name": "email", + "type": "text", + "primaryKey": false, + "notNull": true + }, + "email_verified": { + "name": "email_verified", + "type": "boolean", + "primaryKey": false, + "notNull": true, + "default": false + }, + "image": { + "name": "image", + "type": "text", + "primaryKey": false, + "notNull": false + }, + "login": { + "name": "login", + "type": "text", + "primaryKey": false, + "notNull": false + }, + "created_at": { + "name": "created_at", + "type": "timestamp", + "primaryKey": false, + "notNull": true, + "default": "now()" + }, + "updated_at": { + "name": "updated_at", + "type": "timestamp", + "primaryKey": false, + "notNull": true, + "default": "now()" + } + }, + "indexes": {}, + "foreignKeys": {}, + "compositePrimaryKeys": {}, + "uniqueConstraints": { + "user_email_unique": { + "name": "user_email_unique", + "nullsNotDistinct": false, + "columns": [ + "email" + ] + } + }, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.verification": { + "name": "verification", + "schema": "", + "columns": { + "id": { + "name": "id", + "type": "text", + "primaryKey": true, + "notNull": true + }, + "identifier": { + "name": "identifier", + "type": "text", + "primaryKey": false, + "notNull": true + }, + "value": { + "name": "value", + "type": "text", + "primaryKey": false, + "notNull": true + }, + "expires_at": { + "name": "expires_at", + "type": "timestamp", + "primaryKey": false, + "notNull": true + }, + "created_at": { + "name": "created_at", + "type": "timestamp", + "primaryKey": false, + "notNull": true, + "default": "now()" + }, + "updated_at": { + "name": "updated_at", + "type": "timestamp", + "primaryKey": false, + "notNull": true, + "default": "now()" + } + }, + "indexes": { + "verification_identifier": { + "name": "verification_identifier", + "columns": [ + { + "expression": "identifier", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": {}, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + } + }, + "enums": {}, + "schemas": {}, + "sequences": {}, + "roles": {}, + "policies": {}, + "views": {}, + "_meta": { + "columns": {}, + "schemas": {}, + "tables": {} + } +} \ No newline at end of file diff --git a/packages/server/drizzle/meta/_journal.json b/packages/server/drizzle/meta/_journal.json index 95ec609..156d8c5 100644 --- a/packages/server/drizzle/meta/_journal.json +++ b/packages/server/drizzle/meta/_journal.json @@ -274,6 +274,13 @@ "when": 1793057917865, "tag": "0038_whole_unus", "breakpoints": true + }, + { + "idx": 39, + "version": "7", + "when": 1793088502010, + "tag": "0039_omniscient_flatman", + "breakpoints": true } ] } \ No newline at end of file diff --git a/packages/server/src/builds.test.ts b/packages/server/src/builds.test.ts index f1ad227..ce81d59 100644 --- a/packages/server/src/builds.test.ts +++ b/packages/server/src/builds.test.ts @@ -3,7 +3,7 @@ import { PGlite } from "@electric-sql/pglite"; import { drizzle } from "drizzle-orm/pglite"; import { migrate } from "drizzle-orm/pglite/migrator"; import { expect, test } from "vitest"; -import { busy, currentAt, queueBuild, reapBuilds, RESEND_AFTER, RETRY_AFTER, UNCHANGED_FOR, unchanged, whole } from "./builds"; +import { BUILD_FORMAT, busy, currentAt, queueBuild, reapBuilds, RESEND_AFTER, RETRY_AFTER, UNCHANGED_FOR, unchanged, whole } from "./builds"; import type { Db } from "./db/client"; import * as schema from "./db/schema"; import { LONGEST_JOB_SECONDS, type BuildJob, type Queue } from "./queue"; @@ -25,10 +25,10 @@ test("a running Build stays busy until the longest a job may run, and one that e expect(busy({ state: "done", reason: null, requestedAt: 0, finishedAt: at - 60 }, at)).toBe(false); }); -test("a Report is whole when it has its pack, every line counted and none left, and was built within a week; only then may a Build stop at an unmoved head", () => { +test("a Report is whole when it has its pack from a Build of this release, every line counted and none left, and was built within a week; only then may a Build stop at an unmoved head", () => { const at = 10_000_000; const row = { reportKey: "reports/x", reportAt: at - 3600, reportLines: true, checkedAt: null }; - const live = { pack: "packs/x.pack", lines: true, linesLeft: 0, head: "a".repeat(40) }; + const live = { pack: "packs/x.pack", lines: true, linesLeft: 0, head: "a".repeat(40), buildFormat: BUILD_FORMAT }; expect(whole(row, live, at)).toBe(true); expect(unchanged(row, live, "a".repeat(40), at)).toBe(true); expect(unchanged(row, live, "b".repeat(40), at)).toBe(false); @@ -38,6 +38,8 @@ test("a Report is whole when it has its pack, every line counted and none left, expect(whole(row, { ...live, linesLeft: 12 }, at)).toBe(false); expect(whole(row, { ...live, lines: false }, at)).toBe(false); expect(whole(row, { ...live, pack: null }, at)).toBe(false); + expect(whole(row, { ...live, buildFormat: null }, at)).toBe(false); + expect(whole(row, { ...live, buildFormat: BUILD_FORMAT - 1 }, at)).toBe(false); expect(whole(row, null, at)).toBe(false); expect(currentAt({ ...row, checkedAt: at - 60 })).toBe(at - 60); expect(currentAt(row)).toBe(at - 3600); diff --git a/packages/server/src/builds.ts b/packages/server/src/builds.ts index 9a5e907..d2e3ab9 100644 --- a/packages/server/src/builds.ts +++ b/packages/server/src/builds.ts @@ -12,6 +12,9 @@ export const REPORT_FOR = 24 * 3600; export const RESEND_AFTER = 120; export const UNCHANGED_FOR = 7 * 24 * 3600; +/** What a Build of this release makes beside a Stored Index, recorded on it when its pack is published: format 3 packs, the head's standard screens stored with the Report, the Builder's Atlas and everyone's Ownership of lines. A Stored Index made otherwise is built again. */ +export const BUILD_FORMAT = 2; + type Reported = Pick & { checkedAt?: number | null }; /** When a repository's Report was last known current: built, or found with its head where the Build left it. */ @@ -19,13 +22,15 @@ export function currentAt(row: Reported): number { return Math.max(row.reportAt ?? 0, row.checkedAt ?? 0); } -/** Whether a repository's Report is whole: published with every Mainline line counted and none left to count, from a Stored Index with a pack, and built less than UNCHANGED_FOR ago, so the time Windows have not drifted further than that. Only a whole Report is kept when its head has not moved. */ -export function whole(row: Reported, live: Pick | null, at = now()): boolean { - return !!row.reportKey && row.reportLines === true && (row.reportAt ?? 0) > at - UNCHANGED_FOR && !!live?.pack && live.lines && (live.linesLeft ?? 0) === 0 && !!live.head; +type Whole = Pick; + +/** Whether a repository's Report is whole: published with every Mainline line counted and none left to count, from a Stored Index with a pack made by a Build of this release (BUILD_FORMAT), and built less than UNCHANGED_FOR ago, so the time Windows have not drifted further than that. Only a whole Report is kept when its head has not moved. */ +export function whole(row: Reported, live: Whole | null, at = now()): boolean { + return !!row.reportKey && row.reportLines === true && (row.reportAt ?? 0) > at - UNCHANGED_FOR && !!live?.pack && live.buildFormat === BUILD_FORMAT && live.lines && (live.linesLeft ?? 0) === 0 && !!live.head; } /** Whether a Build has nothing to do: the Report is whole and the default branch's head is still the one it was built from. */ -export function unchanged(row: Reported, live: Pick | null, head: string | null, at = now()): boolean { +export function unchanged(row: Reported, live: Whole | null, head: string | null, at = now()): boolean { return !!head && whole(row, live, at) && live?.head === head; } diff --git a/packages/server/src/db/schema.ts b/packages/server/src/db/schema.ts index 1bc1d8f..135a28f 100644 --- a/packages/server/src/db/schema.ts +++ b/packages/server/src/db/schema.ts @@ -506,6 +506,7 @@ export const storedIndexes = pgTable( snapshot: jsonb("snapshot").$type(), pack: text("pack"), mark: text("mark"), + buildFormat: integer("build_format"), }, (t) => [index("stored_indexes_repo").on(t.repoId)], ); diff --git a/packages/server/src/stored-index.test.ts b/packages/server/src/stored-index.test.ts index 6d312ca..c1f1fe3 100644 --- a/packages/server/src/stored-index.test.ts +++ b/packages/server/src/stored-index.test.ts @@ -63,7 +63,7 @@ function writeExport(manifest: Partial, commits: Commit[], extra } describe("appendable", () => { - const live = { id: 1, lineage: "7", kept: true, frontier: ["a"], lines: true, linesLeft: 0, head: "a", pack: null, mark: null }; + const live = { id: 1, lineage: "7", kept: true, frontier: ["a"], lines: true, linesLeft: 0, head: "a", pack: null, mark: null, buildFormat: null }; test("only a kept Stored Index with a frontier takes what is new", () => { expect(appendable(live)).toBe(true); expect(appendable(null)).toBe(false); diff --git a/packages/server/src/stored-index.ts b/packages/server/src/stored-index.ts index 43d0af6..4875237 100644 --- a/packages/server/src/stored-index.ts +++ b/packages/server/src/stored-index.ts @@ -36,7 +36,7 @@ export type ExportManifest = { export const LOADED = "stored_index_loaded"; -export type LiveIndex = { id: number; lineage: string; kept: boolean; frontier: string[]; lines: boolean; linesLeft: number | null; head: string | null; pack: string | null; mark: string | null }; +export type LiveIndex = { id: number; lineage: string; kept: boolean; frontier: string[]; lines: boolean; linesLeft: number | null; head: string | null; pack: string | null; mark: string | null; buildFormat: number | null }; export type Loaded = { si: number; full: boolean; commits: number; total: number; mainline: number; lines: number; seconds: number }; @@ -67,7 +67,7 @@ async function readSnapshot(dir: string): Promise { /** The repository's live Stored Index, or null when it has none. */ export async function liveIndex(db: Db, repoId: string): Promise { const [row] = await db - .select({ id: storedIndexes.id, lineage: storedIndexes.lineage, kept: storedIndexes.kept, frontier: storedIndexes.frontier, lines: storedIndexes.lines, linesLeft: storedIndexes.linesLeft, head: storedIndexes.head, pack: storedIndexes.pack, mark: storedIndexes.mark }) + .select({ id: storedIndexes.id, lineage: storedIndexes.lineage, kept: storedIndexes.kept, frontier: storedIndexes.frontier, lines: storedIndexes.lines, linesLeft: storedIndexes.linesLeft, head: storedIndexes.head, pack: storedIndexes.pack, mark: storedIndexes.mark, buildFormat: storedIndexes.buildFormat }) .from(repositories) .innerJoin(storedIndexes, eq(storedIndexes.id, repositories.indexId)) .where(eq(repositories.id, repoId)); From 6aad8749db8f58cc309cd223d3b5f3aa97ee4eb5 Mon Sep 17 00:00:00 2001 From: Dev Talan <84081651+devchaudhary24k@users.noreply.github.com> Date: Tue, 27 Oct 2026 13:47:46 +0530 Subject: [PATCH 38/82] fix: offline means offline, even in a blobless clone With --offline, the CLI read a file version a blobless clone lacked with `git cat-file`, which fetched it from the remote one at a time, without a token (a benchmark run met GitHub's HTTP 429). Every git the CLI runs with --offline now has GIT_NO_LAZY_FETCH=1, so a missing version is an error, and --offline no longer clones a project that is not a folder here. The Builder's check of which objects a clone lacks asks without fetching too. A test runs `surviving --offline` on a blobless clone of a local repository and finds no object fetched. --- apps/builder/src/clone.ts | 4 +- crates/commitscape/src/main.rs | 7 ++- crates/commitscape/src/surviving.rs | 12 +++- crates/commitscape/tests/surviving.rs | 85 +++++++++++++++++++++++++++ 4 files changed, 103 insertions(+), 5 deletions(-) diff --git a/apps/builder/src/clone.ts b/apps/builder/src/clone.ts index 2b3aba7..545860c 100644 --- a/apps/builder/src/clone.ts +++ b/apps/builder/src/clone.ts @@ -108,10 +108,10 @@ export async function tipsOf(run: typeof runCommand, dir: string, env: NodeJS.Pr return [...new Set((ran.stdout ?? "").split("\n").map((l) => l.trim()).filter((l) => /^[0-9a-f]{40,64}$/.test(l)))]; } -/** Which of `ids` a clone lacks. */ +/** Which of `ids` a clone lacks, asked without fetching them. */ export async function missingIn(run: typeof runCommand, dir: string, ids: string[], env: NodeJS.ProcessEnv, timeoutMs: number): Promise { if (ids.length === 0) return []; - const ran = await run("git", ["cat-file", "--batch-check=%(objectname) %(objecttype)"], inClone(dir, env), timeoutMs, { input: `${ids.join("\n")}\n` }); + const ran = await run("git", ["cat-file", "--batch-check=%(objectname) %(objecttype)"], inClone(dir, { ...env, GIT_NO_LAZY_FETCH: "1" }), timeoutMs, { input: `${ids.join("\n")}\n` }); if (ran.code !== 0) return []; return (ran.stdout ?? "").split("\n").flatMap((l) => (l.endsWith(" missing") ? [l.slice(0, -" missing".length)] : [])); } diff --git a/crates/commitscape/src/main.rs b/crates/commitscape/src/main.rs index 23fe374..8b9a353 100644 --- a/crates/commitscape/src/main.rs +++ b/crates/commitscape/src/main.rs @@ -274,7 +274,7 @@ fn report(args: ReportArgs) -> anyhow::Result<()> { events::record_to(args.run.events.as_deref())?; let options = args.common.cache(); let accounts = args.accounts.as_deref().map(read_accounts).transpose()?; - let path = repo_source(&args.repo, args.partial, &options)?; + let path = repo_source(&args.repo, args.partial, &options, args.common.offline)?; let count_lines = !(args.no_lines || args.partial); let (name, report) = make_report( &path, @@ -567,6 +567,7 @@ pub(crate) fn repo_source( repo: &str, partial: bool, options: &CacheOptions, + offline: bool, ) -> anyhow::Result { let local = PathBuf::from(repo); if local.exists() { @@ -576,6 +577,10 @@ pub(crate) fn repo_source( ); return Ok(local); } + anyhow::ensure!( + !offline, + "{repo} is not a folder here, and --offline does not clone it" + ); let remote = clone::remote(repo) .ok_or_else(|| anyhow::anyhow!("{} is neither a folder here nor a GitHub project", repo))?; let root = options diff --git a/crates/commitscape/src/surviving.rs b/crates/commitscape/src/surviving.rs index 3c064cc..52c33ee 100644 --- a/crates/commitscape/src/surviving.rs +++ b/crates/commitscape/src/surviving.rs @@ -68,7 +68,7 @@ pub fn run(args: SurvivingArgs) -> anyhow::Result<()> { let path = if Path::new(&args.repo).exists() { PathBuf::from(&args.repo) } else { - repo_source(&args.repo, args.partial, &options)? + repo_source(&args.repo, args.partial, &options, args.common.offline)? }; let repo = GixRepo::open(&path)?; let mut meter = ProgressLine::new(); @@ -96,6 +96,7 @@ pub fn run(args: SurvivingArgs) -> anyhow::Result<()> { let fetching = Fetching { threads: repo.threads(), dir: path.clone(), + offline: args.common.offline, }; if args.everyone { @@ -216,11 +217,13 @@ fn added_by_person( struct Fetching { threads: GixThreads, dir: PathBuf, + offline: bool, } struct Fetched { repo: GixRepo, dir: PathBuf, + offline: bool, } impl BlameThreads for Fetching { @@ -230,6 +233,7 @@ impl BlameThreads for Fetching { Fetched { repo: self.threads.local(), dir: self.dir.clone(), + offline: self.offline, } } } @@ -291,7 +295,11 @@ impl BlameSource for Fetched { if let Ok(bytes) = self.repo.blame_blob(blob) { return Ok(bytes); } - let out = Command::new("git") + let mut git = Command::new("git"); + if self.offline { + git.env("GIT_NO_LAZY_FETCH", "1"); + } + let out = git .arg("-C") .arg(&self.dir) .args(["cat-file", "blob", &blob.to_hex()]) diff --git a/crates/commitscape/tests/surviving.rs b/crates/commitscape/tests/surviving.rs index bd52117..6fa1a61 100644 --- a/crates/commitscape/tests/surviving.rs +++ b/crates/commitscape/tests/surviving.rs @@ -312,3 +312,88 @@ fn surviving_given_the_reports_accounts_file_uses_the_reports_ids() { assert_eq!(lines.values().sum::(), 20); assert_eq!(lines.get("Alice Example"), Some(&5)); } + +fn git_in(dir: &Path, args: &[&str]) -> std::process::Output { + Command::new("git") + .arg("-C") + .arg(dir) + .args(args) + .env("GIT_CONFIG_GLOBAL", "/dev/null") + .env("GIT_NO_LAZY_FETCH", "1") + .output() + .expect("git") +} + +#[test] +fn offline_never_fetches_a_file_version_a_blobless_clone_lacks() { + let dir = tempfile::tempdir().expect("a folder"); + let bare = dir.path().join("source.git"); + let made = Command::new("git") + .args(["clone", "-q", "--bare"]) + .arg(fixture()) + .arg(&bare) + .output() + .expect("git"); + assert!(made.status.success()); + for key in ["uploadpack.allowFilter", "uploadpack.allowAnySHA1InWant"] { + assert!(git_in(&bare, &["config", key, "true"]).status.success()); + } + let lean = dir.path().join("lean"); + let cloned = Command::new("git") + .args(["clone", "-q", "--filter=blob:none", "--no-checkout"]) + .arg(format!("file://{}", bare.display())) + .arg(&lean) + .env("GIT_CONFIG_GLOBAL", "/dev/null") + .output() + .expect("git"); + assert!( + cloned.status.success(), + "{}", + String::from_utf8_lossy(&cloned.stderr) + ); + let checkout = Command::new("git") + .arg("-C") + .arg(&lean) + .args(["checkout", "-q", "HEAD", "--", "."]) + .env("GIT_CONFIG_GLOBAL", "/dev/null") + .output() + .expect("git"); + assert!( + checkout.status.success(), + "{}", + String::from_utf8_lossy(&checkout.stderr) + ); + let missing = || { + let listed = git_in( + &lean, + &["rev-list", "--objects", "--all", "--missing=print"], + ); + String::from_utf8_lossy(&listed.stdout) + .lines() + .filter(|l| l.starts_with('?')) + .count() + }; + let before = missing(); + assert!(before > 0); + let cache = dir.path().join("cache"); + let out = Command::new(env!("CARGO_BIN_EXE_commitscape")) + .env("COMMITSCAPE_TELEMETRY", "0") + .args(["surviving", "--offline", "--everyone", "--cache-dir"]) + .arg(&cache) + .arg("--") + .arg(&lean) + .output() + .expect("running commitscape"); + assert!(!out.status.success()); + assert!(String::from_utf8_lossy(&out.stderr).contains("could not fetch file contents")); + assert_eq!(missing(), before); + let elsewhere = Command::new(env!("CARGO_BIN_EXE_commitscape")) + .env("COMMITSCAPE_TELEMETRY", "0") + .args(["surviving", "--offline", "--everyone", "--cache-dir"]) + .arg(&cache) + .args(["--", "acme/not-a-folder-here"]) + .output() + .expect("running commitscape"); + assert!(!elsewhere.status.success()); + assert!(String::from_utf8_lossy(&elsewhere.stderr).contains("--offline does not clone")); +} From 7b6270c823e8ce9d5fbec6327d2080797ac79bd5 Mon Sep 17 00:00:00 2001 From: Dev Talan <84081651+devchaudhary24k@users.noreply.github.com> Date: Tue, 27 Oct 2026 13:53:28 +0530 Subject: [PATCH 39/82] fix(builder): a lean clone never counts what it cannot read The paths a lean clone fetches no file versions for came from a fixed 100, half of which had to match the engine's own Bulk Commit size. The Builder now has BULK_COMMIT_FILES (50), hands it to every build and count as --max-changeset-size, and leaves out commits changing more than twice as many paths. A count of everyone's Surviving Lines that fails on a blobless clone (now that offline never fetches) is never recorded: it is queued again on a full clone. Tests: a blobless clone's Lines Changed are either a full clone's or not counted, never another number, and a full clone with the same cache fills them in; a failed lean count is counted again from a full clone. --- DEPLOY.md | 1 + apps/builder/src/builder.test.ts | 2 +- apps/builder/src/config.ts | 3 ++ apps/builder/src/job.test.ts | 2 +- apps/builder/src/lean.test.ts | 4 +- apps/builder/src/lean.ts | 11 ++-- apps/builder/src/run.ts | 4 +- apps/builder/src/survival.test.ts | 34 +++++++++++- apps/builder/src/survival.ts | 14 +++-- crates/commitscape/tests/build.rs | 89 +++++++++++++++++++++++++++++++ packages/server/src/queue.ts | 2 +- 11 files changed, 147 insertions(+), 19 deletions(-) diff --git a/DEPLOY.md b/DEPLOY.md index 3a31613..1fd9ea1 100644 --- a/DEPLOY.md +++ b/DEPLOY.md @@ -193,6 +193,7 @@ Optional, with their defaults: |---|---|---| | `CONCURRENCY` | 1 | Builds at a time, for repositories under `LARGE_REPOSITORY_MB`. Their clones, GitHub reads and Postgres loads overlap; their runs of the engine share `ENGINE_SLOTS` | | `ENGINE_SLOTS` | 1 | Runs of the engine at once across every Build, small and large; the rest wait their turn. Surviving Lines has its own. With one slot, let the engine use every core (leave `COMMITSCAPE_THREADS` unset) | +| `BULK_COMMIT_FILES` | 50 | A commit changing more files than this is a Bulk Commit: left out of Churn, Ownership, Change Coupling and Lines Changed, and passed through by Surviving Lines. A lean clone fetches no file versions for commits changing more than twice as many paths | | `COMMITSCAPE_THREADS` | every core, up to 16 | Threads one run of the engine may use | | `ENGINE_NICE` | 10 | The engine runs at this lower priority (0 to 19), so git, the database and the Builder stay responsive | | `LINES_BUDGET_SECONDS` | 120 | How long a Build's line pass may count Lines Changed, the Mainline first, newest first. Lines show once the Mainline's are counted; the commits left are counted by a quiet Build queued a minute later (three at most), and by the next Build | diff --git a/apps/builder/src/builder.test.ts b/apps/builder/src/builder.test.ts index ae39c6a..a7fcf4e 100644 --- a/apps/builder/src/builder.test.ts +++ b/apps/builder/src/builder.test.ts @@ -27,7 +27,7 @@ const cfg = (work: string, over: Partial = {}): Config => ({ logins: 300, diskGb: 20, cacheGb: 5, - engineSlots: 1, + engineSlots: 1, bulkFiles: 50, moreLinesBudget: 600, gitBase: undefined, ...over, diff --git a/apps/builder/src/config.ts b/apps/builder/src/config.ts index 746d7e1..606151a 100644 --- a/apps/builder/src/config.ts +++ b/apps/builder/src/config.ts @@ -31,6 +31,7 @@ export function loadEnv(runtimeEnv: Record = process DISK_BUDGET_GB: positive(20), CACHE_BUDGET_GB: positive(5), ENGINE_SLOTS: z.coerce.number().int().positive().default(1), + BULK_COMMIT_FILES: positive(50), ATLAS_QUALITY: z.coerce.number().int().min(1).max(11).default(5), STATE_KEY: z.string().min(32).optional(), STATE_DISK_DAYS: positive(7), @@ -106,6 +107,7 @@ export type Config = { diskGb: number; cacheGb: number; engineSlots: number; + bulkFiles: number; moreLinesBudget: number; gitBase: string | undefined; git?: GitSettings | undefined; @@ -134,6 +136,7 @@ export function configOf(env: Env): Config { diskGb: env.DISK_BUDGET_GB, cacheGb: env.CACHE_BUDGET_GB, engineSlots: env.ENGINE_SLOTS, + bulkFiles: env.BULK_COMMIT_FILES, moreLinesBudget: env.MORE_LINES_BUDGET_SECONDS, gitBase: env.GIT_BASE, state: env.STATE_KEY ? { secret: env.STATE_KEY, diskDays: env.STATE_DISK_DAYS, keepDays: env.STATE_KEEP_DAYS } : undefined, diff --git a/apps/builder/src/job.test.ts b/apps/builder/src/job.test.ts index 29a1249..0191a8d 100644 --- a/apps/builder/src/job.test.ts +++ b/apps/builder/src/job.test.ts @@ -65,7 +65,7 @@ type Captured = [string, Who, Record]; async function context(db: Db, over: Partial = {}, built: FakeBuild | ((args: string[]) => FakeBuild) = {}): Promise; captured: Captured[] }> { const work = await mkdtemp(join(tmpdir(), "builder-")); - const cfg: Config = { bin: "commitscape", threads: undefined, linesBudget: 120, nice: 10, work, concurrency: 1, maxMb: undefined, timeLimit: 60, cloneLimit: 120, largeMb: 1500, largeConcurrency: 1, logins: 300, diskGb: 20, cacheGb: 5, engineSlots: 1, moreLinesBudget: 600, gitBase: undefined }; + const cfg: Config = { bin: "commitscape", threads: undefined, linesBudget: 120, nice: 10, work, concurrency: 1, maxMb: undefined, timeLimit: 60, cloneLimit: 120, largeMb: 1500, largeConcurrency: 1, logins: 300, diskGb: 20, cacheGb: 5, engineSlots: 1, bulkFiles: 50, moreLinesBudget: 600, gitBase: undefined }; const captured: Captured[] = []; const telemetry: Telemetry = { capture: (event, who, properties) => void captured.push([event, who, properties]), stop: async () => {} }; return { diff --git a/apps/builder/src/lean.test.ts b/apps/builder/src/lean.test.ts index 3dcd66d..cde4792 100644 --- a/apps/builder/src/lean.test.ts +++ b/apps/builder/src/lean.test.ts @@ -23,12 +23,12 @@ test("a blobless clone without files fetches only the versions a Build reads: HE r.commit(bulk, "a reformat", "Ada", 3); expect((await ensureClone(run, { url, dir: r.clone, blobless: true, checkout: false, env, timeoutMs: 60_000 })).ok).toBe(true); const at = (rev: string) => r.sh(r.origin, "rev-parse", rev).trim(); - const needed = await neededBlobs(g, [first]); + const needed = await neededBlobs(g, [first], 50); expect(new Set(needed)).toEqual(new Set([at("HEAD:a.rs"), at("HEAD~1:a.rs"), at("HEAD~2:a.rs"), at("HEAD:b.rs"), at(`${first}:old.rs`), ...Object.keys(bulk).map((p) => at(`HEAD:${p}`))])); expect(needed).not.toContain(at(`${first}~1:a.rs`)); await fetchBlobs(g, needed); expect(await missingBlobs(g, needed)).toEqual([]); - expect(await neededBlobs(g, [at("HEAD")])).toEqual([]); + expect(await neededBlobs(g, [at("HEAD")], 50)).toEqual([]); const history = await historyBlobs(g, first); expect(history).toEqual([at(`${first}~1:a.rs`)]); diff --git a/apps/builder/src/lean.ts b/apps/builder/src/lean.ts index 997a5d8..18b0e44 100644 --- a/apps/builder/src/lean.ts +++ b/apps/builder/src/lean.ts @@ -5,8 +5,6 @@ const FETCHED_AT_ONCE = 20_000; const PATHS_AT_ONCE = 500; const MAX_OUT = 512 << 20; -export const BULK_RAW = 100; - const blobOf = (mode: string, oid: string) => (mode !== "160000" && mode !== "000000" && !ZERO.test(oid) ? oid : null); async function lines(g: Git, args: string[], input?: string): Promise { @@ -22,8 +20,9 @@ export async function missingBlobs(g: Git, oids: string[]): Promise { return out.flatMap((l) => (l.endsWith(" missing") ? [l.slice(0, -" missing".length)] : [])); } -/** The file versions a Build of a blobless clone reads that it does not hold: every file at HEAD, which the head pass reads, and both sides of each file the commits since `frontier` changed, which the line pass reads, leaving out commits that change more than `bulk` paths (they are Bulk Commits, never counted). */ -export async function neededBlobs(g: Git, frontier: string[], bulk = BULK_RAW): Promise { +/** The file versions a Build of a blobless clone reads that it does not hold: every file at HEAD, which the head pass reads, and both sides of each file the commits since `frontier` changed, which the line pass reads, leaving out commits that change more than twice `bulkFiles` paths. Those are Bulk Commits, never counted: without renames paired, a commit of `bulkFiles` changes shows at most twice as many paths. */ +export async function neededBlobs(g: Git, frontier: string[], bulkFiles: number): Promise { + const bulk = 2 * bulkFiles; const wanted = new Set(); for (const l of await lines(g, ["ls-tree", "-r", "--full-tree", "HEAD"])) { const [mode = "", , oid = ""] = l.split("\t")[0]?.split(" ") ?? []; @@ -74,9 +73,9 @@ export async function fetchBlobs(g: Git, oids: string[]): Promise { } /** Fetches into a blobless clone the file versions its Build reads that it lacks, and says how many. */ -export async function prefetch(dir: string, env: NodeJS.ProcessEnv, frontier: string[], timeoutMs: number): Promise { +export async function prefetch(dir: string, env: NodeJS.ProcessEnv, frontier: string[], timeoutMs: number, bulkFiles: number): Promise { const g = { dir, env, deadline: Date.now() + timeoutMs }; - const needed = await neededBlobs(g, frontier); + const needed = await neededBlobs(g, frontier, bulkFiles); await fetchBlobs(g, needed); return needed.length; } diff --git a/apps/builder/src/run.ts b/apps/builder/src/run.ts index f5a0afd..bbbd8a7 100644 --- a/apps/builder/src/run.ts +++ b/apps/builder/src/run.ts @@ -216,7 +216,7 @@ export async function build(req: BuildTarget, cfg: Config, deps: Deps): Promise< await rm(out, { recursive: true, force: true }); await rm(events, { force: true }); const before = await deps.index.live(); - const args = ["build", ...(phase === "quick" ? ["--no-lines"] : ["--lines-budget", String(linesBudgetOf(cfg, binLimit, !!req.more))]), "--offline", ...cache, "--events", events, "--out", out]; + const args = ["build", ...(phase === "quick" ? ["--no-lines"] : ["--lines-budget", String(linesBudgetOf(cfg, binLimit, !!req.more))]), "--offline", "--max-changeset-size", String(cfg.bulkFiles), ...cache, "--events", events, "--out", out]; if (accounts) args.push("--accounts", accounts); if (appendable(before)) { const frontier = join(scratch, `${phase}.frontier`); @@ -266,7 +266,7 @@ export async function build(req: BuildTarget, cfg: Config, deps: Deps): Promise< const c = await ensureClone(deps.run, { url, dir: full, blobless: true, checkout: false, env, timeoutMs: cloneLimit }); if (!c.ok) return c; const live = await deps.index.live(); - const fetched = await (deps.prefetch ?? prefetch)(full, env, live?.frontier ?? [], cloneLimit); + const fetched = await (deps.prefetch ?? prefetch)(full, env, live?.frontier ?? [], cloneLimit, cfg.bulkFiles); deps.log?.(`clone of ${req.owner}/${req.name}: blobless, ${fetched} file versions fetched for this Build`); return c; }; diff --git a/apps/builder/src/survival.test.ts b/apps/builder/src/survival.test.ts index a7f86ad..0ca64b8 100644 --- a/apps/builder/src/survival.test.ts +++ b/apps/builder/src/survival.test.ts @@ -32,7 +32,7 @@ async function setup(run: (cmd: string, args: string[], env: NodeJS.ProcessEnv, await mkdir(join(args.at(-1) ?? "", ".git"), { recursive: true }); return { code: 0, stderr: "", timedOut: false }; }; - const ctx = { db, storage: memoryStorage(), cfg: { bin: "commitscape", threads: undefined, linesBudget: 120, nice: 10, work, concurrency: 1, maxMb: undefined, timeLimit: 60, cloneLimit: 120, largeMb: 1500, largeConcurrency: 1, logins: 300, diskGb: 20, cacheGb: 5, engineSlots: 1, moreLinesBudget: 600, gitBase: undefined }, app: null, run: cloning, github: { api: "http://github.test", token: "t", fetcher: (async () => Response.json({ data: { repository: { c0: { author: { user: { login: "ada" } } } } } })) as unknown as typeof fetch }, log: () => {}, queueCounts: async (job: SurvivalJob) => void queued.push(job), budget: 60 } as JobContext & { budget: number }; + const ctx = { db, storage: memoryStorage(), cfg: { bin: "commitscape", threads: undefined, linesBudget: 120, nice: 10, work, concurrency: 1, maxMb: undefined, timeLimit: 60, cloneLimit: 120, largeMb: 1500, largeConcurrency: 1, logins: 300, diskGb: 20, cacheGb: 5, engineSlots: 1, bulkFiles: 50, moreLinesBudget: 600, gitBase: undefined }, app: null, run: cloning, github: { api: "http://github.test", token: "t", fetcher: (async () => Response.json({ data: { repository: { c0: { author: { user: { login: "ada" } } } } } })) as unknown as typeof fetch }, log: () => {}, queueCounts: async (job: SurvivalJob) => void queued.push(job), budget: 60 } as JobContext & { budget: number }; return { db, ctx }; } @@ -55,7 +55,7 @@ test("a count is everyone's, whoever asked: each person's answer is recorded at await runSurvival({ repoId: "acme/rocket", reportKey: "r/b1", personIds: [3] }, ctx); const home = join(ctx.cfg.work, "repos", "acme", "rocket"); const accounts = asked[asked.indexOf("--accounts") + 1] ?? ""; - expect(asked).toEqual(["surviving", "--everyone", "--budget-seconds", "60", "--cache-dir", join(ctx.cfg.work, "caches", "acme", "rocket"), "--cache-key", "acme/rocket", "--offline", "--accounts", accounts, "--", join(home, "full")]); + expect(asked).toEqual(["surviving", "--everyone", "--budget-seconds", "60", "--cache-dir", join(ctx.cfg.work, "caches", "acme", "rocket"), "--cache-key", "acme/rocket", "--offline", "--max-changeset-size", "50", "--accounts", accounts, "--", join(home, "full")]); expect(accounts.startsWith(join(ctx.cfg.work, "jobs", "surviving-"))).toBe(true); expect(seen).toEqual([{ "ada@example.com": "ada" }]); expect(await readdir(join(ctx.cfg.work, "jobs"))).toEqual([]); @@ -86,6 +86,36 @@ test("a count waits while another job holds the repository's cache, and saves it expect(order).toEqual(["other starts", "other ends", "surviving", "save"]); }); +test("a count that fails on a blobless clone is never recorded, and is made again from a full clone", async () => { + const queued: SurvivalJob[] = []; + const dirs: string[] = []; + const clones: string[] = []; + const { db, ctx } = await setup( + async (_cmd, args) => { + const dir = args.at(-1) ?? ""; + dirs.push(dir); + return dir.endsWith("lean") ? { code: 1, stderr: "commitscape: could not fetch file contents 20a3 from the remote\n", timedOut: false } : { code: 0, stderr: "", timedOut: false, stdout: everyone([alice, bob]) }; + }, + {}, + queued, + clones, + ); + const home = join(ctx.cfg.work, "repos", "acme", "rocket"); + await mkdir(join(home, "lean", ".git"), { recursive: true }); + const job = { repoId: "acme/rocket", reportKey: "r/b1", personIds: [3], everyone: true }; + await runSurvival(job, ctx); + expect(dirs).toEqual([join(home, "lean")]); + expect(queued).toEqual([{ ...job, full: true }]); + expect((await rows(db)).map((r) => r[1])).toEqual(["queued", "queued"]); + await runSurvival(queued[0] ?? job, ctx); + expect(dirs.at(-1)).toBe(join(home, "full")); + expect(clones).toEqual([join(home, ".full.cloning")]); + expect((await rows(db)).map((r) => [r[0], r[1], r[2]])).toEqual([ + [3, "counted", 75], + [4, "counted", 0], + ]); +}); + test("ownership not whole within the budget is asked again for everyone with twice the budget, and its rows stay counting; past four hours they are over budget", async () => { const budgets: string[] = []; const timers: number[] = []; diff --git a/apps/builder/src/survival.ts b/apps/builder/src/survival.ts index 0af2a6e..c978539 100644 --- a/apps/builder/src/survival.ts +++ b/apps/builder/src/survival.ts @@ -61,7 +61,7 @@ export async function runSurvival(job: SurvivalJob, ctx: JobContext & { budget: const scratch = scratchDir(cfg, key); const home = repo.isPrivate ? privateDir(cfg, key) : repoDir(cfg, repo.owner, repo.name); const lean = join(home, "lean"); - const leaned = !repo.isPrivate && existsSync(join(lean, ".git")); + const leaned = !repo.isPrivate && !job.full && existsSync(join(lean, ".git")); const full = leaned ? lean : join(home, "full"); const env = gitEnv(token); const started = Date.now(); @@ -85,7 +85,7 @@ export async function runSurvival(job: SurvivalJob, ctx: JobContext & { budget: const cached: typeof ctx.run = (cmd, args, env, timeoutMs, opts) => holdingCache(cacheRoot, () => ctx.run(cmd, args, env, timeoutMs, opts)); const engineEnv = { ...env, ...(cfg.threads ? { COMMITSCAPE_THREADS: String(cfg.threads) } : {}) }; const accounts = await writeAccounts(cached, { bin: cfg.bin, dir: full, scratch, cache, env: engineEnv, timeoutMs: cfg.timeLimit * 1000, nice: cfg.nice, log: ctx.log }, async (signatures) => (await accountsFor(db, gh, { owner: repo.owner, name: repo.name, scope }, signatures, cfg.logins)).accounts); - const args = ["surviving", "--everyone", "--budget-seconds", String(budget), ...cache, "--offline"]; + const args = ["surviving", "--everyone", "--budget-seconds", String(budget), ...cache, "--offline", "--max-changeset-size", String(cfg.bulkFiles)]; if (accounts) args.push("--accounts", accounts); args.push("--", full); ran = await cached(cfg.bin, args, engineEnv, (budget + cfg.timeLimit) * 1000, { nice: cfg.nice, maxStdout: EVERYONE_BYTES }); @@ -110,7 +110,13 @@ export async function runSurvival(job: SurvivalJob, ctx: JobContext & { budget: }; if (!answer) { if (ran.timedOut) await again(); - else await mark("failed", job.personIds); + else if (leaned && ctx.queueCounts) { + ctx.log(`surviving ${job.repoId}: the blobless clone lacked what blame read, so it is counted again from a full clone`); + await ctx.queueCounts({ ...job, full: true }).catch(async (e: unknown) => { + ctx.log(`surviving ${job.repoId} not queued again: ${(e as Error).message}`); + await mark("failed", job.personIds); + }); + } else await mark("failed", job.personIds); return; } if (!answer.complete) { @@ -146,6 +152,6 @@ async function prefetch(ctx: JobContext, repoId: string, dir: string, env: NodeJ await fetchBlobs(g, wanted); ctx.log(`surviving ${repoId}: ${wanted.length} file versions fetched into the blobless clone`); } catch (e) { - ctx.log(`surviving ${repoId}: file versions not fetched ahead, so blame fetches them as it goes: ${(e as Error).message}`); + ctx.log(`surviving ${repoId}: file versions not fetched ahead, so a count that lacks one is made again from a full clone: ${(e as Error).message}`); } } diff --git a/crates/commitscape/tests/build.rs b/crates/commitscape/tests/build.rs index a598864..b58c30f 100644 --- a/crates/commitscape/tests/build.rs +++ b/crates/commitscape/tests/build.rs @@ -649,3 +649,92 @@ fn builds_from_the_kept_columns_write_what_builds_from_the_cache_write_warm_and_ ); } } + +type LinesOf = std::collections::HashMap>>; + +fn lines_of(out: &Path) -> LinesOf { + let pack = read_pack(&std::fs::read(out.join("pack.bin")).expect("a pack")).expect("read"); + pack.index + .commits + .iter() + .map(|c| { + let lines = pack + .index + .changes_of(c) + .iter() + .map(|ch| ch.lines().map(|d| (d.added, d.removed))) + .collect(); + (c.id.to_hex(), lines) + }) + .collect() +} + +#[test] +fn a_blobless_clone_counts_only_the_lines_it_can_read_and_a_full_clone_fills_in_the_rest() { + let dir = tempfile::tempdir().expect("a temporary directory"); + let origin = format!("file://{}", fixture("lines").display()); + let lean = dir.path().join("lean"); + let full = dir.path().join("full"); + git(&[ + "clone", + "--quiet", + "--filter=blob:none", + "--no-checkout", + "--upload-pack", + "git -c uploadpack.allowFilter=true upload-pack", + &origin, + lean.to_str().unwrap_or("lean"), + ]); + git(&[ + "-C", + lean.to_str().unwrap_or("lean"), + "checkout", + "-q", + "HEAD", + "--", + ".", + ]); + git(&["clone", "--quiet", &origin, full.to_str().unwrap_or("full")]); + let build = |cache: &str, repo: &Path, out: &str| -> PathBuf { + let out = dir.path().join(out); + commitscape( + &[ + "build", + "--offline", + "--lines-budget", + "600", + "--anchor", + "1800000000", + "--cache-key", + "acme/rocket", + "--cache-dir", + ], + &[&dir.path().join(cache), Path::new("--out"), &out, repo], + ); + out + }; + let lean_out = build("a", &lean, "lean-out"); + let full_out = build("b", &full, "full-out"); + let filled_out = build("a", &full, "filled-out"); + assert!(json(&lean_out.join("manifest.json"))["lines_left"].as_u64() > Some(0)); + assert_eq!(json(&filled_out.join("manifest.json"))["lines_left"], 0); + let (lean, whole, filled) = ( + lines_of(&lean_out), + lines_of(&full_out), + lines_of(&filled_out), + ); + let mut left = 0; + for (id, counted) in &lean { + let want = whole.get(id).expect("the same commits"); + if counted.iter().all(Option::is_none) && want.iter().any(Option::is_some) { + left += 1; + continue; + } + assert_eq!( + counted, want, + "{id}: counted from the blobless clone as the full clone counts it" + ); + } + assert!(left > 0); + assert_eq!(filled, whole); +} diff --git a/packages/server/src/queue.ts b/packages/server/src/queue.ts index 9ac06fa..e18c23a 100644 --- a/packages/server/src/queue.ts +++ b/packages/server/src/queue.ts @@ -9,7 +9,7 @@ export type BuildTrace = { sentryTrace: string; baggage: string }; export type BuildJob = { buildId: string; repoId?: string; attempt?: number; trace?: BuildTrace; queuedAt?: number; userId?: string; more?: number }; -export type SurvivalJob = { repoId: string; reportKey: string; personIds: number[]; attempt?: number; everyone?: boolean }; +export type SurvivalJob = { repoId: string; reportKey: string; personIds: number[]; attempt?: number; everyone?: boolean; full?: boolean }; export type PullsJob = { repoId: string }; From c7eba1757750e14b869fc73b57974053673e8f4d Mon Sep 17 00:00:00 2001 From: Dev Talan <84081651+devchaudhary24k@users.noreply.github.com> Date: Tue, 27 Oct 2026 13:57:11 +0530 Subject: [PATCH 40/82] fix(builder): fetch public repositories with the Builder's own token A lean clone fetches many small batches of file versions, and public repositories were cloned and fetched anonymously, within GitHub's anonymous limits (a benchmark met HTTP 429). The Builder now fetches a public repository with its own token, the Site's installation token (which can read nothing private) or the scope-less GITHUB_TOKEN behind it, in git's environment only: clones, fetches, the head check and the counts of Surviving Lines. A token lent for a Build is still never used for git, so a repository gone private cannot be read with someone's own access. Tests: every git of a public Build carries the Builder's token, none the lent one, and no command line holds a token. --- DEPLOY.md | 5 ++++- apps/builder/src/job.test.ts | 10 ++++++++-- apps/builder/src/job.ts | 5 +++-- apps/builder/src/survival.ts | 2 +- 4 files changed, 16 insertions(+), 6 deletions(-) diff --git a/DEPLOY.md b/DEPLOY.md index 1fd9ea1..5873e68 100644 --- a/DEPLOY.md +++ b/DEPLOY.md @@ -120,7 +120,10 @@ Install the App on an account (or an organisation of your own) and choose installation's id, the number at the end of its settings page's address, in `GITHUB_APP_INSTALLATION_ID`. If that installation can read any private repository the Site refuses its token, logs why, and falls back to -`GITHUB_TOKEN`, so private data is never kept as public. +`GITHUB_TOKEN`, so private data is never kept as public. The Builder also +fetches public repositories with it (in git's environment, never in an +address or a log), so its many small fetches of file versions count +against an account's limits rather than GitHub's anonymous ones. Keep the App ID (`GITHUB_APP_ID`), the slug from `github.com/apps/` (`GITHUB_APP_SLUG`), the Client ID (`GITHUB_APP_CLIENT_ID`), a new client diff --git a/apps/builder/src/job.test.ts b/apps/builder/src/job.test.ts index 0191a8d..229d185 100644 --- a/apps/builder/src/job.test.ts +++ b/apps/builder/src/job.test.ts @@ -484,14 +484,16 @@ test("a private repository with no installation token fails as private and reads expect(ctx.captured.at(-1)?.[1].repo).toMatch(/^private:[0-9a-f]{16}$/); }); -test("a public repository is cloned without the token lent for its Build, so a repository gone private since cannot be read with someone's own access", async () => { +test("a public repository is fetched with the Builder's own token, which reads nothing private, and never with the token lent for its Build, so a repository gone private since cannot be read with someone's own access", async () => { const db = await database(); const envs: NodeJS.ProcessEnv[] = []; + const argv: string[] = []; const base = tools(); const ctx = await context(db, { tokenSecret: "s".repeat(32), run: async (cmd, args, env) => { if (cmd === "git") envs.push(env); + argv.push(`${cmd} ${args.join(" ")}`); return base(cmd, args); }, }); @@ -499,9 +501,13 @@ test("a public repository is cloned without the token lent for its Build, so a r await db.insert(schema.user).values({ id: "u1", name: "Ada", email: "ada@example.com", emailVerified: true, createdAt: new Date(), updatedAt: new Date() }); await lendToken(db, "s".repeat(32), "acme/rocket", "u1", "ghu_lent"); await db.insert(builds).values({ id: "b9", repoId: "acme/rocket", state: "queued", requestedAt: 1 }); + ctx.github = { ...ctx.github, token: "ghs_site" }; await runJob("b9", ctx); + const carries = (e: NodeJS.ProcessEnv, token: string) => Object.values(e).some((v) => typeof v === "string" && v.includes(Buffer.from(`x-access-token:${token}`).toString("base64"))); expect(envs.length).toBeGreaterThan(0); - expect(envs.some((e) => Object.values(e).some((v) => typeof v === "string" && v.includes(Buffer.from("x-access-token:ghu_lent").toString("base64"))))).toBe(false); + expect(envs.some((e) => carries(e, "ghu_lent"))).toBe(false); + expect(envs.every((e) => carries(e, "ghs_site"))).toBe(true); + expect(argv.some((a) => a.includes("ghs_site"))).toBe(false); }); test("a Build that publishes a new Report asks for everyone's Surviving Lines once, and one that keeps its Report asks for nothing", async () => { diff --git a/apps/builder/src/job.ts b/apps/builder/src/job.ts index 185f5a6..9749a08 100644 --- a/apps/builder/src/job.ts +++ b/apps/builder/src/job.ts @@ -117,9 +117,10 @@ async function claimedJob(buildId: string, ctx: JobContext, attempt: number, ask } const scope = repo.isPrivate ? repo.id : "public"; const gh: GitHubApi = { ...ctx.github, token: token ?? ctx.github.token }; + const gitToken = repo.isPrivate ? token : ctx.github.token; let pullsQueued = !!more; const started = Date.now(); - if (!more && attempt === 1 && (await keptUnchanged(ctx, repo, repo.isPrivate ? token : null))) { + if (!more && attempt === 1 && (await keptUnchanged(ctx, repo, gitToken))) { const seconds = (Date.now() - started) / 1000; await end("done", { seconds, partial: false }); ctx.telemetry?.capture("build unchanged", who, { ...about, seconds }); @@ -160,7 +161,7 @@ async function claimedJob(buildId: string, ctx: JobContext, attempt: number, ask name: repo.name, sizeKb: repo.sizeKb ?? 0, private: repo.isPrivate, - token: repo.isPrivate ? token : null, + token: gitToken, seed: repo.seed, attempt, hasLines: !!repo.reportKey && repo.reportLines !== false, diff --git a/apps/builder/src/survival.ts b/apps/builder/src/survival.ts index c978539..9ab9039 100644 --- a/apps/builder/src/survival.ts +++ b/apps/builder/src/survival.ts @@ -47,7 +47,7 @@ export async function runSurvival(job: SurvivalJob, ctx: JobContext & { budget: await mark("stale", job.personIds); return; } - let token: string | null = null; + let token: string | null = repo.isPrivate ? null : ctx.github.token; if (repo.isPrivate) { token = repo.installationId && ctx.app ? await installationToken(ctx.app, repo.installationId, repo.name) : null; if (!token) { From 740df67d646e47e585d7a4eca9b03d5b45740e01 Mon Sep 17 00:00:00 2001 From: Dev Talan <84081651+devchaudhary24k@users.noreply.github.com> Date: Tue, 27 Oct 2026 14:39:43 +0530 Subject: [PATCH 41/82] feat(builder): let runs of the engine in by the memory they take ENGINE_SLOTS let a fixed number of engine runs go at once, whatever their size, and counts of Surviving Lines ran beside them uncounted. Now every run of the engine (builds, signatures, counts of everyone's Surviving Lines, the standard screens and the Atlas) says how much memory it will take, estimated before it starts from its kind and the repository's commits (its live Stored Index) or, cold, its size, a little over what was measured on linux and react. It waits, in the order it asked, until that fits in ENGINE_MEMORY_MB (1200) beside the runs going; one larger than the budget runs alone. ENGINE_SLOTS is no longer read. Three runs at once (react cold, react warm, linux screens), 2 cores: 1200 MB lets all in, react's warm build ends at 0.7 s instead of after the 35 s cold one, 194 MB taken together; 260 MB keeps the screens back until the cold build ends, 145 MB. --- DEPLOY.md | 23 ++++--- apps/builder/src/accounts.ts | 6 +- apps/builder/src/admission.test.ts | 78 ++++++++++++++++++++++++ apps/builder/src/admission.ts | 57 +++++++++++++++++ apps/builder/src/builder.test.ts | 54 ++-------------- apps/builder/src/config.ts | 6 +- apps/builder/src/job.test.ts | 2 +- apps/builder/src/job.ts | 4 +- apps/builder/src/main.ts | 9 +-- apps/builder/src/run.ts | 33 +++------- apps/builder/src/screens.ts | 6 +- apps/builder/src/survival.test.ts | 2 +- apps/builder/src/survival.ts | 8 ++- apps/builder/src/universe.ts | 6 +- docs/working.md | 4 +- packages/server/src/stored-index.test.ts | 2 +- packages/server/src/stored-index.ts | 4 +- 17 files changed, 195 insertions(+), 109 deletions(-) create mode 100644 apps/builder/src/admission.test.ts create mode 100644 apps/builder/src/admission.ts diff --git a/DEPLOY.md b/DEPLOY.md index 5873e68..3d5b890 100644 --- a/DEPLOY.md +++ b/DEPLOY.md @@ -194,17 +194,17 @@ Optional, with their defaults: | Variable | Default | What | |---|---|---| -| `CONCURRENCY` | 1 | Builds at a time, for repositories under `LARGE_REPOSITORY_MB`. Their clones, GitHub reads and Postgres loads overlap; their runs of the engine share `ENGINE_SLOTS` | -| `ENGINE_SLOTS` | 1 | Runs of the engine at once across every Build, small and large; the rest wait their turn. Surviving Lines has its own. With one slot, let the engine use every core (leave `COMMITSCAPE_THREADS` unset) | +| `CONCURRENCY` | 1 | Builds at a time, for repositories under `LARGE_REPOSITORY_MB`. Their clones, GitHub reads and Postgres loads overlap; their runs of the engine share `ENGINE_MEMORY_MB` | +| `ENGINE_MEMORY_MB` | 1200 | Memory the runs of the engine may take at once, across every Build and count of Surviving Lines: each run waits, in the order it asked, until its estimate fits beside the others (a warm build of linux about 230 MB, a cold one about 340, everyone's Surviving Lines about 450, react's about 50 to 200); a run larger than this runs alone. 1200 fits a 3 GiB container with the Builder, git and Postgres loads beside it | | `BULK_COMMIT_FILES` | 50 | A commit changing more files than this is a Bulk Commit: left out of Churn, Ownership, Change Coupling and Lines Changed, and passed through by Surviving Lines. A lean clone fetches no file versions for commits changing more than twice as many paths | | `COMMITSCAPE_THREADS` | every core, up to 16 | Threads one run of the engine may use | | `ENGINE_NICE` | 10 | The engine runs at this lower priority (0 to 19), so git, the database and the Builder stay responsive | | `LINES_BUDGET_SECONDS` | 120 | How long a Build's line pass may count Lines Changed, the Mainline first, newest first. Lines show once the Mainline's are counted; the commits left are counted by a quiet Build queued a minute later (three at most), and by the next Build | | `MORE_LINES_BUDGET_SECONDS` | 600 | How long such a quiet Build may count, kept two minutes inside `TIME_LIMIT_SECONDS`: nobody waits for it, so it counts what is left in one go and publishes once | -| `ATLAS_QUALITY` | 5 | The brotli quality the Builder packs each pack's Universe Atlas with, 1 to 11. On linux 5 takes 4.8 CPU-s for a 7.8 MB map and 11 takes 35 CPU-s for 6.6 MB; the Atlas is made once per pack, in a process of its own that waits for an engine slot | +| `ATLAS_QUALITY` | 5 | The brotli quality the Builder packs each pack's Universe Atlas with, 1 to 11. On linux 5 takes 4.8 CPU-s for a 7.8 MB map and 11 takes 35 CPU-s for 6.6 MB; the Atlas is made once per pack, in a process of its own that waits for its share of `ENGINE_MEMORY_MB` | | `LARGE_REPOSITORY_MB` | 1500 | Repositories larger than this, by GitHub's size, are built in a lane of their own | | `LARGE_CONCURRENCY` | 1 | Builds at a time in that lane | -| `MAX_REPOSITORY_MB` | none | Unset, every repository is cloned, however big; set, larger repositories are refused. Measured on 2 cores (2026-10-27): vercel/next.js (2.6 GB of git, 50,110 commits) clones in 291 s with 163 CPU-s and 0.6 GB, and its first Build counts every line in 19 s with 525 MB; linux (6.6 GB) needs about 1 GB to receive and 1.1 GB for its first Build, and its clone can pass the default `CLONE_TIME_LIMIT_SECONDS`. With `ENGINE_SLOTS` at 1 under a 3 GiB cap, 4000 takes next.js-sized repositories with room to spare; go higher only with a longer clone limit and the disk for one full clone of that size | +| `MAX_REPOSITORY_MB` | none | Unset, every repository is cloned, however big; set, larger repositories are refused. Measured on 2 cores (2026-10-27): vercel/next.js (2.6 GB of git, 50,110 commits) clones in 291 s with 163 CPU-s and 0.6 GB, and its first Build counts every line in 19 s with 525 MB; linux (6.6 GB) needs about 1 GB to receive and 1.1 GB for its first Build, and its clone can pass the default `CLONE_TIME_LIMIT_SECONDS`. With `ENGINE_MEMORY_MB` at 1200 under a 3 GiB cap, 4000 takes next.js-sized repositories with room to spare; go higher only with a longer clone limit and the disk for one full clone of that size | | `TIME_LIMIT_SECONDS` | 900 | How long one run of the binary may take on a Build's first attempt, the clone not included. One that runs out is queued again, each attempt given twice the time, four attempts in all | | `CLONE_TIME_LIMIT_SECONDS` | 1800 | How long a clone or fetch may take on the first attempt, doubled with each attempt | | `LOGINS_ASKED` | 300 | At most this many commit authors a Build asks GitHub for the login of, a hundred to a GraphQL request; each commit's answer is kept for a year, so a rebuild asks only for new ones | @@ -498,12 +498,15 @@ this order: reads in place. It adds `/v1/commits/search` and matches words in `/v1/commits/under`. 2. Deploy the Builder. Its migrations add `repositories.checked_at`, the - `repo_states` table and `stored_indexes.build_format`. From then on it - ends a Build early when the head has not moved, makes each pack's Atlas - and standard screens itself, counts everyone's Surviving Lines once per - new Report, and moves a repository to a lean clone once its lines and - Surviving Lines are counted. The first Build of each repository makes - its commit graph and its Index's columns once (linux: 2.6 s and 13 s). + `repo_states` table and `stored_indexes.build_format`. It no longer + reads `ENGINE_SLOTS`, which can go: `ENGINE_MEMORY_MB` (1200) takes its + place, and every run of the engine, counts of Surviving Lines too, waits + for its share. From then on it ends a Build early when the head has not + moved, makes each pack's Atlas and standard screens itself, counts + everyone's Surviving Lines once per new Report, and moves a repository + to a lean clone once its lines and Surviving Lines are counted. The + first Build of each repository makes its commit graph and its Index's + columns once (linux: 2.6 s and 13 s). 3. To keep Repo States in R2 as well, set `STATE_KEY` on the Builder (a secret of 32 characters or more, kept only there, never changed after) before or with this deploy. Without it the States live on its disk only. diff --git a/apps/builder/src/accounts.ts b/apps/builder/src/accounts.ts index fd2f98a..9cca34e 100644 --- a/apps/builder/src/accounts.ts +++ b/apps/builder/src/accounts.ts @@ -95,12 +95,12 @@ export async function accountsFor( /** Runs `commitscape signatures` on a clone and reads what it wrote, deleting the file at once; null when it could not. */ export async function readSignatures( run: typeof runCommand, - how: { bin: string; dir: string; scratch: string; cache?: string[]; env: NodeJS.ProcessEnv; timeoutMs: number; nice?: number; events?: string; log?: (line: string) => void }, + how: { bin: string; dir: string; scratch: string; cache?: string[]; env: NodeJS.ProcessEnv; timeoutMs: number; nice?: number; memoryMb?: number; events?: string; log?: (line: string) => void }, ): Promise { const file = join(how.scratch, "signatures.json"); try { const args = ["signatures", ...(how.cache ?? []), ...(how.events ? ["--events", how.events] : []), "--out", file, "--", how.dir]; - const ran = await run(how.bin, args, how.env, how.timeoutMs, how.nice === undefined ? {} : { nice: how.nice }); + const ran = await run(how.bin, args, how.env, how.timeoutMs, { ...(how.nice === undefined ? {} : { nice: how.nice }), ...(how.memoryMb === undefined ? {} : { memoryMb: how.memoryMb }) }); if (ran.code !== 0) { how.log?.(`signatures: ${ran.timedOut ? "timed out" : (ran.stderr.trim().split("\n").at(-1) ?? "failed")}`); return null; @@ -124,7 +124,7 @@ export async function writeAccountsFile(scratch: string, accounts: Record void }, + how: { bin: string; dir: string; scratch: string; cache?: string[]; env: NodeJS.ProcessEnv; timeoutMs: number; nice?: number; memoryMb?: number; log?: (line: string) => void }, resolve: (signatures: Signature[]) => Promise>, ): Promise { const signatures = await readSignatures(run, how); diff --git a/apps/builder/src/admission.test.ts b/apps/builder/src/admission.test.ts new file mode 100644 index 0000000..cd8eaa9 --- /dev/null +++ b/apps/builder/src/admission.test.ts @@ -0,0 +1,78 @@ +import { expect, test } from "vitest"; +import { admitting, peakMb } from "./admission"; +import type { Ran, RunOptions } from "./run"; + +function gate(budget: number, heavy = ["commitscape", "node"]) { + const order: string[] = []; + const open = new Map void>(); + const slow = async (cmd: string, args: string[]): Promise => { + const name = args[0] ?? cmd; + order.push(`start ${name}`); + await new Promise((r) => open.set(name, r)); + order.push(`end ${name}`); + return { code: name === "fails" ? 1 : 0, stderr: "", timedOut: false }; + }; + const run = admitting(slow, heavy, budget); + const ask = (cmd: string, name: string, memoryMb?: number) => run(cmd, [name], {}, 1000, memoryMb === undefined ? {} : ({ memoryMb } satisfies RunOptions)); + const tick = () => new Promise((r) => setTimeout(r, 10)); + const finish = async (name: string) => { + open.get(name)?.(); + await tick(); + }; + return { order, ask, tick, finish }; +} + +test("runs of the engine start while the memory they say they take fits beside the others, in the order they asked; every other command runs at once", async () => { + const g = gate(300); + const runs = [g.ask("commitscape", "a", 100), g.ask("commitscape", "fails", 150), g.ask("commitscape", "c", 100), g.ask("git", "clone")]; + await g.tick(); + expect([...g.order].sort()).toEqual(["start a", "start clone", "start fails"]); + await g.finish("fails"); + expect(g.order.at(-1)).toBe("start c"); + for (const name of ["a", "c", "clone"]) await g.finish(name); + expect((await Promise.all(runs)).map((r) => r.code)).toEqual([0, 1, 0, 0]); +}); + +test("a run larger than the budget waits until nothing runs and then runs alone, and no run asked after it goes first", async () => { + const g = gate(300); + const runs = [g.ask("commitscape", "small", 100), g.ask("commitscape", "huge", 900), g.ask("commitscape", "after", 50)]; + await g.tick(); + expect(g.order).toEqual(["start small"]); + await g.finish("small"); + expect(g.order.slice(-1)).toEqual(["start huge"]); + await g.finish("huge"); + expect(g.order.slice(-2)).toEqual(["end huge", "start after"]); + await g.finish("after"); + await Promise.all(runs); +}); + +test("the Atlas waits in the same line as the engine, and a run that says nothing is taken for 256 MB", async () => { + const g = gate(400); + const runs = [g.ask("commitscape", "build"), g.ask("node", "atlas", 200)]; + await g.tick(); + expect(g.order).toEqual(["start build"]); + await g.finish("build"); + expect(g.order.at(-1)).toBe("start atlas"); + await g.finish("atlas"); + await Promise.all(runs); +}); + +test("an estimate is above every peak measured on linux and react", () => { + const linux = { commits: 1_501_892, sizeKb: 5_800_000 }; + const react = { commits: 21_722, sizeKb: 1_100_000 }; + const measured: [Parameters[0], typeof linux, number][] = [ + ["build", linux, 224], + ["build", react, 38], + ["cold", linux, 276], + ["cold", react, 158], + ["surviving", linux, 442], + ["surviving", react, 121], + ["screens", linux, 191], + ["atlas", linux, 635], + ]; + for (const [kind, repo, peak] of measured) { + const estimate = peakMb(kind, repo); + expect(estimate, `${kind} ${repo.commits}`).toBeGreaterThanOrEqual(peak); + expect(estimate, `${kind} ${repo.commits}`).toBeLessThan(peak * 1.6 + 100); + } +}); diff --git a/apps/builder/src/admission.ts b/apps/builder/src/admission.ts new file mode 100644 index 0000000..fed2a9e --- /dev/null +++ b/apps/builder/src/admission.ts @@ -0,0 +1,57 @@ +import type { RunOptions, Runner } from "./run"; + +/** What an engine run does, as far as its memory goes. */ +export type EngineRun = "build" | "cold" | "signatures" | "surviving" | "screens" | "atlas"; + +/** What is known of a repository before a run starts: its commits from its live Stored Index (0 when it has none) and its size on GitHub. */ +export type Sized = { commits: number; sizeKb: number }; + +const UNKNOWN_MB = 256; + +/** About how many MB of memory an engine run takes at its peak, a little over what was measured on two threads (2026-10-27: linux, 1.5M commits, and facebook/react, 22k): a warm build 94–224 MB on linux and 9–38 on react, a cold one 276 and 158, everyone's Surviving Lines 442 and 121, the standard screens 191, the Atlas 635 on linux. A cold run knows no commit count yet, so it goes by the repository's size. */ +export function peakMb(kind: EngineRun, repo: Sized): number { + const thousands = repo.commits / 1000; + const sizeMb = repo.sizeKb / 1024; + const mb = { + build: 48 + 0.12 * thousands, + cold: Math.max(170 + 0.03 * sizeMb, 64 + 0.15 * thousands), + signatures: 32 + 0.04 * thousands, + surviving: Math.max(130, 64 + 0.26 * thousands), + screens: 48 + 0.1 * thousands, + atlas: 100 + 0.36 * thousands, + }[kind]; + return Math.ceil(mb); +} + +/** A runner through which runs of the engine (`heavy` commands) start only while the memory they say they take (`memoryMb`, else 256) fits in `budgetMb` beside the runs already going, in the order they asked: a run larger than the budget waits until nothing else runs, then runs alone. Every other command (git, the network) runs at once. A run's time limit starts when it is let in. */ +export function admitting(runner: Runner, heavy: string[], budgetMb: number): Runner { + const commands = new Set(heavy); + let used = 0; + let running = 0; + const waiting: { need: number; start: () => void }[] = []; + const pump = () => { + for (;;) { + const next = waiting[0]; + if (!next || (running > 0 && used + next.need > budgetMb)) return; + waiting.shift(); + used += next.need; + running += 1; + next.start(); + } + }; + return async (cmd: string, args: string[], env: NodeJS.ProcessEnv, timeoutMs: number, opts?: RunOptions) => { + if (!commands.has(cmd)) return runner(cmd, args, env, timeoutMs, opts); + const need = Math.min(Math.max(1, opts?.memoryMb ?? UNKNOWN_MB), budgetMb); + await new Promise((start) => { + waiting.push({ need, start }); + pump(); + }); + try { + return await runner(cmd, args, env, timeoutMs, opts); + } finally { + used -= need; + running -= 1; + pump(); + } + }; +} diff --git a/apps/builder/src/builder.test.ts b/apps/builder/src/builder.test.ts index a7fcf4e..96bd8fa 100644 --- a/apps/builder/src/builder.test.ts +++ b/apps/builder/src/builder.test.ts @@ -10,7 +10,7 @@ import type { Config } from "./config"; import { cacheDir, cacheFor, holdingCache, prune, repoDir } from "./disk"; import { readEvents } from "./engine"; import { flagOf, writeBuilt, type FakeBuild } from "./fake"; -import { build, BUILD_ATTEMPTS, cloneLimitOf, run, sharingEngine, timeLimitOf, type BuildTarget, type Deps, type Made, type Ran, type RunOptions } from "./run"; +import { build, BUILD_ATTEMPTS, cloneLimitOf, run, timeLimitOf, type BuildTarget, type Deps, type Made, type Ran, type RunOptions } from "./run"; const cfg = (work: string, over: Partial = {}): Config => ({ bin: "commitscape", @@ -27,7 +27,7 @@ const cfg = (work: string, over: Partial = {}): Config => ({ logins: 300, diskGb: 20, cacheGb: 5, - engineSlots: 1, bulkFiles: 50, + engineMemoryMb: 1200, bulkFiles: 50, moreLinesBudget: 600, gitBase: undefined, ...over, @@ -78,7 +78,7 @@ function fake(answer: (call: Call) => Ran | Promise = () => ok, built: Fake load: async (dir): Promise => { const m = await readManifest(dir); loads.push({ full: m.full, lines: m.lines_mainline }); - index.live = { id: 1, lineage: m.lineage, kept: true, frontier: m.frontier, lines: m.lines_mainline, linesLeft: m.lines_left, head: m.head, pack: null, mark: m.mark, buildFormat: null }; + index.live = { id: 1, lineage: m.lineage, kept: true, frontier: m.frontier, lines: m.lines_mainline, linesLeft: m.lines_left, head: m.head, pack: null, mark: m.mark, buildFormat: null, commits: m.total }; return { si: 1, full: m.full, commits: m.commits, total: m.total, mainline: 0, lines: 0, seconds: 0 }; }, }, @@ -154,7 +154,7 @@ test("a State is saved or brought back only while no engine run reads or writes test("a repository ready to be lean is read from a blobless clone without files, fetching only what its Build reads, and its full clone is let go", async () => { const work = await mkdtemp(join(tmpdir(), "builder-")); - const live: LiveIndex = { id: 1, lineage: "7", kept: true, frontier: ["f".repeat(40)], lines: true, linesLeft: 0, head: "f".repeat(40), pack: "p", mark: null, buildFormat: null }; + const live: LiveIndex = { id: 1, lineage: "7", kept: true, frontier: ["f".repeat(40)], lines: true, linesLeft: 0, head: "f".repeat(40), pack: "p", mark: null, buildFormat: null, commits: 0 }; const f = fake(() => ok, {}, live); const asked: string[][] = []; f.deps.prefetch = async (dir, _env, frontier) => { @@ -243,7 +243,7 @@ test("a warm Build brings the kept clone up to date and goes straight to the ful const work = await mkdtemp(join(tmpdir(), "builder-")); const full = join(work, "repos", "acme", "rocket", "full"); await mkdir(join(full, ".git"), { recursive: true }); - const f = fake(() => ok, {}, { id: 1, lineage: "7", kept: true, frontier: ["b".repeat(40)], lines: true, linesLeft: 0, head: "b".repeat(40), pack: "packs/acme/rocket/1/b-lines.pack", mark: null, buildFormat: null }); + const f = fake(() => ok, {}, { id: 1, lineage: "7", kept: true, frontier: ["b".repeat(40)], lines: true, linesLeft: 0, head: "b".repeat(40), pack: "packs/acme/rocket/1/b-lines.pack", mark: null, buildFormat: null, commits: 0 }); const outcome = await build(req(), cfg(work), f.deps); expect(outcome).toMatchObject({ published: "full", kind: "warm" }); expect(commands(f.calls)).toEqual(["git rev-parse", "git fetch", "git reset", "signatures", "build"]); @@ -259,7 +259,7 @@ test("a warm Build brings the kept clone up to date and goes straight to the ful test("a cold Build of a repository whose Stored Index has lines skips the quick phase, and so does one whose Report has them", async () => { const work = await mkdtemp(join(tmpdir(), "builder-")); - const f = fake(() => ok, {}, { id: 1, lineage: "7", kept: true, frontier: ["b".repeat(40)], lines: true, linesLeft: 3, head: "b".repeat(40), pack: null, mark: null, buildFormat: null }); + const f = fake(() => ok, {}, { id: 1, lineage: "7", kept: true, frontier: ["b".repeat(40)], lines: true, linesLeft: 3, head: "b".repeat(40), pack: null, mark: null, buildFormat: null, commits: 0 }); expect(await build(req(), cfg(work), f.deps)).toMatchObject({ published: "full", kind: "cold" }); expect(commands(f.calls)).toEqual(["git clone", "git commit-graph", "signatures", "build"]); expect(f.published).toEqual(["full"]); @@ -593,48 +593,6 @@ test("caches are pruned on their own budget, least recently used first", async ( expect(await readdir(join(work, "caches", "acme"))).toEqual(["new"]); }); -test("runs of the engine share its slots in the order they asked, while every other command runs at once", async () => { - const order: string[] = []; - const open: (() => void)[] = []; - const slow = async (cmd: string, args: string[]): Promise => { - order.push(`start ${cmd} ${args[0]}`); - await new Promise((r) => open.push(r)); - order.push(`end ${cmd} ${args[0]}`); - return { code: args[0] === "fails" ? 1 : 0, stderr: "", timedOut: false }; - }; - const shared = sharingEngine(slow, "commitscape", 1); - const runs = [shared("commitscape", ["a"], {}, 1000), shared("commitscape", ["fails"], {}, 1000), shared("git", ["clone"], {}, 1000), shared("commitscape", ["c"], {}, 1000)]; - await new Promise((r) => setTimeout(r, 10)); - expect([...order].sort()).toEqual(["start commitscape a", "start git clone"]); - for (let i = 0; i < 4; i++) { - open.shift()?.(); - await new Promise((r) => setTimeout(r, 10)); - } - expect((await Promise.all(runs)).map((r) => r.code)).toEqual([0, 1, 0, 0]); - expect(order.filter((o) => o.includes("commitscape"))).toEqual(["start commitscape a", "end commitscape a", "start commitscape fails", "end commitscape fails", "start commitscape c", "end commitscape c"]); -}); - -test("the Atlas shares the engine's slot, so it never runs beside a run of the engine", async () => { - const order: string[] = []; - const open: (() => void)[] = []; - const slow = async (cmd: string): Promise => { - order.push(`start ${cmd}`); - await new Promise((r) => open.push(r)); - order.push(`end ${cmd}`); - return { code: 0, stderr: "", timedOut: false }; - }; - const shared = sharingEngine(slow, ["commitscape", "node"], 1); - const runs = [shared("commitscape", [], {}, 1000), shared("node", ["builder.mjs", "atlas"], {}, 1000)]; - await new Promise((r) => setTimeout(r, 10)); - expect(order).toEqual(["start commitscape"]); - for (let i = 0; i < 2; i++) { - open.shift()?.(); - await new Promise((r) => setTimeout(r, 10)); - } - await Promise.all(runs); - expect(order).toEqual(["start commitscape", "end commitscape", "start node", "end node"]); -}); - test("a command's output is kept up to a megabyte, or as much as the caller asks for", async () => { const big = ["-c", "head -c 3000000 /dev/zero | tr '\\0' a"]; const kept = await run("sh", big, {}, 10_000); diff --git a/apps/builder/src/config.ts b/apps/builder/src/config.ts index 606151a..1c55ad6 100644 --- a/apps/builder/src/config.ts +++ b/apps/builder/src/config.ts @@ -30,7 +30,7 @@ export function loadEnv(runtimeEnv: Record = process LOGINS_ASKED: positive(300), DISK_BUDGET_GB: positive(20), CACHE_BUDGET_GB: positive(5), - ENGINE_SLOTS: z.coerce.number().int().positive().default(1), + ENGINE_MEMORY_MB: positive(1200), BULK_COMMIT_FILES: positive(50), ATLAS_QUALITY: z.coerce.number().int().min(1).max(11).default(5), STATE_KEY: z.string().min(32).optional(), @@ -106,7 +106,7 @@ export type Config = { logins: number; diskGb: number; cacheGb: number; - engineSlots: number; + engineMemoryMb: number; bulkFiles: number; moreLinesBudget: number; gitBase: string | undefined; @@ -135,7 +135,7 @@ export function configOf(env: Env): Config { logins: env.LOGINS_ASKED, diskGb: env.DISK_BUDGET_GB, cacheGb: env.CACHE_BUDGET_GB, - engineSlots: env.ENGINE_SLOTS, + engineMemoryMb: env.ENGINE_MEMORY_MB, bulkFiles: env.BULK_COMMIT_FILES, moreLinesBudget: env.MORE_LINES_BUDGET_SECONDS, gitBase: env.GIT_BASE, diff --git a/apps/builder/src/job.test.ts b/apps/builder/src/job.test.ts index 229d185..999c853 100644 --- a/apps/builder/src/job.test.ts +++ b/apps/builder/src/job.test.ts @@ -65,7 +65,7 @@ type Captured = [string, Who, Record]; async function context(db: Db, over: Partial = {}, built: FakeBuild | ((args: string[]) => FakeBuild) = {}): Promise; captured: Captured[] }> { const work = await mkdtemp(join(tmpdir(), "builder-")); - const cfg: Config = { bin: "commitscape", threads: undefined, linesBudget: 120, nice: 10, work, concurrency: 1, maxMb: undefined, timeLimit: 60, cloneLimit: 120, largeMb: 1500, largeConcurrency: 1, logins: 300, diskGb: 20, cacheGb: 5, engineSlots: 1, bulkFiles: 50, moreLinesBudget: 600, gitBase: undefined }; + const cfg: Config = { bin: "commitscape", threads: undefined, linesBudget: 120, nice: 10, work, concurrency: 1, maxMb: undefined, timeLimit: 60, cloneLimit: 120, largeMb: 1500, largeConcurrency: 1, logins: 300, diskGb: 20, cacheGb: 5, engineMemoryMb: 1200, bulkFiles: 50, moreLinesBudget: 600, gitBase: undefined }; const captured: Captured[] = []; const telemetry: Telemetry = { capture: (event, who, properties) => void captured.push([event, who, properties]), stop: async () => {} }; return { diff --git a/apps/builder/src/job.ts b/apps/builder/src/job.ts index 9749a08..e3951f8 100644 --- a/apps/builder/src/job.ts +++ b/apps/builder/src/job.ts @@ -294,7 +294,7 @@ async function publishBuild(ctx: JobContext, phases: Phases, buildId: string, ma const atlas = ctx.cfg.atlas; if (atlas) { await phases - .time(`atlas ${made.phase}`, "atlas", () => storeAtlas(ctx.run, atlas, storage, { si, pack, dir: made.dir, timeoutMs: timeLimitOf(ctx.cfg) * 1000, nice: ctx.cfg.nice })) + .time(`atlas ${made.phase}`, "atlas", () => storeAtlas(ctx.run, atlas, storage, { si, pack, dir: made.dir, timeoutMs: timeLimitOf(ctx.cfg) * 1000, nice: ctx.cfg.nice, commits: made.manifest.total })) .catch((e: unknown) => ctx.log(`atlas of ${named.id}: ${(e as Error).message}, so the Site makes it`)); } const lines = made.phase === "full" && made.manifest.lines_mainline; @@ -302,7 +302,7 @@ async function publishBuild(ctx: JobContext, phases: Phases, buildId: string, ma const prefix = same && named.reportKey ? named.reportKey : reportPrefix(named.id, made.phase === "full" ? buildId : `${buildId}-quick`); await phases .time(`screens ${made.phase}`, "screens", () => - storeScreens(ctx.run, storage, { bin: ctx.cfg.bin, pack: made.pack, dir: made.dir, prefix, env: ctx.cfg.threads ? { COMMITSCAPE_THREADS: String(ctx.cfg.threads) } : {}, timeoutMs: timeLimitOf(ctx.cfg) * 1000, nice: ctx.cfg.nice }), + storeScreens(ctx.run, storage, { bin: ctx.cfg.bin, pack: made.pack, dir: made.dir, prefix, env: ctx.cfg.threads ? { COMMITSCAPE_THREADS: String(ctx.cfg.threads) } : {}, timeoutMs: timeLimitOf(ctx.cfg) * 1000, nice: ctx.cfg.nice, commits: made.manifest.total }), ) .catch((e: unknown) => ctx.log(`screens of ${named.id}: ${(e as Error).message}, so the engine service answers them`)); const { stats, people } = made.summary; diff --git a/apps/builder/src/main.ts b/apps/builder/src/main.ts index e1ae8ab..85f3560 100644 --- a/apps/builder/src/main.ts +++ b/apps/builder/src/main.ts @@ -27,7 +27,8 @@ import { configOf, loadEnv, type Config } from "./config"; import { inQueueSpan, log, monitored, startTelemetry } from "./telemetry"; import { cacheDir, inUse, prune, sweep } from "./disk"; import { runJob } from "./job"; -import { jobLimitOf, run, sharingEngine } from "./run"; +import { admitting } from "./admission"; +import { jobLimitOf, run } from "./run"; import { pullsToken, readPulls } from "./pulls"; import { budgetOf, runSurvival } from "./survival"; import { queueRebuilds } from "./rebuild"; @@ -126,10 +127,10 @@ async function work() { const tidyTimed = timed("builder-tidy", TIDY_MINUTES, tidy); const tier = cfg.state ? { storage, keys: stateKeys(cfg.state.secret), db, log } : null; const saveState = tier ? (repoId: string, root: string) => saveRepoState(tier, repoId, root) : undefined; - const ctx = { db, pool, storage, cfg, app, run, github, tokenSecret: env.TOKEN_SECRET, log, telemetry, queuePulls, queueCounts, queueBuild, ...(saveState ? { saveState } : {}) }; - const buildCtx = { ...ctx, run: sharingEngine(run, [cfg.bin, cfg.atlas.command], cfg.engineSlots) }; + const engine = admitting(run, [cfg.bin, cfg.atlas.command], cfg.engineMemoryMb); + const ctx = { db, pool, storage, cfg, app, run: engine, github, tokenSecret: env.TOKEN_SECRET, log, telemetry, queuePulls, queueCounts, queueBuild, ...(saveState ? { saveState } : {}) }; const building = (queue: string, job: { id: string; data: BuildJob }) => - inQueueSpan(job, queue, () => runJob(job.data.buildId, buildCtx, job.data.attempt ?? 1, { ...(job.data.userId ? { userId: job.data.userId } : {}), ...(job.data.more ? { more: job.data.more } : {}) })); + inQueueSpan(job, queue, () => runJob(job.data.buildId, ctx, job.data.attempt ?? 1, { ...(job.data.userId ? { userId: job.data.userId } : {}), ...(job.data.more ? { more: job.data.more } : {}) })); await reapTimed(); await tidyTimed(); const reaper = setInterval(() => void reapTimed(), REAP_MINUTES * 60_000); diff --git a/apps/builder/src/run.ts b/apps/builder/src/run.ts index bbbd8a7..5d66d3f 100644 --- a/apps/builder/src/run.ts +++ b/apps/builder/src/run.ts @@ -6,11 +6,13 @@ import { join } from "node:path"; import type { BuildFailure, BuildStep } from "@commitscape/data"; import { appendable, type LiveIndex, type Loaded } from "@commitscape/server"; import { readSignatures, writeAccountsFile, type Signature } from "./accounts"; +import { peakMb } from "./admission"; import { cloneUrl, ensureClone, gitEnv, locked, missingIn, tipsOf, type Cloned } from "./clone"; import type { Config } from "./config"; import { cacheFor, holdingCache, privateDir, repoDir, scratchDir } from "./disk"; import { readBuilt, readEvents, type Built } from "./engine"; import { prefetch } from "./lean"; +import { hasCache } from "./state"; import { engineSpans, Phases } from "./telemetry"; export type BuildTarget = { @@ -65,7 +67,7 @@ export function jobLimitOf(cfg: Config, attempt = 1): number { export type Ran = { code: number | null; stderr: string; timedOut: boolean; stdout?: string }; -export type RunOptions = { nice?: number; input?: string; maxStdout?: number }; +export type RunOptions = { nice?: number; input?: string; maxStdout?: number; memoryMb?: number }; const PASSED = ["PATH", "HOME", "USER", "LANG", "LC_ALL", "TMPDIR", "TEMP", "TMP", "SYSTEMROOT", "PATHEXT", "USERPROFILE", "SSL_CERT_FILE", "SSL_CERT_DIR"]; export function passed(): NodeJS.ProcessEnv { @@ -84,28 +86,6 @@ function lowered(pid: number, nice: number): boolean { /** Runs a command with only safe environment variables, at a lower priority when `nice` is given, killing it and its children after `timeoutMs`. */ export type Runner = (cmd: string, args: string[], env: NodeJS.ProcessEnv, timeoutMs: number, opts?: RunOptions) => Promise; -/** A runner through which at most `slots` runs of the engine (`bin`, and any other heavy command named) go at once, the rest waiting in the order they asked; every other command (git, the network) runs at once. A run's time limit starts when it gets its slot. */ -export function sharingEngine(runner: Runner, bin: string | string[], slots: number): Runner { - const heavy = new Set(typeof bin === "string" ? [bin] : bin); - let free = Math.max(1, Math.floor(slots)); - const waiting: (() => void)[] = []; - const take = () => (free > 0 ? ((free -= 1), Promise.resolve()) : new Promise((r) => waiting.push(r))); - const give = () => { - const next = waiting.shift(); - if (next) next(); - else free += 1; - }; - return async (cmd, args, env, timeoutMs, opts) => { - if (!heavy.has(cmd)) return runner(cmd, args, env, timeoutMs, opts); - await take(); - try { - return await runner(cmd, args, env, timeoutMs, opts); - } finally { - give(); - } - }; -} - export function run(cmd: string, args: string[], env: NodeJS.ProcessEnv, timeoutMs: number, opts: RunOptions = {}): Promise { return new Promise((resolve) => { const child = spawn(cmd, args, { env: { ...passed(), ...env }, stdio: [opts.input === undefined ? "ignore" : "pipe", "pipe", "pipe"], detached: true }); @@ -216,6 +196,8 @@ export async function build(req: BuildTarget, cfg: Config, deps: Deps): Promise< await rm(out, { recursive: true, force: true }); await rm(events, { force: true }); const before = await deps.index.live(); + const kind = (await hasCache(cacheRoot)) ? "build" : "cold"; + const memoryMb = peakMb(kind, { commits: before?.commits ?? 0, sizeKb: req.sizeKb }); const args = ["build", ...(phase === "quick" ? ["--no-lines"] : ["--lines-budget", String(linesBudgetOf(cfg, binLimit, !!req.more))]), "--offline", "--max-changeset-size", String(cfg.bulkFiles), ...cache, "--events", events, "--out", out]; if (accounts) args.push("--accounts", accounts); if (appendable(before)) { @@ -226,7 +208,7 @@ export async function build(req: BuildTarget, cfg: Config, deps: Deps): Promise< args.push("--", dir); const t = Date.now(); const ran = await phases.time(`build ${phase}`, "engine", async () => { - const done = await cached(cfg.bin, args, engineEnv, binLimit * 1000, { nice: cfg.nice }); + const done = await cached(cfg.bin, args, engineEnv, binLimit * 1000, { nice: cfg.nice, memoryMb }); engineSpans(await readEvents(events)); return done; }); @@ -249,7 +231,8 @@ export async function build(req: BuildTarget, cfg: Config, deps: Deps): Promise< await restoring; const events = join(scratch, "signatures.events"); const signatures = await phases.time("signatures", "engine", async () => { - const found = await readSignatures(cached, { bin: cfg.bin, dir, scratch, cache, env: engineEnv, timeoutMs: binLimit * 1000, nice: cfg.nice, events, ...(deps.log ? { log: deps.log } : {}) }); + const sized = { commits: (await deps.index.live())?.commits ?? 0, sizeKb: req.sizeKb }; + const found = await readSignatures(cached, { bin: cfg.bin, dir, scratch, cache, env: engineEnv, timeoutMs: binLimit * 1000, nice: cfg.nice, memoryMb: peakMb("signatures", sized), events, ...(deps.log ? { log: deps.log } : {}) }); engineSpans(await readEvents(events)); return found; }); diff --git a/apps/builder/src/screens.ts b/apps/builder/src/screens.ts index 3ffb3b9..b548e02 100644 --- a/apps/builder/src/screens.ts +++ b/apps/builder/src/screens.ts @@ -1,12 +1,14 @@ import { readFile } from "node:fs/promises"; import { join } from "node:path"; import { storeEntries, type Storage } from "@commitscape/server"; +import { peakMb } from "./admission"; import type { Runner } from "./run"; /** Works out the standard screens of a Build's pack with `commitscape screens` and stores them with its Report, so the Site sends them without asking the engine service. Returns how many it stored. */ -export async function storeScreens(run: Runner, storage: Storage, made: { bin: string; pack: string; dir: string; prefix: string; env: NodeJS.ProcessEnv; timeoutMs: number; nice?: number }): Promise { +export async function storeScreens(run: Runner, storage: Storage, made: { bin: string; pack: string; dir: string; prefix: string; env: NodeJS.ProcessEnv; timeoutMs: number; nice?: number; commits?: number }): Promise { const out = join(made.dir, "screens.json"); - const ran = await run(made.bin, ["screens", made.pack, "--out", out], made.env, made.timeoutMs, made.nice === undefined ? {} : { nice: made.nice }); + const memoryMb = peakMb("screens", { commits: made.commits ?? 0, sizeKb: 0 }); + const ran = await run(made.bin, ["screens", made.pack, "--out", out], made.env, made.timeoutMs, { ...(made.nice === undefined ? {} : { nice: made.nice }), memoryMb }); if (ran.code !== 0) throw new Error(ran.timedOut ? "working out the screens took too long" : `working out the screens failed: ${ran.stderr.trim().split("\n").at(-1) ?? ""}`); const data = JSON.parse(await readFile(out, "utf8")) as Record; return storeEntries(storage, made.prefix, data); diff --git a/apps/builder/src/survival.test.ts b/apps/builder/src/survival.test.ts index 0ca64b8..0ce99ce 100644 --- a/apps/builder/src/survival.test.ts +++ b/apps/builder/src/survival.test.ts @@ -32,7 +32,7 @@ async function setup(run: (cmd: string, args: string[], env: NodeJS.ProcessEnv, await mkdir(join(args.at(-1) ?? "", ".git"), { recursive: true }); return { code: 0, stderr: "", timedOut: false }; }; - const ctx = { db, storage: memoryStorage(), cfg: { bin: "commitscape", threads: undefined, linesBudget: 120, nice: 10, work, concurrency: 1, maxMb: undefined, timeLimit: 60, cloneLimit: 120, largeMb: 1500, largeConcurrency: 1, logins: 300, diskGb: 20, cacheGb: 5, engineSlots: 1, bulkFiles: 50, moreLinesBudget: 600, gitBase: undefined }, app: null, run: cloning, github: { api: "http://github.test", token: "t", fetcher: (async () => Response.json({ data: { repository: { c0: { author: { user: { login: "ada" } } } } } })) as unknown as typeof fetch }, log: () => {}, queueCounts: async (job: SurvivalJob) => void queued.push(job), budget: 60 } as JobContext & { budget: number }; + const ctx = { db, storage: memoryStorage(), cfg: { bin: "commitscape", threads: undefined, linesBudget: 120, nice: 10, work, concurrency: 1, maxMb: undefined, timeLimit: 60, cloneLimit: 120, largeMb: 1500, largeConcurrency: 1, logins: 300, diskGb: 20, cacheGb: 5, engineMemoryMb: 1200, bulkFiles: 50, moreLinesBudget: 600, gitBase: undefined }, app: null, run: cloning, github: { api: "http://github.test", token: "t", fetcher: (async () => Response.json({ data: { repository: { c0: { author: { user: { login: "ada" } } } } } })) as unknown as typeof fetch }, log: () => {}, queueCounts: async (job: SurvivalJob) => void queued.push(job), budget: 60 } as JobContext & { budget: number }; return { db, ctx }; } diff --git a/apps/builder/src/survival.ts b/apps/builder/src/survival.ts index 9ab9039..843da9a 100644 --- a/apps/builder/src/survival.ts +++ b/apps/builder/src/survival.ts @@ -2,9 +2,10 @@ import { existsSync } from "node:fs"; import { mkdir, rm } from "node:fs/promises"; import { join } from "node:path"; import { and, desc, eq, inArray, isNotNull, sql } from "drizzle-orm"; -import { installationToken, now, randomId, schema, type SurvivalJob } from "@commitscape/server"; +import { installationToken, liveIndex, now, randomId, schema, type SurvivalJob } from "@commitscape/server"; import { cloneUrl, ensureClone, gitEnv, locked } from "./clone"; import { accountsFor, writeAccounts } from "./accounts"; +import { peakMb } from "./admission"; import { cacheFor, holding, holdingCache, privateDir, repoDir, scratchDir } from "./disk"; import { fetchBlobs, historyBlobs } from "./lean"; import type { JobContext } from "./job"; @@ -84,11 +85,12 @@ export async function runSurvival(job: SurvivalJob, ctx: JobContext & { budget: const cache = ["--cache-dir", cacheRoot, "--cache-key", repo.id]; const cached: typeof ctx.run = (cmd, args, env, timeoutMs, opts) => holdingCache(cacheRoot, () => ctx.run(cmd, args, env, timeoutMs, opts)); const engineEnv = { ...env, ...(cfg.threads ? { COMMITSCAPE_THREADS: String(cfg.threads) } : {}) }; - const accounts = await writeAccounts(cached, { bin: cfg.bin, dir: full, scratch, cache, env: engineEnv, timeoutMs: cfg.timeLimit * 1000, nice: cfg.nice, log: ctx.log }, async (signatures) => (await accountsFor(db, gh, { owner: repo.owner, name: repo.name, scope }, signatures, cfg.logins)).accounts); + const sized = { commits: (await liveIndex(db, repo.id))?.commits ?? 0, sizeKb: repo.sizeKb ?? 0 }; + const accounts = await writeAccounts(cached, { bin: cfg.bin, dir: full, scratch, cache, env: engineEnv, timeoutMs: cfg.timeLimit * 1000, nice: cfg.nice, memoryMb: peakMb("signatures", sized), log: ctx.log }, async (signatures) => (await accountsFor(db, gh, { owner: repo.owner, name: repo.name, scope }, signatures, cfg.logins)).accounts); const args = ["surviving", "--everyone", "--budget-seconds", String(budget), ...cache, "--offline", "--max-changeset-size", String(cfg.bulkFiles)]; if (accounts) args.push("--accounts", accounts); args.push("--", full); - ran = await cached(cfg.bin, args, engineEnv, (budget + cfg.timeLimit) * 1000, { nice: cfg.nice, maxStdout: EVERYONE_BYTES }); + ran = await cached(cfg.bin, args, engineEnv, (budget + cfg.timeLimit) * 1000, { nice: cfg.nice, maxStdout: EVERYONE_BYTES, memoryMb: peakMb("surviving", sized) }); const save = ctx.saveState; if (save && !repo.isPrivate && ran.code === 0) await holdingCache(cacheRoot, () => save(repo.id, cacheRoot)).catch((e: unknown) => ctx.log(`state of ${repo.id} not saved: ${(e as Error).message}`)); } finally { diff --git a/apps/builder/src/universe.ts b/apps/builder/src/universe.ts index 0d27da8..891be14 100644 --- a/apps/builder/src/universe.ts +++ b/apps/builder/src/universe.ts @@ -6,6 +6,7 @@ import { promisify } from "node:util"; import { brotliCompress, constants } from "node:zlib"; import { atlasOf, encodeAtlas, encodeNames, type AtlasCommitRow, type AtlasFileRow, type AtlasPersonRow, type AtlasRows } from "@commitscape/data/universe"; import { atlasKey, type Storage } from "@commitscape/server"; +import { peakMb } from "./admission"; import type { AtlasSettings } from "./config"; import type { Runner } from "./run"; @@ -58,10 +59,11 @@ export async function writeAtlas(rows: string, dir: string, quality: number): Pr } /** Makes the Atlas of a Build's pack from the rows `commitscape build` wrote beside it, in a process of its own that takes an engine slot, and stores it where the Site reads it first, so the Site never makes it. False when the Build wrote no rows; throws when the Atlas could not be made. Either way the Site makes it as before. */ -export async function storeAtlas(run: Runner, atlas: AtlasSettings, storage: Storage, made: { si: number; pack: string; dir: string; timeoutMs: number; nice?: number }): Promise { +export async function storeAtlas(run: Runner, atlas: AtlasSettings, storage: Storage, made: { si: number; pack: string; dir: string; timeoutMs: number; nice?: number; commits?: number }): Promise { const rows = join(made.dir, ROWS); if (!existsSync(rows)) return false; - const ran = await run(atlas.command, [...atlas.args, "atlas", rows, made.dir, String(atlas.quality)], {}, made.timeoutMs, made.nice === undefined ? {} : { nice: made.nice }); + const memoryMb = peakMb("atlas", { commits: made.commits ?? 0, sizeKb: 0 }); + const ran = await run(atlas.command, [...atlas.args, "atlas", rows, made.dir, String(atlas.quality)], {}, made.timeoutMs, { ...(made.nice === undefined ? {} : { nice: made.nice }), memoryMb }); if (ran.code !== 0) throw new Error(ran.timedOut ? "making the Atlas took too long" : `making the Atlas failed: ${ran.stderr.trim().split("\n").at(-1) ?? ""}`); for (const part of ["map", "names"] as const) { await storage.put(atlasKey(made.si, made.pack, part), await readFile(join(made.dir, `${part}.bin.br`)), { type: "application/octet-stream", encoding: "br" }); diff --git a/docs/working.md b/docs/working.md index f4f4829..5f4f829 100644 --- a/docs/working.md +++ b/docs/working.md @@ -140,7 +140,7 @@ queued ones whose job was lost. - A Report's standard screens (the stats, and the Overview, Activity, People and top of the Map of all history, the last year and the last 90 days) are worked out once per head: the Builder runs `commitscape screens` - on the pack, in a process of its own that takes an engine slot, and + on the pack, in a process of its own that waits for its share of `ENGINE_MEMORY_MB`, and stores each answer under the Report's prefix in R2 before publishing it (`apps/builder/src/screens.ts`). The Site sends those first, kept for good when the request is pinned to the Report, with ETags from the Report's @@ -165,7 +165,7 @@ queued ones whose job was lost. commits, a pull request's insight and the Universe's rows come from the engine service. The Universe's Atlas is made by the Builder from the rows `build` writes beside the pack (`universe.jsonl`), in a process of - its own that takes an engine slot (`node builder.mjs atlas`), and stored + its own that waits for its share of `ENGINE_MEMORY_MB` (`node builder.mjs atlas`), and stored in R2 before the pack is published; the Site sends those bytes, and makes the Atlas from the engine service's rows only for a pack the Builder did not make one for. Branches, tags and pull requests are rows; file text is diff --git a/packages/server/src/stored-index.test.ts b/packages/server/src/stored-index.test.ts index c1f1fe3..d24374f 100644 --- a/packages/server/src/stored-index.test.ts +++ b/packages/server/src/stored-index.test.ts @@ -63,7 +63,7 @@ function writeExport(manifest: Partial, commits: Commit[], extra } describe("appendable", () => { - const live = { id: 1, lineage: "7", kept: true, frontier: ["a"], lines: true, linesLeft: 0, head: "a", pack: null, mark: null, buildFormat: null }; + const live = { id: 1, lineage: "7", kept: true, frontier: ["a"], lines: true, linesLeft: 0, head: "a", pack: null, mark: null, buildFormat: null, commits: 0 }; test("only a kept Stored Index with a frontier takes what is new", () => { expect(appendable(live)).toBe(true); expect(appendable(null)).toBe(false); diff --git a/packages/server/src/stored-index.ts b/packages/server/src/stored-index.ts index 4875237..d3a779b 100644 --- a/packages/server/src/stored-index.ts +++ b/packages/server/src/stored-index.ts @@ -36,7 +36,7 @@ export type ExportManifest = { export const LOADED = "stored_index_loaded"; -export type LiveIndex = { id: number; lineage: string; kept: boolean; frontier: string[]; lines: boolean; linesLeft: number | null; head: string | null; pack: string | null; mark: string | null; buildFormat: number | null }; +export type LiveIndex = { id: number; lineage: string; kept: boolean; frontier: string[]; lines: boolean; linesLeft: number | null; head: string | null; pack: string | null; mark: string | null; buildFormat: number | null; commits: number }; export type Loaded = { si: number; full: boolean; commits: number; total: number; mainline: number; lines: number; seconds: number }; @@ -67,7 +67,7 @@ async function readSnapshot(dir: string): Promise { /** The repository's live Stored Index, or null when it has none. */ export async function liveIndex(db: Db, repoId: string): Promise { const [row] = await db - .select({ id: storedIndexes.id, lineage: storedIndexes.lineage, kept: storedIndexes.kept, frontier: storedIndexes.frontier, lines: storedIndexes.lines, linesLeft: storedIndexes.linesLeft, head: storedIndexes.head, pack: storedIndexes.pack, mark: storedIndexes.mark, buildFormat: storedIndexes.buildFormat }) + .select({ id: storedIndexes.id, lineage: storedIndexes.lineage, kept: storedIndexes.kept, frontier: storedIndexes.frontier, lines: storedIndexes.lines, linesLeft: storedIndexes.linesLeft, head: storedIndexes.head, pack: storedIndexes.pack, mark: storedIndexes.mark, buildFormat: storedIndexes.buildFormat, commits: storedIndexes.commits }) .from(repositories) .innerJoin(storedIndexes, eq(storedIndexes.id, repositories.indexId)) .where(eq(repositories.id, repoId)); From cbe775bc1e1e3e209d9d33d625b9856e7b780911 Mon Sep 17 00:00:00 2001 From: Dev Talan <84081651+devchaudhary24k@users.noreply.github.com> Date: Tue, 27 Oct 2026 14:46:51 +0530 Subject: [PATCH 42/82] perf: a fork counts only its own commits' lines Lines Changed are kept per commit id, so a fork's first count can start from its parent's. GitHub's facts now keep the repository a fork is of; a fork's full build hands the parent's line store, when the Builder's disk holds its cache, to `commitscape build --lines-from`, and a cache with no line store yet starts as a copy of it. Lines of commits only the parent has are never asked for. A test builds a fork both ways and finds the same export, pack and meta (cache identity apart), with one commit counted instead of four. react as a fork of itself, cold, 2 threads: 35.3 s, 65 CPU-s -> 3.1 s, 5.1 CPU-s; the same output. --- apps/builder/src/builder.test.ts | 17 +++ apps/builder/src/disk.ts | 14 +++ apps/builder/src/job.ts | 10 ++ apps/builder/src/run.ts | 5 +- apps/site/src/server/github.test.ts | 8 ++ apps/site/src/server/github.ts | 1 + .../commitscape-index/src/cache/line_store.rs | 19 ++++ crates/commitscape/src/build.rs | 15 +++ crates/commitscape/tests/build.rs | 103 ++++++++++++++++++ packages/data/src/lookup.ts | 1 + 10 files changed, 192 insertions(+), 1 deletion(-) diff --git a/apps/builder/src/builder.test.ts b/apps/builder/src/builder.test.ts index 96bd8fa..d1944ae 100644 --- a/apps/builder/src/builder.test.ts +++ b/apps/builder/src/builder.test.ts @@ -152,6 +152,23 @@ test("a State is saved or brought back only while no engine run reads or writes expect(seen.every((n) => n === 0)).toBe(true); }); +test("a fork's count of lines starts from the line store its parent's cache holds on this disk, and nothing else's", async () => { + const work = await mkdtemp(join(tmpdir(), "builder-")); + const parent = join(cacheDir(cfg(work), "upstream", "rocket"), "key-0123"); + await mkdir(parent, { recursive: true }); + await writeFile(join(parent, "lines"), "commitscape lines 1\n"); + const seeded = (calls: Call[]) => builds(calls).map((c) => flagOf(c.args, "--lines-from") ?? null); + const fork = fake(); + await build(req({ forkOf: "upstream/rocket" }), cfg(work), fork.deps); + expect(seeded(fork.calls)).toEqual([null, join(parent, "lines")]); + for (const forkOf of ["upstream/missing", "../caches/x", null]) { + const other = fake(); + await build(req({ forkOf }), cfg(work), other.deps); + expect(seeded(other.calls).length).toBeGreaterThan(0); + expect(seeded(other.calls).every((f) => f === null)).toBe(true); + } +}); + test("a repository ready to be lean is read from a blobless clone without files, fetching only what its Build reads, and its full clone is let go", async () => { const work = await mkdtemp(join(tmpdir(), "builder-")); const live: LiveIndex = { id: 1, lineage: "7", kept: true, frontier: ["f".repeat(40)], lines: true, linesLeft: 0, head: "f".repeat(40), pack: "p", mark: null, buildFormat: null, commits: 0 }; diff --git a/apps/builder/src/disk.ts b/apps/builder/src/disk.ts index ca47b5b..a203c25 100644 --- a/apps/builder/src/disk.ts +++ b/apps/builder/src/disk.ts @@ -10,6 +10,8 @@ const { builds, repositories, surviving } = schema; export const KEPT_FOR = 24 * 3600; +const REPO_PART = /^[A-Za-z0-9_.][A-Za-z0-9_.-]{0,99}$/; + export const holding = new Set(); const LEGACY = /^(clones|health|out|[0-9a-f]{16})$/; @@ -32,6 +34,18 @@ export async function cacheFor(cfg: Config, repo: { isPrivate: boolean; owner: s return dir; } +/** The line store a public repository's kept cache holds, such as a fork's parent's, for a fork's first count of lines to start from; null when there is none on this disk. */ +export async function lineStoreOf(cfg: Config, repo: string): Promise { + const [owner = "", name = "", ...rest] = repo.split("/"); + if (rest.length > 0 || !REPO_PART.test(owner) || !REPO_PART.test(name) || name === "." || name === "..") return null; + const root = cacheDir(cfg, owner, name); + for (const entry of await readdir(root, { withFileTypes: true }).catch(() => [])) { + const lines = join(root, entry.name, "lines"); + if (entry.isDirectory() && existsSync(lines)) return lines; + } + return null; +} + /** Runs `fn` holding a cache folder: an engine run reading or writing it, and its State being saved or brought back, never overlap. Take it before an engine slot, never while holding one. */ export function holdingCache(root: string, fn: () => Promise): Promise { return locked(`cache:${root}`, fn); diff --git a/apps/builder/src/job.ts b/apps/builder/src/job.ts index e3951f8..1878c46 100644 --- a/apps/builder/src/job.ts +++ b/apps/builder/src/job.ts @@ -167,6 +167,7 @@ async function claimedJob(buildId: string, ctx: JobContext, attempt: number, ask hasLines: !!repo.reportKey && repo.reportLines !== false, more: more > 0, lean: await leanReady(db, repo), + forkOf: repo.isPrivate ? null : parentOf(repo.facts), }, ctx.cfg, { @@ -234,6 +235,15 @@ async function claimedJob(buildId: string, ctx: JobContext, attempt: number, ask ctx.telemetry?.capture("build failed", who, { ...summary, reason: why?.reason ?? "error", published: outcome.published }); } +function parentOf(facts: string | null): string | null { + try { + const parent = (JSON.parse(facts ?? "null") as { parent?: unknown } | null)?.parent; + return typeof parent === "string" ? parent : null; + } catch { + return null; + } +} + /** Whether a Build can end at its head check: the Report is whole and the remote's default branch is still at the head it was built from, asked with one `git ls-remote`, without a clone, the engine or an upload. Records when that was found. */ async function keptUnchanged(ctx: JobContext, repo: typeof repositories.$inferSelect, token: string | null): Promise { const live = await liveIndex(ctx.db, repo.id); diff --git a/apps/builder/src/run.ts b/apps/builder/src/run.ts index 5d66d3f..9ac65a0 100644 --- a/apps/builder/src/run.ts +++ b/apps/builder/src/run.ts @@ -9,7 +9,7 @@ import { readSignatures, writeAccountsFile, type Signature } from "./accounts"; import { peakMb } from "./admission"; import { cloneUrl, ensureClone, gitEnv, locked, missingIn, tipsOf, type Cloned } from "./clone"; import type { Config } from "./config"; -import { cacheFor, holdingCache, privateDir, repoDir, scratchDir } from "./disk"; +import { cacheFor, holdingCache, lineStoreOf, privateDir, repoDir, scratchDir } from "./disk"; import { readBuilt, readEvents, type Built } from "./engine"; import { prefetch } from "./lean"; import { hasCache } from "./state"; @@ -28,6 +28,7 @@ export type BuildTarget = { hasLines?: boolean; more?: boolean; lean?: boolean; + forkOf?: string | null; }; export type Phase = "quick" | "full"; @@ -200,6 +201,8 @@ export async function build(req: BuildTarget, cfg: Config, deps: Deps): Promise< const memoryMb = peakMb(kind, { commits: before?.commits ?? 0, sizeKb: req.sizeKb }); const args = ["build", ...(phase === "quick" ? ["--no-lines"] : ["--lines-budget", String(linesBudgetOf(cfg, binLimit, !!req.more))]), "--offline", "--max-changeset-size", String(cfg.bulkFiles), ...cache, "--events", events, "--out", out]; if (accounts) args.push("--accounts", accounts); + const seed = phase === "full" && req.forkOf ? await lineStoreOf(cfg, req.forkOf) : null; + if (seed) args.push("--lines-from", seed); if (appendable(before)) { const frontier = join(scratch, `${phase}.frontier`); await writeFile(frontier, before.frontier.join("\n")); diff --git a/apps/site/src/server/github.test.ts b/apps/site/src/server/github.test.ts index bbd5c96..4405412 100644 --- a/apps/site/src/server/github.test.ts +++ b/apps/site/src/server/github.test.ts @@ -54,6 +54,14 @@ describe("askGitHub", () => { expect(gh.asked).toHaveLength(4); }); + test("a fork's facts name the repository it is a fork of, and another repository's name none", async () => { + const forked = { ...rocket, "/repos/acme/rocket": { body: repoFacts(1, { fork: true, parent: { full_name: "upstream/rocket" } }) } }; + const d = await deps(github(forked).fetcher); + expect(await askGitHub(d, "acme", "rocket")).toMatchObject({ facts: { parent: "upstream/rocket" } }); + const plain = await deps(github(rocket).fetcher); + expect(await askGitHub(plain, "acme", "rocket")).toMatchObject({ facts: { parent: null } }); + }); + test("when the facts have gone stale GitHub is asked with the stored ETags, and a 304 renews them", async () => { const calls: Record = {}; const gh = github({ diff --git a/apps/site/src/server/github.ts b/apps/site/src/server/github.ts index 8da1ee2..786867a 100644 --- a/apps/site/src/server/github.ts +++ b/apps/site/src/server/github.ts @@ -79,6 +79,7 @@ export async function askGitHub(deps: GitHubDeps, owner: string, name: string, a archived: r.archived === true, createdAt: text(r.created_at) ?? "", pushedAt: text(r.pushed_at), + parent: r.fork === true ? text((r.parent as Json | null)?.full_name) : null, languages: Object.entries(languages) .map(([n, bytes]) => ({ name: n, bytes })) .sort((a, b) => b.bytes - a.bytes) diff --git a/crates/commitscape-index/src/cache/line_store.rs b/crates/commitscape-index/src/cache/line_store.rs index 5836ccb..705264b 100644 --- a/crates/commitscape-index/src/cache/line_store.rs +++ b/crates/commitscape-index/src/cache/line_store.rs @@ -34,6 +34,25 @@ impl LineStore { self.dir.join(FILE) } + /// Starts this store as a copy of another repository's, when it has none yet: lines are counted per commit, so the ones counted there for commits this repository shares (a fork's parent, say) are not counted again, and the others are never asked for. True when it was copied. + pub fn seed(&self, from: &Path) -> bool { + let path = self.path(); + if path.exists() { + return false; + } + let mut head = vec![0u8; MAGIC.len()]; + let readable = std::fs::File::open(from) + .and_then(|mut f| std::io::Read::read_exact(&mut f, &mut head)) + .is_ok(); + if !readable || head != MAGIC { + return false; + } + let temp = self.dir.join(format!("{FILE}.seeding")); + std::fs::create_dir_all(&self.dir).is_ok() + && std::fs::copy(from, &temp).is_ok() + && std::fs::rename(&temp, &path).is_ok() + } + pub fn read(&self) -> Counted { let path = self.path(); let bytes = std::fs::read(&path).unwrap_or_default(); diff --git a/crates/commitscape/src/build.rs b/crates/commitscape/src/build.rs index ad88ba5..7a91c2a 100644 --- a/crates/commitscape/src/build.rs +++ b/crates/commitscape/src/build.rs @@ -38,6 +38,12 @@ pub struct ExportArgs { #[arg(long)] no_lines: bool, + /// Another repository's line store (its cache's `lines`), such as the + /// one this is a fork of: a cache with none yet starts as a copy, so the + /// lines counted there for the commits both share are not counted again. + #[arg(long, value_name = "FILE", hide = true)] + lines_from: Option, + /// A file of commit ids, one per line: the frontier of the previous /// export. Only commits not reachable from them are written. #[arg(long, value_name = "FILE", requires = "lineage")] @@ -121,6 +127,15 @@ fn read(args: &ExportArgs) -> anyhow::Result { } None => mainline_since(&repo, &loaded.index, before)?, }; + if let (Some(from), Some(store), false) = ( + args.lines_from.as_deref(), + LineStore::for_repo(&options, &loaded.index.repo), + args.no_lines, + ) { + if store.seed(from) { + tracing::info!("the line store starts from {}", from.display()); + } + } let lines = if args.no_lines { None } else { diff --git a/crates/commitscape/tests/build.rs b/crates/commitscape/tests/build.rs index b58c30f..09ae738 100644 --- a/crates/commitscape/tests/build.rs +++ b/crates/commitscape/tests/build.rs @@ -738,3 +738,106 @@ fn a_blobless_clone_counts_only_the_lines_it_can_read_and_a_full_clone_fills_in_ assert!(left > 0); assert_eq!(filled, whole); } + +fn line_store_in(cache: &Path) -> PathBuf { + std::fs::read_dir(cache) + .expect("a cache") + .flatten() + .map(|d| d.path().join("lines")) + .find(|p| p.exists()) + .expect("a line store") +} + +#[test] +fn a_fork_seeded_with_its_parents_line_store_counts_only_its_own_commits_and_writes_the_same() { + let dir = tempfile::tempdir().expect("a temporary directory"); + let parent = dir.path().join("parent"); + std::fs::create_dir(&parent).expect("a folder"); + git(&[ + "-C", + parent.to_str().expect("a path"), + "init", + "-q", + "-b", + "main", + ]); + committed( + &parent, + &[("a.rs", "1\n2\n3\n"), ("b.rs", "x\n")], + 1_700_000_000, + ); + committed(&parent, &[("a.rs", "1\ntwo\n3\n4\n")], 1_700_086_400); + committed(&parent, &[("b.rs", "x\ny\n")], 1_700_172_800); + let fork = dir.path().join("fork"); + git(&[ + "clone", + "-q", + parent.to_str().expect("a path"), + fork.to_str().expect("a path"), + ]); + committed(&fork, &[("c.rs", "c\nd\n")], 1_700_259_200); + let build = |cache: &str, + repo: &Path, + name: &str, + extra: &[&Path]| + -> (Vec<(String, Vec)>, Vec) { + let out = dir.path().join(name); + let events_file = dir.path().join(format!("{name}.events")); + let cache_dir = dir.path().join(cache); + let mut paths: Vec<&Path> = vec![ + &cache_dir, + Path::new("--events"), + &events_file, + Path::new("--out"), + &out, + ]; + paths.extend_from_slice(extra); + paths.push(repo); + commitscape( + &[ + "build", + "--offline", + "--anchor", + "1800000000", + "--cache-key", + "acme/rocket", + "--cache-dir", + ], + &paths, + ); + (outputs(&out), events(&events_file)) + }; + build("parent-cache", &parent, "parent-out", &[]); + let seed = line_store_in(&dir.path().join("parent-cache")); + let (seeded, seeded_events) = build( + "fork-cache", + &fork, + "fork-out", + &[Path::new("--lines-from"), &seed], + ); + let (plain, plain_events) = build("plain-cache", &fork, "plain-out", &[]); + assert_eq!(field(&plain_events, "line_pass", "commits"), Value::from(4)); + assert_eq!( + field(&seeded_events, "line_pass", "commits"), + Value::from(1) + ); + for ((name, a), (_, b)) in seeded.iter().zip(&plain) { + if name == "manifest.json" { + let cache_free = |bytes: &[u8]| { + let mut v: Value = serde_json::from_slice(bytes).expect("json"); + v["mark"] = Value::Null; + v["lineage"] = Value::Null; + v + }; + assert_eq!(cache_free(a), cache_free(b)); + continue; + } + if name == "pack.bin" { + let (a, mut b) = (read_pack(a).expect("a pack"), read_pack(b).expect("a pack")); + b.lineage = a.lineage; + assert!(a == b, "pack.bin differs"); + continue; + } + assert!(a == b, "{name} differs"); + } +} diff --git a/packages/data/src/lookup.ts b/packages/data/src/lookup.ts index fc69ec7..62feea5 100644 --- a/packages/data/src/lookup.ts +++ b/packages/data/src/lookup.ts @@ -17,6 +17,7 @@ export type Facts = { languages: { name: string; bytes: number }[]; contributors: { login: string; avatar: string; contributions: number }[]; releases: { name: string; tag: string; at: string | null }[]; + parent?: string | null; }; export type Lookup = { From f63b5e0ffa27f7797985db529cff94cf4be656b5 Mon Sep 17 00:00:00 2001 From: Dev Talan <84081651+devchaudhary24k@users.noreply.github.com> Date: Tue, 27 Oct 2026 15:10:11 +0530 Subject: [PATCH 43/82] perf: give large freed blocks back to the system glibc raises the size at which it maps a block on its own each time a large one is freed, so a long run that reads file versions of many sizes on two threads kept hundreds of MB it no longer used. The CLI and the engine service now set the mmap and trim thresholds to 1 MB when they start (glibc only; elsewhere nothing changes). linux, two threads, anonymous memory at the peak: - cold Build without lines: 276 -> 248 MB - a Build of 17,127 new commits: 211 -> 170 MB - everyone's Surviving Lines from nothing: 442 -> 358 MB (1174 s / 2198 CPU-s -> 1096 s / 2043 CPU-s) - everyone's Surviving Lines after 17,127 commits: 428 -> 352 MB - the first 300 s of a count from nothing: 361 MB as before, 275 MB with this, 432 MB with mimalloc, 358 MB with two arenas --- Cargo.lock | 3 +++ apps/engine/Cargo.toml | 1 + apps/engine/src/main.rs | 1 + crates/commitscape-map/Cargo.toml | 3 +++ crates/commitscape-map/src/lib.rs | 12 ++++++++++++ crates/commitscape/Cargo.toml | 1 + crates/commitscape/src/main.rs | 1 + 7 files changed, 22 insertions(+) diff --git a/Cargo.lock b/Cargo.lock index b741a98..350de54 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -425,6 +425,7 @@ dependencies = [ "commitscape-core", "commitscape-forge", "commitscape-index", + "commitscape-map", "commitscape-metrics", "commitscape-report", "flate2", @@ -457,6 +458,7 @@ dependencies = [ "bincode", "commitscape-core", "commitscape-index", + "commitscape-map", "commitscape-metrics", "commitscape-report", "flate2", @@ -508,6 +510,7 @@ name = "commitscape-map" version = "0.4.0" dependencies = [ "commitscape-core", + "libc", "memmap2", "tempfile", ] diff --git a/apps/engine/Cargo.toml b/apps/engine/Cargo.toml index 813ff46..653e5de 100644 --- a/apps/engine/Cargo.toml +++ b/apps/engine/Cargo.toml @@ -19,6 +19,7 @@ path = "src/main.rs" [dependencies] axum = { version = "0.8.9", default-features = false, features = ["http1", "json", "matched-path", "tokio"] } commitscape-core.workspace = true +commitscape-map.workspace = true commitscape-metrics.workspace = true commitscape-report.workspace = true rayon = "1.12.0" diff --git a/apps/engine/src/main.rs b/apps/engine/src/main.rs index 4654b0b..351d937 100644 --- a/apps/engine/src/main.rs +++ b/apps/engine/src/main.rs @@ -22,6 +22,7 @@ fn healthy() -> ExitCode { } fn main() -> ExitCode { + commitscape_map::release_large_blocks(); if std::env::args().nth(1).as_deref() == Some("health") { return healthy(); } diff --git a/crates/commitscape-map/Cargo.toml b/crates/commitscape-map/Cargo.toml index c7be828..1ad1f84 100644 --- a/crates/commitscape-map/Cargo.toml +++ b/crates/commitscape-map/Cargo.toml @@ -21,5 +21,8 @@ indexing_slicing = "warn" commitscape-core.workspace = true memmap2 = "0.9.11" +[target.'cfg(all(target_os = "linux", target_env = "gnu"))'.dependencies] +libc = "0.2.189" + [dev-dependencies] tempfile = "3" diff --git a/crates/commitscape-map/src/lib.rs b/crates/commitscape-map/src/lib.rs index 01b9acc..90b95e7 100644 --- a/crates/commitscape-map/src/lib.rs +++ b/crates/commitscape-map/src/lib.rs @@ -6,6 +6,18 @@ use std::mem::{align_of, size_of}; use commitscape_core::{Record, Slab}; use memmap2::{MmapMut, MmapOptions}; +const LARGE_BLOCK: i32 = 1 << 20; + +/// Has the C allocator map every block of a megabyte or more on its own and give it back to the system when freed, and give back free memory past a megabyte at the top of its heap. glibc otherwise raises the size it maps blocks at each time a large one is freed, so a long run reading file versions of many sizes on several threads keeps hundreds of MB it no longer uses. Does nothing where the allocator is not glibc's. +pub fn release_large_blocks() { + #[cfg(all(target_os = "linux", target_env = "gnu"))] + #[allow(unsafe_code)] + unsafe { + libc::mallopt(libc::M_MMAP_THRESHOLD, LARGE_BLOCK); + libc::mallopt(libc::M_TRIM_THRESHOLD, LARGE_BLOCK); + } +} + /// Records read in place from a stretch of a file mapped copy-on-write: the pages are the file's until one is written, which then becomes the process's own and never reaches the file. pub struct Records { map: Option, diff --git a/crates/commitscape/Cargo.toml b/crates/commitscape/Cargo.toml index 36a357d..6efaea4 100644 --- a/crates/commitscape/Cargo.toml +++ b/crates/commitscape/Cargo.toml @@ -25,6 +25,7 @@ clap = { version = "4.6.6", features = ["derive"] } commitscape-core.workspace = true commitscape-forge.workspace = true commitscape-index.workspace = true +commitscape-map.workspace = true commitscape-metrics.workspace = true commitscape-report.workspace = true flate2 = { version = "1.1.10", default-features = false, features = ["zlib-rs"] } diff --git a/crates/commitscape/src/main.rs b/crates/commitscape/src/main.rs index 8b9a353..88a876e 100644 --- a/crates/commitscape/src/main.rs +++ b/crates/commitscape/src/main.rs @@ -238,6 +238,7 @@ fn counted_as(command: Option<&Command>) -> Option<&'static str> { } fn main() -> ExitCode { + commitscape_map::release_large_blocks(); let cli = Cli::parse(); let _ = rayon::ThreadPoolBuilder::new() .num_threads(commitscape_index::threads(usize::MAX)) From fd62f166c0dfb633fffe8be46b3e58a347cb1ae6 Mon Sep 17 00:00:00 2001 From: Dev Talan <84081651+devchaudhary24k@users.noreply.github.com> Date: Tue, 27 Oct 2026 15:24:42 +0530 Subject: [PATCH 44/82] perf(surviving): count lines from the kept columns `surviving` and `report` decoded the whole line store before counting, as `build` no longer does: they now take the kept line pass, which reads only the commits whose Lines Changed are not settled. A line pass that holds no lines of its own (the kept one) still marks the commits blame ignores, so a warm run leaves out their lines as a cold one does. linux, two threads, everyone's Surviving Lines, anonymous memory at the peak, the same 30,968 people's numbers: - at the same head: 220 -> 166 MB, 4.3 -> 3.8 s - after 17,127 new commits: 352 -> 278 MB, 329 -> 324 s - from nothing: 358 -> 279 MB, 1096 s / 2043 CPU-s -> 1032 s / 1973 --- crates/commitscape-core/src/index.rs | 9 +++--- crates/commitscape/src/main.rs | 47 ++-------------------------- crates/commitscape/src/surviving.rs | 4 +-- 3 files changed, 8 insertions(+), 52 deletions(-) diff --git a/crates/commitscape-core/src/index.rs b/crates/commitscape-core/src/index.rs index 7b25e76..491bac7 100644 --- a/crates/commitscape-core/src/index.rs +++ b/crates/commitscape-core/src/index.rs @@ -685,11 +685,10 @@ pub struct LinePass { impl LinePass { pub fn apply(self, index: &mut Index) { - if self.lines.len() != index.changes.len() { - return; - } - for (change, lines) in index.changes.iter_mut().zip(self.lines) { - change.set_lines(lines); + if self.lines.len() == index.changes.len() { + for (change, lines) in index.changes.iter_mut().zip(self.lines) { + change.set_lines(lines); + } } let ignored: std::collections::HashSet = self.ignored.into_iter().collect(); for c in index.commits.iter_mut() { diff --git a/crates/commitscape/src/main.rs b/crates/commitscape/src/main.rs index 88a876e..ac204a5 100644 --- a/crates/commitscape/src/main.rs +++ b/crates/commitscape/src/main.rs @@ -346,14 +346,7 @@ pub(crate) fn make_report( let mut loaded = load(&repo, &options, &mut |p| meter.show(p))?; meter.clear(); if count_lines { - count_lines_into( - &repo, - &options, - &mut loaded.index, - common.metrics(), - budget, - None, - )?; + count_lines_kept(&repo, &options, &mut loaded, common.metrics(), budget, None)?; } let accounts = with_accounts(&repo, &options, &mut loaded.index, given)?; let name = repo_name(&loaded.index); @@ -379,43 +372,7 @@ pub(crate) struct LineCount { pub(crate) settled: Vec, } -/// Counts the Lines Changed the Index lacks, the Mainline first (worked out here unless given), never Bulk Commits, lockfiles or Generated Files, for at most `budget`. -pub(crate) fn count_lines_into( - repo: &GixRepo, - options: &CacheOptions, - index: &mut Index, - metrics: Options, - budget: Option, - mainline: Option>, -) -> anyhow::Result { - let plan = LinePlan { - skip_commits: index.commits.iter().map(|c| metrics.is_bulk(c)).collect(), - skip_files: commitscape_metrics::skipped_files(index), - mainline, - budget, - }; - let store = LineStore::for_repo(options, &index.repo); - let mut meter = ProgressLine::new(); - let mut pass = line_pass(repo, index, &plan, store.as_ref(), &mut |done, total| { - meter.lines(done, total) - })?; - meter.clear(); - let count = LineCount { - counted: pass.counted, - left: pass.left, - settled: std::mem::take(&mut pass.settled), - }; - pass.apply(index); - if count.left > 0 { - eprintln!( - "lines not counted yet for {} commits: the next run carries on", - grouped(count.left) - ); - } - Ok(count) -} - -/// Counts Lines Changed as `count_lines_into` does, from the Index's kept columns when they were read and counted with the same masking: only the commits they do not hold settled are read from the line store or counted, and only those are written back. Otherwise every commit's lines are put in as before and the columns are written whole for the cache's generation. +/// Counts Lines Changed into the Index, from its kept columns when they were read and counted with the same masking: only the commits they do not hold settled are read from the line store or counted, and only those are written back. Otherwise every commit's lines are put in as before and the columns are written whole for the cache's generation. pub(crate) fn count_lines_kept( repo: &GixRepo, options: &CacheOptions, diff --git a/crates/commitscape/src/surviving.rs b/crates/commitscape/src/surviving.rs index 52c33ee..3d48e9a 100644 --- a/crates/commitscape/src/surviving.rs +++ b/crates/commitscape/src/surviving.rs @@ -14,7 +14,7 @@ use commitscape_metrics::{Analysis, Window}; use commitscape_report::api::{Surviving, SurvivingPerson, SurvivingStatus}; use crate::{ - count_lines_into, now, read_accounts, repo_source, with_accounts, Common, ProgressLine, + count_lines_kept, now, read_accounts, repo_source, with_accounts, Common, ProgressLine, }; #[derive(Args)] @@ -80,7 +80,7 @@ pub fn run(args: SurvivingArgs) -> anyhow::Result<()> { let count_lines = !args.partial; let metrics = args.common.metrics(); if count_lines { - count_lines_into(&repo, &options, &mut loaded.index, metrics, None, None)?; + count_lines_kept(&repo, &options, &mut loaded, metrics, None, None)?; } let index = &loaded.index; let added = if count_lines { From 79ed93ca7030a09bfd762482f739750ea4f1561d Mon Sep 17 00:00:00 2001 From: Dev Talan <84081651+devchaudhary24k@users.noreply.github.com> Date: Tue, 27 Oct 2026 16:13:59 +0530 Subject: [PATCH 45/82] perf(surviving): rename detection keeps no file text When a file is new in a commit, the blame and ownership walks look for the file it came from among the commit's deleted files. They kept every deleted file's text and spans until the commit was done, and read even files whose size alone ruled them out. A commit moving thousands of files, or one large generated header, held 50 to 100 MB at once. Now a deleted file's size is asked of git first (an object header), and only files git's size rule lets through are read; only their spans are kept, and the chosen file's text is read again when it is diffed. A file version is no longer copied out of gix's buffer. linux, two threads, everyone's Surviving Lines from nothing: - heaptrack over the first 150 s: 104 MB of the 250 MB heap peak was deleted files' text - the walk's highest anonymous memory: 279 -> 224 MB (with the smaller tables of the next commit in the same run), 1032 -> 981 s, 1973 -> 1900 CPU-s - the same 30,425 people's numbers --- crates/commitscape-index/src/blame.rs | 166 ++++++++++++++---- .../commitscape-index/src/gix_source/blame.rs | 30 +++- .../commitscape-index/src/gix_source/mod.rs | 5 + crates/commitscape-index/src/ownership/mod.rs | 33 ++-- crates/commitscape-index/src/scripted.rs | 4 + crates/commitscape-index/src/similarity.rs | 23 ++- crates/commitscape-index/src/source.rs | 5 + crates/commitscape-index/src/surviving.rs | 29 ++- crates/commitscape/src/surviving.rs | 4 + 9 files changed, 212 insertions(+), 87 deletions(-) diff --git a/crates/commitscape-index/src/blame.rs b/crates/commitscape-index/src/blame.rs index 5e4378d..7024524 100644 --- a/crates/commitscape-index/src/blame.rs +++ b/crates/commitscape-index/src/blame.rs @@ -5,7 +5,7 @@ use std::time::Instant; use commitscape_core::Oid; use imara_diff::{Algorithm, Diff, InternedInput}; -use crate::similarity::{rename_source, spans, Spans}; +use crate::similarity::{may_be_renamed, rename_source, spans, Spans}; use crate::source::{BlameCommit, BlameSource, BlameThreads, InParent}; pub(crate) const UNMAPPED: u32 = u32::MAX; @@ -30,19 +30,27 @@ pub enum Walked { type Seg = (u32, u32); -pub(crate) type Text = (Rc>, Rc); - #[derive(Clone)] pub(crate) struct Gone { pub(crate) deleted: Vec<(Vec, Oid)>, - pub(crate) texts: Vec>, + pub(crate) spans: Vec>>, + pub(crate) sizes: Vec>, +} + +impl Gone { + pub(crate) fn new(deleted: Vec<(Vec, Oid)>) -> Gone { + Gone { + spans: vec![None; deleted.len()], + sizes: vec![None; deleted.len()], + deleted, + } + } } struct Version { parent: Oid, blob: Oid, path: Rc<[u8]>, - text: Option>>, } struct Item { @@ -247,22 +255,24 @@ impl Walk<'_, S> { parent: *parent, blob, path: item.path.clone(), - text: None, }), InParent::Absent => { if moved.is_none() { let deleted = self.source.blame_moves(id, *parent)?.deleted; - moved = Some(Gone { - texts: vec![None; deleted.len()], - deleted, - }); + moved = Some(Gone::new(deleted)); } - if let Some(Gone { deleted, texts }) = moved.as_mut() { + if let Some(Gone { + deleted, + spans, + sizes, + }) = moved.as_mut() + { let source = self.source; + let target = item.text.len() as u64; let found = rename_source( (&item.path, item.blob, &item.text), deleted, - &mut |i| spans_at(source, deleted, texts, i), + &mut |i| spans_at(source, deleted, (spans, sizes), i, target), )?; if let Some((from, blob)) = found.and_then(|j| deleted.get(j)) { if *blob == item.blob { @@ -274,9 +284,6 @@ impl Walk<'_, S> { parent: *parent, blob: *blob, path: from.as_slice().into(), - text: found - .and_then(|j| texts.get(j).cloned().flatten()) - .map(|t| t.0), }); } } @@ -289,20 +296,11 @@ impl Walk<'_, S> { for (item, versions) in open { let mut remaining = item.segs; - for Version { - parent, - blob, - path, - text, - } in versions - { + for Version { parent, blob, path } in versions { if remaining.is_empty() { break; } - let before = match text { - Some(text) => text, - None => Rc::new(self.source.blame_blob(blob)?), - }; + let before = Rc::new(self.source.blame_blob(blob)?); let input = InternedInput::new(before.as_slice(), item.text.as_slice()); let mut diff = Diff::compute(Algorithm::Myers, &input); diff.postprocess_lines(&input); @@ -334,24 +332,38 @@ impl Walk<'_, S> { } } +/// The spans of the `i`th deleted file, read once, or None when its size alone says it cannot be where a file of `target` bytes came from. pub(crate) fn spans_at( source: &S, deleted: &[(Vec, Oid)], - texts: &mut [Option], + (known, sizes): (&mut [Option>], &mut [Option]), i: usize, -) -> Result, S::Error> { - if let Some(Some((_, found))) = texts.get(i) { - return Ok(found.clone()); + target: u64, +) -> Result>, S::Error> { + if let Some(Some(found)) = known.get(i) { + return Ok(Some(found.clone())); } - let data = match deleted.get(i) { - Some((_, blob)) => Rc::new(source.blame_blob(*blob)?), - None => Rc::new(Vec::new()), + let Some((_, blob)) = deleted.get(i) else { + return Ok(None); + }; + let size = match sizes.get(i).copied().flatten() { + Some(size) => Some(size), + None => { + let size = source.blame_size(*blob)?; + if let (Some(slot), Some(size)) = (sizes.get_mut(i), size) { + *slot = Some(size); + } + size + } }; - let found = Rc::new(spans(&data)); - if let Some(slot) = texts.get_mut(i) { - *slot = Some((data, found.clone())); + if size.is_some_and(|size| !may_be_renamed(size, target)) { + return Ok(None); } - Ok(found) + let found = Rc::new(spans(&source.blame_blob(*blob)?)); + if let Some(slot) = known.get_mut(i) { + *slot = Some(found.clone()); + } + Ok(Some(found)) } /// Blames the files on several threads at once, each with its own handle on the repository and a share of the files grouped by folder, handing every file's result to `finished` on the calling thread. @@ -538,3 +550,83 @@ pub(crate) fn ignored_map(before: &[u8], after: &[u8], diff: &Diff) -> Vec } map } + +#[cfg(test)] +mod tests { + use std::cell::RefCell; + use std::convert::Infallible; + + use super::*; + use crate::source::Moves; + + struct Sized { + files: Vec<(Oid, Vec)>, + read: RefCell>, + } + + impl BlameSource for Sized { + type Error = Infallible; + + fn blame_commit(&self, _: Oid) -> Result, Infallible> { + Ok(None) + } + + fn blame_compare(&self, _: Oid, _: Oid, _: &[&[u8]]) -> Result, Infallible> { + Ok(Vec::new()) + } + + fn blame_moves(&self, _: Oid, _: Oid) -> Result { + Ok(Moves { + deleted: Vec::new(), + added: Vec::new(), + }) + } + + fn blame_blob(&self, blob: Oid) -> Result, Infallible> { + self.read.borrow_mut().push(blob); + Ok(self + .files + .iter() + .find(|(id, _)| *id == blob) + .map(|(_, text)| text.clone()) + .unwrap_or_default()) + } + + fn blame_size(&self, blob: Oid) -> Result, Infallible> { + Ok(self + .files + .iter() + .find(|(id, _)| *id == blob) + .map(|(_, text)| text.len() as u64)) + } + } + + #[test] + fn a_deleted_file_too_large_to_be_the_source_is_never_read_and_the_rest_are_read_once() { + let small = b"one\ntwo\nthree\nfour\n".to_vec(); + let large = small.repeat(1000); + let source = Sized { + files: vec![(Oid([1; 20]), small.clone()), (Oid([2; 20]), large)], + read: RefCell::new(Vec::new()), + }; + let mut gone = Gone::new(vec![ + (b"a.rs".to_vec(), Oid([1; 20])), + (b"b.rs".to_vec(), Oid([2; 20])), + ]); + let target = small.len() as u64; + for _ in 0..2 { + for i in 0..2 { + let found = spans_at( + &source, + &gone.deleted, + (&mut gone.spans, &mut gone.sizes), + i, + target, + ) + .unwrap_or_else(|e| match e {}); + assert_eq!(found.is_some(), i == 0); + } + } + assert_eq!(*source.read.borrow(), vec![Oid([1; 20])]); + } +} diff --git a/crates/commitscape-index/src/gix_source/blame.rs b/crates/commitscape-index/src/gix_source/blame.rs index 09f8bf2..b78a0dd 100644 --- a/crates/commitscape-index/src/gix_source/blame.rs +++ b/crates/commitscape-index/src/gix_source/blame.rs @@ -215,9 +215,29 @@ pub(super) fn moves(source: &GixRepo, commit: Oid, parent: Oid) -> Result Result, GixError> { let oid = GixRepo::to_gix(id).ok_or(GixError::UnsupportedHash)?; let mut buf = Vec::new(); - let blob = git_ctx!( - source.repo.objects.find_blob(&oid, &mut buf), - "reading a file to blame" - )?; - Ok(blob.data.to_vec()) + let (at, len) = { + let blob = git_ctx!( + source.repo.objects.find_blob(&oid, &mut buf), + "reading a file to blame" + )?; + (blob.data.as_ptr() as usize, blob.data.len()) + }; + match at + .checked_sub(buf.as_ptr() as usize) + .filter(|start| start + len <= buf.len()) + { + Some(start) => { + buf.truncate(start + len); + buf.drain(..start); + buf.shrink_to_fit(); + Ok(buf) + } + None => { + let blob = git_ctx!( + source.repo.objects.find_blob(&oid, &mut buf), + "reading a file to blame" + )?; + Ok(blob.data.to_vec()) + } + } } diff --git a/crates/commitscape-index/src/gix_source/mod.rs b/crates/commitscape-index/src/gix_source/mod.rs index 6269af9..d1dbefc 100644 --- a/crates/commitscape-index/src/gix_source/mod.rs +++ b/crates/commitscape-index/src/gix_source/mod.rs @@ -628,6 +628,11 @@ impl BlameSource for GixRepo { fn blame_blob(&self, blob: Oid) -> Result, Self::Error> { blame::blob(self, blob) } + + fn blame_size(&self, blob: Oid) -> Result, Self::Error> { + let oid = GixRepo::to_gix(blob).ok_or(GixError::UnsupportedHash)?; + Ok(self.repo.find_header(oid).ok().map(|h| h.size())) + } } fn is_release(name: &str) -> bool { diff --git a/crates/commitscape-index/src/ownership/mod.rs b/crates/commitscape-index/src/ownership/mod.rs index a8b9985..7a41341 100644 --- a/crates/commitscape-index/src/ownership/mod.rs +++ b/crates/commitscape-index/src/ownership/mod.rs @@ -39,7 +39,6 @@ struct Version { parent: Oid, blob: Oid, path: Rc<[u8]>, - text: Option>>, } struct Walk<'a, S: BlameSource> { @@ -289,22 +288,24 @@ impl Walk<'_, S> { parent: *parent, blob, path: item.path.clone(), - text: None, }), InParent::Absent => { if moved.is_none() { let deleted = self.source.blame_moves(id, *parent)?.deleted; - moved = Some(Gone { - texts: vec![None; deleted.len()], - deleted, - }); + moved = Some(Gone::new(deleted)); } - if let Some(Gone { deleted, texts }) = moved.as_mut() { + if let Some(Gone { + deleted, + spans, + sizes, + }) = moved.as_mut() + { let source = self.source; + let target = item.text.len() as u64; let found = rename_source( (&item.path, item.blob, &item.text), deleted, - &mut |i| spans_at(source, deleted, texts, i), + &mut |i| spans_at(source, deleted, (spans, sizes), i, target), )?; if let Some((from, blob)) = found.and_then(|j| deleted.get(j)) { if *blob == item.blob { @@ -316,9 +317,6 @@ impl Walk<'_, S> { parent: *parent, blob: *blob, path: from.as_slice().into(), - text: found - .and_then(|j| texts.get(j).cloned().flatten()) - .map(|t| t.0), }); } } @@ -331,20 +329,11 @@ impl Walk<'_, S> { for (item, versions) in open { let mut remaining = item.segs; - for Version { - parent, - blob, - path, - text, - } in versions - { + for Version { parent, blob, path } in versions { if remaining.is_empty() { break; } - let before = match text { - Some(text) => text, - None => Rc::new(self.source.blame_blob(blob)?), - }; + let before = Rc::new(self.source.blame_blob(blob)?); let input = InternedInput::new(before.as_slice(), item.text.as_slice()); let mut diff = Diff::compute(Algorithm::Myers, &input); diff.postprocess_lines(&input); diff --git a/crates/commitscape-index/src/scripted.rs b/crates/commitscape-index/src/scripted.rs index fe875c8..efa2e2b 100644 --- a/crates/commitscape-index/src/scripted.rs +++ b/crates/commitscape-index/src/scripted.rs @@ -545,4 +545,8 @@ impl BlameSource for ScriptedRepo { }) .unwrap_or_default()) } + + fn blame_size(&self, blob: Oid) -> Result, Self::Error> { + Ok(Some(self.blame_blob(blob)?.len() as u64)) + } } diff --git a/crates/commitscape-index/src/similarity.rs b/crates/commitscape-index/src/similarity.rs index e7c3aed..9660e91 100644 --- a/crates/commitscape-index/src/similarity.rs +++ b/crates/commitscape-index/src/similarity.rs @@ -53,6 +53,10 @@ fn hash(accum1: u32, accum2: u32) -> u32 { accum1.wrapping_add(accum2.wrapping_mul(0x61)) % HASHBASE } +pub(crate) fn may_be_renamed(from: u64, to: u64) -> bool { + sizes_allow(from, to, RENAME_SCORE) +} + fn sizes_allow(src: u64, dst: u64, minimum: u64) -> bool { let max = src.max(dst); let delta = max - src.min(dst); @@ -87,7 +91,7 @@ fn basename(path: &[u8]) -> &[u8] { pub fn rename_source( target: (&[u8], Oid, &[u8]), deleted: &[(Vec, Oid)], - spans_of: &mut dyn FnMut(usize) -> Result, E>, + spans_of: &mut dyn FnMut(usize) -> Result>, E>, ) -> Result, E> { let (path, blob, data) = target; let name = basename(path); @@ -111,14 +115,19 @@ pub fn rename_source( let named: Vec = (0..deleted.len()).filter(|&i| same_name(i)).collect(); if let [only] = named.as_slice() { - if score(&*spans_of(*only)?, &ours, BASENAME_SCORE) >= BASENAME_SCORE { - return Ok(Some(*only)); + if let Some(theirs) = spans_of(*only)? { + if score(&theirs, &ours, BASENAME_SCORE) >= BASENAME_SCORE { + return Ok(Some(*only)); + } } } let mut best: Option<(u64, bool, usize)> = None; for i in 0..deleted.len() { - let s = score(&*spans_of(i)?, &ours, RENAME_SCORE); + let Some(theirs) = spans_of(i)? else { + continue; + }; + let s = score(&theirs, &ours, RENAME_SCORE); if s < RENAME_SCORE { continue; } @@ -165,7 +174,11 @@ mod tests { rename_source::<()>( (target.0.as_bytes(), oid(target.1), target.2.as_bytes()), &list, - &mut |i| Ok(Rc::new(spans(data.get(i).copied().unwrap_or_default()))), + &mut |i| { + Ok(Some(Rc::new(spans( + data.get(i).copied().unwrap_or_default(), + )))) + }, ) .unwrap() } diff --git a/crates/commitscape-index/src/source.rs b/crates/commitscape-index/src/source.rs index a9be562..6908c39 100644 --- a/crates/commitscape-index/src/source.rs +++ b/crates/commitscape-index/src/source.rs @@ -175,4 +175,9 @@ pub trait BlameSource { fn blame_moves(&self, commit: Oid, parent: Oid) -> Result; fn blame_blob(&self, blob: Oid) -> Result, Self::Error>; + + fn blame_size(&self, blob: Oid) -> Result, Self::Error> { + let _ = blob; + Ok(None) + } } diff --git a/crates/commitscape-index/src/surviving.rs b/crates/commitscape-index/src/surviving.rs index 70eae96..ec8c624 100644 --- a/crates/commitscape-index/src/surviving.rs +++ b/crates/commitscape-index/src/surviving.rs @@ -1,16 +1,15 @@ use std::collections::{HashMap, HashSet}; use std::path::PathBuf; -use std::rc::Rc; use std::time::{Duration, Instant}; use commitscape_core::{AuthorId, ChangeKind, CommitFlags, FileClass, FileId, Index, Oid}; -use crate::blame::{blame_in_threads, BlameFile, Walked, BATCH_BYTES}; +use crate::blame::{blame_in_threads, spans_at, BlameFile, Gone, Walked, BATCH_BYTES}; use crate::cache::{repo_dir, BlameStore, CacheOptions, Known, Moved}; use crate::commit_at::CommitAt; use crate::lines::MAX_BYTES; use crate::ownership::{own_in_threads, Known as Owners, Ownership, Writer}; -use crate::similarity::{rename_source, spans, Spans}; +use crate::similarity::rename_source; use crate::source::{BlameSource, BlameThreads}; const ENGINE: u64 = 4; @@ -579,25 +578,19 @@ fn moves_in(source: &S, commit: Oid) -> Result return Ok(Vec::new()); }; let moves = source.blame_moves(commit, *parent)?; - let mut known: Vec>> = vec![None; moves.deleted.len()]; + let Gone { + deleted, + mut spans, + mut sizes, + } = Gone::new(moves.deleted); let mut out = Vec::new(); for (path, blob) in &moves.added { let data = source.blame_blob(*blob)?; - let found = rename_source((path, *blob, &data), &moves.deleted, &mut |i| { - if let Some(Some(found)) = known.get(i) { - return Ok(found.clone()); - } - let text = match moves.deleted.get(i) { - Some((_, blob)) => source.blame_blob(*blob)?, - None => Vec::new(), - }; - let found = Rc::new(spans(&text)); - if let Some(slot) = known.get_mut(i) { - *slot = Some(found.clone()); - } - Ok(found) + let target = data.len() as u64; + let found = rename_source((path, *blob, &data), &deleted, &mut |i| { + spans_at(source, &deleted, (&mut spans, &mut sizes), i, target) })?; - if let Some((from, _)) = found.and_then(|j| moves.deleted.get(j)) { + if let Some((from, _)) = found.and_then(|j| deleted.get(j)) { out.push((from.clone(), path.clone())); } } diff --git a/crates/commitscape/src/surviving.rs b/crates/commitscape/src/surviving.rs index 3d48e9a..fc97a89 100644 --- a/crates/commitscape/src/surviving.rs +++ b/crates/commitscape/src/surviving.rs @@ -291,6 +291,10 @@ impl BlameSource for Fetched { .map_err(FetchError::Git) } + fn blame_size(&self, blob: Oid) -> Result, Self::Error> { + self.repo.blame_size(blob).map_err(FetchError::Git) + } + fn blame_blob(&self, blob: Oid) -> Result, Self::Error> { if let Ok(bytes) = self.repo.blame_blob(blob) { return Ok(bytes); From 1e5ef2e549deb9ea11cd833f910907d9da8b41ca Mon Sep 17 00:00:00 2001 From: Dev Talan <84081651+devchaudhary24k@users.noreply.github.com> Date: Tue, 27 Oct 2026 16:14:05 +0530 Subject: [PATCH 46/82] perf(surviving): smaller tables beside the walk and the count Everyone's count gathered the files each of 31,000 people touched into one map before counting anyone; it now gathers one person's at a time from the commits sorted by author. The table of which files a path named copied every path in the history; it now borrows them from the Index and holds a single file without an allocation of its own. linux, two threads, everyone's Surviving Lines, the same 30,968 people's numbers: - at the same head: 166 -> 149 MB anonymous memory - after 17,127 new commits: 278 -> 223 MB (with the previous commit) - the blame walk from nothing runs about 10 MB lower throughout --- crates/commitscape-index/src/surviving.rs | 88 +++++++++++++++-------- 1 file changed, 59 insertions(+), 29 deletions(-) diff --git a/crates/commitscape-index/src/surviving.rs b/crates/commitscape-index/src/surviving.rs index ec8c624..b3d9f6e 100644 --- a/crates/commitscape-index/src/surviving.rs +++ b/crates/commitscape-index/src/surviving.rs @@ -35,6 +35,27 @@ pub enum Survived { }, } +enum Named { + One(FileId), + Many(Vec), +} + +impl Named { + fn add(&mut self, file: FileId) { + match self { + Named::One(first) => *self = Named::Many(vec![*first, file]), + Named::Many(files) => files.push(file), + } + } + + fn has(&self, file: FileId) -> bool { + match self { + Named::One(only) => *only == file, + Named::Many(files) => files.contains(&file), + } + } +} + pub struct Survival<'i> { index: &'i Index, head: Oid, @@ -45,7 +66,7 @@ pub struct Survival<'i> { flows: HashMap>, paths: Option>>>, commit_at: CommitAt, - files_at: HashMap, Vec>, + files_at: HashMap<&'i [u8], Named>, batch_bytes: usize, settings: u64, kept: Option, @@ -109,6 +130,21 @@ impl<'i> Survival<'i> { self.head } + fn name_files(&mut self) { + if !self.files_at.is_empty() { + return; + } + let index: &'i Index = self.index; + for (file, path) in index.paths.iter().chain(index.paths.departures()) { + match self.files_at.get_mut(path) { + Some(named) => named.add(file), + None => { + self.files_at.insert(path, Named::One(file)); + } + } + } + } + /// The Ownership kept in the cache from the last count, when there is one. pub fn previous(&self) -> Option { self.kept.as_deref().and_then(Ownership::open) @@ -141,11 +177,7 @@ impl<'i> Survival<'i> { .cloned() .collect(); if !todo.is_empty() { - if self.files_at.is_empty() { - for (file, path) in self.index.paths.iter().chain(self.index.paths.departures()) { - self.files_at.entry(path.to_vec()).or_default().push(file); - } - } + self.name_files(); let Survival { index, head, @@ -171,7 +203,7 @@ impl<'i> Survival<'i> { index .changes_of(c) .iter() - .any(|change| files.contains(&change.file)) + .any(|change| files.has(change.file)) }; let walked = blame_in_threads( threads, @@ -301,11 +333,7 @@ impl<'i> Survival<'i> { .filter(|f| !carried.contains(&f.path)) .collect(); drop(carried); - if self.files_at.is_empty() { - for (file, path) in self.index.paths.iter().chain(self.index.paths.departures()) { - self.files_at.entry(path.to_vec()).or_default().push(file); - } - } + self.name_files(); let Survival { index, pass_through, @@ -329,7 +357,7 @@ impl<'i> Survival<'i> { index .changes_of(c) .iter() - .any(|change| files.contains(&change.file)) + .any(|change| files.has(change.file)) }; let known = previous.as_ref().and_then(|p| { Some(Owners { @@ -406,29 +434,31 @@ impl<'i> Survival<'i> { owned.entry(author).or_default().push((file, n, oldest)); } } - let mut touched: HashMap> = HashMap::new(); - for c in index.commits.iter() { - if let Some(author) = index.author_of(c) { - touched - .entry(author) - .or_default() - .extend(index.changes_of(c).iter().map(|ch| ch.file)); - } - } + let mut by_author: Vec<(AuthorId, u32)> = index + .commits + .iter() + .zip(0u32..) + .filter_map(|(c, i)| Some((index.author_of(c)?, i))) + .collect(); + by_author.sort_unstable(); let head_ids: HashSet = head_files .iter() .filter_map(|f| file_of_path.get(f.path.as_slice()).copied()) .collect(); - let mut people: Vec = touched.keys().copied().collect(); - people.sort_unstable(); let far = Instant::now() .checked_add(Duration::from_secs(365 * 24 * 3600)) .unwrap_or_else(Instant::now); - let mut out = Vec::with_capacity(people.len()); - for person in people { - let Some(seen) = - self.closure(source, touched.remove(&person).unwrap_or_default(), far)? - else { + let mut out = Vec::new(); + for theirs in by_author.chunk_by(|a, b| a.0 == b.0) { + let Some(&(person, _)) = theirs.first() else { + continue; + }; + let touched: HashSet = theirs + .iter() + .filter_map(|&(_, i)| index.commits.get(i as usize)) + .flat_map(|c| index.changes_of(c).iter().map(|ch| ch.file)) + .collect(); + let Some(seen) = self.closure(source, touched, far)? else { continue; }; let files = seen.iter().filter(|f| head_ids.contains(f)).count() as u32; From f71e12a41c8262e3d1719ac97b9e86524b583a80 Mon Sep 17 00:00:00 2001 From: Dev Talan <84081651+devchaudhary24k@users.noreply.github.com> Date: Tue, 27 Oct 2026 16:15:46 +0530 Subject: [PATCH 47/82] perf(builder): reserve for Surviving Lines what a count now takes A count of everyone's Surviving Lines on linux now peaks at 245 MB instead of 442, so its estimate falls from 455 to 259 MB and two more small runs fit beside it in ENGINE_MEMORY_MB. The test's measured peaks are those of this release: a cold linux Build 248 MB, a Build of 17,127 new commits 170 MB. --- DEPLOY.md | 2 +- apps/builder/src/admission.test.ts | 6 +++--- apps/builder/src/admission.ts | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/DEPLOY.md b/DEPLOY.md index 3d5b890..7d71261 100644 --- a/DEPLOY.md +++ b/DEPLOY.md @@ -195,7 +195,7 @@ Optional, with their defaults: | Variable | Default | What | |---|---|---| | `CONCURRENCY` | 1 | Builds at a time, for repositories under `LARGE_REPOSITORY_MB`. Their clones, GitHub reads and Postgres loads overlap; their runs of the engine share `ENGINE_MEMORY_MB` | -| `ENGINE_MEMORY_MB` | 1200 | Memory the runs of the engine may take at once, across every Build and count of Surviving Lines: each run waits, in the order it asked, until its estimate fits beside the others (a warm build of linux about 230 MB, a cold one about 340, everyone's Surviving Lines about 450, react's about 50 to 200); a run larger than this runs alone. 1200 fits a 3 GiB container with the Builder, git and Postgres loads beside it | +| `ENGINE_MEMORY_MB` | 1200 | Memory the runs of the engine may take at once, across every Build and count of Surviving Lines: each run waits, in the order it asked, until its estimate fits beside the others (a warm build of linux about 230 MB, a cold one about 340, everyone's Surviving Lines about 260, react's about 50 to 200); a run larger than this runs alone. 1200 fits a 3 GiB container with the Builder, git and Postgres loads beside it | | `BULK_COMMIT_FILES` | 50 | A commit changing more files than this is a Bulk Commit: left out of Churn, Ownership, Change Coupling and Lines Changed, and passed through by Surviving Lines. A lean clone fetches no file versions for commits changing more than twice as many paths | | `COMMITSCAPE_THREADS` | every core, up to 16 | Threads one run of the engine may use | | `ENGINE_NICE` | 10 | The engine runs at this lower priority (0 to 19), so git, the database and the Builder stay responsive | diff --git a/apps/builder/src/admission.test.ts b/apps/builder/src/admission.test.ts index cd8eaa9..b3eae00 100644 --- a/apps/builder/src/admission.test.ts +++ b/apps/builder/src/admission.test.ts @@ -61,11 +61,11 @@ test("an estimate is above every peak measured on linux and react", () => { const linux = { commits: 1_501_892, sizeKb: 5_800_000 }; const react = { commits: 21_722, sizeKb: 1_100_000 }; const measured: [Parameters[0], typeof linux, number][] = [ - ["build", linux, 224], + ["build", linux, 170], ["build", react, 38], - ["cold", linux, 276], + ["cold", linux, 248], ["cold", react, 158], - ["surviving", linux, 442], + ["surviving", linux, 245], ["surviving", react, 121], ["screens", linux, 191], ["atlas", linux, 635], diff --git a/apps/builder/src/admission.ts b/apps/builder/src/admission.ts index fed2a9e..a9dad70 100644 --- a/apps/builder/src/admission.ts +++ b/apps/builder/src/admission.ts @@ -8,7 +8,7 @@ export type Sized = { commits: number; sizeKb: number }; const UNKNOWN_MB = 256; -/** About how many MB of memory an engine run takes at its peak, a little over what was measured on two threads (2026-10-27: linux, 1.5M commits, and facebook/react, 22k): a warm build 94–224 MB on linux and 9–38 on react, a cold one 276 and 158, everyone's Surviving Lines 442 and 121, the standard screens 191, the Atlas 635 on linux. A cold run knows no commit count yet, so it goes by the repository's size. */ +/** About how many MB of memory an engine run takes at its peak, a little over what was measured on two threads (2026-10-27: linux, 1.5M commits, and facebook/react, 22k): a warm build 94–170 MB on linux and 9–38 on react, a cold one 248 and 158, everyone's Surviving Lines 245 and 121, the standard screens 191, the Atlas 635 on linux. A cold run knows no commit count yet, so it goes by the repository's size. */ export function peakMb(kind: EngineRun, repo: Sized): number { const thousands = repo.commits / 1000; const sizeMb = repo.sizeKb / 1024; @@ -16,7 +16,7 @@ export function peakMb(kind: EngineRun, repo: Sized): number { build: 48 + 0.12 * thousands, cold: Math.max(170 + 0.03 * sizeMb, 64 + 0.15 * thousands), signatures: 32 + 0.04 * thousands, - surviving: Math.max(130, 64 + 0.26 * thousands), + surviving: Math.max(130, 64 + 0.13 * thousands), screens: 48 + 0.1 * thousands, atlas: 100 + 0.36 * thousands, }[kind]; From 415dca17bce97311c39170184927ec1f9399508a Mon Sep 17 00:00:00 2001 From: Dev Talan <84081651+devchaudhary24k@users.noreply.github.com> Date: Tue, 27 Oct 2026 16:38:00 +0530 Subject: [PATCH 48/82] perf(surviving): hand the walk's memory back before the count When the blame walk ends, the memory its two threads freed stays in glibc's heaps; it is now handed back to the system before the Ownership is laid out and everyone is counted. Laying the Ownership out no longer keeps the lookup of new owners, or a second list of them, beside the tables it builds. linux, two threads, everyone's Surviving Lines, anonymous memory at the peak, the same 30,968 people's numbers: - from nothing: 245 -> 198 MB (the peak is now in the walk) - after 17,127 new commits: 223 -> 199 MB - at the same head: 149 -> 148 MB --- crates/commitscape-index/src/ownership/file.rs | 6 +++++- crates/commitscape-index/src/surviving.rs | 1 + crates/commitscape-map/src/lib.rs | 9 +++++++++ 3 files changed, 15 insertions(+), 1 deletion(-) diff --git a/crates/commitscape-index/src/ownership/file.rs b/crates/commitscape-index/src/ownership/file.rs index cfbfb4a..4b31dc6 100644 --- a/crates/commitscape-index/src/ownership/file.rs +++ b/crates/commitscape-index/src/ownership/file.rs @@ -433,7 +433,11 @@ impl<'p> Writer<'p> { moves: HashMap, ) -> io::Result { self.runs.flush()?; - let mut fresh: Vec<(Oid, u32)> = self.fresh.iter().copied().zip(0u32..).collect(); + drop(std::mem::take(&mut self.fresh_at)); + let mut fresh: Vec<(Oid, u32)> = std::mem::take(&mut self.fresh) + .into_iter() + .zip(0u32..) + .collect(); fresh.sort_unstable(); let mut from_previous = vec![u32::MAX; self.used.len()]; let mut from_fresh = vec![u32::MAX; fresh.len()]; diff --git a/crates/commitscape-index/src/surviving.rs b/crates/commitscape-index/src/surviving.rs index b3d9f6e..6e59fbf 100644 --- a/crates/commitscape-index/src/surviving.rs +++ b/crates/commitscape-index/src/surviving.rs @@ -384,6 +384,7 @@ impl<'i> Survival<'i> { }, ) .map_err(OwnError::Source)?; + commitscape_map::release_free_memory(); if let Some(e) = failed { return Err(OwnError::Kept(e)); } diff --git a/crates/commitscape-map/src/lib.rs b/crates/commitscape-map/src/lib.rs index 90b95e7..ab55255 100644 --- a/crates/commitscape-map/src/lib.rs +++ b/crates/commitscape-map/src/lib.rs @@ -18,6 +18,15 @@ pub fn release_large_blocks() { } } +/// Gives the system back the free memory in the middle of the C allocator's heaps, which it otherwise keeps for the next allocation: call it after a step that freed much on several threads. Does nothing where the allocator is not glibc's. +pub fn release_free_memory() { + #[cfg(all(target_os = "linux", target_env = "gnu"))] + #[allow(unsafe_code)] + unsafe { + libc::malloc_trim(0); + } +} + /// Records read in place from a stretch of a file mapped copy-on-write: the pages are the file's until one is written, which then becomes the process's own and never reaches the file. pub struct Records { map: Option, From 859856ed497abec39caeb2b8ecfa718be51c8e4c Mon Sep 17 00:00:00 2001 From: Dev Talan <84081651+devchaudhary24k@users.noreply.github.com> Date: Tue, 27 Oct 2026 16:38:23 +0530 Subject: [PATCH 49/82] docs: memory measured after the second round ADR-0031 records that the C allocator gives memory back and that rename detection reads by size, with linux's numbers now: everyone's Surviving Lines from nothing 198 MB, 17,127 commits on 199 MB, cold without lines 248 MB, the engine service 80 MB after its first answer. docs/working.md describes `--lines-from` and a fork's line store, and the admission test checks the estimate against the 199 MB now measured. --- apps/builder/src/admission.test.ts | 2 +- apps/builder/src/admission.ts | 2 +- ...-are-read-in-place-and-standard-screens-are-stored.md | 7 ++++--- docs/working.md | 9 ++++++--- 4 files changed, 12 insertions(+), 8 deletions(-) diff --git a/apps/builder/src/admission.test.ts b/apps/builder/src/admission.test.ts index b3eae00..09a5b84 100644 --- a/apps/builder/src/admission.test.ts +++ b/apps/builder/src/admission.test.ts @@ -65,7 +65,7 @@ test("an estimate is above every peak measured on linux and react", () => { ["build", react, 38], ["cold", linux, 248], ["cold", react, 158], - ["surviving", linux, 245], + ["surviving", linux, 199], ["surviving", react, 121], ["screens", linux, 191], ["atlas", linux, 635], diff --git a/apps/builder/src/admission.ts b/apps/builder/src/admission.ts index a9dad70..f7fedb6 100644 --- a/apps/builder/src/admission.ts +++ b/apps/builder/src/admission.ts @@ -8,7 +8,7 @@ export type Sized = { commits: number; sizeKb: number }; const UNKNOWN_MB = 256; -/** About how many MB of memory an engine run takes at its peak, a little over what was measured on two threads (2026-10-27: linux, 1.5M commits, and facebook/react, 22k): a warm build 94–170 MB on linux and 9–38 on react, a cold one 248 and 158, everyone's Surviving Lines 245 and 121, the standard screens 191, the Atlas 635 on linux. A cold run knows no commit count yet, so it goes by the repository's size. */ +/** About how many MB of memory an engine run takes at its peak, a little over what was measured on two threads (2026-10-27: linux, 1.5M commits, and facebook/react, 22k): a warm build 94–170 MB on linux and 9–38 on react, a cold one 248 and 158, everyone's Surviving Lines 199 and 121, the standard screens 191, the Atlas 635 on linux. A cold run knows no commit count yet, so it goes by the repository's size. */ export function peakMb(kind: EngineRun, repo: Sized): number { const thousands = repo.commits / 1000; const sizeMb = repo.sizeKb / 1024; diff --git a/docs/adr/0031-the-repo-state-and-packs-are-read-in-place-and-standard-screens-are-stored.md b/docs/adr/0031-the-repo-state-and-packs-are-read-in-place-and-standard-screens-are-stored.md index da66cb9..b6feeb3 100644 --- a/docs/adr/0031-the-repo-state-and-packs-are-read-in-place-and-standard-screens-are-stored.md +++ b/docs/adr/0031-the-repo-state-and-packs-are-read-in-place-and-standard-screens-are-stored.md @@ -14,8 +14,9 @@ The owner's target is a Build and an engine service that fit in about 250 MB, id - **The Index's columns are kept beside the cache, laid out to be mapped.** Each cache generation has a column file (commits, changes, subjects, settled line marks) mapped copy-on-write by one small crate, the only code that maps memory. A warm Build maps it; a Build with new commits streams the old file and the new commits into the next one; the line pass counts only commits not settled and writes them back; a change in which files are left out masks only those files again. The file reads as absent until a save is on disk. - **A cold Build goes through files.** The walk reads 32,768 commits at a time; the Index builder appends what it gathers to files in the cache folder and lays the columns out into files it maps; the cache's blocks are encoded one at a time as they are written. -- **The Ownership of lines is a file read in place,** commits sorted by id, files by path, each file's owners as varint runs; a new one is written file by file to disk and laid out at the end. Carried-over files copy their runs. A blame walk holds 16 MB of head text. +- **The Ownership of lines is a file read in place,** commits sorted by id, files by path, each file's owners as varint runs; a new one is written file by file to disk and laid out at the end. Carried-over files copy their runs. A blame walk holds 16 MB of head text, and its rename detection asks git for a deleted file's size before reading it and keeps only the spans of those it reads. - **git's caches are small:** 1 to 8 MB per handle and thread. Speed is the same within noise, except a cold walk of linux (10% more wall time, the same CPU). +- **The C allocator gives memory back:** the CLI and the engine service have glibc map every block of 1 MB or more on its own and trim its heap past 1 MB, and the blame walk hands its freed memory back when it ends. glibc otherwise keeps raising the size it maps blocks at and keeps hundreds of MB a long run no longer uses. musl builds are left as they are. - **Packs are of format 3:** the bincode of everything but the long columns, then each column as zlib of its fixed records, compressed in R2 (3% larger than format 2). The engine service unpacks a pack once, streaming, into a page-aligned file on its volume and maps it; format 2 packs are still decoded. The engine service deploys before the Builder. - **Standard screens are stored per head.** After publishing a pack, the Builder runs `commitscape screens` in a process of its own under an engine slot and stores the stats and the overview, activity, people and top of the map of all, 1y and 90d under the Report's prefix. The Site sends those first and asks the engine service only for the rest. A test checks every stored screen is the engine's own answer. @@ -27,8 +28,8 @@ The owner's target is a Build and an engine service that fit in about 250 MB, id ## Consequences -- linux, two threads: warm Build 94 MB, a Build 17,127 commits on 211 MB, cold without lines 276 MB, everyone's Surviving Lines from nothing 442 MB in 20 minutes (was 1.6 GB in about an hour), the engine service 117 MB after its first answer with 52 MB per pack on its heap; react under 160 MB for everything. +- linux, two threads, anonymous memory at the peak: warm Build 94 MB, a Build 17,127 commits on 170 MB, cold without lines 248 MB, everyone's Surviving Lines from nothing 198 MB in 17 minutes (was 1.6 GB in about an hour), 17,127 commits on 199 MB, at the same head 148 MB; the engine service 80 MB after its first answer and 192 MB after the standard screens; react under 160 MB for everything. - The first Build of each repository after the upgrade writes its column file once (linux 13 s, 498 MB). - The engine service's volume holds packs unpacked, about 2.6 times their R2 size; `PACK_DISK_GB` counts them so. - A Report published before this release asks the engine service for its standard screens until its next Build. -- Still above 256 MB on linux: everyone's Surviving Lines (the blame walk's frontier) and the cold head pass (gix resolving 16 to 24 MB headers two at a time). +- Nothing the Builder runs on linux goes above 256 MB of anonymous memory. The engine service's Universe rows (asked only for a pack the Builder made no Atlas for) still take about 450 MB. diff --git a/docs/working.md b/docs/working.md index 5f4f829..ad545f4 100644 --- a/docs/working.md +++ b/docs/working.md @@ -120,8 +120,8 @@ to a repository the App is installed on, the nightly seeds and budget is kept and the count is queued again with twice the budget; a person asked for on the Site gets the same count for everyone. react: 1,997 people in 16.4 s from nothing, 0.3 s for a head 20 commits on; - linux: 31,000 people in 18 minutes from nothing, 5 minutes for a head - 17,000 commits on. + linux: 31,000 people in 17 minutes and 198 MB from nothing, 5 minutes + and 199 MB for a head 17,000 commits on. Every publish sends `pg_notify`, so the Site forgets the old pack key and warms the new pack in the engine service. If the full phase fails after the @@ -198,7 +198,10 @@ next run carries on where it stopped), `--events FILE` writes one JSON line per finished step with its start, end and counts, and `COMMITSCAPE_THREADS` caps the threads every step uses. `--cache-key KEY` names the cache by KEY instead of the clone's path, so the Build's two clones share one cache and -the history is walked once. `--after FILE --lineage N` writes only the +the history is walked once. `--lines-from FILE` starts a repository with no +line store from another's: the Builder passes a fork's parent's +(`facts.parent`, public repositories only) when that cache is on its disk, +so a fork counts only its own commits' lines. `--after FILE --lineage N` writes only the commits the frontier in FILE does not reach, and `--since MARK`, the mark the last loaded export left, narrows the earlier commits' rows to the Mainline that moved and the Lines Changed counted since. Beside the Index From f7921a8cd60b4042962c11a0f98450f6c25c16ec Mon Sep 17 00:00:00 2001 From: Dev Talan <84081651+devchaudhary24k@users.noreply.github.com> Date: Tue, 27 Oct 2026 17:10:49 +0530 Subject: [PATCH 50/82] fix: name stored screens by their pack A quiet Build that counts more lines at the same head publishes a new pack under the same Report, and stored its screens over the old ones under the Report's prefix. The Site kept those by the Report and gave them an ETag from it, so browsers kept getting 304s for the old answers. Screens are now stored under a prefix named by the pack, as the Atlas is, read through the Stored Index's pack and sent with the pack's ETag; they are deleted with the pack they belong to, as its Atlas now is too. Test: a pack published again at the same head under the same Report serves its own screens with a new ETag. --- apps/builder/src/atlas.ts | 1 + apps/builder/src/job.ts | 10 +++- apps/site/src/server/answers.test.ts | 23 +++++++-- apps/site/src/server/repos.ts | 70 ++++++++++++++++------------ packages/server/src/reports.ts | 11 +++++ 5 files changed, 80 insertions(+), 35 deletions(-) diff --git a/apps/builder/src/atlas.ts b/apps/builder/src/atlas.ts index 6d555e9..a61ea06 100644 --- a/apps/builder/src/atlas.ts +++ b/apps/builder/src/atlas.ts @@ -5,6 +5,7 @@ export async function replaceIndex(storage: Storage, b const loaded = await load(); if (before && before.id !== loaded.si) { await storage.deletePrefix(`atlas/${before.id}/`).catch(() => undefined); + await storage.deletePrefix(`screens/${before.id}/`).catch(() => undefined); if (before.pack) await storage.delete([before.pack]).catch(() => undefined); } return loaded; diff --git a/apps/builder/src/job.ts b/apps/builder/src/job.ts index 1878c46..29e88ab 100644 --- a/apps/builder/src/job.ts +++ b/apps/builder/src/job.ts @@ -1,6 +1,7 @@ import { readFile } from "node:fs/promises"; import { and, eq, sql } from "drizzle-orm"; import { + besidePack, BUILD_FORMAT, type createDb, liveIndex, @@ -11,6 +12,7 @@ import { randomId, reportPrefix, schema, + screensPrefix, sha256, type BuildJob, type Db, @@ -312,7 +314,7 @@ async function publishBuild(ctx: JobContext, phases: Phases, buildId: string, ma const prefix = same && named.reportKey ? named.reportKey : reportPrefix(named.id, made.phase === "full" ? buildId : `${buildId}-quick`); await phases .time(`screens ${made.phase}`, "screens", () => - storeScreens(ctx.run, storage, { bin: ctx.cfg.bin, pack: made.pack, dir: made.dir, prefix, env: ctx.cfg.threads ? { COMMITSCAPE_THREADS: String(ctx.cfg.threads) } : {}, timeoutMs: timeLimitOf(ctx.cfg) * 1000, nice: ctx.cfg.nice, commits: made.manifest.total }), + storeScreens(ctx.run, storage, { bin: ctx.cfg.bin, pack: made.pack, dir: made.dir, prefix: screensPrefix(si, pack), env: ctx.cfg.threads ? { COMMITSCAPE_THREADS: String(ctx.cfg.threads) } : {}, timeoutMs: timeLimitOf(ctx.cfg) * 1000, nice: ctx.cfg.nice, commits: made.manifest.total }), ) .catch((e: unknown) => ctx.log(`screens of ${named.id}: ${(e as Error).message}, so the engine service answers them`)); const { stats, people } = made.summary; @@ -360,10 +362,14 @@ async function publishBuild(ctx: JobContext, phases: Phases, buildId: string, ma }); if (!target) { await storage.delete([pack]).catch(() => undefined); + for (const beside of besidePack(si, pack)) await storage.deletePrefix(beside).catch(() => undefined); if (prefix !== named.reportKey) await storage.deletePrefix(`${prefix}/`).catch(() => undefined); return null; } - if (target.replaced && target.replaced !== pack) await storage.delete([target.replaced]).catch(() => undefined); + if (target.replaced && target.replaced !== pack) { + await storage.delete([target.replaced]).catch(() => undefined); + for (const beside of besidePack(si, target.replaced)) await storage.deletePrefix(beside).catch(() => undefined); + } if (target.current.reportKey && target.current.reportKey !== prefix) await storage.deletePrefix(`${target.current.reportKey}/`).catch(() => undefined); return { id: target.current.id, prefix, people, fresh: target.current.reportKey !== prefix }; } diff --git a/apps/site/src/server/answers.test.ts b/apps/site/src/server/answers.test.ts index 5060731..efd5b3a 100644 --- a/apps/site/src/server/answers.test.ts +++ b/apps/site/src/server/answers.test.ts @@ -2,7 +2,7 @@ import { brotliDecompressSync, gunzipSync, gzipSync } from "node:zlib"; import { eq } from "drizzle-orm"; import { describe, expect, test } from "vitest"; import { key, limited, OVERVIEW_TOP, topOf, type People, type Params } from "@commitscape/data"; -import { now, schema, seedIndex, sha256, storeEntries, storeReport, type SeedIndex } from "@commitscape/server"; +import { now, schema, screensPrefix, seedIndex, sha256, storeEntries, storeReport, type SeedIndex } from "@commitscape/server"; import { fakeEngine, packed, testDeps, viewer, type Asked } from "#/test/deps"; import { forgetPack, packOf, wholeDays } from "./answers"; import { NoPack } from "./engine-service"; @@ -70,8 +70,8 @@ describe("a Report's answers as plain JSON", () => { test("a Build stored with its Report are sent without asking the engine service, cut the same way and kept for good when pinned; other questions still ask it", async () => { const { deps, engine } = await stored(); await deps.db.insert(repositories).values({ id: "acme/stored", owner: "acme", name: "stored", githubId: 3, status: "ok", factsAt: now(), reportKey: "reports/gh/acme/stored/b2", reportAt: 900 }); - await packed(deps.db, await seedIndex(deps.db, "acme/stored", seed)); - await storeEntries(deps.storage, "reports/gh/acme/stored/b2", { [overview]: { window: "all", commits: 9 }, [key("/api/people", { window: "all" })]: people }); + const storedSi = await seedIndex(deps.db, "acme/stored", seed); + await storeEntries(deps.storage, screensPrefix(storedSi, await packed(deps.db, storedSi)), { [overview]: { window: "all", commits: 9 }, [key("/api/people", { window: "all" })]: people }); const sent = await reportAnswer(deps, viewer(), "acme", "stored", key("/api/overview", { window: "all", top: OVERVIEW_TOP }), 900); expect(sent.cacheControl).toBe("public, max-age=31536000, immutable"); expect(await brotliJson(sent)).toEqual({ window: "all", commits: 9 }); @@ -85,6 +85,23 @@ describe("a Report's answers as plain JSON", () => { expect(engine.asked.map((a) => a.body.path)).toEqual(["/api/overview", "/api/activity"]); }); + test("stored with a pack published again at the same head under the same Report are the new pack's, with a new ETag", async () => { + const { deps, engine } = await stored(); + await deps.db.insert(repositories).values({ id: "acme/again", owner: "acme", name: "again", githubId: 4, status: "ok", factsAt: now(), reportKey: "reports/gh/acme/again/b3", reportAt: 900 }); + const si = await seedIndex(deps.db, "acme/again", seed); + const first = await packed(deps.db, si, `packs/acme/${si}/head-b3-lines.pack`); + await storeEntries(deps.storage, screensPrefix(si, first), { [overview]: { window: "all", commits: 9, lines: 10 } }); + const before = await reportAnswer(deps, viewer(), "acme", "again", overview, null); + expect(await brotliJson(before)).toEqual({ window: "all", commits: 9, lines: 10 }); + const second = await packed(deps.db, si, `packs/acme/${si}/head-b4-lines.pack`); + await storeEntries(deps.storage, screensPrefix(si, second), { [overview]: { window: "all", commits: 9, lines: 25 } }); + const after = await reportAnswer(deps, viewer(), "acme", "again", overview, null, before.etag); + expect(after.etag).not.toBe(before.etag); + expect(await brotliJson(after)).toEqual({ window: "all", commits: 9, lines: 25 }); + expect(await reportEntry(deps, viewer(), "acme", "again", overview)).toEqual({ window: "all", commits: 9, lines: 25 }); + expect(engine.asked).toEqual([]); + }); + test("answer an ETag they gave with no body, whatever params the answer does not depend on, and another once the pack is another", async () => { const { deps, si, engine } = await stored(); const sent = await reportAnswer(deps, viewer(), "acme", "rocket", overview, 500); diff --git a/apps/site/src/server/repos.ts b/apps/site/src/server/repos.ts index 42a1b12..c62500b 100644 --- a/apps/site/src/server/repos.ts +++ b/apps/site/src/server/repos.ts @@ -11,6 +11,7 @@ import { PRIORITY, queueBuild, readEntry, + screensPrefix, readIndex, reportIndexOf, REPORT_FOR, @@ -337,12 +338,13 @@ const fromReport = (deps: Deps, reportKey: string, asked: ReturnType(); const UNSTORED_MAX = 50_000; -/** A standard screen a Build stored with the Report, when the question is one and it is there: read once per Report and question, and kept; a Report written before Builds stored them is asked once. */ -async function storedScreen(deps: Deps, reportKey: string | null, asked: ReturnType, browser = false): Promise { - if (!reportKey || !isStoredScreen(asked.path, asked.params)) return null; - const at = `${reportKey}#${keyOf(asked.path, withoutTop(asked.params))}`; +/** A standard screen a Build stored beside a pack, when the question is one and it is there: read once per pack and question, and kept; a pack it stored none for is asked once. */ +async function storedScreen(deps: Deps, si: number | null, pack: string, asked: ReturnType, browser = false): Promise { + if (si === null || !isStoredScreen(asked.path, asked.params)) return null; + const prefix = screensPrefix(si, pack); + const at = `${prefix}#${keyOf(asked.path, withoutTop(asked.params))}`; if (unstored.has(at)) return null; - const kept = await keptEntry(`${reportKey}#${asked.key}`, fromReport(deps, reportKey, asked), browser); + const kept = await keptEntry(`${prefix}#${asked.key}`, fromReport(deps, prefix, asked), browser); if (!kept) { if (unstored.size >= UNSTORED_MAX) unstored.clear(); unstored.add(at); @@ -369,15 +371,23 @@ export async function reportEntry(deps: Deps, viewer: Viewer, owner: string, nam const started = performance.now(); const row = await readable(deps, viewer, owner, name); const asked = questionOf(key); - const stored = await storedScreen(deps, row.reportKey, asked); - if (stored) { - answerTimed(asked.path, "stored", performance.now() - started); - return stored.value; - } - const found = await withPack(deps.db, row.indexId, (pack) => packedAnswer(deps, viewer, pack, asked), row.reportAt); + const found = await withPack( + deps.db, + row.indexId, + async (pack) => { + const stored = await storedScreen(deps, row.indexId, pack, asked); + return stored ? { stored, packed: null } : { stored: null, packed: await packedAnswer(deps, viewer, pack, asked) }; + }, + row.reportAt, + ); if (found) { - if (found.value === null) return null; - const value = await jsonOf(found.value); + const { stored, packed } = found.value; + if (stored) { + answerTimed(asked.path, "stored", performance.now() - started); + return stored.value; + } + if (packed === null) return null; + const value = await jsonOf(packed); answerTimed(asked.path, "engine", performance.now() - started); return value; } @@ -396,24 +406,24 @@ export async function reportAnswer(deps: Deps, viewer: Viewer, owner: string, na const pinned = at !== null && at === row.reportAt; const cacheControl = row.isPrivate ? "private, max-age=60" : pinned ? `public, max-age=${YEAR}, immutable` : "public, max-age=60"; const tagOf = (version: string) => `"${sha256(`${version}\n${asked.key}`).slice(0, 32)}"`; - if (row.reportKey && isStoredScreen(asked.path, asked.params)) { - const etag = tagOf(row.reportKey); - const stored = matches(seen, etag) ? null : await storedScreen(deps, row.reportKey, asked, true); - if (matches(seen, etag) || stored) { - answerTimed(asked.path, "stored", performance.now() - started); - return { packed: stored ? await packedOf(stored) : null, etag, cacheControl }; - } - } - const found = await withPack(deps.db, row.indexId, async (pack) => { - const etag = tagOf(pack); - if (matches(seen, etag)) return { packed: null, etag }; - const made = await packedAnswer(deps, viewer, pack, asked); - if (!made) throw new SiteError(404, NOT_IN_REPORT); - return { packed: made, etag }; - }, row.reportAt); + const found = await withPack( + deps.db, + row.indexId, + async (pack) => { + const etag = tagOf(pack); + if (matches(seen, etag)) return { packed: null, etag, from: "unchanged" as const }; + const stored = await storedScreen(deps, row.indexId, pack, asked, true); + if (stored) return { packed: await packedOf(stored), etag, from: "stored" as const }; + const made = await packedAnswer(deps, viewer, pack, asked); + if (!made) throw new SiteError(404, NOT_IN_REPORT); + return { packed: made, etag, from: "engine" as const }; + }, + row.reportAt, + ); if (found) { - answerTimed(asked.path, found.value.packed ? "engine" : "unchanged", performance.now() - started); - return { ...found.value, cacheControl }; + const { from, ...sent } = found.value; + answerTimed(asked.path, from, performance.now() - started); + return { ...sent, cacheControl }; } const etag = tagOf(row.reportKey); if (matches(seen, etag)) return { packed: null, etag, cacheControl }; diff --git a/packages/server/src/reports.ts b/packages/server/src/reports.ts index cbc99ef..69457cb 100644 --- a/packages/server/src/reports.ts +++ b/packages/server/src/reports.ts @@ -21,6 +21,17 @@ export type AtlasPart = "map" | "names"; export function atlasKey(si: number, pack: string, part: AtlasPart): string { return `atlas/${si}/${sha256(pack).slice(0, 16)}/${part}.bin.br`; } +/** Where the standard screens of a Stored Index's pack are kept: named by the pack, so a pack published again at the same head never serves the screens of the one before. */ +export function screensPrefix(si: number, pack: string): string { + return `screens/${si}/${sha256(pack).slice(0, 16)}`; +} + +/** Where everything kept beside a Stored Index's pack is, its Atlas and its screens, for deleting with the pack. */ +export function besidePack(si: number, pack: string): string[] { + const named = sha256(pack).slice(0, 16); + return [`atlas/${si}/${named}/`, `screens/${si}/${named}/`]; +} + const entryKey = (prefix: string, key: string) => `${prefix}/e/${sha256(key).slice(0, 32)}.json`; const gz = (value: unknown) => gzipSync(JSON.stringify(value)); From 2b219ca863722c6d278ce6542efbb122d165eda8 Mon Sep 17 00:00:00 2001 From: Dev Talan <84081651+devchaudhary24k@users.noreply.github.com> Date: Tue, 27 Oct 2026 17:18:11 +0530 Subject: [PATCH 51/82] fix(builder): no git upkeep in the middle of a Build Every clone and fetch ran with git's default `gc --auto`, so a kept linux clone could be repacked whole during any Build, outside the memory the Builder lets runs take. git's own upkeep is now off for every git the Builder runs (gc.auto=0, maintenance.auto=false), and tidy merges the small packs of a kept clone holding more than 16, as `git repack --geometric=2` would. git 2.39, which the Builder's image has, refuses that in a blobless clone, so the Builder picks the packs by git's rule and merges them with `git pack-objects --stdin-packs`: one thread, a 64 MB delta window, at the lowest priority, holding the clone's lock and let in by ENGINE_MEMORY_MB (any command that says its memory now waits in that line), a merged promisor pack staying one. Tests: pack choice; a full and a blobless clone of 7+ packs are merged to at most two, with the same objects and the same promised ones, and pass fsck; git 2.39 checked by hand in Debian bookworm (22 packs -> 2). --- apps/builder/src/admission.test.ts | 11 ++++ apps/builder/src/admission.ts | 4 +- apps/builder/src/builder.test.ts | 2 +- apps/builder/src/clone.ts | 2 + apps/builder/src/gitdata/exec.ts | 2 +- apps/builder/src/main.ts | 4 +- apps/builder/src/repack.test.ts | 70 +++++++++++++++++++++++++ apps/builder/src/repack.ts | 82 ++++++++++++++++++++++++++++++ docs/working.md | 7 +++ 9 files changed, 179 insertions(+), 5 deletions(-) create mode 100644 apps/builder/src/repack.test.ts create mode 100644 apps/builder/src/repack.ts diff --git a/apps/builder/src/admission.test.ts b/apps/builder/src/admission.test.ts index 09a5b84..119dc31 100644 --- a/apps/builder/src/admission.test.ts +++ b/apps/builder/src/admission.test.ts @@ -57,6 +57,17 @@ test("the Atlas waits in the same line as the engine, and a run that says nothin await Promise.all(runs); }); +test("any other command that says the memory it takes waits in the same line", async () => { + const g = gate(300); + const runs = [g.ask("commitscape", "build", 250), g.ask("git", "repack", 100), g.ask("git", "status")]; + await g.tick(); + expect([...g.order].sort()).toEqual(["start build", "start status"]); + await g.finish("build"); + expect(g.order.at(-1)).toBe("start repack"); + for (const name of ["repack", "status"]) await g.finish(name); + await Promise.all(runs); +}); + test("an estimate is above every peak measured on linux and react", () => { const linux = { commits: 1_501_892, sizeKb: 5_800_000 }; const react = { commits: 21_722, sizeKb: 1_100_000 }; diff --git a/apps/builder/src/admission.ts b/apps/builder/src/admission.ts index f7fedb6..45f2df3 100644 --- a/apps/builder/src/admission.ts +++ b/apps/builder/src/admission.ts @@ -23,7 +23,7 @@ export function peakMb(kind: EngineRun, repo: Sized): number { return Math.ceil(mb); } -/** A runner through which runs of the engine (`heavy` commands) start only while the memory they say they take (`memoryMb`, else 256) fits in `budgetMb` beside the runs already going, in the order they asked: a run larger than the budget waits until nothing else runs, then runs alone. Every other command (git, the network) runs at once. A run's time limit starts when it is let in. */ +/** A runner through which runs of the engine (`heavy` commands), and any other command that says the memory it takes, start only while that memory (`memoryMb`, else 256) fits in `budgetMb` beside the runs already going, in the order they asked: a run larger than the budget waits until nothing else runs, then runs alone. Every other command runs at once. A run's time limit starts when it is let in. */ export function admitting(runner: Runner, heavy: string[], budgetMb: number): Runner { const commands = new Set(heavy); let used = 0; @@ -40,7 +40,7 @@ export function admitting(runner: Runner, heavy: string[], budgetMb: number): Ru } }; return async (cmd: string, args: string[], env: NodeJS.ProcessEnv, timeoutMs: number, opts?: RunOptions) => { - if (!commands.has(cmd)) return runner(cmd, args, env, timeoutMs, opts); + if (!commands.has(cmd) && opts?.memoryMb === undefined) return runner(cmd, args, env, timeoutMs, opts); const need = Math.min(Math.max(1, opts?.memoryMb ?? UNKNOWN_MB), budgetMb); await new Promise((start) => { waiting.push({ need, start }); diff --git a/apps/builder/src/builder.test.ts b/apps/builder/src/builder.test.ts index d1944ae..f82e1c8 100644 --- a/apps/builder/src/builder.test.ts +++ b/apps/builder/src/builder.test.ts @@ -451,7 +451,7 @@ test("a Connected Repository is cloned with its token in git's environment only, expect(header).toMatch(/^GIT_CONFIG_KEY_\d$/); const value = clone?.env[header.replace("KEY", "VALUE")] ?? ""; expect(Buffer.from(value.replace("AUTHORIZATION: basic ", ""), "base64").toString()).toBe("x-access-token:ghs_abc"); - expect(clone?.env.GIT_CONFIG_COUNT).toBe("3"); + expect(clone?.env.GIT_CONFIG_COUNT).toBe("5"); expect(f.calls.every((c) => !c.args.join(" ").includes("ghs_abc"))).toBe(true); expect(builds(f.calls).at(-1)?.args.at(-1)).toBe(join(work, "private", "build-0001", "full")); expect(await readdir(join(work, "private"))).toEqual([]); diff --git a/apps/builder/src/clone.ts b/apps/builder/src/clone.ts index 545860c..5b6017d 100644 --- a/apps/builder/src/clone.ts +++ b/apps/builder/src/clone.ts @@ -12,6 +12,8 @@ export function gitEnv(token: string | null): NodeJS.ProcessEnv { const config: [string, string][] = [ ["fetch.writeCommitGraph", "true"], ["core.commitGraph", "true"], + ["gc.auto", "0"], + ["maintenance.auto", "false"], ]; if (token) config.push(["http.https://github.com/.extraheader", `AUTHORIZATION: basic ${Buffer.from(`x-access-token:${token}`).toString("base64")}`]); const env: NodeJS.ProcessEnv = { GIT_TERMINAL_PROMPT: "0", GIT_CONFIG_COUNT: String(config.length) }; diff --git a/apps/builder/src/gitdata/exec.ts b/apps/builder/src/gitdata/exec.ts index b7bb8e7..e93875e 100644 --- a/apps/builder/src/gitdata/exec.ts +++ b/apps/builder/src/gitdata/exec.ts @@ -16,7 +16,7 @@ export class Late extends Error { } } -const ARGS = ["--no-pager", "-c", "core.quotepath=off", "-c", "gc.auto=0", "-c", "log.showSignature=false"]; +const ARGS = ["--no-pager", "-c", "core.quotepath=off", "-c", "gc.auto=0", "-c", "maintenance.auto=false", "-c", "log.showSignature=false"]; const left = (g: Git, ms?: number) => Math.max(0, Math.min(g.deadline - Date.now(), ms ?? Infinity)); diff --git a/apps/builder/src/main.ts b/apps/builder/src/main.ts index 85f3560..a86c9c3 100644 --- a/apps/builder/src/main.ts +++ b/apps/builder/src/main.ts @@ -30,6 +30,7 @@ import { runJob } from "./job"; import { admitting } from "./admission"; import { jobLimitOf, run } from "./run"; import { pullsToken, readPulls } from "./pulls"; +import { repackClones } from "./repack"; import { budgetOf, runSurvival } from "./survival"; import { queueRebuilds } from "./rebuild"; import { forgetStates, saveState as saveRepoState, stateKeys } from "./state"; @@ -104,6 +105,7 @@ async function work() { const lane = await laneOf(db, cfg, job.buildId); await sendBuild(lane?.queue ?? BUILD_QUEUE, { queuedAt: Date.now(), ...job }, priority, startAfter); }; + const engine = admitting(run, [cfg.bin, cfg.atlas.command], cfg.engineMemoryMb); let forgotAt = 0; const tidy = async () => { for (const p of await sweep(db, cfg).catch(() => [])) log(`swept ${p}`); @@ -112,6 +114,7 @@ async function work() { const caches = await inUse(db, cfg, cacheDir).catch(() => null); const days = cfg.state ? cfg.state.diskDays * 86_400_000 : undefined; if (caches) for (const p of await prune(cfg.work, cfg.cacheGb * 1024 ** 3, caches, "caches", days)) log(`pruned ${p}`); + for (const p of await repackClones(engine, cfg.work, cfg.cloneLimit * 1000).catch(() => [])) log(`repacked ${p}`); if (cfg.state && Date.now() - forgotAt > 86_400_000) { forgotAt = Date.now(); const gone = await forgetStates({ storage, db }, cfg.state.keepDays).catch((e: unknown) => (log(`states not forgotten: ${(e as Error).message}`), [])); @@ -127,7 +130,6 @@ async function work() { const tidyTimed = timed("builder-tidy", TIDY_MINUTES, tidy); const tier = cfg.state ? { storage, keys: stateKeys(cfg.state.secret), db, log } : null; const saveState = tier ? (repoId: string, root: string) => saveRepoState(tier, repoId, root) : undefined; - const engine = admitting(run, [cfg.bin, cfg.atlas.command], cfg.engineMemoryMb); const ctx = { db, pool, storage, cfg, app, run: engine, github, tokenSecret: env.TOKEN_SECRET, log, telemetry, queuePulls, queueCounts, queueBuild, ...(saveState ? { saveState } : {}) }; const building = (queue: string, job: { id: string; data: BuildJob }) => inQueueSpan(job, queue, () => runJob(job.data.buildId, ctx, job.data.attempt ?? 1, { ...(job.data.userId ? { userId: job.data.userId } : {}), ...(job.data.more ? { more: job.data.more } : {}) })); diff --git a/apps/builder/src/repack.test.ts b/apps/builder/src/repack.test.ts new file mode 100644 index 0000000..fa000cb --- /dev/null +++ b/apps/builder/src/repack.test.ts @@ -0,0 +1,70 @@ +import { mkdtempSync, readdirSync } from "node:fs"; +import { tmpdir } from "node:os"; +import { join } from "node:path"; +import { expect, test } from "vitest"; +import { ensureClone, gitEnv } from "./clone"; +import { repo } from "./gitdata/fixture"; +import { repackClones, smallPacks } from "./repack"; +import { run, type RunOptions, type Runner } from "./run"; + +const upkeepOff = gitEnv(null); +const n = Number(upkeepOff.GIT_CONFIG_COUNT); +const env = { + ...upkeepOff, + GIT_CONFIG_GLOBAL: "/dev/null", + GIT_CONFIG_SYSTEM: "/dev/null", + GIT_CONFIG_COUNT: String(n + 2), + [`GIT_CONFIG_KEY_${n}`]: "fetch.unpackLimit", + [`GIT_CONFIG_VALUE_${n}`]: "1", + [`GIT_CONFIG_KEY_${n + 1}`]: "protocol.file.allow", + [`GIT_CONFIG_VALUE_${n + 1}`]: "always", +}; +const files = (dir: string, kind: string) => readdirSync(join(dir, ".git", "objects", "pack")).filter((f) => f.endsWith(kind)); + +test("the smallest packs merge until one is twice the size of all before it", () => { + const sizes = (packs: { bytes: number }[]) => packs.map((p) => p.bytes); + expect(sizes(smallPacks([{ bytes: 1000 }, { bytes: 1 }, { bytes: 2 }, { bytes: 3 }, { bytes: 50 }]))).toEqual([1, 2, 3]); + expect(sizes(smallPacks([{ bytes: 1000 }, { bytes: 5 }]))).toEqual([]); + expect(sizes(smallPacks([{ bytes: 4 }, { bytes: 5 }, { bytes: 6 }]))).toEqual([4, 5, 6]); +}); + +test("a kept clone with many packs, whole or blobless, has its small packs merged through the memory gate, keeps every object it had and still lacks the ones it was promised", async () => { + const r = repo(); + r.sh(r.origin, "config", "uploadpack.allowFilter", "true"); + r.commit({ "a.rs": "0\n".repeat(400) }, "first"); + const work = mkdtempSync(join(tmpdir(), "work-")); + const full = join(work, "repos", "acme", "rocket", "full"); + const lean = join(work, "repos", "acme", "rocket", "lean"); + const url = `file://${r.origin}`; + const clones = () => Promise.all([ensureClone(run, { url, dir: full, blobless: false, env, timeoutMs: 60_000 }), ensureClone(run, { url, dir: lean, blobless: true, checkout: false, env, timeoutMs: 60_000 })]); + await clones(); + for (let i = 1; i <= 6; i++) { + r.commit({ "a.rs": `${i}\n`.repeat(400 + i), [`f${i}.rs`]: `${i}\n` }, `change ${i}`, "Ada", i); + await clones(); + } + const objects = (dir: string) => r.sh(dir, "rev-list", "--objects", "--all", "--missing=print").trim().split("\n").filter(Boolean).sort(); + const before = { full: objects(full), lean: objects(lean) }; + expect(before.lean.some((l) => l.startsWith("?"))).toBe(true); + expect(files(full, ".pack").length).toBeGreaterThan(4); + const asked: (RunOptions | undefined)[] = []; + const gate: Runner = (cmd, args, e, t, opts) => { + asked.push(opts); + return run(cmd, args, e, t, opts); + }; + expect((await repackClones(gate, work, 60_000, 4)).sort()).toEqual([full, lean].sort()); + expect(asked.every((o) => (o?.memoryMb ?? 0) > 0)).toBe(true); + expect(files(full, ".pack").length).toBeLessThanOrEqual(2); + expect(files(lean, ".pack").length).toBeLessThanOrEqual(2); + expect(files(lean, ".promisor").length).toBe(files(lean, ".pack").length); + expect(objects(full)).toEqual(before.full); + expect(objects(lean)).toEqual(before.lean); + r.sh(full, "fsck", "--connectivity-only"); + r.sh(lean, "fsck", "--connectivity-only"); + expect(await repackClones(gate, work, 60_000, 4)).toEqual([]); +}); + +test("every clone and fetch runs with git's own upkeep off", () => { + const e = gitEnv("t"); + const config = Object.fromEntries(Array.from({ length: Number(e.GIT_CONFIG_COUNT) }, (_, i) => [e[`GIT_CONFIG_KEY_${i}`], e[`GIT_CONFIG_VALUE_${i}`]])); + expect(config).toMatchObject({ "gc.auto": "0", "maintenance.auto": "false" }); +}); diff --git a/apps/builder/src/repack.ts b/apps/builder/src/repack.ts new file mode 100644 index 0000000..9a8d221 --- /dev/null +++ b/apps/builder/src/repack.ts @@ -0,0 +1,82 @@ +import { existsSync } from "node:fs"; +import { readdir, rm, stat, writeFile } from "node:fs/promises"; +import { join } from "node:path"; +import { locked } from "./clone"; +import type { Runner } from "./run"; + +const MOST_PACKS = 16; +const KINDS = [".idx", ".pack", ".rev", ".bitmap", ".promisor"]; + +type Pack = { name: string; bytes: number; promisor: boolean }; + +/** The packs a geometric repack merges, as git picks them: walking down from the largest while each pack is at least twice the next, every pack below the first that is not, then any larger pack under twice all of those. None when fewer than two would merge. */ +export function smallPacks

(packs: P[]): P[] { + const sorted = [...packs].sort((a, b) => a.bytes - b.bytes); + let split = sorted.length - 1; + while (split > 0 && (sorted[split]?.bytes ?? 0) >= 2 * (sorted[split - 1]?.bytes ?? 0)) split--; + if (split > 0) split++; + let total = sorted.slice(0, split).reduce((sum, p) => sum + p.bytes, 0); + while (split < sorted.length && (sorted[split]?.bytes ?? 0) < 2 * total) total += sorted[split++]?.bytes ?? 0; + return split >= 2 ? sorted.slice(0, split) : []; +} + +async function packsOf(dir: string): Promise { + const names = await readdir(dir).catch(() => [] as string[]); + const packs: Pack[] = []; + for (const file of names) { + if (!file.endsWith(".pack")) continue; + const name = file.slice(0, -".pack".length); + if (names.includes(`${name}.keep`) || !names.includes(`${name}.idx`)) continue; + packs.push({ name, bytes: (await stat(join(dir, file))).size, promisor: names.includes(`${name}.promisor`) }); + } + return packs; +} + +async function keptClones(work: string): Promise { + const repos = join(work, "repos"); + const found: string[] = []; + for (const owner of await readdir(repos).catch(() => [] as string[])) { + for (const name of await readdir(join(repos, owner)).catch(() => [] as string[])) { + for (const kind of ["full", "lean"]) { + const dir = join(repos, owner, name, kind); + if (existsSync(join(dir, ".git", "objects", "pack"))) found.push(dir); + } + } + } + return found; +} + +/** Merges a clone's small packs into one as `git repack --geometric=2 -d` would, which git 2.39 refuses in a blobless clone: one thread and a bounded delta window, let in by `run` with the memory it takes, a pack holding promised objects staying a promisor pack. Says whether it merged any. */ +export async function repackClone(run: Runner, dir: string, timeoutMs: number): Promise { + const packDir = join(dir, ".git", "objects", "pack"); + const packs = await packsOf(packDir); + const merged = smallPacks(packs); + if (merged.length === 0) return false; + const names = new Set(merged.map((p) => p.name)); + const input = packs.map((p) => (names.has(p.name) ? `${p.name}.pack` : `^${p.name}.pack`)).join("\n"); + const mergedMb = merged.reduce((sum, p) => sum + p.bytes, 0) / 2 ** 20; + const ran = await run("git", ["pack-objects", "--stdin-packs", "--window-memory=64m", "--threads=1", "-q", join(packDir, "pack")], { GIT_DIR: join(dir, ".git") }, timeoutMs, { + input: `${input}\n`, + memoryMb: Math.ceil(96 + 2 * mergedMb), + nice: 19, + }); + const made = /^[0-9a-f]{40,64}$/m.exec(ran.stdout ?? "")?.[0]; + if (ran.code !== 0 || !made) return false; + if (merged.some((p) => p.promisor)) await writeFile(join(packDir, `pack-${made}.promisor`), ""); + for (const p of merged) { + if (p.name === `pack-${made}`) continue; + for (const kind of KINDS) await rm(join(packDir, `${p.name}${kind}`), { force: true }); + } + await rm(join(packDir, "multi-pack-index"), { force: true }); + return true; +} + +/** Repacks every kept clone holding more than `most` packs, each while holding its lock: the Builder turns git's own upkeep off, so this is the only time a clone is repacked. Returns the clones it repacked. */ +export async function repackClones(run: Runner, work: string, timeoutMs: number, most = MOST_PACKS): Promise { + const done: string[] = []; + for (const dir of await keptClones(work)) { + if ((await packsOf(join(dir, ".git", "objects", "pack"))).length <= most) continue; + if (await locked(dir, () => repackClone(run, dir, timeoutMs))) done.push(dir); + } + return done; +} diff --git a/docs/working.md b/docs/working.md index ad545f4..a0affb6 100644 --- a/docs/working.md +++ b/docs/working.md @@ -66,6 +66,13 @@ to a repository the App is installed on, the nightly seeds and blame walks. A retry reads the full clone. linux, 19 days behind: 36 MB of commits and trees and 105 MB of file versions, against 214 MB fetched in full; the kept clone is 2.4 GB instead of 6.6 GB. + git's own upkeep is off for every git the Builder runs (`gc.auto=0`, + `maintenance.auto=false`), so no fetch repacks a clone in the middle of + a Build. Instead tidy merges the small packs of any kept clone holding + more than 16 into one, as `git repack --geometric=2` would (git 2.39 + refuses that in a blobless clone): one thread, a 64 MB delta window, + holding the clone's lock and let in by `ENGINE_MEMORY_MB`, the largest + pack never rewritten. 3. **Finds logins.** `commitscape signatures` lists each author address with its newest commit. A noreply address gives the login; for the others the Builder asks GitHub's GraphQL API who made those commits, a hundred to a From b7704604f7375838eb00b8f92f42269d95036897 Mon Sep 17 00:00:00 2001 From: Dev Talan <84081651+devchaudhary24k@users.noreply.github.com> Date: Tue, 27 Oct 2026 17:29:32 +0530 Subject: [PATCH 52/82] fix: one hold per repository, from the Builder down to the cache A count of Surviving Lines read a repository's clone holding only its cache's lock while a Build fetched and reset that clone holding only the clone's, and a lean Build deleted the full clone holding nothing. A Build, a count and a repack of a clone now each hold the repository (its kept clones and its cache) from start to end, taking their share of ENGINE_MEMORY_MB only inside it. A fork's first Build copies its parent's line store while holding the parent. A count is asked for the Report's head, recorded at publish as repositories.report_head (migration 0040): `surviving --head` stops with exit code 3 when the clone is at another, a count that comes back for another head is not recorded, and one that waited while a Build published another Report counts nothing. commitscape holds its cache's index.load lock from loading until it exits, as it rewrites mapped column files in place; within a process a second load of the same cache shares it. A Builder holds a Postgres advisory lock while it works, and a second one stops at once. Tests: a State save waits for the Build holding the repository; a count waits for another holder, is asked for the Report's head, records nothing on exit 3, on another head or after a new Report; a fork's seed is the parent's store copied; `surviving --head` exits 3; a second process waits on a held cache (fails without the held lock); only one Builder holds the lock (Postgres). --- DEPLOY.md | 8 +- apps/builder/src/builder.test.ts | 18 +- apps/builder/src/disk.ts | 28 +- apps/builder/src/job.ts | 1 + apps/builder/src/main.ts | 9 + apps/builder/src/repack.ts | 6 +- apps/builder/src/run.ts | 193 +- apps/builder/src/survival.test.ts | 47 +- apps/builder/src/survival.ts | 78 +- crates/commitscape-index/src/cache/mod.rs | 40 +- crates/commitscape/src/main.rs | 6 +- crates/commitscape/src/surviving.rs | 35 + crates/commitscape/tests/surviving.rs | 69 + docs/working.md | 18 +- packages/server/drizzle/0040_noisy_logan.sql | 1 + .../server/drizzle/meta/0040_snapshot.json | 3414 +++++++++++++++++ packages/server/drizzle/meta/_journal.json | 7 + packages/server/src/db/client.ts | 17 + packages/server/src/db/schema.ts | 1 + packages/server/src/integration.test.ts | 13 +- 20 files changed, 3848 insertions(+), 161 deletions(-) create mode 100644 packages/server/drizzle/0040_noisy_logan.sql create mode 100644 packages/server/drizzle/meta/0040_snapshot.json diff --git a/DEPLOY.md b/DEPLOY.md index 7d71261..8af859f 100644 --- a/DEPLOY.md +++ b/DEPLOY.md @@ -161,6 +161,10 @@ one): | Provider | Docker, image `ghcr.io/pixelactstudio/commitscape-builder:latest` | | Registry | None: the image is public | +Run one Builder per database: a second one stops at once (a Postgres +advisory lock), so deploy it stop-first, never with an overlapping +update, and give it one replica. + In Advanced, Volumes, add a volume named `commitscape-builder-work` with mount path `/work`. It keeps clones and the engine's caches between Builds, so the next Build of a repository only fetches and reads what is new. A @@ -497,7 +501,9 @@ this order: it decodes as before, the new ones it unpacks once on its volume and reads in place. It adds `/v1/commits/search` and matches words in `/v1/commits/under`. -2. Deploy the Builder. Its migrations add `repositories.checked_at`, the +2. Deploy the Builder, stopping the old one first: a Builder that finds + another running against the database stops. Its migrations add + `repositories.checked_at`, `repositories.report_head`, the `repo_states` table and `stored_indexes.build_format`. It no longer reads `ENGINE_SLOTS`, which can go: `ENGINE_MEMORY_MB` (1200) takes its place, and every run of the engine, counts of Surviving Lines too, waits diff --git a/apps/builder/src/builder.test.ts b/apps/builder/src/builder.test.ts index f82e1c8..31699aa 100644 --- a/apps/builder/src/builder.test.ts +++ b/apps/builder/src/builder.test.ts @@ -7,7 +7,7 @@ import { expect, test } from "vitest"; import { readManifest, type LiveIndex, type Loaded } from "@commitscape/server"; import { ensureClone, failure, gitEnv } from "./clone"; import type { Config } from "./config"; -import { cacheDir, cacheFor, holdingCache, prune, repoDir } from "./disk"; +import { cacheDir, cacheFor, holdingRepo, prune, repoDir, scratchDir } from "./disk"; import { readEvents } from "./engine"; import { flagOf, writeBuilt, type FakeBuild } from "./fake"; import { build, BUILD_ATTEMPTS, cloneLimitOf, run, timeLimitOf, type BuildTarget, type Deps, type Made, type Ran, type RunOptions } from "./run"; @@ -124,7 +124,7 @@ test("a Build brings its State back before the engine first runs and keeps it af } }); -test("a State is saved or brought back only while no engine run reads or writes its cache, from this job or another", async () => { +test("a State is saved or brought back only while nothing else holds its repository, from this job or another", async () => { const work = await mkdtemp(join(tmpdir(), "builder-")); let busy = 0; const seen: number[] = []; @@ -142,10 +142,10 @@ test("a State is saved or brought back only while no engine run reads or writes return { uploaded: 0, sent: 0, bytes: 0 }; }; f.deps.state = { restore: async () => ({ restored: false, bytes: 0 }), save: holdSave }; - const root = cacheDir(cfg(work), "acme", "rocket"); + const home = repoDir(cfg(work), "acme", "rocket"); const building = build(req(), cfg(work), f.deps); await pause(20); - const elsewhere = [holdingCache(root, holdSave), pause(60).then(() => holdingCache(root, holdSave))]; + const elsewhere = [holdingRepo(home, holdSave), pause(60).then(() => holdingRepo(home, holdSave))]; await Promise.all([building, ...elsewhere]); expect(builds(f.calls)).toHaveLength(2); expect(seen).toHaveLength(6); @@ -158,9 +158,15 @@ test("a fork's count of lines starts from the line store its parent's cache hold await mkdir(parent, { recursive: true }); await writeFile(join(parent, "lines"), "commitscape lines 1\n"); const seeded = (calls: Call[]) => builds(calls).map((c) => flagOf(c.args, "--lines-from") ?? null); - const fork = fake(); + const copied: string[] = []; + const fork = fake(async (c) => { + const from = flagOf(c.args, "--lines-from"); + if (from) copied.push(await readFile(from, "utf8")); + return ok; + }); await build(req({ forkOf: "upstream/rocket" }), cfg(work), fork.deps); - expect(seeded(fork.calls)).toEqual([null, join(parent, "lines")]); + expect(seeded(fork.calls)).toEqual([null, join(scratchDir(cfg(work), "build-0001"), "lines-from")]); + expect(copied).toEqual(["commitscape lines 1\n"]); for (const forkOf of ["upstream/missing", "../caches/x", null]) { const other = fake(); await build(req({ forkOf }), cfg(work), other.deps); diff --git a/apps/builder/src/disk.ts b/apps/builder/src/disk.ts index a203c25..fde2b27 100644 --- a/apps/builder/src/disk.ts +++ b/apps/builder/src/disk.ts @@ -1,5 +1,5 @@ import { existsSync } from "node:fs"; -import { mkdir, readdir, readFile, rename, rm, stat, utimes, writeFile } from "node:fs/promises"; +import { copyFile, mkdir, readdir, readFile, rename, rm, stat, utimes, writeFile } from "node:fs/promises"; import { dirname, join } from "node:path"; import { and, eq, gt, inArray, or } from "drizzle-orm"; import { now, schema, type Db } from "@commitscape/server"; @@ -34,21 +34,25 @@ export async function cacheFor(cfg: Config, repo: { isPrivate: boolean; owner: s return dir; } -/** The line store a public repository's kept cache holds, such as a fork's parent's, for a fork's first count of lines to start from; null when there is none on this disk. */ -export async function lineStoreOf(cfg: Config, repo: string): Promise { +/** A copy at `into` of the line store a public repository's kept cache holds, such as a fork's parent's, for a fork's first count of lines to start from, made while holding that repository; null when there is none on this disk. */ +export async function lineStoreOf(cfg: Config, repo: string, into: string): Promise { const [owner = "", name = "", ...rest] = repo.split("/"); if (rest.length > 0 || !REPO_PART.test(owner) || !REPO_PART.test(name) || name === "." || name === "..") return null; - const root = cacheDir(cfg, owner, name); - for (const entry of await readdir(root, { withFileTypes: true }).catch(() => [])) { - const lines = join(root, entry.name, "lines"); - if (entry.isDirectory() && existsSync(lines)) return lines; - } - return null; + return holdingRepo(repoDir(cfg, owner, name), async () => { + const root = cacheDir(cfg, owner, name); + for (const entry of await readdir(root, { withFileTypes: true }).catch(() => [])) { + const lines = join(root, entry.name, "lines"); + if (!entry.isDirectory() || !existsSync(lines)) continue; + await copyFile(lines, into); + return into; + } + return null; + }); } -/** Runs `fn` holding a cache folder: an engine run reading or writing it, and its State being saved or brought back, never overlap. Take it before an engine slot, never while holding one. */ -export function holdingCache(root: string, fn: () => Promise): Promise { - return locked(`cache:${root}`, fn); +/** Runs `fn` holding a repository, named by its folder: its kept clones and its cache. A Build, a count of Surviving Lines and a repack of one of its clones never overlap, and each waits for the memory a run takes only while holding it, never the other way round. */ +export function holdingRepo(home: string, fn: () => Promise): Promise { + return locked(`repo:${home}`, fn); } /** Where a private repository's clone and cache live while one job uses them. */ diff --git a/apps/builder/src/job.ts b/apps/builder/src/job.ts index 29e88ab..1735236 100644 --- a/apps/builder/src/job.ts +++ b/apps/builder/src/job.ts @@ -332,6 +332,7 @@ async function publishBuild(ctx: JobContext, phases: Phases, buildId: string, ma .update(repositories) .set({ reportKey: prefix, + reportHead: made.manifest.head ?? null, reportAt: now(), reportBytes: body.length, reportLines: lines, diff --git a/apps/builder/src/main.ts b/apps/builder/src/main.ts index a86c9c3..9c2f5ec 100644 --- a/apps/builder/src/main.ts +++ b/apps/builder/src/main.ts @@ -7,6 +7,7 @@ import { buildKey, cleanup, createDb, + holdBuilderLock, PRIORITY, PULLS_QUEUE, reapBuilds, @@ -82,6 +83,14 @@ async function laneOf(db: Db, config: Config, buildId: string): Promise<{ queue: } async function work() { + const one = await holdBuilderLock(env.DATABASE_URL, (e) => { + log(`the connection holding the Builder's lock was lost (${e.message}), so this Builder stops`); + process.exit(1); + }); + if (!one.held) { + log("another Builder is running against this database, so this one stops"); + process.exit(1); + } await runMigrations(env.DATABASE_URL, env.MIGRATIONS_DIR); const { db, pool } = createDb(env.DATABASE_URL, cfg.concurrency + cfg.largeConcurrency + 3); const boss = await startQueue(env.DATABASE_URL, { worker: true, expireInSeconds: Math.min(LONGEST_JOB_SECONDS, jobLimitOf(cfg, 1)) }); diff --git a/apps/builder/src/repack.ts b/apps/builder/src/repack.ts index 9a8d221..cda745e 100644 --- a/apps/builder/src/repack.ts +++ b/apps/builder/src/repack.ts @@ -1,7 +1,7 @@ import { existsSync } from "node:fs"; import { readdir, rm, stat, writeFile } from "node:fs/promises"; -import { join } from "node:path"; -import { locked } from "./clone"; +import { dirname, join } from "node:path"; +import { holdingRepo } from "./disk"; import type { Runner } from "./run"; const MOST_PACKS = 16; @@ -76,7 +76,7 @@ export async function repackClones(run: Runner, work: string, timeoutMs: number, const done: string[] = []; for (const dir of await keptClones(work)) { if ((await packsOf(join(dir, ".git", "objects", "pack"))).length <= most) continue; - if (await locked(dir, () => repackClone(run, dir, timeoutMs))) done.push(dir); + if (await holdingRepo(dirname(dir), () => repackClone(run, dir, timeoutMs))) done.push(dir); } return done; } diff --git a/apps/builder/src/run.ts b/apps/builder/src/run.ts index 9ac65a0..749ad19 100644 --- a/apps/builder/src/run.ts +++ b/apps/builder/src/run.ts @@ -7,9 +7,9 @@ import type { BuildFailure, BuildStep } from "@commitscape/data"; import { appendable, type LiveIndex, type Loaded } from "@commitscape/server"; import { readSignatures, writeAccountsFile, type Signature } from "./accounts"; import { peakMb } from "./admission"; -import { cloneUrl, ensureClone, gitEnv, locked, missingIn, tipsOf, type Cloned } from "./clone"; +import { cloneUrl, ensureClone, gitEnv, missingIn, tipsOf, type Cloned } from "./clone"; import type { Config } from "./config"; -import { cacheFor, holdingCache, lineStoreOf, privateDir, repoDir, scratchDir } from "./disk"; +import { cacheFor, holdingRepo, lineStoreOf, privateDir, repoDir, scratchDir } from "./disk"; import { readBuilt, readEvents, type Built } from "./engine"; import { prefetch } from "./lean"; import { hasCache } from "./state"; @@ -177,13 +177,11 @@ export async function build(req: BuildTarget, cfg: Config, deps: Deps): Promise< const env = gitEnv(req.token); const engineEnv: NodeJS.ProcessEnv = { ...env, ...(cfg.threads ? { COMMITSCAPE_THREADS: String(cfg.threads) } : {}) }; const url = cloneUrl(cfg, req.owner, req.name); - const cacheRoot = await cacheFor(cfg, { isPrivate: !!req.private, owner: req.owner, name: req.name, home }); - const cache = ["--cache-dir", cacheRoot, "--cache-key", req.repo]; - const cached: typeof deps.run = (cmd, args, env, timeoutMs, opts) => holdingCache(cacheRoot, () => deps.run(cmd, args, env, timeoutMs, opts)); + let cacheRoot = ""; + const cache = () => ["--cache-dir", cacheRoot, "--cache-key", req.repo]; const state = req.private ? undefined : deps.state; let restoring: Promise = Promise.resolve(); - const warm = existsSync(join(full, ".git")); - phases.kind = warm ? "warm" : "cold"; + let warm = false; const seconds = () => Math.round((Date.now() - started) / 100) / 10; let resumable = false; let quickMade: Made | null = null; @@ -199,9 +197,9 @@ export async function build(req: BuildTarget, cfg: Config, deps: Deps): Promise< const before = await deps.index.live(); const kind = (await hasCache(cacheRoot)) ? "build" : "cold"; const memoryMb = peakMb(kind, { commits: before?.commits ?? 0, sizeKb: req.sizeKb }); - const args = ["build", ...(phase === "quick" ? ["--no-lines"] : ["--lines-budget", String(linesBudgetOf(cfg, binLimit, !!req.more))]), "--offline", "--max-changeset-size", String(cfg.bulkFiles), ...cache, "--events", events, "--out", out]; + const args = ["build", ...(phase === "quick" ? ["--no-lines"] : ["--lines-budget", String(linesBudgetOf(cfg, binLimit, !!req.more))]), "--offline", "--max-changeset-size", String(cfg.bulkFiles), ...cache(), "--events", events, "--out", out]; if (accounts) args.push("--accounts", accounts); - const seed = phase === "full" && req.forkOf ? await lineStoreOf(cfg, req.forkOf) : null; + const seed = phase === "full" && req.forkOf ? await lineStoreOf(cfg, req.forkOf, join(scratch, "lines-from")) : null; if (seed) args.push("--lines-from", seed); if (appendable(before)) { const frontier = join(scratch, `${phase}.frontier`); @@ -211,7 +209,7 @@ export async function build(req: BuildTarget, cfg: Config, deps: Deps): Promise< args.push("--", dir); const t = Date.now(); const ran = await phases.time(`build ${phase}`, "engine", async () => { - const done = await cached(cfg.bin, args, engineEnv, binLimit * 1000, { nice: cfg.nice, memoryMb }); + const done = await deps.run(cfg.bin, args, engineEnv, binLimit * 1000, { nice: cfg.nice, memoryMb }); engineSpans(await readEvents(events)); return done; }); @@ -235,7 +233,7 @@ export async function build(req: BuildTarget, cfg: Config, deps: Deps): Promise< const events = join(scratch, "signatures.events"); const signatures = await phases.time("signatures", "engine", async () => { const sized = { commits: (await deps.index.live())?.commits ?? 0, sizeKb: req.sizeKb }; - const found = await readSignatures(cached, { bin: cfg.bin, dir, scratch, cache, env: engineEnv, timeoutMs: binLimit * 1000, nice: cfg.nice, memoryMb: peakMb("signatures", sized), events, ...(deps.log ? { log: deps.log } : {}) }); + const found = await readSignatures(deps.run, { bin: cfg.bin, dir, scratch, cache: cache(), env: engineEnv, timeoutMs: binLimit * 1000, nice: cfg.nice, memoryMb: peakMb("signatures", sized), events, ...(deps.log ? { log: deps.log } : {}) }); engineSpans(await readEvents(events)); return found; }); @@ -256,7 +254,7 @@ export async function build(req: BuildTarget, cfg: Config, deps: Deps): Promise< deps.log?.(`clone of ${req.owner}/${req.name}: blobless, ${fetched} file versions fetched for this Build`); return c; }; - const fullClone = () => locked(full, () => (lean ? leanClone() : ensureClone(deps.run, { url, dir: full, blobless: false, env, timeoutMs: cloneLimit }))); + const fullClone = () => (lean ? leanClone() : ensureClone(deps.run, { url, dir: full, blobless: false, env, timeoutMs: cloneLimit })); const caughtUp = async () => { const missing = await missingIn(deps.run, full, await tipsOf(deps.run, quick, env, CHECK_MS), env, CHECK_MS); @@ -267,94 +265,99 @@ export async function build(req: BuildTarget, cfg: Config, deps: Deps): Promise< const guarded = (fn: () => Promise): Promise => fn().catch((e: unknown) => ({ ok: false, reason: "error", detail: (e as Error).message })); - try { - await rm(scratch, { recursive: true, force: true }); - await mkdir(scratch, { recursive: true }); - await mkdir(home, { recursive: true }); - await utimes(home, new Date(), new Date()); - if (state) { - restoring = phases - .time("restore state", "state", () => holdingCache(cacheRoot, () => state.restore(cacheRoot))) - .then((r) => r.restored && deps.log?.(`state of ${req.owner}/${req.name}: restored ${Math.round(r.bytes / 1e6)} MB from R2`)) - .catch((e: unknown) => deps.log?.(`state of ${req.owner}/${req.name} not restored: ${(e as Error).message}`)); - } - const live = await deps.index.live(); - const quickWanted = attempt === 1 && !warm && !req.hasLines && !live?.lines; - await deps.progress("cloning"); - const fullDone = phases.time("clone full", "git.clone", fullClone).catch((e: unknown): Cloned => ({ ok: false, reason: "error", detail: (e as Error).message })); - void fullDone.then(() => { - fullCloned = true; - }); - const quickDone: Promise = quickWanted - ? phases.time("clone quick", "git.clone", () => ensureClone(deps.run, { url, dir: quick, blobless: true, env, timeoutMs: cloneLimit })).catch((e: unknown): Cloned => ({ ok: false, reason: "error", detail: (e as Error).message })) - : Promise.resolve(null); - const firstClone = new Promise((resolve) => { - let waiting = quickWanted ? 2 : 1; - const settle = (dir: string | null) => { - if (dir) resolve(dir); - else if (--waiting === 0) resolve(null); - }; - void quickDone.then((c) => c && settle(c.ok ? quick : null)); - void fullDone.then((c) => settle(c.ok ? full : null)); - }); - const accounts = firstClone.then((d) => (d ? accountsFrom(d) : null)); - - const quickPhase = guarded(async () => { - const c = await quickDone; - if (!c) return { ok: false, reason: "error", detail: "no quick phase" }; - if (!c.ok) return failed(c); - const file = await accounts; - await deps.progress("reading"); - const done = await engine("quick", quick, file); - if (!done.ok) return done; - await deps.progress("uploading"); - if (await phases.time("publish quick", "publish", () => deps.publish(done.made))) quickMade = done.made; - await deps.progress(fullCloned ? "reading" : "cloning"); - return { ok: true }; - }); - - const fullPhase = guarded(async () => { - const c = await fullDone; - if (!c.ok) return failed(c); - deps.log?.(`clone of ${req.owner}/${req.name}: ${c.fresh ? "cloned" : "brought up to date"} in ${c.seconds} s`); - if ((await quickDone)?.ok) await caughtUp(); - const git = deps.git; - const gitData = - git && !req.more - ? phases.time("git data", "git", () => git(full, env)).catch((e: unknown) => deps.log?.(`git data of ${req.owner}/${req.name}: ${(e as Error).message}`)) - : Promise.resolve(); - try { - await quickPhase; + return holdingRepo(home, async () => { + try { + cacheRoot = await cacheFor(cfg, { isPrivate: !!req.private, owner: req.owner, name: req.name, home }); + warm = existsSync(join(full, ".git")); + phases.kind = warm ? "warm" : "cold"; + await rm(scratch, { recursive: true, force: true }); + await mkdir(scratch, { recursive: true }); + await mkdir(home, { recursive: true }); + await utimes(home, new Date(), new Date()); + if (state) { + restoring = phases + .time("restore state", "state", () => state.restore(cacheRoot)) + .then((r) => r.restored && deps.log?.(`state of ${req.owner}/${req.name}: restored ${Math.round(r.bytes / 1e6)} MB from R2`)) + .catch((e: unknown) => deps.log?.(`state of ${req.owner}/${req.name} not restored: ${(e as Error).message}`)); + } + const live = await deps.index.live(); + const quickWanted = attempt === 1 && !warm && !req.hasLines && !live?.lines; + await deps.progress("cloning"); + const fullDone = phases.time("clone full", "git.clone", fullClone).catch((e: unknown): Cloned => ({ ok: false, reason: "error", detail: (e as Error).message })); + void fullDone.then(() => { + fullCloned = true; + }); + const quickDone: Promise = quickWanted + ? phases.time("clone quick", "git.clone", () => ensureClone(deps.run, { url, dir: quick, blobless: true, env, timeoutMs: cloneLimit })).catch((e: unknown): Cloned => ({ ok: false, reason: "error", detail: (e as Error).message })) + : Promise.resolve(null); + const firstClone = new Promise((resolve) => { + let waiting = quickWanted ? 2 : 1; + const settle = (dir: string | null) => { + if (dir) resolve(dir); + else if (--waiting === 0) resolve(null); + }; + void quickDone.then((c) => c && settle(c.ok ? quick : null)); + void fullDone.then((c) => settle(c.ok ? full : null)); + }); + const accounts = firstClone.then((d) => (d ? accountsFrom(d) : null)); + + const quickPhase = guarded(async () => { + const c = await quickDone; + if (!c) return { ok: false, reason: "error", detail: "no quick phase" }; + if (!c.ok) return failed(c); const file = await accounts; await deps.progress("reading"); - const done = await engine("full", full, file); + const done = await engine("quick", quick, file); if (!done.ok) return done; await deps.progress("uploading"); - if (await phases.time("publish full", "publish", () => deps.publish(done.made))) fullMade = done.made; + if (await phases.time("publish quick", "publish", () => deps.publish(done.made))) quickMade = done.made; + await deps.progress(fullCloned ? "reading" : "cloning"); return { ok: true }; - } finally { - await gitData; + }); + + const fullPhase = guarded(async () => { + const c = await fullDone; + if (!c.ok) return failed(c); + deps.log?.(`clone of ${req.owner}/${req.name}: ${c.fresh ? "cloned" : "brought up to date"} in ${c.seconds} s`); + if ((await quickDone)?.ok) await caughtUp(); + const git = deps.git; + const gitData = + git && !req.more + ? phases.time("git data", "git", () => git(full, env)).catch((e: unknown) => deps.log?.(`git data of ${req.owner}/${req.name}: ${(e as Error).message}`)) + : Promise.resolve(); + try { + await quickPhase; + const file = await accounts; + await deps.progress("reading"); + const done = await engine("full", full, file); + if (!done.ok) return done; + await deps.progress("uploading"); + if (await phases.time("publish full", "publish", () => deps.publish(done.made))) fullMade = done.made; + return { ok: true }; + } finally { + await gitData; + } + }); + + const [, f] = await Promise.all([quickPhase, fullPhase]); + const made = fullMade ?? quickMade; + if (state && made) { + await phases + .time("save state", "state", () => state.save(cacheRoot)) + .then((s) => deps.log?.(`state of ${req.owner}/${req.name}: ${s.uploaded} new chunks, ${Math.round(s.sent / 1e6)} MB sent, ${Math.round(s.bytes / 1e6)} MB kept`)) + .catch((e: unknown) => deps.log?.(`state of ${req.owner}/${req.name} not saved: ${(e as Error).message}`)); } - }); - - const [, f] = await Promise.all([quickPhase, fullPhase]); - const made = fullMade ?? quickMade; - if (state && made) { - await phases - .time("save state", "state", () => holdingCache(cacheRoot, () => state.save(cacheRoot))) - .then((s) => deps.log?.(`state of ${req.owner}/${req.name}: ${s.uploaded} new chunks, ${Math.round(s.sent / 1e6)} MB sent, ${Math.round(s.bytes / 1e6)} MB kept`)) - .catch((e: unknown) => deps.log?.(`state of ${req.owner}/${req.name} not saved: ${(e as Error).message}`)); + const published: Phase | null = fullMade ? "full" : quickMade ? "quick" : null; + if (f.ok && lean && fullMade) await rm(join(home, "full"), { recursive: true, force: true }); + if (f.ok) return { published, seconds: seconds(), resumable: false, kind: phases.kind, made }; + resumable = f.reason === "timed_out" && attempt < BUILD_ATTEMPTS; + return { published, seconds: seconds(), failure: { reason: f.reason, ...(f.detail ? { detail: f.detail } : {}) }, resumable, kind: phases.kind, made }; + } catch (e) { + return { published: null, seconds: seconds(), failure: { reason: "error", detail: (e as Error).message }, resumable: false, kind: phases.kind, made: null }; + } finally { + await rm(scratch, { recursive: true, force: true }); + if (req.private && !resumable) await rm(home, { recursive: true, force: true }); + else await utimes(home, new Date(), new Date()).catch(() => undefined); } - const published: Phase | null = fullMade ? "full" : quickMade ? "quick" : null; - if (f.ok && lean && fullMade) await rm(join(home, "full"), { recursive: true, force: true }); - if (f.ok) return { published, seconds: seconds(), resumable: false, kind: phases.kind, made }; - resumable = f.reason === "timed_out" && attempt < BUILD_ATTEMPTS; - return { published, seconds: seconds(), failure: { reason: f.reason, ...(f.detail ? { detail: f.detail } : {}) }, resumable, kind: phases.kind, made }; - } catch (e) { - return { published: null, seconds: seconds(), failure: { reason: "error", detail: (e as Error).message }, resumable: false, kind: phases.kind, made: null }; - } finally { - await rm(scratch, { recursive: true, force: true }); - if (req.private && !resumable) await rm(home, { recursive: true, force: true }); - else await utimes(home, new Date(), new Date()).catch(() => undefined); - } + }); } diff --git a/apps/builder/src/survival.test.ts b/apps/builder/src/survival.test.ts index 0ce99ce..5f71af1 100644 --- a/apps/builder/src/survival.test.ts +++ b/apps/builder/src/survival.test.ts @@ -7,7 +7,7 @@ import { drizzle } from "drizzle-orm/pglite"; import { migrate } from "drizzle-orm/pglite/migrator"; import { expect, test } from "vitest"; import { memoryStorage, schema, type Db, type SurvivalJob } from "@commitscape/server"; -import { holdingCache } from "./disk"; +import { holdingRepo } from "./disk"; import type { JobContext } from "./job"; import type { Ran } from "./run"; import { budgetOf, runSurvival, SURVIVING_BUDGET_MAX } from "./survival"; @@ -68,16 +68,16 @@ test("a count is everyone's, whoever asked: each person's answer is recorded at expect(await oldestOf(db, 4)).toBeNull(); }); -test("a count waits while another job holds the repository's cache, and saves its State holding it too", async () => { +test("a count waits while another job holds the repository, and saves its State holding it too", async () => { const order: string[] = []; const { ctx } = await setup(async (_cmd, args) => { order.push(args[0] ?? ""); return { code: 0, stderr: "", timedOut: false, stdout: everyone([alice, bob]) }; }); - const root = join(ctx.cfg.work, "caches", "acme", "rocket"); + const home = join(ctx.cfg.work, "repos", "acme", "rocket"); ctx.saveState = async () => void order.push("save"); const pause = (ms: number) => new Promise((r) => setTimeout(r, ms)); - const other = holdingCache(root, async () => { + const other = holdingRepo(home, async () => { order.push("other starts"); await pause(80); order.push("other ends"); @@ -86,6 +86,45 @@ test("a count waits while another job holds the repository's cache, and saves it expect(order).toEqual(["other starts", "other ends", "surviving", "save"]); }); +test("a count is asked for the Report's head, and one whose clone is at another records nothing", async () => { + const asked: string[][] = []; + const { db, ctx } = await setup( + async (_cmd, args) => { + asked.push(args); + return { code: 3, stderr: "commitscape: the repository's head is b, not c\n", timedOut: false }; + }, + { reportHead: "c".repeat(40) }, + ); + await runSurvival({ repoId: "acme/rocket", reportKey: "r/b1", personIds: [3, 4], everyone: true }, ctx); + expect(asked.map((a) => a[a.indexOf("--head") + 1])).toEqual(["c".repeat(40)]); + expect((await rows(db)).map((r) => r[1])).toEqual(["stale", "stale"]); +}); + +test("a count that comes back for another head than the Report's records nothing", async () => { + const { db, ctx } = await setup(async () => ({ code: 0, stderr: "", timedOut: false, stdout: everyone([alice, bob]) }), { reportHead: "c".repeat(40) }); + await runSurvival({ repoId: "acme/rocket", reportKey: "r/b1", personIds: [3, 4], everyone: true }, ctx); + expect((await rows(db)).map((r) => [r[1], r[2]])).toEqual([ + ["failed", null], + ["failed", null], + ]); +}); + +test("a count that waited while a Build published another Report counts nothing", async () => { + const asked: string[][] = []; + const { db, ctx } = await setup(async (_cmd, args) => { + asked.push(args); + return { code: 0, stderr: "", timedOut: false, stdout: everyone([alice, bob]) }; + }); + const home = join(ctx.cfg.work, "repos", "acme", "rocket"); + const building = holdingRepo(home, async () => { + await new Promise((r) => setTimeout(r, 50)); + await db.update(repositories).set({ reportKey: "r/b2" }); + }); + await Promise.all([building, runSurvival({ repoId: "acme/rocket", reportKey: "r/b1", personIds: [3, 4], everyone: true }, ctx)]); + expect(asked.filter((a) => a[0] === "surviving")).toEqual([]); + expect((await rows(db)).map((r) => r[1])).toEqual(["stale", "stale"]); +}); + test("a count that fails on a blobless clone is never recorded, and is made again from a full clone", async () => { const queued: SurvivalJob[] = []; const dirs: string[] = []; diff --git a/apps/builder/src/survival.ts b/apps/builder/src/survival.ts index 843da9a..83ef3ed 100644 --- a/apps/builder/src/survival.ts +++ b/apps/builder/src/survival.ts @@ -3,10 +3,10 @@ import { mkdir, rm } from "node:fs/promises"; import { join } from "node:path"; import { and, desc, eq, inArray, isNotNull, sql } from "drizzle-orm"; import { installationToken, liveIndex, now, randomId, schema, type SurvivalJob } from "@commitscape/server"; -import { cloneUrl, ensureClone, gitEnv, locked } from "./clone"; +import { cloneUrl, ensureClone, gitEnv } from "./clone"; import { accountsFor, writeAccounts } from "./accounts"; import { peakMb } from "./admission"; -import { cacheFor, holding, holdingCache, privateDir, repoDir, scratchDir } from "./disk"; +import { cacheFor, holding, holdingRepo, privateDir, repoDir, scratchDir } from "./disk"; import { fetchBlobs, historyBlobs } from "./lean"; import type { JobContext } from "./job"; import { NAME, type Ran } from "./run"; @@ -16,6 +16,7 @@ const { repositories, surviving } = schema; export const SURVIVING_BUDGET_MAX = 4 * 3600; const EVERYONE_BYTES = 256 << 20; +const HEAD_MOVED = 3; /** How long each person may take in one count of Surviving Lines: the budget, doubled for each attempt after the first, up to four hours. */ export function budgetOf(base: number, attempt = 0): number { @@ -66,39 +67,50 @@ export async function runSurvival(job: SurvivalJob, ctx: JobContext & { budget: const full = leaned ? lean : join(home, "full"); const env = gitEnv(token); const started = Date.now(); - let ran: Ran; - holding.add(key); - try { - if (leaned) await prefetch(ctx, repo.id, lean, env); - const cloned = existsSync(join(full, ".git")) - ? ({ ok: true } as const) - : await locked(full, () => ensureClone(ctx.run, { url: cloneUrl(cfg, repo.owner, repo.name), dir: full, blobless: false, env, timeoutMs: cfg.cloneLimit * 1000 })); - if (!cloned.ok) { - ctx.log(`surviving ${job.repoId}: clone ${cloned.reason}`); - await mark("failed", job.personIds); - return; + const held = await holdingRepo(home, async (): Promise<{ ran: Ran; head: string | null } | "stale" | "failed"> => { + const [current] = await db.select({ reportKey: repositories.reportKey, reportHead: repositories.reportHead }).from(repositories).where(eq(repositories.id, job.repoId)); + if (current?.reportKey !== job.reportKey) return "stale"; + holding.add(key); + try { + if (leaned) await prefetch(ctx, repo.id, lean, env); + const cloned = existsSync(join(full, ".git")) ? ({ ok: true } as const) : await ensureClone(ctx.run, { url: cloneUrl(cfg, repo.owner, repo.name), dir: full, blobless: false, env, timeoutMs: cfg.cloneLimit * 1000 }); + if (!cloned.ok) { + ctx.log(`surviving ${job.repoId}: clone ${cloned.reason}`); + return "failed"; + } + await mkdir(scratch, { recursive: true }); + const gh = { ...ctx.github, token: token ?? ctx.github.token }; + const scope = repo.isPrivate ? repo.id : "public"; + const cacheRoot = await cacheFor(cfg, { isPrivate: repo.isPrivate, owner: repo.owner, name: repo.name, home }); + const cache = ["--cache-dir", cacheRoot, "--cache-key", repo.id]; + const engineEnv = { ...env, ...(cfg.threads ? { COMMITSCAPE_THREADS: String(cfg.threads) } : {}) }; + const sized = { commits: (await liveIndex(db, repo.id))?.commits ?? 0, sizeKb: repo.sizeKb ?? 0 }; + const accounts = await writeAccounts(ctx.run, { bin: cfg.bin, dir: full, scratch, cache, env: engineEnv, timeoutMs: cfg.timeLimit * 1000, nice: cfg.nice, memoryMb: peakMb("signatures", sized), log: ctx.log }, async (signatures) => (await accountsFor(db, gh, { owner: repo.owner, name: repo.name, scope }, signatures, cfg.logins)).accounts); + const args = ["surviving", "--everyone", "--budget-seconds", String(budget), ...cache, "--offline", "--max-changeset-size", String(cfg.bulkFiles)]; + if (current.reportHead) args.push("--head", current.reportHead); + if (accounts) args.push("--accounts", accounts); + args.push("--", full); + const ran = await ctx.run(cfg.bin, args, engineEnv, (budget + cfg.timeLimit) * 1000, { nice: cfg.nice, maxStdout: EVERYONE_BYTES, memoryMb: peakMb("surviving", sized) }); + if (ran.code === HEAD_MOVED) { + ctx.log(`surviving ${job.repoId}: the clone's head is not the Report's, so nothing is counted for it`); + return "stale"; + } + const save = ctx.saveState; + if (save && !repo.isPrivate && ran.code === 0) await save(repo.id, cacheRoot).catch((e: unknown) => ctx.log(`state of ${repo.id} not saved: ${(e as Error).message}`)); + return { ran, head: current.reportHead }; + } finally { + await rm(scratch, { recursive: true, force: true }); + if (repo.isPrivate) await rm(home, { recursive: true, force: true }); + holding.delete(key); } - await mkdir(scratch, { recursive: true }); - const gh = { ...ctx.github, token: token ?? ctx.github.token }; - const scope = repo.isPrivate ? repo.id : "public"; - const cacheRoot = await cacheFor(cfg, { isPrivate: repo.isPrivate, owner: repo.owner, name: repo.name, home }); - const cache = ["--cache-dir", cacheRoot, "--cache-key", repo.id]; - const cached: typeof ctx.run = (cmd, args, env, timeoutMs, opts) => holdingCache(cacheRoot, () => ctx.run(cmd, args, env, timeoutMs, opts)); - const engineEnv = { ...env, ...(cfg.threads ? { COMMITSCAPE_THREADS: String(cfg.threads) } : {}) }; - const sized = { commits: (await liveIndex(db, repo.id))?.commits ?? 0, sizeKb: repo.sizeKb ?? 0 }; - const accounts = await writeAccounts(cached, { bin: cfg.bin, dir: full, scratch, cache, env: engineEnv, timeoutMs: cfg.timeLimit * 1000, nice: cfg.nice, memoryMb: peakMb("signatures", sized), log: ctx.log }, async (signatures) => (await accountsFor(db, gh, { owner: repo.owner, name: repo.name, scope }, signatures, cfg.logins)).accounts); - const args = ["surviving", "--everyone", "--budget-seconds", String(budget), ...cache, "--offline", "--max-changeset-size", String(cfg.bulkFiles)]; - if (accounts) args.push("--accounts", accounts); - args.push("--", full); - ran = await cached(cfg.bin, args, engineEnv, (budget + cfg.timeLimit) * 1000, { nice: cfg.nice, maxStdout: EVERYONE_BYTES, memoryMb: peakMb("surviving", sized) }); - const save = ctx.saveState; - if (save && !repo.isPrivate && ran.code === 0) await holdingCache(cacheRoot, () => save(repo.id, cacheRoot)).catch((e: unknown) => ctx.log(`state of ${repo.id} not saved: ${(e as Error).message}`)); - } finally { - await rm(scratch, { recursive: true, force: true }); - if (repo.isPrivate) await rm(home, { recursive: true, force: true }); - holding.delete(key); + }); + if (held === "stale" || held === "failed") { + await mark(held, job.personIds); + return; } - const answer = ran.code === 0 ? survivingOf(ran.stdout ?? "") : null; + const { ran } = held; + const parsed = ran.code === 0 ? survivingOf(ran.stdout ?? "") : null; + const answer = parsed && held.head && parsed.head !== held.head ? null : parsed; ctx.log(`surviving ${job.repoId}: ${answer ? (answer.complete ? `${answer.people.length} people counted` : "ownership not whole yet") : ran.timedOut ? "timed out" : "failed"} in ${((Date.now() - started) / 1000).toFixed(1)} s, budget ${budget} s`); const again = async () => { if (budget >= budgetOf(ctx.budget, attempt + 1) || !ctx.queueCounts) { diff --git a/crates/commitscape-index/src/cache/mod.rs b/crates/commitscape-index/src/cache/mod.rs index de58e7c..4c78a0f 100644 --- a/crates/commitscape-index/src/cache/mod.rs +++ b/crates/commitscape-index/src/cache/mod.rs @@ -7,6 +7,7 @@ mod location; use std::ops::ControlFlow; use std::path::{Path, PathBuf}; +use std::sync::{Arc, Mutex, Weak}; use commitscape_core::{Index, Month, RepoIdentity}; @@ -77,6 +78,7 @@ pub struct Loaded { pub lineage: u64, pub kept: bool, pub columns: Columns, + held: Option>, } /// Where the Index's columns are kept beside the cache: the folder and the generation they belong to, and the kept columns when the Index was read from them. @@ -120,7 +122,20 @@ fn load_index( let Some(dir) = repo_dir(options, &identity) else { return uncached(source, identity, progress); }; - let _loading = lock_loading(&dir); + let held = lock_loading(&dir); + let mut loaded = load_held(source, options, &dir, identity, progress)?; + loaded.held = held; + Ok(loaded) +} + +fn load_held( + source: &S, + options: &CacheOptions, + dir: &Path, + identity: RepoIdentity, + progress: &mut dyn FnMut(Progress), +) -> Result { + let dir = dir.to_path_buf(); let keyed = options.key.is_some(); let fingerprint = source.refs_fingerprint()?; let store = IdentityStore::in_dir(&dir); @@ -181,6 +196,7 @@ fn uncached( lineage: format::new_generation(), kept: false, columns: Columns::default(), + held: None, }) } @@ -192,7 +208,18 @@ impl Drop for LoadLock { } } -fn lock_loading(dir: &Path) -> Option { +static HELD: Mutex)>> = Mutex::new(Vec::new()); + +fn lock_loading(dir: &Path) -> Option> { + let held_here = |held: &mut Vec<(PathBuf, Weak)>| { + held.retain(|(_, lock)| lock.strong_count() > 0); + held.iter() + .find(|(at, _)| at == dir) + .and_then(|(_, lock)| lock.upgrade()) + }; + if let Some(lock) = HELD.lock().ok().as_mut().and_then(|h| held_here(h)) { + return Some(lock); + } std::fs::create_dir_all(dir).ok()?; let file = std::fs::OpenOptions::new() .create(true) @@ -201,7 +228,11 @@ fn lock_loading(dir: &Path) -> Option { .open(dir.join(LOAD_LOCK)) .ok()?; file.lock().ok()?; - Some(LoadLock(file)) + let lock = Arc::new(LoadLock(file)); + if let Ok(mut held) = HELD.lock() { + held.push((dir.to_path_buf(), Arc::downgrade(&lock))); + } + Some(lock) } struct Context<'a> { @@ -295,6 +326,7 @@ fn rebuild( at: written.map(|g| (ctx.dir.to_path_buf(), g)), kept: None, }, + held: None, }) } @@ -387,6 +419,7 @@ fn warm( lineage, kept: true, columns: Columns { at, kept }, + held: None, }) } @@ -542,6 +575,7 @@ fn resume( at: written.map(|g| (ctx.dir.to_path_buf(), g)), kept: merged.filter(|_| written.is_some()), }, + held: None, }) } diff --git a/crates/commitscape/src/main.rs b/crates/commitscape/src/main.rs index ac204a5..0ffae1b 100644 --- a/crates/commitscape/src/main.rs +++ b/crates/commitscape/src/main.rs @@ -252,7 +252,11 @@ fn main() -> ExitCode { Ok(()) => ExitCode::SUCCESS, Err(e) => { eprintln!("commitscape: {e:#}"); - ExitCode::FAILURE + if e.downcast_ref::().is_some() { + ExitCode::from(3) + } else { + ExitCode::FAILURE + } } } } diff --git a/crates/commitscape/src/surviving.rs b/crates/commitscape/src/surviving.rs index fc97a89..c761318 100644 --- a/crates/commitscape/src/surviving.rs +++ b/crates/commitscape/src/surviving.rs @@ -57,10 +57,35 @@ pub struct SurvivingArgs { #[arg(long, value_name = "FILE")] accounts: Option, + /// The commit the repository's head must be: the run stops with exit + /// code 3 when it is another, so a count is never kept for a head it was + /// not asked about. + #[arg(long, value_name = "COMMIT", hide = true)] + head: Option, + #[command(flatten)] common: Common, } +/// The repository's head is not the commit the count was asked for. +#[derive(Debug)] +pub struct HeadMoved { + asked: String, + found: String, +} + +impl std::fmt::Display for HeadMoved { + fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result { + write!( + f, + "the repository's head is {}, not {}", + self.found, self.asked + ) + } +} + +impl std::error::Error for HeadMoved {} + /// Counts the asked-for people's Surviving Lines and prints them, with the lines each added, as one JSON document. pub fn run(args: SurvivingArgs) -> anyhow::Result<()> { let options = args.common.cache(); @@ -71,6 +96,16 @@ pub fn run(args: SurvivingArgs) -> anyhow::Result<()> { repo_source(&args.repo, args.partial, &options, args.common.offline)? }; let repo = GixRepo::open(&path)?; + if let Some(asked) = args.head.as_deref() { + let found = repo.head_commit()?.map(|h| h.to_hex()).unwrap_or_default(); + if !found.eq_ignore_ascii_case(asked) { + return Err(HeadMoved { + asked: asked.to_string(), + found, + } + .into()); + } + } let mut meter = ProgressLine::new(); let mut loaded = load(&repo, &options, &mut |p| meter.show(p))?; meter.clear(); diff --git a/crates/commitscape/tests/surviving.rs b/crates/commitscape/tests/surviving.rs index 6fa1a61..970069e 100644 --- a/crates/commitscape/tests/surviving.rs +++ b/crates/commitscape/tests/surviving.rs @@ -397,3 +397,72 @@ fn offline_never_fetches_a_file_version_a_blobless_clone_lacks() { assert!(!elsewhere.status.success()); assert!(String::from_utf8_lossy(&elsewhere.stderr).contains("--offline does not clone")); } + +#[test] +fn a_count_asked_for_another_head_stops_with_code_three_and_counts_nothing() { + let dir = tempfile::tempdir().expect("temp dir"); + let cache = dir.path().join("cache"); + let cache = cache.to_str().expect("UTF-8"); + let repo = fixture(); + let repo = repo.to_str().expect("UTF-8"); + let head = String::from_utf8(git_in(&fixture(), &["rev-parse", "HEAD"]).stdout) + .expect("UTF-8") + .trim() + .to_string(); + let count = |asked: &str| { + Command::new(env!("CARGO_BIN_EXE_commitscape")) + .env("COMMITSCAPE_TELEMETRY", "0") + .args([ + "surviving", + "--everyone", + "--offline", + "--cache-dir", + cache, + "--head", + asked, + repo, + ]) + .output() + .expect("running commitscape") + }; + let moved = count(&"0".repeat(40)); + assert_eq!(moved.status.code(), Some(3)); + assert!(String::from_utf8_lossy(&moved.stderr).contains(&format!("head is {head}"))); + assert!(moved.stdout.is_empty()); + let counted = count(&head); + assert!(counted.status.success()); + let out: Value = serde_json::from_slice(&counted.stdout).expect("one JSON document"); + assert_eq!(out["head"], Value::String(head)); +} + +#[test] +fn a_run_on_a_cache_another_process_holds_waits_until_it_lets_go() { + let dir = tempfile::tempdir().expect("temp dir"); + let cache = dir.path().join("cache"); + let options = commitscape_index::CacheOptions { + root: Some(cache.clone()), + key: Some("survival".to_string()), + }; + let repo = GixRepo::open(&fixture()).expect("opening fixture"); + let held = commitscape_index::load(&repo, &options, &mut |_| {}).expect("loading"); + let mut waiting = Command::new(env!("CARGO_BIN_EXE_commitscape")) + .env("COMMITSCAPE_TELEMETRY", "0") + .args([ + "surviving", + "--everyone", + "--offline", + "--cache-key", + "survival", + "--cache-dir", + ]) + .arg(&cache) + .arg(fixture()) + .stdout(std::process::Stdio::null()) + .stderr(std::process::Stdio::null()) + .spawn() + .expect("running commitscape"); + std::thread::sleep(Duration::from_millis(1500)); + assert!(waiting.try_wait().expect("polling").is_none()); + drop(held); + assert!(waiting.wait().expect("waiting").success()); +} diff --git a/docs/working.md b/docs/working.md index a0affb6..8c5271a 100644 --- a/docs/working.md +++ b/docs/working.md @@ -71,7 +71,7 @@ to a repository the App is installed on, the nightly seeds and a Build. Instead tidy merges the small packs of any kept clone holding more than 16 into one, as `git repack --geometric=2` would (git 2.39 refuses that in a blobless clone): one thread, a 64 MB delta window, - holding the clone's lock and let in by `ENGINE_MEMORY_MB`, the largest + holding its repository and let in by `ENGINE_MEMORY_MB`, the largest pack never rewritten. 3. **Finds logins.** `commitscape signatures` lists each author address with its newest commit. A noreply address gives the login; for the others the @@ -128,7 +128,21 @@ to a repository the App is installed on, the nightly seeds and person asked for on the Site gets the same count for everyone. react: 1,997 people in 16.4 s from nothing, 0.3 s for a head 20 commits on; linux: 31,000 people in 17 minutes and 198 MB from nothing, 5 minutes - and 199 MB for a head 17,000 commits on. + and 199 MB for a head 17,000 commits on. The count is asked for the + Report's head (`repositories.report_head`, `--head`): a clone at + another head stops it with exit code 3 and nothing is recorded, and a + count that waited while a Build published another Report counts + nothing. + +A Build, a count of Surviving Lines and a repack of a clone each hold their +repository (its kept clones and its cache) from start to end, so none of +them reads a clone or cache another is changing; each waits for its share +of `ENGINE_MEMORY_MB` only while holding it. A fork's first Build copies +its parent's line store while holding the parent. commitscape itself holds +the cache's `index.load` lock from loading the cache until it exits, since +it rewrites mapped files in place. A Builder holds a Postgres advisory lock +while it runs, and a second one against the same database stops at once: +its locks, its share of memory and its record of disk use are its own. Every publish sends `pg_notify`, so the Site forgets the old pack key and warms the new pack in the engine service. If the full phase fails after the diff --git a/packages/server/drizzle/0040_noisy_logan.sql b/packages/server/drizzle/0040_noisy_logan.sql new file mode 100644 index 0000000..510d76f --- /dev/null +++ b/packages/server/drizzle/0040_noisy_logan.sql @@ -0,0 +1 @@ +ALTER TABLE "repositories" ADD COLUMN "report_head" text; \ No newline at end of file diff --git a/packages/server/drizzle/meta/0040_snapshot.json b/packages/server/drizzle/meta/0040_snapshot.json new file mode 100644 index 0000000..052c0a7 --- /dev/null +++ b/packages/server/drizzle/meta/0040_snapshot.json @@ -0,0 +1,3414 @@ +{ + "id": "8c4ad9a4-85a2-4d74-aa85-4288850bd514", + "prevId": "8e63aa45-4f5f-4fbd-9489-d0193e8e2dbc", + "version": "7", + "dialect": "postgresql", + "tables": { + "public.access": { + "name": "access", + "schema": "", + "columns": { + "session_id": { + "name": "session_id", + "type": "text", + "primaryKey": false, + "notNull": true + }, + "repo_id": { + "name": "repo_id", + "type": "text", + "primaryKey": false, + "notNull": true + }, + "allowed": { + "name": "allowed", + "type": "boolean", + "primaryKey": false, + "notNull": true + }, + "until": { + "name": "until", + "type": "bigint", + "primaryKey": false, + "notNull": true + } + }, + "indexes": {}, + "foreignKeys": { + "access_session_id_session_id_fk": { + "name": "access_session_id_session_id_fk", + "tableFrom": "access", + "tableTo": "session", + "columnsFrom": [ + "session_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": { + "access_session_id_repo_id_pk": { + "name": "access_session_id_repo_id_pk", + "columns": [ + "session_id", + "repo_id" + ] + } + }, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.account": { + "name": "account", + "schema": "", + "columns": { + "id": { + "name": "id", + "type": "text", + "primaryKey": true, + "notNull": true + }, + "account_id": { + "name": "account_id", + "type": "text", + "primaryKey": false, + "notNull": true + }, + "provider_id": { + "name": "provider_id", + "type": "text", + "primaryKey": false, + "notNull": true + }, + "user_id": { + "name": "user_id", + "type": "text", + "primaryKey": false, + "notNull": true + }, + "access_token": { + "name": "access_token", + "type": "text", + "primaryKey": false, + "notNull": false + }, + "refresh_token": { + "name": "refresh_token", + "type": "text", + "primaryKey": false, + "notNull": false + }, + "id_token": { + "name": "id_token", + "type": "text", + "primaryKey": false, + "notNull": false + }, + "access_token_expires_at": { + "name": "access_token_expires_at", + "type": "timestamp", + "primaryKey": false, + "notNull": false + }, + "refresh_token_expires_at": { + "name": "refresh_token_expires_at", + "type": "timestamp", + "primaryKey": false, + "notNull": false + }, + "scope": { + "name": "scope", + "type": "text", + "primaryKey": false, + "notNull": false + }, + "password": { + "name": "password", + "type": "text", + "primaryKey": false, + "notNull": false + }, + "created_at": { + "name": "created_at", + "type": "timestamp", + "primaryKey": false, + "notNull": true, + "default": "now()" + }, + "updated_at": { + "name": "updated_at", + "type": "timestamp", + "primaryKey": false, + "notNull": true + } + }, + "indexes": { + "account_user_id": { + "name": "account_user_id", + "columns": [ + { + "expression": "user_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": { + "account_user_id_user_id_fk": { + "name": "account_user_id_user_id_fk", + "tableFrom": "account", + "tableTo": "user", + "columnsFrom": [ + "user_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.builds": { + "name": "builds", + "schema": "", + "columns": { + "id": { + "name": "id", + "type": "text", + "primaryKey": true, + "notNull": true + }, + "repo_id": { + "name": "repo_id", + "type": "text", + "primaryKey": false, + "notNull": true + }, + "state": { + "name": "state", + "type": "text", + "primaryKey": false, + "notNull": true + }, + "step": { + "name": "step", + "type": "text", + "primaryKey": false, + "notNull": false + }, + "reason": { + "name": "reason", + "type": "text", + "primaryKey": false, + "notNull": false + }, + "detail": { + "name": "detail", + "type": "text", + "primaryKey": false, + "notNull": false + }, + "seconds": { + "name": "seconds", + "type": "integer", + "primaryKey": false, + "notNull": false + }, + "partial": { + "name": "partial", + "type": "boolean", + "primaryKey": false, + "notNull": false + }, + "requested_at": { + "name": "requested_at", + "type": "bigint", + "primaryKey": false, + "notNull": true + }, + "started_at": { + "name": "started_at", + "type": "bigint", + "primaryKey": false, + "notNull": false + }, + "finished_at": { + "name": "finished_at", + "type": "bigint", + "primaryKey": false, + "notNull": false + } + }, + "indexes": { + "builds_repo_requested": { + "name": "builds_repo_requested", + "columns": [ + { + "expression": "repo_id", + "isExpression": false, + "asc": true, + "nulls": "last" + }, + { + "expression": "requested_at", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "builds_state": { + "name": "builds_state", + "columns": [ + { + "expression": "state", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": { + "builds_repo_id_repositories_id_fk": { + "name": "builds_repo_id_repositories_id_fk", + "tableFrom": "builds", + "tableTo": "repositories", + "columnsFrom": [ + "repo_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.github_cache": { + "name": "github_cache", + "schema": "", + "columns": { + "key": { + "name": "key", + "type": "text", + "primaryKey": true, + "notNull": true + }, + "etag": { + "name": "etag", + "type": "text", + "primaryKey": false, + "notNull": false + }, + "status": { + "name": "status", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "body": { + "name": "body", + "type": "text", + "primaryKey": false, + "notNull": false + }, + "fetched_at": { + "name": "fetched_at", + "type": "bigint", + "primaryKey": false, + "notNull": true + }, + "until": { + "name": "until", + "type": "bigint", + "primaryKey": false, + "notNull": true + } + }, + "indexes": { + "github_cache_until": { + "name": "github_cache_until", + "columns": [ + { + "expression": "until", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": {}, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.index_commit_lines": { + "name": "index_commit_lines", + "schema": "", + "columns": { + "si": { + "name": "si", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "sha": { + "name": "sha", + "type": "bytea", + "primaryKey": false, + "notNull": true + }, + "added": { + "name": "added", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "removed": { + "name": "removed", + "type": "integer", + "primaryKey": false, + "notNull": true + } + }, + "indexes": {}, + "foreignKeys": {}, + "compositePrimaryKeys": { + "index_commit_lines_si_sha_pk": { + "name": "index_commit_lines_si_sha_pk", + "columns": [ + "si", + "sha" + ] + } + }, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.index_commits": { + "name": "index_commits", + "schema": "", + "columns": { + "si": { + "name": "si", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "sha": { + "name": "sha", + "type": "bytea", + "primaryKey": false, + "notNull": true + }, + "at": { + "name": "at", + "type": "bigint", + "primaryKey": false, + "notNull": true + }, + "offset": { + "name": "offset", + "type": "smallint", + "primaryKey": false, + "notNull": true + }, + "author_delta": { + "name": "author_delta", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "signature": { + "name": "signature", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "kind": { + "name": "kind", + "type": "smallint", + "primaryKey": false, + "notNull": true + }, + "flags": { + "name": "flags", + "type": "smallint", + "primaryKey": false, + "notNull": true + }, + "arrival": { + "name": "arrival", + "type": "bigint", + "primaryKey": false, + "notNull": false + }, + "subject": { + "name": "subject", + "type": "text", + "primaryKey": false, + "notNull": true + }, + "files": { + "name": "files", + "type": "integer[]", + "primaryKey": false, + "notNull": true + }, + "changes": { + "name": "changes", + "type": "smallint[]", + "primaryKey": false, + "notNull": true + }, + "added": { + "name": "added", + "type": "integer[]", + "primaryKey": false, + "notNull": false + }, + "removed": { + "name": "removed", + "type": "integer[]", + "primaryKey": false, + "notNull": false + } + }, + "indexes": { + "index_commits_at": { + "name": "index_commits_at", + "columns": [ + { + "expression": "si", + "isExpression": false, + "asc": true, + "nulls": "last" + }, + { + "expression": "at", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "index_commits_signature": { + "name": "index_commits_signature", + "columns": [ + { + "expression": "si", + "isExpression": false, + "asc": true, + "nulls": "last" + }, + { + "expression": "signature", + "isExpression": false, + "asc": true, + "nulls": "last" + }, + { + "expression": "at", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": {}, + "compositePrimaryKeys": { + "index_commits_si_sha_pk": { + "name": "index_commits_si_sha_pk", + "columns": [ + "si", + "sha" + ] + } + }, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.index_file_paths": { + "name": "index_file_paths", + "schema": "", + "columns": { + "si": { + "name": "si", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "file": { + "name": "file", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "path": { + "name": "path", + "type": "text", + "primaryKey": false, + "notNull": true + } + }, + "indexes": {}, + "foreignKeys": {}, + "compositePrimaryKeys": { + "index_file_paths_si_file_path_pk": { + "name": "index_file_paths_si_file_path_pk", + "columns": [ + "si", + "file", + "path" + ] + } + }, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.index_files": { + "name": "index_files", + "schema": "", + "columns": { + "si": { + "name": "si", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "file": { + "name": "file", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "path": { + "name": "path", + "type": "text", + "primaryKey": false, + "notNull": true + }, + "folder": { + "name": "folder", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "born": { + "name": "born", + "type": "bigint", + "primaryKey": false, + "notNull": true + }, + "last": { + "name": "last", + "type": "bigint", + "primaryKey": false, + "notNull": true + }, + "alive": { + "name": "alive", + "type": "boolean", + "primaryKey": false, + "notNull": true + }, + "role": { + "name": "role", + "type": "smallint", + "primaryKey": false, + "notNull": true, + "default": 0 + }, + "language": { + "name": "language", + "type": "text", + "primaryKey": false, + "notNull": false + }, + "guessed_generated": { + "name": "guessed_generated", + "type": "boolean", + "primaryKey": false, + "notNull": true, + "default": false + }, + "lockfile": { + "name": "lockfile", + "type": "boolean", + "primaryKey": false, + "notNull": true, + "default": false + } + }, + "indexes": { + "index_files_folder": { + "name": "index_files_folder", + "columns": [ + { + "expression": "si", + "isExpression": false, + "asc": true, + "nulls": "last" + }, + { + "expression": "folder", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": {}, + "compositePrimaryKeys": { + "index_files_si_file_pk": { + "name": "index_files_si_file_pk", + "columns": [ + "si", + "file" + ] + } + }, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.index_folders": { + "name": "index_folders", + "schema": "", + "columns": { + "si": { + "name": "si", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "id": { + "name": "id", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "path": { + "name": "path", + "type": "text", + "primaryKey": false, + "notNull": true + }, + "parent": { + "name": "parent", + "type": "integer", + "primaryKey": false, + "notNull": false + }, + "depth": { + "name": "depth", + "type": "smallint", + "primaryKey": false, + "notNull": true + } + }, + "indexes": { + "index_folders_path": { + "name": "index_folders_path", + "columns": [ + { + "expression": "si", + "isExpression": false, + "asc": true, + "nulls": "last" + }, + { + "expression": "path", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": true, + "concurrently": false, + "method": "btree", + "with": {} + }, + "index_folders_parent": { + "name": "index_folders_parent", + "columns": [ + { + "expression": "si", + "isExpression": false, + "asc": true, + "nulls": "last" + }, + { + "expression": "parent", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": {}, + "compositePrimaryKeys": { + "index_folders_si_id_pk": { + "name": "index_folders_si_id_pk", + "columns": [ + "si", + "id" + ] + } + }, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.index_head_files": { + "name": "index_head_files", + "schema": "", + "columns": { + "si": { + "name": "si", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "file": { + "name": "file", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "blob": { + "name": "blob", + "type": "bytea", + "primaryKey": false, + "notNull": true + }, + "bytes": { + "name": "bytes", + "type": "bigint", + "primaryKey": false, + "notNull": true + }, + "lines": { + "name": "lines", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "class": { + "name": "class", + "type": "text", + "primaryKey": false, + "notNull": true + }, + "indent_levels": { + "name": "indent_levels", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "indent_mean": { + "name": "indent_mean", + "type": "real", + "primaryKey": false, + "notNull": true + }, + "indent_stddev": { + "name": "indent_stddev", + "type": "real", + "primaryKey": false, + "notNull": true + } + }, + "indexes": {}, + "foreignKeys": {}, + "compositePrimaryKeys": { + "index_head_files_si_file_pk": { + "name": "index_head_files_si_file_pk", + "columns": [ + "si", + "file" + ] + } + }, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.index_people": { + "name": "index_people", + "schema": "", + "columns": { + "si": { + "name": "si", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "signature": { + "name": "signature", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "name": { + "name": "name", + "type": "text", + "primaryKey": false, + "notNull": true + }, + "person": { + "name": "person", + "type": "integer", + "primaryKey": false, + "notNull": false + }, + "person_name": { + "name": "person_name", + "type": "text", + "primaryKey": false, + "notNull": false + }, + "colour": { + "name": "colour", + "type": "smallint", + "primaryKey": false, + "notNull": false + }, + "login": { + "name": "login", + "type": "text", + "primaryKey": false, + "notNull": false + }, + "bot": { + "name": "bot", + "type": "boolean", + "primaryKey": false, + "notNull": true + } + }, + "indexes": { + "index_people_person": { + "name": "index_people_person", + "columns": [ + { + "expression": "si", + "isExpression": false, + "asc": true, + "nulls": "last" + }, + { + "expression": "person", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": {}, + "compositePrimaryKeys": { + "index_people_si_signature_pk": { + "name": "index_people_si_signature_pk", + "columns": [ + "si", + "signature" + ] + } + }, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.index_persons": { + "name": "index_persons", + "schema": "", + "columns": { + "si": { + "name": "si", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "person": { + "name": "person", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "traits": { + "name": "traits", + "type": "smallint", + "primaryKey": false, + "notNull": true + }, + "identities": { + "name": "identities", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "commits": { + "name": "commits", + "type": "integer", + "primaryKey": false, + "notNull": true + } + }, + "indexes": {}, + "foreignKeys": {}, + "compositePrimaryKeys": { + "index_persons_si_person_pk": { + "name": "index_persons_si_person_pk", + "columns": [ + "si", + "person" + ] + } + }, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.lent_tokens": { + "name": "lent_tokens", + "schema": "", + "columns": { + "repo_id": { + "name": "repo_id", + "type": "text", + "primaryKey": true, + "notNull": true + }, + "user_id": { + "name": "user_id", + "type": "text", + "primaryKey": false, + "notNull": true + }, + "token": { + "name": "token", + "type": "text", + "primaryKey": false, + "notNull": true + }, + "until": { + "name": "until", + "type": "bigint", + "primaryKey": false, + "notNull": true + } + }, + "indexes": {}, + "foreignKeys": { + "lent_tokens_repo_id_repositories_id_fk": { + "name": "lent_tokens_repo_id_repositories_id_fk", + "tableFrom": "lent_tokens", + "tableTo": "repositories", + "columnsFrom": [ + "repo_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + }, + "lent_tokens_user_id_user_id_fk": { + "name": "lent_tokens_user_id_user_id_fk", + "tableFrom": "lent_tokens", + "tableTo": "user", + "columnsFrom": [ + "user_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.people": { + "name": "people", + "schema": "", + "columns": { + "login": { + "name": "login", + "type": "text", + "primaryKey": true, + "notNull": true + }, + "user_id": { + "name": "user_id", + "type": "text", + "primaryKey": false, + "notNull": false + }, + "hidden": { + "name": "hidden", + "type": "boolean", + "primaryKey": false, + "notNull": true, + "default": false + }, + "name_private": { + "name": "name_private", + "type": "boolean", + "primaryKey": false, + "notNull": true, + "default": false + }, + "updated_at": { + "name": "updated_at", + "type": "bigint", + "primaryKey": false, + "notNull": true + } + }, + "indexes": { + "people_user": { + "name": "people_user", + "columns": [ + { + "expression": "user_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": { + "people_user_id_user_id_fk": { + "name": "people_user_id_user_id_fk", + "tableFrom": "people", + "tableTo": "user", + "columnsFrom": [ + "user_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.private_work": { + "name": "private_work", + "schema": "", + "columns": { + "login": { + "name": "login", + "type": "text", + "primaryKey": false, + "notNull": true + }, + "repo": { + "name": "repo", + "type": "text", + "primaryKey": false, + "notNull": true + }, + "show": { + "name": "show", + "type": "text", + "primaryKey": false, + "notNull": true + }, + "updated_at": { + "name": "updated_at", + "type": "bigint", + "primaryKey": false, + "notNull": true + } + }, + "indexes": {}, + "foreignKeys": {}, + "compositePrimaryKeys": { + "private_work_login_repo_pk": { + "name": "private_work_login_repo_pk", + "columns": [ + "login", + "repo" + ] + } + }, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.profiles": { + "name": "profiles", + "schema": "", + "columns": { + "login": { + "name": "login", + "type": "text", + "primaryKey": false, + "notNull": true + }, + "scope": { + "name": "scope", + "type": "text", + "primaryKey": false, + "notNull": true + }, + "github_id": { + "name": "github_id", + "type": "bigint", + "primaryKey": false, + "notNull": false + }, + "identity": { + "name": "identity", + "type": "text", + "primaryKey": false, + "notNull": true + }, + "identity_at": { + "name": "identity_at", + "type": "bigint", + "primaryKey": false, + "notNull": true + }, + "data": { + "name": "data", + "type": "text", + "primaryKey": false, + "notNull": false + }, + "raw": { + "name": "raw", + "type": "text", + "primaryKey": false, + "notNull": false + }, + "fetched_at": { + "name": "fetched_at", + "type": "bigint", + "primaryKey": false, + "notNull": false + } + }, + "indexes": { + "profiles_github_id": { + "name": "profiles_github_id", + "columns": [ + { + "expression": "github_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": {}, + "compositePrimaryKeys": { + "profiles_login_scope_pk": { + "name": "profiles_login_scope_pk", + "columns": [ + "login", + "scope" + ] + } + }, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.proofs": { + "name": "proofs", + "schema": "", + "columns": { + "id": { + "name": "id", + "type": "text", + "primaryKey": true, + "notNull": true + }, + "login": { + "name": "login", + "type": "text", + "primaryKey": false, + "notNull": true + }, + "user_id": { + "name": "user_id", + "type": "text", + "primaryKey": false, + "notNull": true + }, + "data": { + "name": "data", + "type": "text", + "primaryKey": false, + "notNull": true + }, + "created_at": { + "name": "created_at", + "type": "bigint", + "primaryKey": false, + "notNull": true + } + }, + "indexes": { + "proofs_login": { + "name": "proofs_login", + "columns": [ + { + "expression": "login", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": { + "proofs_user_id_user_id_fk": { + "name": "proofs_user_id_user_id_fk", + "tableFrom": "proofs", + "tableTo": "user", + "columnsFrom": [ + "user_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.pull_requests": { + "name": "pull_requests", + "schema": "", + "columns": { + "repo_id": { + "name": "repo_id", + "type": "text", + "primaryKey": false, + "notNull": true + }, + "number": { + "name": "number", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "author": { + "name": "author", + "type": "text", + "primaryKey": false, + "notNull": false + }, + "state": { + "name": "state", + "type": "text", + "primaryKey": false, + "notNull": true + }, + "title": { + "name": "title", + "type": "text", + "primaryKey": false, + "notNull": true + }, + "created_at": { + "name": "created_at", + "type": "bigint", + "primaryKey": false, + "notNull": true + }, + "merged_at": { + "name": "merged_at", + "type": "bigint", + "primaryKey": false, + "notNull": false + }, + "updated_at": { + "name": "updated_at", + "type": "bigint", + "primaryKey": false, + "notNull": true + }, + "additions": { + "name": "additions", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "deletions": { + "name": "deletions", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "head_ref": { + "name": "head_ref", + "type": "text", + "primaryKey": false, + "notNull": false + }, + "closed_at": { + "name": "closed_at", + "type": "bigint", + "primaryKey": false, + "notNull": false + }, + "merged_by": { + "name": "merged_by", + "type": "text", + "primaryKey": false, + "notNull": false + }, + "base_ref": { + "name": "base_ref", + "type": "text", + "primaryKey": false, + "notNull": false + }, + "draft": { + "name": "draft", + "type": "boolean", + "primaryKey": false, + "notNull": false + }, + "changed_files": { + "name": "changed_files", + "type": "integer", + "primaryKey": false, + "notNull": false + }, + "commits": { + "name": "commits", + "type": "integer", + "primaryKey": false, + "notNull": false + }, + "head_owner": { + "name": "head_owner", + "type": "text", + "primaryKey": false, + "notNull": false + }, + "from_fork": { + "name": "from_fork", + "type": "boolean", + "primaryKey": false, + "notNull": false + }, + "labels": { + "name": "labels", + "type": "jsonb", + "primaryKey": false, + "notNull": false + }, + "review_decision": { + "name": "review_decision", + "type": "text", + "primaryKey": false, + "notNull": false + }, + "merge_commit": { + "name": "merge_commit", + "type": "text", + "primaryKey": false, + "notNull": false + }, + "comments": { + "name": "comments", + "type": "integer", + "primaryKey": false, + "notNull": false + } + }, + "indexes": { + "pull_requests_head": { + "name": "pull_requests_head", + "columns": [ + { + "expression": "repo_id", + "isExpression": false, + "asc": true, + "nulls": "last" + }, + { + "expression": "head_ref", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": { + "pull_requests_repo_id_repositories_id_fk": { + "name": "pull_requests_repo_id_repositories_id_fk", + "tableFrom": "pull_requests", + "tableTo": "repositories", + "columnsFrom": [ + "repo_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": { + "pull_requests_repo_id_number_pk": { + "name": "pull_requests_repo_id_number_pk", + "columns": [ + "repo_id", + "number" + ] + } + }, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.pull_reviews": { + "name": "pull_reviews", + "schema": "", + "columns": { + "repo_id": { + "name": "repo_id", + "type": "text", + "primaryKey": false, + "notNull": true + }, + "number": { + "name": "number", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "reviewer": { + "name": "reviewer", + "type": "text", + "primaryKey": false, + "notNull": true + }, + "reviews": { + "name": "reviews", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "first_at": { + "name": "first_at", + "type": "bigint", + "primaryKey": false, + "notNull": true + }, + "last_at": { + "name": "last_at", + "type": "bigint", + "primaryKey": false, + "notNull": false + }, + "state": { + "name": "state", + "type": "text", + "primaryKey": false, + "notNull": false + }, + "approved_at": { + "name": "approved_at", + "type": "bigint", + "primaryKey": false, + "notNull": false + } + }, + "indexes": {}, + "foreignKeys": { + "pull_reviews_repo_id_repositories_id_fk": { + "name": "pull_reviews_repo_id_repositories_id_fk", + "tableFrom": "pull_reviews", + "tableTo": "repositories", + "columnsFrom": [ + "repo_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": { + "pull_reviews_repo_id_number_reviewer_pk": { + "name": "pull_reviews_repo_id_number_reviewer_pk", + "columns": [ + "repo_id", + "number", + "reviewer" + ] + } + }, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.rate_limits": { + "name": "rate_limits", + "schema": "", + "columns": { + "key": { + "name": "key", + "type": "text", + "primaryKey": true, + "notNull": true + }, + "count": { + "name": "count", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "until": { + "name": "until", + "type": "bigint", + "primaryKey": false, + "notNull": true + } + }, + "indexes": {}, + "foreignKeys": {}, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.repo_blobs": { + "name": "repo_blobs", + "schema": "", + "columns": { + "repo_id": { + "name": "repo_id", + "type": "text", + "primaryKey": false, + "notNull": true + }, + "sha": { + "name": "sha", + "type": "text", + "primaryKey": false, + "notNull": true + }, + "lines": { + "name": "lines", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "binary": { + "name": "binary", + "type": "boolean", + "primaryKey": false, + "notNull": true + } + }, + "indexes": {}, + "foreignKeys": { + "repo_blobs_repo_id_repositories_id_fk": { + "name": "repo_blobs_repo_id_repositories_id_fk", + "tableFrom": "repo_blobs", + "tableTo": "repositories", + "columnsFrom": [ + "repo_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": { + "repo_blobs_repo_id_sha_pk": { + "name": "repo_blobs_repo_id_sha_pk", + "columns": [ + "repo_id", + "sha" + ] + } + }, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.repo_branch_details": { + "name": "repo_branch_details", + "schema": "", + "columns": { + "repo_id": { + "name": "repo_id", + "type": "text", + "primaryKey": false, + "notNull": true + }, + "position": { + "name": "position", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "against": { + "name": "against", + "type": "text", + "primaryKey": false, + "notNull": true + }, + "commits": { + "name": "commits", + "type": "jsonb", + "primaryKey": false, + "notNull": true + }, + "commits_total": { + "name": "commits_total", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "files": { + "name": "files", + "type": "jsonb", + "primaryKey": false, + "notNull": true + }, + "files_total": { + "name": "files_total", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "added": { + "name": "added", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "removed": { + "name": "removed", + "type": "integer", + "primaryKey": false, + "notNull": true + } + }, + "indexes": {}, + "foreignKeys": { + "repo_branch_details_repo_id_repositories_id_fk": { + "name": "repo_branch_details_repo_id_repositories_id_fk", + "tableFrom": "repo_branch_details", + "tableTo": "repositories", + "columnsFrom": [ + "repo_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": { + "repo_branch_details_repo_id_position_pk": { + "name": "repo_branch_details_repo_id_position_pk", + "columns": [ + "repo_id", + "position" + ] + } + }, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.repo_branches": { + "name": "repo_branches", + "schema": "", + "columns": { + "repo_id": { + "name": "repo_id", + "type": "text", + "primaryKey": false, + "notNull": true + }, + "position": { + "name": "position", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "name": { + "name": "name", + "type": "text", + "primaryKey": false, + "notNull": true + }, + "sha": { + "name": "sha", + "type": "text", + "primaryKey": false, + "notNull": true + }, + "at": { + "name": "at", + "type": "bigint", + "primaryKey": false, + "notNull": true + }, + "author": { + "name": "author", + "type": "text", + "primaryKey": false, + "notNull": true + }, + "login": { + "name": "login", + "type": "text", + "primaryKey": false, + "notNull": false + }, + "subject": { + "name": "subject", + "type": "text", + "primaryKey": false, + "notNull": true + }, + "ahead": { + "name": "ahead", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "behind": { + "name": "behind", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "base": { + "name": "base", + "type": "text", + "primaryKey": false, + "notNull": true + }, + "base_at": { + "name": "base_at", + "type": "bigint", + "primaryKey": false, + "notNull": true + }, + "merged": { + "name": "merged", + "type": "boolean", + "primaryKey": false, + "notNull": true + }, + "squashed": { + "name": "squashed", + "type": "boolean", + "primaryKey": false, + "notNull": true, + "default": false + }, + "parent": { + "name": "parent", + "type": "text", + "primaryKey": false, + "notNull": false + }, + "shared": { + "name": "shared", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "bot": { + "name": "bot", + "type": "boolean", + "primaryKey": false, + "notNull": true, + "default": false + } + }, + "indexes": {}, + "foreignKeys": { + "repo_branches_repo_id_repositories_id_fk": { + "name": "repo_branches_repo_id_repositories_id_fk", + "tableFrom": "repo_branches", + "tableTo": "repositories", + "columnsFrom": [ + "repo_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": { + "repo_branches_repo_id_position_pk": { + "name": "repo_branches_repo_id_position_pk", + "columns": [ + "repo_id", + "position" + ] + } + }, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.repo_events": { + "name": "repo_events", + "schema": "", + "columns": { + "id": { + "name": "id", + "type": "text", + "primaryKey": true, + "notNull": true + }, + "repo_id": { + "name": "repo_id", + "type": "text", + "primaryKey": false, + "notNull": true + }, + "kind": { + "name": "kind", + "type": "text", + "primaryKey": false, + "notNull": true + }, + "actor": { + "name": "actor", + "type": "text", + "primaryKey": false, + "notNull": false + }, + "title": { + "name": "title", + "type": "text", + "primaryKey": false, + "notNull": false + }, + "url": { + "name": "url", + "type": "text", + "primaryKey": false, + "notNull": false + }, + "count": { + "name": "count", + "type": "integer", + "primaryKey": false, + "notNull": false + }, + "at": { + "name": "at", + "type": "bigint", + "primaryKey": false, + "notNull": true + } + }, + "indexes": { + "repo_events_repo_at": { + "name": "repo_events_repo_at", + "columns": [ + { + "expression": "repo_id", + "isExpression": false, + "asc": true, + "nulls": "last" + }, + { + "expression": "at", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": { + "repo_events_repo_id_repositories_id_fk": { + "name": "repo_events_repo_id_repositories_id_fk", + "tableFrom": "repo_events", + "tableTo": "repositories", + "columnsFrom": [ + "repo_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.repo_git": { + "name": "repo_git", + "schema": "", + "columns": { + "repo_id": { + "name": "repo_id", + "type": "text", + "primaryKey": true, + "notNull": true + }, + "prefix": { + "name": "prefix", + "type": "text", + "primaryKey": false, + "notNull": true + }, + "build_id": { + "name": "build_id", + "type": "text", + "primaryKey": false, + "notNull": true + }, + "built_at": { + "name": "built_at", + "type": "bigint", + "primaryKey": false, + "notNull": true + }, + "head": { + "name": "head", + "type": "text", + "primaryKey": false, + "notNull": true + }, + "branch": { + "name": "branch", + "type": "text", + "primaryKey": false, + "notNull": true + }, + "branches": { + "name": "branches", + "type": "integer", + "primaryKey": false, + "notNull": true, + "default": 0 + }, + "tags": { + "name": "tags", + "type": "integer", + "primaryKey": false, + "notNull": true, + "default": 0 + }, + "files": { + "name": "files", + "type": "integer", + "primaryKey": false, + "notNull": true, + "default": 0 + }, + "stored": { + "name": "stored", + "type": "integer", + "primaryKey": false, + "notNull": true, + "default": 0 + }, + "pulls": { + "name": "pulls", + "type": "integer", + "primaryKey": false, + "notNull": true, + "default": 0 + }, + "bytes": { + "name": "bytes", + "type": "bigint", + "primaryKey": false, + "notNull": true, + "default": 0 + }, + "logged": { + "name": "logged", + "type": "integer", + "primaryKey": false, + "notNull": true, + "default": 0 + }, + "complete": { + "name": "complete", + "type": "boolean", + "primaryKey": false, + "notNull": true, + "default": false + }, + "seconds": { + "name": "seconds", + "type": "real", + "primaryKey": false, + "notNull": true, + "default": 0 + }, + "steps": { + "name": "steps", + "type": "text", + "primaryKey": false, + "notNull": true, + "default": "'[]'" + }, + "branches_total": { + "name": "branches_total", + "type": "integer", + "primaryKey": false, + "notNull": true, + "default": 0 + }, + "tags_total": { + "name": "tags_total", + "type": "integer", + "primaryKey": false, + "notNull": true, + "default": 0 + }, + "inferred": { + "name": "inferred", + "type": "boolean", + "primaryKey": false, + "notNull": true, + "default": false + } + }, + "indexes": {}, + "foreignKeys": { + "repo_git_repo_id_repositories_id_fk": { + "name": "repo_git_repo_id_repositories_id_fk", + "tableFrom": "repo_git", + "tableTo": "repositories", + "columnsFrom": [ + "repo_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.repo_names": { + "name": "repo_names", + "schema": "", + "columns": { + "id": { + "name": "id", + "type": "text", + "primaryKey": true, + "notNull": true + }, + "repo_id": { + "name": "repo_id", + "type": "text", + "primaryKey": false, + "notNull": true + }, + "at": { + "name": "at", + "type": "bigint", + "primaryKey": false, + "notNull": true + } + }, + "indexes": { + "repo_names_repo": { + "name": "repo_names_repo", + "columns": [ + { + "expression": "repo_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": { + "repo_names_repo_id_repositories_id_fk": { + "name": "repo_names_repo_id_repositories_id_fk", + "tableFrom": "repo_names", + "tableTo": "repositories", + "columnsFrom": [ + "repo_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.repo_people": { + "name": "repo_people", + "schema": "", + "columns": { + "repo_id": { + "name": "repo_id", + "type": "text", + "primaryKey": false, + "notNull": true + }, + "person_id": { + "name": "person_id", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "name": { + "name": "name", + "type": "text", + "primaryKey": false, + "notNull": true + }, + "login": { + "name": "login", + "type": "text", + "primaryKey": false, + "notNull": false + }, + "commits": { + "name": "commits", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "lines_added": { + "name": "lines_added", + "type": "integer", + "primaryKey": false, + "notNull": false + }, + "lines_removed": { + "name": "lines_removed", + "type": "integer", + "primaryKey": false, + "notNull": false + }, + "first": { + "name": "first", + "type": "bigint", + "primaryKey": false, + "notNull": false + }, + "last": { + "name": "last", + "type": "bigint", + "primaryKey": false, + "notNull": false + }, + "report_key": { + "name": "report_key", + "type": "text", + "primaryKey": false, + "notNull": true + } + }, + "indexes": { + "repo_people_lower_login": { + "name": "repo_people_lower_login", + "columns": [ + { + "expression": "lower(\"login\")", + "asc": true, + "isExpression": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": { + "repo_people_repo_id_repositories_id_fk": { + "name": "repo_people_repo_id_repositories_id_fk", + "tableFrom": "repo_people", + "tableTo": "repositories", + "columnsFrom": [ + "repo_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": { + "repo_people_repo_id_person_id_pk": { + "name": "repo_people_repo_id_person_id_pk", + "columns": [ + "repo_id", + "person_id" + ] + } + }, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.repo_states": { + "name": "repo_states", + "schema": "", + "columns": { + "repo_id": { + "name": "repo_id", + "type": "text", + "primaryKey": true, + "notNull": true + }, + "saved_at": { + "name": "saved_at", + "type": "bigint", + "primaryKey": false, + "notNull": true + }, + "used_at": { + "name": "used_at", + "type": "bigint", + "primaryKey": false, + "notNull": true + }, + "bytes": { + "name": "bytes", + "type": "bigint", + "primaryKey": false, + "notNull": true + } + }, + "indexes": { + "repo_states_used": { + "name": "repo_states_used", + "columns": [ + { + "expression": "used_at", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": {}, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.repo_tags": { + "name": "repo_tags", + "schema": "", + "columns": { + "repo_id": { + "name": "repo_id", + "type": "text", + "primaryKey": false, + "notNull": true + }, + "position": { + "name": "position", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "name": { + "name": "name", + "type": "text", + "primaryKey": false, + "notNull": true + }, + "sha": { + "name": "sha", + "type": "text", + "primaryKey": false, + "notNull": true + }, + "at": { + "name": "at", + "type": "bigint", + "primaryKey": false, + "notNull": true + } + }, + "indexes": {}, + "foreignKeys": { + "repo_tags_repo_id_repositories_id_fk": { + "name": "repo_tags_repo_id_repositories_id_fk", + "tableFrom": "repo_tags", + "tableTo": "repositories", + "columnsFrom": [ + "repo_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": { + "repo_tags_repo_id_position_pk": { + "name": "repo_tags_repo_id_position_pk", + "columns": [ + "repo_id", + "position" + ] + } + }, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.repositories": { + "name": "repositories", + "schema": "", + "columns": { + "id": { + "name": "id", + "type": "text", + "primaryKey": true, + "notNull": true + }, + "owner": { + "name": "owner", + "type": "text", + "primaryKey": false, + "notNull": true + }, + "name": { + "name": "name", + "type": "text", + "primaryKey": false, + "notNull": true + }, + "github_id": { + "name": "github_id", + "type": "bigint", + "primaryKey": false, + "notNull": false + }, + "private": { + "name": "private", + "type": "boolean", + "primaryKey": false, + "notNull": true, + "default": false + }, + "status": { + "name": "status", + "type": "text", + "primaryKey": false, + "notNull": true, + "default": "'ok'" + }, + "facts": { + "name": "facts", + "type": "text", + "primaryKey": false, + "notNull": false + }, + "facts_at": { + "name": "facts_at", + "type": "bigint", + "primaryKey": false, + "notNull": false + }, + "size_kb": { + "name": "size_kb", + "type": "integer", + "primaryKey": false, + "notNull": false + }, + "report_key": { + "name": "report_key", + "type": "text", + "primaryKey": false, + "notNull": false + }, + "report_head": { + "name": "report_head", + "type": "text", + "primaryKey": false, + "notNull": false + }, + "report_at": { + "name": "report_at", + "type": "bigint", + "primaryKey": false, + "notNull": false + }, + "report_bytes": { + "name": "report_bytes", + "type": "integer", + "primaryKey": false, + "notNull": false + }, + "report_lines": { + "name": "report_lines", + "type": "boolean", + "primaryKey": false, + "notNull": false + }, + "viewed_at": { + "name": "viewed_at", + "type": "bigint", + "primaryKey": false, + "notNull": false + }, + "checked_at": { + "name": "checked_at", + "type": "bigint", + "primaryKey": false, + "notNull": false + }, + "installation_id": { + "name": "installation_id", + "type": "bigint", + "primaryKey": false, + "notNull": false + }, + "connected_by": { + "name": "connected_by", + "type": "text", + "primaryKey": false, + "notNull": false + }, + "seed": { + "name": "seed", + "type": "boolean", + "primaryKey": false, + "notNull": true, + "default": false + }, + "language": { + "name": "language", + "type": "text", + "primaryKey": false, + "notNull": false + }, + "stars": { + "name": "stars", + "type": "integer", + "primaryKey": false, + "notNull": false + }, + "bus_factor": { + "name": "bus_factor", + "type": "integer", + "primaryKey": false, + "notNull": false + }, + "maintainers": { + "name": "maintainers", + "type": "integer", + "primaryKey": false, + "notNull": false + }, + "commits_30d": { + "name": "commits_30d", + "type": "integer", + "primaryKey": false, + "notNull": false + }, + "code_lines": { + "name": "code_lines", + "type": "integer", + "primaryKey": false, + "notNull": false + }, + "pulls_at": { + "name": "pulls_at", + "type": "text", + "primaryKey": false, + "notNull": false + }, + "pulls_read_at": { + "name": "pulls_read_at", + "type": "bigint", + "primaryKey": false, + "notNull": false + }, + "pulls_cursor": { + "name": "pulls_cursor", + "type": "text", + "primaryKey": false, + "notNull": false + }, + "pulls_mark": { + "name": "pulls_mark", + "type": "text", + "primaryKey": false, + "notNull": false + }, + "pulls_version": { + "name": "pulls_version", + "type": "integer", + "primaryKey": false, + "notNull": true, + "default": 0 + }, + "index_id": { + "name": "index_id", + "type": "integer", + "primaryKey": false, + "notNull": false + }, + "report_meta": { + "name": "report_meta", + "type": "jsonb", + "primaryKey": false, + "notNull": false + }, + "report_stats": { + "name": "report_stats", + "type": "jsonb", + "primaryKey": false, + "notNull": false + } + }, + "indexes": { + "repositories_installation": { + "name": "repositories_installation", + "columns": [ + { + "expression": "installation_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "repositories_seed": { + "name": "repositories_seed", + "columns": [ + { + "expression": "seed", + "isExpression": false, + "asc": true, + "nulls": "last" + }, + { + "expression": "report_at", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "repositories_github_id": { + "name": "repositories_github_id", + "columns": [ + { + "expression": "github_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": { + "repositories_connected_by_user_id_fk": { + "name": "repositories_connected_by_user_id_fk", + "tableFrom": "repositories", + "tableTo": "user", + "columnsFrom": [ + "connected_by" + ], + "columnsTo": [ + "id" + ], + "onDelete": "set null", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.session": { + "name": "session", + "schema": "", + "columns": { + "id": { + "name": "id", + "type": "text", + "primaryKey": true, + "notNull": true + }, + "expires_at": { + "name": "expires_at", + "type": "timestamp", + "primaryKey": false, + "notNull": true + }, + "token": { + "name": "token", + "type": "text", + "primaryKey": false, + "notNull": true + }, + "created_at": { + "name": "created_at", + "type": "timestamp", + "primaryKey": false, + "notNull": true, + "default": "now()" + }, + "updated_at": { + "name": "updated_at", + "type": "timestamp", + "primaryKey": false, + "notNull": true + }, + "ip_address": { + "name": "ip_address", + "type": "text", + "primaryKey": false, + "notNull": false + }, + "user_agent": { + "name": "user_agent", + "type": "text", + "primaryKey": false, + "notNull": false + }, + "user_id": { + "name": "user_id", + "type": "text", + "primaryKey": false, + "notNull": true + } + }, + "indexes": { + "session_user_id": { + "name": "session_user_id", + "columns": [ + { + "expression": "user_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": { + "session_user_id_user_id_fk": { + "name": "session_user_id_user_id_fk", + "tableFrom": "session", + "tableTo": "user", + "columnsFrom": [ + "user_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": { + "session_token_unique": { + "name": "session_token_unique", + "nullsNotDistinct": false, + "columns": [ + "token" + ] + } + }, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.shares": { + "name": "shares", + "schema": "", + "columns": { + "id": { + "name": "id", + "type": "text", + "primaryKey": true, + "notNull": true + }, + "bytes": { + "name": "bytes", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "created_at": { + "name": "created_at", + "type": "bigint", + "primaryKey": false, + "notNull": true + }, + "expires_at": { + "name": "expires_at", + "type": "bigint", + "primaryKey": false, + "notNull": true + }, + "delete_hash": { + "name": "delete_hash", + "type": "text", + "primaryKey": false, + "notNull": true + }, + "upload_hash": { + "name": "upload_hash", + "type": "text", + "primaryKey": false, + "notNull": false + }, + "uploaded": { + "name": "uploaded", + "type": "boolean", + "primaryKey": false, + "notNull": true, + "default": false + } + }, + "indexes": { + "shares_expires": { + "name": "shares_expires", + "columns": [ + { + "expression": "expires_at", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": {}, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.stored_indexes": { + "name": "stored_indexes", + "schema": "", + "columns": { + "id": { + "name": "id", + "type": "serial", + "primaryKey": true, + "notNull": true + }, + "repo_id": { + "name": "repo_id", + "type": "text", + "primaryKey": false, + "notNull": true + }, + "lineage": { + "name": "lineage", + "type": "text", + "primaryKey": false, + "notNull": true + }, + "kept": { + "name": "kept", + "type": "boolean", + "primaryKey": false, + "notNull": true + }, + "state": { + "name": "state", + "type": "text", + "primaryKey": false, + "notNull": true + }, + "head": { + "name": "head", + "type": "text", + "primaryKey": false, + "notNull": false + }, + "frontier": { + "name": "frontier", + "type": "text[]", + "primaryKey": false, + "notNull": true, + "default": "'{}'" + }, + "lines": { + "name": "lines", + "type": "boolean", + "primaryKey": false, + "notNull": true + }, + "lines_left": { + "name": "lines_left", + "type": "integer", + "primaryKey": false, + "notNull": false + }, + "commits": { + "name": "commits", + "type": "integer", + "primaryKey": false, + "notNull": true, + "default": 0 + }, + "built_at": { + "name": "built_at", + "type": "bigint", + "primaryKey": false, + "notNull": true + }, + "loaded_at": { + "name": "loaded_at", + "type": "bigint", + "primaryKey": false, + "notNull": false + }, + "anchor": { + "name": "anchor", + "type": "bigint", + "primaryKey": false, + "notNull": true, + "default": 0 + }, + "options": { + "name": "options", + "type": "jsonb", + "primaryKey": false, + "notNull": true, + "default": "'{\"max_changeset_size\":50,\"coupling_support\":5,\"ownership_min_commits\":10}'::jsonb" + }, + "snapshot": { + "name": "snapshot", + "type": "jsonb", + "primaryKey": false, + "notNull": false + }, + "pack": { + "name": "pack", + "type": "text", + "primaryKey": false, + "notNull": false + }, + "mark": { + "name": "mark", + "type": "text", + "primaryKey": false, + "notNull": false + }, + "build_format": { + "name": "build_format", + "type": "integer", + "primaryKey": false, + "notNull": false + } + }, + "indexes": { + "stored_indexes_repo": { + "name": "stored_indexes_repo", + "columns": [ + { + "expression": "repo_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": { + "stored_indexes_repo_id_repositories_id_fk": { + "name": "stored_indexes_repo_id_repositories_id_fk", + "tableFrom": "stored_indexes", + "tableTo": "repositories", + "columnsFrom": [ + "repo_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.surviving": { + "name": "surviving", + "schema": "", + "columns": { + "repo_id": { + "name": "repo_id", + "type": "text", + "primaryKey": false, + "notNull": true + }, + "report_key": { + "name": "report_key", + "type": "text", + "primaryKey": false, + "notNull": true + }, + "person_id": { + "name": "person_id", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "status": { + "name": "status", + "type": "text", + "primaryKey": false, + "notNull": true + }, + "lines": { + "name": "lines", + "type": "integer", + "primaryKey": false, + "notNull": false + }, + "added": { + "name": "added", + "type": "integer", + "primaryKey": false, + "notNull": false + }, + "files": { + "name": "files", + "type": "integer", + "primaryKey": false, + "notNull": false + }, + "seconds": { + "name": "seconds", + "type": "real", + "primaryKey": false, + "notNull": false + }, + "head": { + "name": "head", + "type": "text", + "primaryKey": false, + "notNull": false + }, + "oldest": { + "name": "oldest", + "type": "bigint", + "primaryKey": false, + "notNull": false + }, + "asked_at": { + "name": "asked_at", + "type": "bigint", + "primaryKey": false, + "notNull": true + }, + "counted_at": { + "name": "counted_at", + "type": "bigint", + "primaryKey": false, + "notNull": false + } + }, + "indexes": { + "surviving_status": { + "name": "surviving_status", + "columns": [ + { + "expression": "status", + "isExpression": false, + "asc": true, + "nulls": "last" + }, + { + "expression": "asked_at", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": { + "surviving_repo_id_repositories_id_fk": { + "name": "surviving_repo_id_repositories_id_fk", + "tableFrom": "surviving", + "tableTo": "repositories", + "columnsFrom": [ + "repo_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": { + "surviving_repo_id_report_key_person_id_pk": { + "name": "surviving_repo_id_report_key_person_id_pk", + "columns": [ + "repo_id", + "report_key", + "person_id" + ] + } + }, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.user": { + "name": "user", + "schema": "", + "columns": { + "id": { + "name": "id", + "type": "text", + "primaryKey": true, + "notNull": true + }, + "name": { + "name": "name", + "type": "text", + "primaryKey": false, + "notNull": true + }, + "email": { + "name": "email", + "type": "text", + "primaryKey": false, + "notNull": true + }, + "email_verified": { + "name": "email_verified", + "type": "boolean", + "primaryKey": false, + "notNull": true, + "default": false + }, + "image": { + "name": "image", + "type": "text", + "primaryKey": false, + "notNull": false + }, + "login": { + "name": "login", + "type": "text", + "primaryKey": false, + "notNull": false + }, + "created_at": { + "name": "created_at", + "type": "timestamp", + "primaryKey": false, + "notNull": true, + "default": "now()" + }, + "updated_at": { + "name": "updated_at", + "type": "timestamp", + "primaryKey": false, + "notNull": true, + "default": "now()" + } + }, + "indexes": {}, + "foreignKeys": {}, + "compositePrimaryKeys": {}, + "uniqueConstraints": { + "user_email_unique": { + "name": "user_email_unique", + "nullsNotDistinct": false, + "columns": [ + "email" + ] + } + }, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.verification": { + "name": "verification", + "schema": "", + "columns": { + "id": { + "name": "id", + "type": "text", + "primaryKey": true, + "notNull": true + }, + "identifier": { + "name": "identifier", + "type": "text", + "primaryKey": false, + "notNull": true + }, + "value": { + "name": "value", + "type": "text", + "primaryKey": false, + "notNull": true + }, + "expires_at": { + "name": "expires_at", + "type": "timestamp", + "primaryKey": false, + "notNull": true + }, + "created_at": { + "name": "created_at", + "type": "timestamp", + "primaryKey": false, + "notNull": true, + "default": "now()" + }, + "updated_at": { + "name": "updated_at", + "type": "timestamp", + "primaryKey": false, + "notNull": true, + "default": "now()" + } + }, + "indexes": { + "verification_identifier": { + "name": "verification_identifier", + "columns": [ + { + "expression": "identifier", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": {}, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + } + }, + "enums": {}, + "schemas": {}, + "sequences": {}, + "roles": {}, + "policies": {}, + "views": {}, + "_meta": { + "columns": {}, + "schemas": {}, + "tables": {} + } +} \ No newline at end of file diff --git a/packages/server/drizzle/meta/_journal.json b/packages/server/drizzle/meta/_journal.json index 156d8c5..560eab2 100644 --- a/packages/server/drizzle/meta/_journal.json +++ b/packages/server/drizzle/meta/_journal.json @@ -281,6 +281,13 @@ "when": 1793088502010, "tag": "0039_omniscient_flatman", "breakpoints": true + }, + { + "idx": 40, + "version": "7", + "when": 1793102051021, + "tag": "0040_noisy_logan", + "breakpoints": true } ] } \ No newline at end of file diff --git a/packages/server/src/db/client.ts b/packages/server/src/db/client.ts index 0f5958a..3bd5ef7 100644 --- a/packages/server/src/db/client.ts +++ b/packages/server/src/db/client.ts @@ -16,6 +16,23 @@ export function createDb(url: string, max = 10): { db: Db; pool: pg.Pool } { return { db: drizzle(pool, { schema }), pool }; } +const ONE_BUILDER = 7_386_015_221; + +/** Takes the lock only one Builder may hold, on a connection of its own that stays open while the Builder runs: its locks, its share of memory and its record of disk use are its own, so a second Builder must not run beside it. `held` is false when another holds it; `lost` is called if the connection, and so the lock, goes. */ +export async function holdBuilderLock(url: string, lost: (e: Error) => void): Promise<{ held: boolean; release: () => Promise }> { + const client = new pg.Client({ connectionString: url, keepAlive: true }); + client.on("error", lost); + await client.connect(); + const { rows } = await client.query<{ held: boolean }>("SELECT pg_try_advisory_lock($1) AS held", [ONE_BUILDER]); + const held = rows[0]?.held === true; + const release = async () => { + client.removeListener("error", lost); + await client.end().catch(() => undefined); + }; + if (!held) await release(); + return { held, release }; +} + /** Applies the migrations in `migrationsFolder` that have not run yet. */ export async function runMigrations(url: string, migrationsFolder: string): Promise { const pool = new pg.Pool({ connectionString: url, max: 1 }); diff --git a/packages/server/src/db/schema.ts b/packages/server/src/db/schema.ts index 135a28f..56ffdc1 100644 --- a/packages/server/src/db/schema.ts +++ b/packages/server/src/db/schema.ts @@ -92,6 +92,7 @@ export const repositories = pgTable( factsAt: seconds("facts_at"), sizeKb: integer("size_kb"), reportKey: text("report_key"), + reportHead: text("report_head"), reportAt: seconds("report_at"), reportBytes: integer("report_bytes"), reportLines: boolean("report_lines"), diff --git a/packages/server/src/integration.test.ts b/packages/server/src/integration.test.ts index b96ee9b..d8e1703 100644 --- a/packages/server/src/integration.test.ts +++ b/packages/server/src/integration.test.ts @@ -4,7 +4,7 @@ import { eq, inArray } from "drizzle-orm"; import { afterAll, describe, expect, test } from "vitest"; import { busy, queueBuild, waitingBuilds } from "./builds"; import { cleanup } from "./cleanup"; -import { createDb, runMigrations } from "./db/client"; +import { createDb, holdBuilderLock, runMigrations } from "./db/client"; import { builds, repoNames, repositories, shares } from "./db/schema"; import { BUILD_QUEUE, bossQueue, PRIORITY, startQueue, type BuildJob } from "./queue"; import { readEntry, readIndex, reportPrefix, storeReport } from "./reports"; @@ -28,6 +28,17 @@ describe.skipIf(!url || !s3)("against Postgres and S3", async () => { await runMigrations(url, migrations); }); + test("only one Builder holds the lock at a time, and another takes it once the first lets go", async () => { + const lost = () => undefined; + const first = await holdBuilderLock(url, lost); + const second = await holdBuilderLock(url, lost); + expect([first.held, second.held]).toEqual([true, false]); + await first.release(); + const third = await holdBuilderLock(url, lost); + expect(third.held).toBe(true); + await third.release(); + }); + test("a queued Build reaches a worker, people's before seeds", async () => { const boss = await startQueue(url, { worker: true }); await boss.deleteAllJobs(BUILD_QUEUE); From db8b047c657bbe8356b8aee24771be5e6b2aa1d2 Mon Sep 17 00:00:00 2001 From: Dev Talan <84081651+devchaudhary24k@users.noreply.github.com> Date: Tue, 27 Oct 2026 17:34:38 +0530 Subject: [PATCH 53/82] fix(builder): a new branch or tag is a change too A Build ended at its head check when the remote's HEAD had not moved, but a Report covers every branch and release tag, so a new tag or a pushed branch was ignored for up to a week. The check is now one `git ls-remote` of HEAD and every branch and tag (annotated tags peeled, pull requests' refs left out), run on every first Build that is not quiet; a fingerprint of the branches and tags is kept with the Report each Build publishes (repositories.report_refs, migration 0041), and a Build ends early only when HEAD and that fingerprint both match. Seeds keep their weekly GraphQL check of the default branch. Tests: a new tag, a moved branch, a moved annotated tag change the fingerprint and a pull request's ref does not (real git); a Build goes on for a new tag, a moved branch or refs never recorded, ends when all match, and records what it saw. --- DEPLOY.md | 3 +- apps/builder/src/clone.test.ts | 31 + apps/builder/src/clone.ts | 20 +- apps/builder/src/job.test.ts | 29 +- apps/builder/src/job.ts | 21 +- docs/working.md | 16 +- .../drizzle/0041_magenta_iron_patriot.sql | 1 + .../server/drizzle/meta/0041_snapshot.json | 3420 +++++++++++++++++ packages/server/drizzle/meta/_journal.json | 7 + packages/server/src/builds.test.ts | 7 +- packages/server/src/builds.ts | 7 +- packages/server/src/db/schema.ts | 1 + 12 files changed, 3527 insertions(+), 36 deletions(-) create mode 100644 apps/builder/src/clone.test.ts create mode 100644 packages/server/drizzle/0041_magenta_iron_patriot.sql create mode 100644 packages/server/drizzle/meta/0041_snapshot.json diff --git a/DEPLOY.md b/DEPLOY.md index 8af859f..1782705 100644 --- a/DEPLOY.md +++ b/DEPLOY.md @@ -503,7 +503,8 @@ this order: `/v1/commits/under`. 2. Deploy the Builder, stopping the old one first: a Builder that finds another running against the database stops. Its migrations add - `repositories.checked_at`, `repositories.report_head`, the + `repositories.checked_at`, `repositories.report_head`, + `repositories.report_refs`, the `repo_states` table and `stored_indexes.build_format`. It no longer reads `ENGINE_SLOTS`, which can go: `ENGINE_MEMORY_MB` (1200) takes its place, and every run of the engine, counts of Surviving Lines too, waits diff --git a/apps/builder/src/clone.test.ts b/apps/builder/src/clone.test.ts new file mode 100644 index 0000000..e30e596 --- /dev/null +++ b/apps/builder/src/clone.test.ts @@ -0,0 +1,31 @@ +import { expect, test } from "vitest"; +import { remoteRefs } from "./clone"; +import { repo } from "./gitdata/fixture"; +import { run } from "./run"; + +const env = { GIT_CONFIG_GLOBAL: "/dev/null", GIT_CONFIG_SYSTEM: "/dev/null", GIT_CONFIG_COUNT: "1", GIT_CONFIG_KEY_0: "protocol.file.allow", GIT_CONFIG_VALUE_0: "always" }; + +test("the remote's refs change with a new tag, a moved branch or a moved annotated tag, and not with a pull request's refs", async () => { + const r = repo(); + const first = r.commit({ "a.rs": "1\n" }, "first"); + r.sh(r.origin, "tag", "-a", "-m", "one", "v1"); + const url = `file://${r.origin}`; + const refs = async () => { + const found = await remoteRefs(run, url, env, 30_000); + if (!found) throw new Error("no refs"); + return found; + }; + const before = await refs(); + expect(before.head).toBe(first); + r.sh(r.origin, "update-ref", "refs/pull/1/head", first); + expect(await refs()).toEqual(before); + r.sh(r.origin, "tag", "v2", first); + const tagged = await refs(); + expect(tagged.refs).not.toBe(before.refs); + expect(tagged.head).toBe(first); + r.sh(r.origin, "branch", "next", first); + const branched = await refs(); + expect(branched.refs).not.toBe(tagged.refs); + r.sh(r.origin, "tag", "-f", "-a", "-m", "moved", "v1", first); + expect((await refs()).refs).not.toBe(branched.refs); +}); diff --git a/apps/builder/src/clone.ts b/apps/builder/src/clone.ts index 5b6017d..f45f8ed 100644 --- a/apps/builder/src/clone.ts +++ b/apps/builder/src/clone.ts @@ -1,3 +1,4 @@ +import { createHash } from "node:crypto"; import { existsSync } from "node:fs"; import { mkdir, rename, rm } from "node:fs/promises"; import { basename, dirname, join } from "node:path"; @@ -94,11 +95,20 @@ export async function ensureClone( return { ok: true, fresh: true, seconds: seconds() }; } -/** The commit a repository's HEAD points at on its remote, asked without fetching anything; null when the remote cannot tell. */ -export async function remoteHead(run: typeof runCommand, url: string, env: NodeJS.ProcessEnv, timeoutMs: number): Promise { - const ran = await run("git", ["ls-remote", "--", url, "HEAD"], env, timeoutMs); - if (ran.code !== 0) return null; - return /^([0-9a-f]{40}|[0-9a-f]{64})\tHEAD$/m.exec(ran.stdout ?? "")?.[1] ?? null; +export type RemoteRefs = { head: string | null; refs: string }; + +/** What `git ls-remote HEAD refs/heads/* refs/tags/*` printed, as the commit HEAD points at and one fingerprint of every branch and tag, annotated tags peeled too. */ +export function refsOf(stdout: string): RemoteRefs { + const lines = stdout.split("\n").filter((l) => /^[0-9a-f]{40,64}\t\S/.test(l)); + const head = lines.find((l) => l.endsWith("\tHEAD"))?.split("\t")[0] ?? null; + const refs = lines.filter((l) => /\trefs\/(heads|tags)\//.test(l)).sort(); + return { head, refs: createHash("sha256").update(refs.join("\n")).digest("hex") }; +} + +/** The commit a repository's HEAD points at on its remote and a fingerprint of all its branches and tags, asked in one `git ls-remote` without fetching anything; null when the remote cannot tell. */ +export async function remoteRefs(run: typeof runCommand, url: string, env: NodeJS.ProcessEnv, timeoutMs: number): Promise { + const ran = await run("git", ["ls-remote", "--", url, "HEAD", "refs/heads/*", "refs/tags/*"], env, timeoutMs, { maxStdout: 64 << 20 }); + return ran.code === 0 && !ran.timedOut ? refsOf(ran.stdout ?? "") : null; } const inClone = (dir: string, env: NodeJS.ProcessEnv) => ({ ...env, GIT_DIR: join(dir, ".git") }); diff --git a/apps/builder/src/job.test.ts b/apps/builder/src/job.test.ts index 999c853..1b55c47 100644 --- a/apps/builder/src/job.test.ts +++ b/apps/builder/src/job.test.ts @@ -13,6 +13,7 @@ import { cacheDir, inUse, sweep } from "./disk"; import { fakePerson, flagOf, writeBuilt, type FakeBuild } from "./fake"; import { MORE_LINES_AFTER, MORE_LINES_MAX, runJob, type JobAsked, type JobContext } from "./job"; import { BUILD_ATTEMPTS, type Ran } from "./run"; +import { refsOf } from "./clone"; import { headsOf, queueSeeds, type Named } from "./seeds"; import { writeAtlas } from "./universe"; import type { Telemetry, Who } from "./telemetry"; @@ -295,9 +296,11 @@ test("a Build of a repository found renamed while it ran stores its Report and p expect((await db.select().from(builds)).map((b) => [b.repoId, b.state])).toEqual([["react/react", "done"]]); }); +const remoteSays = (head: string, more = "") => `${head}\tHEAD\n${head}\trefs/heads/main\n${"e".repeat(40)}\trefs/tags/v1\n${head}\trefs/tags/v1^{}\n${more}`; + async function wholeReport(db: Db, id: string, head: string, over: Partial = {}) { const [owner = "", name = ""] = id.split("/"); - await db.insert(repositories).values({ id, owner, name, sizeKb: 10, reportKey: `reports/gh/${id}/b0`, reportAt: now() - 3 * 24 * 3600, reportLines: true, ...over }); + await db.insert(repositories).values({ id, owner, name, sizeKb: 10, reportKey: `reports/gh/${id}/b0`, reportAt: now() - 3 * 24 * 3600, reportLines: true, reportRefs: refsOf(remoteSays(head)).refs, ...over }); const [si] = await db .insert(storedIndexes) .values({ repoId: id, lineage: "7", kept: true, head, frontier: [head], lines: true, linesLeft: 0, pack: `packs/${id}/1/${head}-b0-lines.pack`, state: "live", builtAt: 1, buildFormat: BUILD_FORMAT }) @@ -312,7 +315,7 @@ test("a Build whose Report is whole and whose head has not moved ends at its hea const ctx = await context(db, { run: async (cmd, args) => { ran.push(`${cmd} ${args[0]}`); - return cmd === "git" && args[0] === "ls-remote" ? { ...ok, stdout: `${head}\tHEAD\n` } : ok; + return cmd === "git" && args[0] === "ls-remote" ? { ...ok, stdout: remoteSays(head) } : ok; }, }); await wholeReport(db, "acme/rocket", head); @@ -335,27 +338,30 @@ test("a Report published by a Builder of an earlier release is built again even const ctx = await context(db, { run: async (cmd, args) => { ran.push(`${cmd} ${args[0]}`); - return cmd === "git" && args[0] === "ls-remote" ? { ...ok, stdout: `${head}\tHEAD\n` } : base(cmd, args); + return cmd === "git" && args[0] === "ls-remote" ? { ...ok, stdout: remoteSays(head) } : base(cmd, args); }, }); await wholeReport(db, "acme/rocket", head); await db.update(storedIndexes).set({ buildFormat: null }); await db.insert(builds).values({ id: "b1", repoId: "acme/rocket", state: "queued", requestedAt: 1 }); await runJob("b1", ctx); - expect(ran).not.toContain("git ls-remote"); + expect(ran[0]).toBe("git ls-remote"); expect(ran.some((r) => r.startsWith("commitscape build"))).toBe(true); const live = await db.select().from(storedIndexes).where(eq(storedIndexes.state, "live")); expect(live.map((l) => l.buildFormat)).toEqual([BUILD_FORMAT]); }); -test("a Build goes on when the head moved, when the Report is not whole, or for quiet Builds and retries, and asks the remote only when the Report is whole", async () => { +test("a Build goes on when the head moved, a branch or tag moved or came, the Report is not whole, or for quiet Builds and retries, and asks the remote on every first Build that is not quiet", async () => { const head = "c".repeat(40); const cases: [string, Partial, string, number, JobAsked, boolean][] = [ - ["moved", {}, "d".repeat(40), 1, {}, true], - ["a week old", { reportAt: now() - 8 * 24 * 3600 }, head, 1, {}, false], - ["without lines", { reportLines: false }, head, 1, {}, false], - ["quiet", {}, head, 1, { more: 1 }, false], - ["a retry", {}, head, 2, {}, false], + ["moved", {}, remoteSays("d".repeat(40)), 1, {}, true], + ["a new tag", {}, remoteSays(head, `${"f".repeat(40)}\trefs/tags/v2\n`), 1, {}, true], + ["a branch moved", {}, remoteSays(head, `${"f".repeat(40)}\trefs/heads/next\n`), 1, {}, true], + ["refs never seen", { reportRefs: null }, remoteSays(head), 1, {}, true], + ["a week old", { reportAt: now() - 8 * 24 * 3600 }, remoteSays(head), 1, {}, true], + ["without lines", { reportLines: false }, remoteSays(head), 1, {}, true], + ["quiet", {}, remoteSays(head), 1, { more: 1 }, false], + ["a retry", {}, remoteSays(head), 2, {}, false], ]; for (const [label, over, remote, attempt, asked, asks] of cases) { const db = await database(); @@ -364,7 +370,7 @@ test("a Build goes on when the head moved, when the Report is not whole, or for const ctx = await context(db, { run: async (cmd, args) => { ran.push(`${cmd} ${args[0]}`); - return cmd === "git" && args[0] === "ls-remote" ? { ...ok, stdout: `${remote}\tHEAD\n` } : base(cmd, args); + return cmd === "git" && args[0] === "ls-remote" ? { ...ok, stdout: remote } : base(cmd, args); }, }); await wholeReport(db, "acme/rocket", head, over); @@ -372,6 +378,7 @@ test("a Build goes on when the head moved, when the Report is not whole, or for await runJob("b1", ctx, attempt, asked); expect([label, ran.includes("git ls-remote")]).toEqual([label, asks]); expect([label, ran.some((r) => r.startsWith("commitscape build"))]).toEqual([label, true]); + if (asks) expect([label, (await repoRow(db))?.reportRefs]).toEqual([label, refsOf(remote).refs]); } }); diff --git a/apps/builder/src/job.ts b/apps/builder/src/job.ts index 1735236..57487d1 100644 --- a/apps/builder/src/job.ts +++ b/apps/builder/src/job.ts @@ -20,14 +20,13 @@ import { type Loaded, type Storage, type SurvivalJob, - unchanged, - whole, + refsUnchanged, } from "@commitscape/server"; import type { BuildFailure, Meta } from "@commitscape/data"; import { accountsFor } from "./accounts"; import { replaceIndex } from "./atlas"; import { storeScreens } from "./screens"; -import { cloneUrl, gitEnv, remoteHead } from "./clone"; +import { cloneUrl, gitEnv, remoteRefs, type RemoteRefs } from "./clone"; import type { Config } from "./config"; import type { SummaryPerson } from "./engine"; import type { GitHubApi } from "./github"; @@ -122,7 +121,8 @@ async function claimedJob(buildId: string, ctx: JobContext, attempt: number, ask const gitToken = repo.isPrivate ? token : ctx.github.token; let pullsQueued = !!more; const started = Date.now(); - if (!more && attempt === 1 && (await keptUnchanged(ctx, repo, gitToken))) { + const remote = !more && attempt === 1 ? await remoteRefs(ctx.run, cloneUrl(ctx.cfg, repo.owner, repo.name), gitEnv(gitToken), HEAD_CHECK_MS).catch(() => null) : null; + if (remote && (await keptUnchanged(ctx, repo, remote))) { const seconds = (Date.now() - started) / 1000; await end("done", { seconds, partial: false }); ctx.telemetry?.capture("build unchanged", who, { ...about, seconds }); @@ -133,7 +133,7 @@ async function claimedJob(buildId: string, ctx: JobContext, attempt: number, ask const publish = async (made: Made): Promise => { const continuing = made.phase === "quick" || (!!ctx.queueBuild && more < MORE_LINES_MAX); - const target = await publishBuild(ctx, phases, buildId, made, continuing); + const target = await publishBuild(ctx, phases, buildId, made, continuing, remote?.refs ?? null); if (!target) return false; const at = (Date.now() - started) / 1000; if (made.phase === "quick") { @@ -246,12 +246,10 @@ function parentOf(facts: string | null): string | null { } } -/** Whether a Build can end at its head check: the Report is whole and the remote's default branch is still at the head it was built from, asked with one `git ls-remote`, without a clone, the engine or an upload. Records when that was found. */ -async function keptUnchanged(ctx: JobContext, repo: typeof repositories.$inferSelect, token: string | null): Promise { +/** Whether a Build can end at its head check: the Report is whole, and the remote's HEAD and every branch and tag are as the Build that published it saw them, asked with one `git ls-remote`, without a clone, the engine or an upload. Records when that was found. */ +async function keptUnchanged(ctx: JobContext, repo: typeof repositories.$inferSelect, remote: RemoteRefs): Promise { const live = await liveIndex(ctx.db, repo.id); - if (!whole(repo, live)) return false; - const head = await remoteHead(ctx.run, cloneUrl(ctx.cfg, repo.owner, repo.name), gitEnv(token), HEAD_CHECK_MS).catch(() => null); - if (!unchanged(repo, live, head)) return false; + if (!refsUnchanged(repo, live, remote)) return false; await ctx.db.update(repositories).set({ checkedAt: now() }).where(eq(repositories.id, repo.id)); return true; } @@ -290,7 +288,7 @@ async function linesOff(db: Db, buildId: string): Promise { type Published = { id: string; prefix: string; people: SummaryPerson[]; fresh: boolean }; /** Uploads a Build's pack, then makes its Stored Index the repository's Report: the pack's key on the Stored Index, the Report's meta and stats on the repository, its people, and the version the rest compares against, deleting the pack and Report objects it replaces. A quick one never replaces one with lines, and one of the same head and Stored Index keeps its version, so counts made for it stay. */ -async function publishBuild(ctx: JobContext, phases: Phases, buildId: string, made: Made, continuing: boolean): Promise { +async function publishBuild(ctx: JobContext, phases: Phases, buildId: string, made: Made, continuing: boolean, refs: string | null): Promise { const { db, storage } = ctx; const [named] = await db .select({ id: repositories.id, reportKey: repositories.reportKey, reportLines: repositories.reportLines }) @@ -333,6 +331,7 @@ async function publishBuild(ctx: JobContext, phases: Phases, buildId: string, ma .set({ reportKey: prefix, reportHead: made.manifest.head ?? null, + ...(refs ? { reportRefs: refs } : {}), reportAt: now(), reportBytes: body.length, reportLines: lines, diff --git a/docs/working.md b/docs/working.md index 8c5271a..1512e4a 100644 --- a/docs/working.md +++ b/docs/working.md @@ -38,12 +38,16 @@ to a repository the App is installed on, the nightly seeds and 1. **Claims the Build** in one database update, on the `builds` queue, or `builds-large` for a repository over `LARGE_REPOSITORY_MB`. - When the Report is whole (its pack, every Mainline line counted and - none left, built within a week), one `git ls-remote` asks where the - default branch's head is; if it is still the head the Report was built - from, the Build ends there, without a clone, the engine or an upload, - and `repositories.checked_at` records that the Report is current. Quiet - Builds and retries skip the check. + One `git ls-remote` asks for the remote's HEAD and every branch and tag + (annotated tags peeled; pull requests' refs left out), and a fingerprint + of the branches and tags is kept with the Report it publishes + (`repositories.report_refs`). When the Report is whole (its pack, every + Mainline line counted and none left, built within a week), HEAD is + still the head it was built from and every branch and tag is as that + Build saw them, the Build ends there, without a clone, the engine or an + upload, and `repositories.checked_at` records that the Report is + current. Quiet Builds and retries skip the check. Seeds keep their + weekly check of the default branch's head by GraphQL. 2. **Starts two clones at once** on a cold Build: a quick clone without old file contents (`git clone --filter=blob:none`) into the Build's scratch folder, and the full clone, kept under `WORK_DIR/repos///full` diff --git a/packages/server/drizzle/0041_magenta_iron_patriot.sql b/packages/server/drizzle/0041_magenta_iron_patriot.sql new file mode 100644 index 0000000..ee01a7d --- /dev/null +++ b/packages/server/drizzle/0041_magenta_iron_patriot.sql @@ -0,0 +1 @@ +ALTER TABLE "repositories" ADD COLUMN "report_refs" text; \ No newline at end of file diff --git a/packages/server/drizzle/meta/0041_snapshot.json b/packages/server/drizzle/meta/0041_snapshot.json new file mode 100644 index 0000000..f62b018 --- /dev/null +++ b/packages/server/drizzle/meta/0041_snapshot.json @@ -0,0 +1,3420 @@ +{ + "id": "217ec596-4120-4305-a810-29b9a52946d8", + "prevId": "8c4ad9a4-85a2-4d74-aa85-4288850bd514", + "version": "7", + "dialect": "postgresql", + "tables": { + "public.access": { + "name": "access", + "schema": "", + "columns": { + "session_id": { + "name": "session_id", + "type": "text", + "primaryKey": false, + "notNull": true + }, + "repo_id": { + "name": "repo_id", + "type": "text", + "primaryKey": false, + "notNull": true + }, + "allowed": { + "name": "allowed", + "type": "boolean", + "primaryKey": false, + "notNull": true + }, + "until": { + "name": "until", + "type": "bigint", + "primaryKey": false, + "notNull": true + } + }, + "indexes": {}, + "foreignKeys": { + "access_session_id_session_id_fk": { + "name": "access_session_id_session_id_fk", + "tableFrom": "access", + "tableTo": "session", + "columnsFrom": [ + "session_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": { + "access_session_id_repo_id_pk": { + "name": "access_session_id_repo_id_pk", + "columns": [ + "session_id", + "repo_id" + ] + } + }, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.account": { + "name": "account", + "schema": "", + "columns": { + "id": { + "name": "id", + "type": "text", + "primaryKey": true, + "notNull": true + }, + "account_id": { + "name": "account_id", + "type": "text", + "primaryKey": false, + "notNull": true + }, + "provider_id": { + "name": "provider_id", + "type": "text", + "primaryKey": false, + "notNull": true + }, + "user_id": { + "name": "user_id", + "type": "text", + "primaryKey": false, + "notNull": true + }, + "access_token": { + "name": "access_token", + "type": "text", + "primaryKey": false, + "notNull": false + }, + "refresh_token": { + "name": "refresh_token", + "type": "text", + "primaryKey": false, + "notNull": false + }, + "id_token": { + "name": "id_token", + "type": "text", + "primaryKey": false, + "notNull": false + }, + "access_token_expires_at": { + "name": "access_token_expires_at", + "type": "timestamp", + "primaryKey": false, + "notNull": false + }, + "refresh_token_expires_at": { + "name": "refresh_token_expires_at", + "type": "timestamp", + "primaryKey": false, + "notNull": false + }, + "scope": { + "name": "scope", + "type": "text", + "primaryKey": false, + "notNull": false + }, + "password": { + "name": "password", + "type": "text", + "primaryKey": false, + "notNull": false + }, + "created_at": { + "name": "created_at", + "type": "timestamp", + "primaryKey": false, + "notNull": true, + "default": "now()" + }, + "updated_at": { + "name": "updated_at", + "type": "timestamp", + "primaryKey": false, + "notNull": true + } + }, + "indexes": { + "account_user_id": { + "name": "account_user_id", + "columns": [ + { + "expression": "user_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": { + "account_user_id_user_id_fk": { + "name": "account_user_id_user_id_fk", + "tableFrom": "account", + "tableTo": "user", + "columnsFrom": [ + "user_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.builds": { + "name": "builds", + "schema": "", + "columns": { + "id": { + "name": "id", + "type": "text", + "primaryKey": true, + "notNull": true + }, + "repo_id": { + "name": "repo_id", + "type": "text", + "primaryKey": false, + "notNull": true + }, + "state": { + "name": "state", + "type": "text", + "primaryKey": false, + "notNull": true + }, + "step": { + "name": "step", + "type": "text", + "primaryKey": false, + "notNull": false + }, + "reason": { + "name": "reason", + "type": "text", + "primaryKey": false, + "notNull": false + }, + "detail": { + "name": "detail", + "type": "text", + "primaryKey": false, + "notNull": false + }, + "seconds": { + "name": "seconds", + "type": "integer", + "primaryKey": false, + "notNull": false + }, + "partial": { + "name": "partial", + "type": "boolean", + "primaryKey": false, + "notNull": false + }, + "requested_at": { + "name": "requested_at", + "type": "bigint", + "primaryKey": false, + "notNull": true + }, + "started_at": { + "name": "started_at", + "type": "bigint", + "primaryKey": false, + "notNull": false + }, + "finished_at": { + "name": "finished_at", + "type": "bigint", + "primaryKey": false, + "notNull": false + } + }, + "indexes": { + "builds_repo_requested": { + "name": "builds_repo_requested", + "columns": [ + { + "expression": "repo_id", + "isExpression": false, + "asc": true, + "nulls": "last" + }, + { + "expression": "requested_at", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "builds_state": { + "name": "builds_state", + "columns": [ + { + "expression": "state", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": { + "builds_repo_id_repositories_id_fk": { + "name": "builds_repo_id_repositories_id_fk", + "tableFrom": "builds", + "tableTo": "repositories", + "columnsFrom": [ + "repo_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.github_cache": { + "name": "github_cache", + "schema": "", + "columns": { + "key": { + "name": "key", + "type": "text", + "primaryKey": true, + "notNull": true + }, + "etag": { + "name": "etag", + "type": "text", + "primaryKey": false, + "notNull": false + }, + "status": { + "name": "status", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "body": { + "name": "body", + "type": "text", + "primaryKey": false, + "notNull": false + }, + "fetched_at": { + "name": "fetched_at", + "type": "bigint", + "primaryKey": false, + "notNull": true + }, + "until": { + "name": "until", + "type": "bigint", + "primaryKey": false, + "notNull": true + } + }, + "indexes": { + "github_cache_until": { + "name": "github_cache_until", + "columns": [ + { + "expression": "until", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": {}, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.index_commit_lines": { + "name": "index_commit_lines", + "schema": "", + "columns": { + "si": { + "name": "si", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "sha": { + "name": "sha", + "type": "bytea", + "primaryKey": false, + "notNull": true + }, + "added": { + "name": "added", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "removed": { + "name": "removed", + "type": "integer", + "primaryKey": false, + "notNull": true + } + }, + "indexes": {}, + "foreignKeys": {}, + "compositePrimaryKeys": { + "index_commit_lines_si_sha_pk": { + "name": "index_commit_lines_si_sha_pk", + "columns": [ + "si", + "sha" + ] + } + }, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.index_commits": { + "name": "index_commits", + "schema": "", + "columns": { + "si": { + "name": "si", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "sha": { + "name": "sha", + "type": "bytea", + "primaryKey": false, + "notNull": true + }, + "at": { + "name": "at", + "type": "bigint", + "primaryKey": false, + "notNull": true + }, + "offset": { + "name": "offset", + "type": "smallint", + "primaryKey": false, + "notNull": true + }, + "author_delta": { + "name": "author_delta", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "signature": { + "name": "signature", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "kind": { + "name": "kind", + "type": "smallint", + "primaryKey": false, + "notNull": true + }, + "flags": { + "name": "flags", + "type": "smallint", + "primaryKey": false, + "notNull": true + }, + "arrival": { + "name": "arrival", + "type": "bigint", + "primaryKey": false, + "notNull": false + }, + "subject": { + "name": "subject", + "type": "text", + "primaryKey": false, + "notNull": true + }, + "files": { + "name": "files", + "type": "integer[]", + "primaryKey": false, + "notNull": true + }, + "changes": { + "name": "changes", + "type": "smallint[]", + "primaryKey": false, + "notNull": true + }, + "added": { + "name": "added", + "type": "integer[]", + "primaryKey": false, + "notNull": false + }, + "removed": { + "name": "removed", + "type": "integer[]", + "primaryKey": false, + "notNull": false + } + }, + "indexes": { + "index_commits_at": { + "name": "index_commits_at", + "columns": [ + { + "expression": "si", + "isExpression": false, + "asc": true, + "nulls": "last" + }, + { + "expression": "at", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "index_commits_signature": { + "name": "index_commits_signature", + "columns": [ + { + "expression": "si", + "isExpression": false, + "asc": true, + "nulls": "last" + }, + { + "expression": "signature", + "isExpression": false, + "asc": true, + "nulls": "last" + }, + { + "expression": "at", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": {}, + "compositePrimaryKeys": { + "index_commits_si_sha_pk": { + "name": "index_commits_si_sha_pk", + "columns": [ + "si", + "sha" + ] + } + }, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.index_file_paths": { + "name": "index_file_paths", + "schema": "", + "columns": { + "si": { + "name": "si", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "file": { + "name": "file", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "path": { + "name": "path", + "type": "text", + "primaryKey": false, + "notNull": true + } + }, + "indexes": {}, + "foreignKeys": {}, + "compositePrimaryKeys": { + "index_file_paths_si_file_path_pk": { + "name": "index_file_paths_si_file_path_pk", + "columns": [ + "si", + "file", + "path" + ] + } + }, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.index_files": { + "name": "index_files", + "schema": "", + "columns": { + "si": { + "name": "si", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "file": { + "name": "file", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "path": { + "name": "path", + "type": "text", + "primaryKey": false, + "notNull": true + }, + "folder": { + "name": "folder", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "born": { + "name": "born", + "type": "bigint", + "primaryKey": false, + "notNull": true + }, + "last": { + "name": "last", + "type": "bigint", + "primaryKey": false, + "notNull": true + }, + "alive": { + "name": "alive", + "type": "boolean", + "primaryKey": false, + "notNull": true + }, + "role": { + "name": "role", + "type": "smallint", + "primaryKey": false, + "notNull": true, + "default": 0 + }, + "language": { + "name": "language", + "type": "text", + "primaryKey": false, + "notNull": false + }, + "guessed_generated": { + "name": "guessed_generated", + "type": "boolean", + "primaryKey": false, + "notNull": true, + "default": false + }, + "lockfile": { + "name": "lockfile", + "type": "boolean", + "primaryKey": false, + "notNull": true, + "default": false + } + }, + "indexes": { + "index_files_folder": { + "name": "index_files_folder", + "columns": [ + { + "expression": "si", + "isExpression": false, + "asc": true, + "nulls": "last" + }, + { + "expression": "folder", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": {}, + "compositePrimaryKeys": { + "index_files_si_file_pk": { + "name": "index_files_si_file_pk", + "columns": [ + "si", + "file" + ] + } + }, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.index_folders": { + "name": "index_folders", + "schema": "", + "columns": { + "si": { + "name": "si", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "id": { + "name": "id", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "path": { + "name": "path", + "type": "text", + "primaryKey": false, + "notNull": true + }, + "parent": { + "name": "parent", + "type": "integer", + "primaryKey": false, + "notNull": false + }, + "depth": { + "name": "depth", + "type": "smallint", + "primaryKey": false, + "notNull": true + } + }, + "indexes": { + "index_folders_path": { + "name": "index_folders_path", + "columns": [ + { + "expression": "si", + "isExpression": false, + "asc": true, + "nulls": "last" + }, + { + "expression": "path", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": true, + "concurrently": false, + "method": "btree", + "with": {} + }, + "index_folders_parent": { + "name": "index_folders_parent", + "columns": [ + { + "expression": "si", + "isExpression": false, + "asc": true, + "nulls": "last" + }, + { + "expression": "parent", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": {}, + "compositePrimaryKeys": { + "index_folders_si_id_pk": { + "name": "index_folders_si_id_pk", + "columns": [ + "si", + "id" + ] + } + }, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.index_head_files": { + "name": "index_head_files", + "schema": "", + "columns": { + "si": { + "name": "si", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "file": { + "name": "file", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "blob": { + "name": "blob", + "type": "bytea", + "primaryKey": false, + "notNull": true + }, + "bytes": { + "name": "bytes", + "type": "bigint", + "primaryKey": false, + "notNull": true + }, + "lines": { + "name": "lines", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "class": { + "name": "class", + "type": "text", + "primaryKey": false, + "notNull": true + }, + "indent_levels": { + "name": "indent_levels", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "indent_mean": { + "name": "indent_mean", + "type": "real", + "primaryKey": false, + "notNull": true + }, + "indent_stddev": { + "name": "indent_stddev", + "type": "real", + "primaryKey": false, + "notNull": true + } + }, + "indexes": {}, + "foreignKeys": {}, + "compositePrimaryKeys": { + "index_head_files_si_file_pk": { + "name": "index_head_files_si_file_pk", + "columns": [ + "si", + "file" + ] + } + }, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.index_people": { + "name": "index_people", + "schema": "", + "columns": { + "si": { + "name": "si", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "signature": { + "name": "signature", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "name": { + "name": "name", + "type": "text", + "primaryKey": false, + "notNull": true + }, + "person": { + "name": "person", + "type": "integer", + "primaryKey": false, + "notNull": false + }, + "person_name": { + "name": "person_name", + "type": "text", + "primaryKey": false, + "notNull": false + }, + "colour": { + "name": "colour", + "type": "smallint", + "primaryKey": false, + "notNull": false + }, + "login": { + "name": "login", + "type": "text", + "primaryKey": false, + "notNull": false + }, + "bot": { + "name": "bot", + "type": "boolean", + "primaryKey": false, + "notNull": true + } + }, + "indexes": { + "index_people_person": { + "name": "index_people_person", + "columns": [ + { + "expression": "si", + "isExpression": false, + "asc": true, + "nulls": "last" + }, + { + "expression": "person", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": {}, + "compositePrimaryKeys": { + "index_people_si_signature_pk": { + "name": "index_people_si_signature_pk", + "columns": [ + "si", + "signature" + ] + } + }, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.index_persons": { + "name": "index_persons", + "schema": "", + "columns": { + "si": { + "name": "si", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "person": { + "name": "person", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "traits": { + "name": "traits", + "type": "smallint", + "primaryKey": false, + "notNull": true + }, + "identities": { + "name": "identities", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "commits": { + "name": "commits", + "type": "integer", + "primaryKey": false, + "notNull": true + } + }, + "indexes": {}, + "foreignKeys": {}, + "compositePrimaryKeys": { + "index_persons_si_person_pk": { + "name": "index_persons_si_person_pk", + "columns": [ + "si", + "person" + ] + } + }, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.lent_tokens": { + "name": "lent_tokens", + "schema": "", + "columns": { + "repo_id": { + "name": "repo_id", + "type": "text", + "primaryKey": true, + "notNull": true + }, + "user_id": { + "name": "user_id", + "type": "text", + "primaryKey": false, + "notNull": true + }, + "token": { + "name": "token", + "type": "text", + "primaryKey": false, + "notNull": true + }, + "until": { + "name": "until", + "type": "bigint", + "primaryKey": false, + "notNull": true + } + }, + "indexes": {}, + "foreignKeys": { + "lent_tokens_repo_id_repositories_id_fk": { + "name": "lent_tokens_repo_id_repositories_id_fk", + "tableFrom": "lent_tokens", + "tableTo": "repositories", + "columnsFrom": [ + "repo_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + }, + "lent_tokens_user_id_user_id_fk": { + "name": "lent_tokens_user_id_user_id_fk", + "tableFrom": "lent_tokens", + "tableTo": "user", + "columnsFrom": [ + "user_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.people": { + "name": "people", + "schema": "", + "columns": { + "login": { + "name": "login", + "type": "text", + "primaryKey": true, + "notNull": true + }, + "user_id": { + "name": "user_id", + "type": "text", + "primaryKey": false, + "notNull": false + }, + "hidden": { + "name": "hidden", + "type": "boolean", + "primaryKey": false, + "notNull": true, + "default": false + }, + "name_private": { + "name": "name_private", + "type": "boolean", + "primaryKey": false, + "notNull": true, + "default": false + }, + "updated_at": { + "name": "updated_at", + "type": "bigint", + "primaryKey": false, + "notNull": true + } + }, + "indexes": { + "people_user": { + "name": "people_user", + "columns": [ + { + "expression": "user_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": { + "people_user_id_user_id_fk": { + "name": "people_user_id_user_id_fk", + "tableFrom": "people", + "tableTo": "user", + "columnsFrom": [ + "user_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.private_work": { + "name": "private_work", + "schema": "", + "columns": { + "login": { + "name": "login", + "type": "text", + "primaryKey": false, + "notNull": true + }, + "repo": { + "name": "repo", + "type": "text", + "primaryKey": false, + "notNull": true + }, + "show": { + "name": "show", + "type": "text", + "primaryKey": false, + "notNull": true + }, + "updated_at": { + "name": "updated_at", + "type": "bigint", + "primaryKey": false, + "notNull": true + } + }, + "indexes": {}, + "foreignKeys": {}, + "compositePrimaryKeys": { + "private_work_login_repo_pk": { + "name": "private_work_login_repo_pk", + "columns": [ + "login", + "repo" + ] + } + }, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.profiles": { + "name": "profiles", + "schema": "", + "columns": { + "login": { + "name": "login", + "type": "text", + "primaryKey": false, + "notNull": true + }, + "scope": { + "name": "scope", + "type": "text", + "primaryKey": false, + "notNull": true + }, + "github_id": { + "name": "github_id", + "type": "bigint", + "primaryKey": false, + "notNull": false + }, + "identity": { + "name": "identity", + "type": "text", + "primaryKey": false, + "notNull": true + }, + "identity_at": { + "name": "identity_at", + "type": "bigint", + "primaryKey": false, + "notNull": true + }, + "data": { + "name": "data", + "type": "text", + "primaryKey": false, + "notNull": false + }, + "raw": { + "name": "raw", + "type": "text", + "primaryKey": false, + "notNull": false + }, + "fetched_at": { + "name": "fetched_at", + "type": "bigint", + "primaryKey": false, + "notNull": false + } + }, + "indexes": { + "profiles_github_id": { + "name": "profiles_github_id", + "columns": [ + { + "expression": "github_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": {}, + "compositePrimaryKeys": { + "profiles_login_scope_pk": { + "name": "profiles_login_scope_pk", + "columns": [ + "login", + "scope" + ] + } + }, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.proofs": { + "name": "proofs", + "schema": "", + "columns": { + "id": { + "name": "id", + "type": "text", + "primaryKey": true, + "notNull": true + }, + "login": { + "name": "login", + "type": "text", + "primaryKey": false, + "notNull": true + }, + "user_id": { + "name": "user_id", + "type": "text", + "primaryKey": false, + "notNull": true + }, + "data": { + "name": "data", + "type": "text", + "primaryKey": false, + "notNull": true + }, + "created_at": { + "name": "created_at", + "type": "bigint", + "primaryKey": false, + "notNull": true + } + }, + "indexes": { + "proofs_login": { + "name": "proofs_login", + "columns": [ + { + "expression": "login", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": { + "proofs_user_id_user_id_fk": { + "name": "proofs_user_id_user_id_fk", + "tableFrom": "proofs", + "tableTo": "user", + "columnsFrom": [ + "user_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.pull_requests": { + "name": "pull_requests", + "schema": "", + "columns": { + "repo_id": { + "name": "repo_id", + "type": "text", + "primaryKey": false, + "notNull": true + }, + "number": { + "name": "number", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "author": { + "name": "author", + "type": "text", + "primaryKey": false, + "notNull": false + }, + "state": { + "name": "state", + "type": "text", + "primaryKey": false, + "notNull": true + }, + "title": { + "name": "title", + "type": "text", + "primaryKey": false, + "notNull": true + }, + "created_at": { + "name": "created_at", + "type": "bigint", + "primaryKey": false, + "notNull": true + }, + "merged_at": { + "name": "merged_at", + "type": "bigint", + "primaryKey": false, + "notNull": false + }, + "updated_at": { + "name": "updated_at", + "type": "bigint", + "primaryKey": false, + "notNull": true + }, + "additions": { + "name": "additions", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "deletions": { + "name": "deletions", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "head_ref": { + "name": "head_ref", + "type": "text", + "primaryKey": false, + "notNull": false + }, + "closed_at": { + "name": "closed_at", + "type": "bigint", + "primaryKey": false, + "notNull": false + }, + "merged_by": { + "name": "merged_by", + "type": "text", + "primaryKey": false, + "notNull": false + }, + "base_ref": { + "name": "base_ref", + "type": "text", + "primaryKey": false, + "notNull": false + }, + "draft": { + "name": "draft", + "type": "boolean", + "primaryKey": false, + "notNull": false + }, + "changed_files": { + "name": "changed_files", + "type": "integer", + "primaryKey": false, + "notNull": false + }, + "commits": { + "name": "commits", + "type": "integer", + "primaryKey": false, + "notNull": false + }, + "head_owner": { + "name": "head_owner", + "type": "text", + "primaryKey": false, + "notNull": false + }, + "from_fork": { + "name": "from_fork", + "type": "boolean", + "primaryKey": false, + "notNull": false + }, + "labels": { + "name": "labels", + "type": "jsonb", + "primaryKey": false, + "notNull": false + }, + "review_decision": { + "name": "review_decision", + "type": "text", + "primaryKey": false, + "notNull": false + }, + "merge_commit": { + "name": "merge_commit", + "type": "text", + "primaryKey": false, + "notNull": false + }, + "comments": { + "name": "comments", + "type": "integer", + "primaryKey": false, + "notNull": false + } + }, + "indexes": { + "pull_requests_head": { + "name": "pull_requests_head", + "columns": [ + { + "expression": "repo_id", + "isExpression": false, + "asc": true, + "nulls": "last" + }, + { + "expression": "head_ref", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": { + "pull_requests_repo_id_repositories_id_fk": { + "name": "pull_requests_repo_id_repositories_id_fk", + "tableFrom": "pull_requests", + "tableTo": "repositories", + "columnsFrom": [ + "repo_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": { + "pull_requests_repo_id_number_pk": { + "name": "pull_requests_repo_id_number_pk", + "columns": [ + "repo_id", + "number" + ] + } + }, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.pull_reviews": { + "name": "pull_reviews", + "schema": "", + "columns": { + "repo_id": { + "name": "repo_id", + "type": "text", + "primaryKey": false, + "notNull": true + }, + "number": { + "name": "number", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "reviewer": { + "name": "reviewer", + "type": "text", + "primaryKey": false, + "notNull": true + }, + "reviews": { + "name": "reviews", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "first_at": { + "name": "first_at", + "type": "bigint", + "primaryKey": false, + "notNull": true + }, + "last_at": { + "name": "last_at", + "type": "bigint", + "primaryKey": false, + "notNull": false + }, + "state": { + "name": "state", + "type": "text", + "primaryKey": false, + "notNull": false + }, + "approved_at": { + "name": "approved_at", + "type": "bigint", + "primaryKey": false, + "notNull": false + } + }, + "indexes": {}, + "foreignKeys": { + "pull_reviews_repo_id_repositories_id_fk": { + "name": "pull_reviews_repo_id_repositories_id_fk", + "tableFrom": "pull_reviews", + "tableTo": "repositories", + "columnsFrom": [ + "repo_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": { + "pull_reviews_repo_id_number_reviewer_pk": { + "name": "pull_reviews_repo_id_number_reviewer_pk", + "columns": [ + "repo_id", + "number", + "reviewer" + ] + } + }, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.rate_limits": { + "name": "rate_limits", + "schema": "", + "columns": { + "key": { + "name": "key", + "type": "text", + "primaryKey": true, + "notNull": true + }, + "count": { + "name": "count", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "until": { + "name": "until", + "type": "bigint", + "primaryKey": false, + "notNull": true + } + }, + "indexes": {}, + "foreignKeys": {}, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.repo_blobs": { + "name": "repo_blobs", + "schema": "", + "columns": { + "repo_id": { + "name": "repo_id", + "type": "text", + "primaryKey": false, + "notNull": true + }, + "sha": { + "name": "sha", + "type": "text", + "primaryKey": false, + "notNull": true + }, + "lines": { + "name": "lines", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "binary": { + "name": "binary", + "type": "boolean", + "primaryKey": false, + "notNull": true + } + }, + "indexes": {}, + "foreignKeys": { + "repo_blobs_repo_id_repositories_id_fk": { + "name": "repo_blobs_repo_id_repositories_id_fk", + "tableFrom": "repo_blobs", + "tableTo": "repositories", + "columnsFrom": [ + "repo_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": { + "repo_blobs_repo_id_sha_pk": { + "name": "repo_blobs_repo_id_sha_pk", + "columns": [ + "repo_id", + "sha" + ] + } + }, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.repo_branch_details": { + "name": "repo_branch_details", + "schema": "", + "columns": { + "repo_id": { + "name": "repo_id", + "type": "text", + "primaryKey": false, + "notNull": true + }, + "position": { + "name": "position", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "against": { + "name": "against", + "type": "text", + "primaryKey": false, + "notNull": true + }, + "commits": { + "name": "commits", + "type": "jsonb", + "primaryKey": false, + "notNull": true + }, + "commits_total": { + "name": "commits_total", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "files": { + "name": "files", + "type": "jsonb", + "primaryKey": false, + "notNull": true + }, + "files_total": { + "name": "files_total", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "added": { + "name": "added", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "removed": { + "name": "removed", + "type": "integer", + "primaryKey": false, + "notNull": true + } + }, + "indexes": {}, + "foreignKeys": { + "repo_branch_details_repo_id_repositories_id_fk": { + "name": "repo_branch_details_repo_id_repositories_id_fk", + "tableFrom": "repo_branch_details", + "tableTo": "repositories", + "columnsFrom": [ + "repo_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": { + "repo_branch_details_repo_id_position_pk": { + "name": "repo_branch_details_repo_id_position_pk", + "columns": [ + "repo_id", + "position" + ] + } + }, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.repo_branches": { + "name": "repo_branches", + "schema": "", + "columns": { + "repo_id": { + "name": "repo_id", + "type": "text", + "primaryKey": false, + "notNull": true + }, + "position": { + "name": "position", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "name": { + "name": "name", + "type": "text", + "primaryKey": false, + "notNull": true + }, + "sha": { + "name": "sha", + "type": "text", + "primaryKey": false, + "notNull": true + }, + "at": { + "name": "at", + "type": "bigint", + "primaryKey": false, + "notNull": true + }, + "author": { + "name": "author", + "type": "text", + "primaryKey": false, + "notNull": true + }, + "login": { + "name": "login", + "type": "text", + "primaryKey": false, + "notNull": false + }, + "subject": { + "name": "subject", + "type": "text", + "primaryKey": false, + "notNull": true + }, + "ahead": { + "name": "ahead", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "behind": { + "name": "behind", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "base": { + "name": "base", + "type": "text", + "primaryKey": false, + "notNull": true + }, + "base_at": { + "name": "base_at", + "type": "bigint", + "primaryKey": false, + "notNull": true + }, + "merged": { + "name": "merged", + "type": "boolean", + "primaryKey": false, + "notNull": true + }, + "squashed": { + "name": "squashed", + "type": "boolean", + "primaryKey": false, + "notNull": true, + "default": false + }, + "parent": { + "name": "parent", + "type": "text", + "primaryKey": false, + "notNull": false + }, + "shared": { + "name": "shared", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "bot": { + "name": "bot", + "type": "boolean", + "primaryKey": false, + "notNull": true, + "default": false + } + }, + "indexes": {}, + "foreignKeys": { + "repo_branches_repo_id_repositories_id_fk": { + "name": "repo_branches_repo_id_repositories_id_fk", + "tableFrom": "repo_branches", + "tableTo": "repositories", + "columnsFrom": [ + "repo_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": { + "repo_branches_repo_id_position_pk": { + "name": "repo_branches_repo_id_position_pk", + "columns": [ + "repo_id", + "position" + ] + } + }, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.repo_events": { + "name": "repo_events", + "schema": "", + "columns": { + "id": { + "name": "id", + "type": "text", + "primaryKey": true, + "notNull": true + }, + "repo_id": { + "name": "repo_id", + "type": "text", + "primaryKey": false, + "notNull": true + }, + "kind": { + "name": "kind", + "type": "text", + "primaryKey": false, + "notNull": true + }, + "actor": { + "name": "actor", + "type": "text", + "primaryKey": false, + "notNull": false + }, + "title": { + "name": "title", + "type": "text", + "primaryKey": false, + "notNull": false + }, + "url": { + "name": "url", + "type": "text", + "primaryKey": false, + "notNull": false + }, + "count": { + "name": "count", + "type": "integer", + "primaryKey": false, + "notNull": false + }, + "at": { + "name": "at", + "type": "bigint", + "primaryKey": false, + "notNull": true + } + }, + "indexes": { + "repo_events_repo_at": { + "name": "repo_events_repo_at", + "columns": [ + { + "expression": "repo_id", + "isExpression": false, + "asc": true, + "nulls": "last" + }, + { + "expression": "at", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": { + "repo_events_repo_id_repositories_id_fk": { + "name": "repo_events_repo_id_repositories_id_fk", + "tableFrom": "repo_events", + "tableTo": "repositories", + "columnsFrom": [ + "repo_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.repo_git": { + "name": "repo_git", + "schema": "", + "columns": { + "repo_id": { + "name": "repo_id", + "type": "text", + "primaryKey": true, + "notNull": true + }, + "prefix": { + "name": "prefix", + "type": "text", + "primaryKey": false, + "notNull": true + }, + "build_id": { + "name": "build_id", + "type": "text", + "primaryKey": false, + "notNull": true + }, + "built_at": { + "name": "built_at", + "type": "bigint", + "primaryKey": false, + "notNull": true + }, + "head": { + "name": "head", + "type": "text", + "primaryKey": false, + "notNull": true + }, + "branch": { + "name": "branch", + "type": "text", + "primaryKey": false, + "notNull": true + }, + "branches": { + "name": "branches", + "type": "integer", + "primaryKey": false, + "notNull": true, + "default": 0 + }, + "tags": { + "name": "tags", + "type": "integer", + "primaryKey": false, + "notNull": true, + "default": 0 + }, + "files": { + "name": "files", + "type": "integer", + "primaryKey": false, + "notNull": true, + "default": 0 + }, + "stored": { + "name": "stored", + "type": "integer", + "primaryKey": false, + "notNull": true, + "default": 0 + }, + "pulls": { + "name": "pulls", + "type": "integer", + "primaryKey": false, + "notNull": true, + "default": 0 + }, + "bytes": { + "name": "bytes", + "type": "bigint", + "primaryKey": false, + "notNull": true, + "default": 0 + }, + "logged": { + "name": "logged", + "type": "integer", + "primaryKey": false, + "notNull": true, + "default": 0 + }, + "complete": { + "name": "complete", + "type": "boolean", + "primaryKey": false, + "notNull": true, + "default": false + }, + "seconds": { + "name": "seconds", + "type": "real", + "primaryKey": false, + "notNull": true, + "default": 0 + }, + "steps": { + "name": "steps", + "type": "text", + "primaryKey": false, + "notNull": true, + "default": "'[]'" + }, + "branches_total": { + "name": "branches_total", + "type": "integer", + "primaryKey": false, + "notNull": true, + "default": 0 + }, + "tags_total": { + "name": "tags_total", + "type": "integer", + "primaryKey": false, + "notNull": true, + "default": 0 + }, + "inferred": { + "name": "inferred", + "type": "boolean", + "primaryKey": false, + "notNull": true, + "default": false + } + }, + "indexes": {}, + "foreignKeys": { + "repo_git_repo_id_repositories_id_fk": { + "name": "repo_git_repo_id_repositories_id_fk", + "tableFrom": "repo_git", + "tableTo": "repositories", + "columnsFrom": [ + "repo_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.repo_names": { + "name": "repo_names", + "schema": "", + "columns": { + "id": { + "name": "id", + "type": "text", + "primaryKey": true, + "notNull": true + }, + "repo_id": { + "name": "repo_id", + "type": "text", + "primaryKey": false, + "notNull": true + }, + "at": { + "name": "at", + "type": "bigint", + "primaryKey": false, + "notNull": true + } + }, + "indexes": { + "repo_names_repo": { + "name": "repo_names_repo", + "columns": [ + { + "expression": "repo_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": { + "repo_names_repo_id_repositories_id_fk": { + "name": "repo_names_repo_id_repositories_id_fk", + "tableFrom": "repo_names", + "tableTo": "repositories", + "columnsFrom": [ + "repo_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.repo_people": { + "name": "repo_people", + "schema": "", + "columns": { + "repo_id": { + "name": "repo_id", + "type": "text", + "primaryKey": false, + "notNull": true + }, + "person_id": { + "name": "person_id", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "name": { + "name": "name", + "type": "text", + "primaryKey": false, + "notNull": true + }, + "login": { + "name": "login", + "type": "text", + "primaryKey": false, + "notNull": false + }, + "commits": { + "name": "commits", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "lines_added": { + "name": "lines_added", + "type": "integer", + "primaryKey": false, + "notNull": false + }, + "lines_removed": { + "name": "lines_removed", + "type": "integer", + "primaryKey": false, + "notNull": false + }, + "first": { + "name": "first", + "type": "bigint", + "primaryKey": false, + "notNull": false + }, + "last": { + "name": "last", + "type": "bigint", + "primaryKey": false, + "notNull": false + }, + "report_key": { + "name": "report_key", + "type": "text", + "primaryKey": false, + "notNull": true + } + }, + "indexes": { + "repo_people_lower_login": { + "name": "repo_people_lower_login", + "columns": [ + { + "expression": "lower(\"login\")", + "asc": true, + "isExpression": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": { + "repo_people_repo_id_repositories_id_fk": { + "name": "repo_people_repo_id_repositories_id_fk", + "tableFrom": "repo_people", + "tableTo": "repositories", + "columnsFrom": [ + "repo_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": { + "repo_people_repo_id_person_id_pk": { + "name": "repo_people_repo_id_person_id_pk", + "columns": [ + "repo_id", + "person_id" + ] + } + }, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.repo_states": { + "name": "repo_states", + "schema": "", + "columns": { + "repo_id": { + "name": "repo_id", + "type": "text", + "primaryKey": true, + "notNull": true + }, + "saved_at": { + "name": "saved_at", + "type": "bigint", + "primaryKey": false, + "notNull": true + }, + "used_at": { + "name": "used_at", + "type": "bigint", + "primaryKey": false, + "notNull": true + }, + "bytes": { + "name": "bytes", + "type": "bigint", + "primaryKey": false, + "notNull": true + } + }, + "indexes": { + "repo_states_used": { + "name": "repo_states_used", + "columns": [ + { + "expression": "used_at", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": {}, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.repo_tags": { + "name": "repo_tags", + "schema": "", + "columns": { + "repo_id": { + "name": "repo_id", + "type": "text", + "primaryKey": false, + "notNull": true + }, + "position": { + "name": "position", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "name": { + "name": "name", + "type": "text", + "primaryKey": false, + "notNull": true + }, + "sha": { + "name": "sha", + "type": "text", + "primaryKey": false, + "notNull": true + }, + "at": { + "name": "at", + "type": "bigint", + "primaryKey": false, + "notNull": true + } + }, + "indexes": {}, + "foreignKeys": { + "repo_tags_repo_id_repositories_id_fk": { + "name": "repo_tags_repo_id_repositories_id_fk", + "tableFrom": "repo_tags", + "tableTo": "repositories", + "columnsFrom": [ + "repo_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": { + "repo_tags_repo_id_position_pk": { + "name": "repo_tags_repo_id_position_pk", + "columns": [ + "repo_id", + "position" + ] + } + }, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.repositories": { + "name": "repositories", + "schema": "", + "columns": { + "id": { + "name": "id", + "type": "text", + "primaryKey": true, + "notNull": true + }, + "owner": { + "name": "owner", + "type": "text", + "primaryKey": false, + "notNull": true + }, + "name": { + "name": "name", + "type": "text", + "primaryKey": false, + "notNull": true + }, + "github_id": { + "name": "github_id", + "type": "bigint", + "primaryKey": false, + "notNull": false + }, + "private": { + "name": "private", + "type": "boolean", + "primaryKey": false, + "notNull": true, + "default": false + }, + "status": { + "name": "status", + "type": "text", + "primaryKey": false, + "notNull": true, + "default": "'ok'" + }, + "facts": { + "name": "facts", + "type": "text", + "primaryKey": false, + "notNull": false + }, + "facts_at": { + "name": "facts_at", + "type": "bigint", + "primaryKey": false, + "notNull": false + }, + "size_kb": { + "name": "size_kb", + "type": "integer", + "primaryKey": false, + "notNull": false + }, + "report_key": { + "name": "report_key", + "type": "text", + "primaryKey": false, + "notNull": false + }, + "report_head": { + "name": "report_head", + "type": "text", + "primaryKey": false, + "notNull": false + }, + "report_refs": { + "name": "report_refs", + "type": "text", + "primaryKey": false, + "notNull": false + }, + "report_at": { + "name": "report_at", + "type": "bigint", + "primaryKey": false, + "notNull": false + }, + "report_bytes": { + "name": "report_bytes", + "type": "integer", + "primaryKey": false, + "notNull": false + }, + "report_lines": { + "name": "report_lines", + "type": "boolean", + "primaryKey": false, + "notNull": false + }, + "viewed_at": { + "name": "viewed_at", + "type": "bigint", + "primaryKey": false, + "notNull": false + }, + "checked_at": { + "name": "checked_at", + "type": "bigint", + "primaryKey": false, + "notNull": false + }, + "installation_id": { + "name": "installation_id", + "type": "bigint", + "primaryKey": false, + "notNull": false + }, + "connected_by": { + "name": "connected_by", + "type": "text", + "primaryKey": false, + "notNull": false + }, + "seed": { + "name": "seed", + "type": "boolean", + "primaryKey": false, + "notNull": true, + "default": false + }, + "language": { + "name": "language", + "type": "text", + "primaryKey": false, + "notNull": false + }, + "stars": { + "name": "stars", + "type": "integer", + "primaryKey": false, + "notNull": false + }, + "bus_factor": { + "name": "bus_factor", + "type": "integer", + "primaryKey": false, + "notNull": false + }, + "maintainers": { + "name": "maintainers", + "type": "integer", + "primaryKey": false, + "notNull": false + }, + "commits_30d": { + "name": "commits_30d", + "type": "integer", + "primaryKey": false, + "notNull": false + }, + "code_lines": { + "name": "code_lines", + "type": "integer", + "primaryKey": false, + "notNull": false + }, + "pulls_at": { + "name": "pulls_at", + "type": "text", + "primaryKey": false, + "notNull": false + }, + "pulls_read_at": { + "name": "pulls_read_at", + "type": "bigint", + "primaryKey": false, + "notNull": false + }, + "pulls_cursor": { + "name": "pulls_cursor", + "type": "text", + "primaryKey": false, + "notNull": false + }, + "pulls_mark": { + "name": "pulls_mark", + "type": "text", + "primaryKey": false, + "notNull": false + }, + "pulls_version": { + "name": "pulls_version", + "type": "integer", + "primaryKey": false, + "notNull": true, + "default": 0 + }, + "index_id": { + "name": "index_id", + "type": "integer", + "primaryKey": false, + "notNull": false + }, + "report_meta": { + "name": "report_meta", + "type": "jsonb", + "primaryKey": false, + "notNull": false + }, + "report_stats": { + "name": "report_stats", + "type": "jsonb", + "primaryKey": false, + "notNull": false + } + }, + "indexes": { + "repositories_installation": { + "name": "repositories_installation", + "columns": [ + { + "expression": "installation_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "repositories_seed": { + "name": "repositories_seed", + "columns": [ + { + "expression": "seed", + "isExpression": false, + "asc": true, + "nulls": "last" + }, + { + "expression": "report_at", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + }, + "repositories_github_id": { + "name": "repositories_github_id", + "columns": [ + { + "expression": "github_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": { + "repositories_connected_by_user_id_fk": { + "name": "repositories_connected_by_user_id_fk", + "tableFrom": "repositories", + "tableTo": "user", + "columnsFrom": [ + "connected_by" + ], + "columnsTo": [ + "id" + ], + "onDelete": "set null", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.session": { + "name": "session", + "schema": "", + "columns": { + "id": { + "name": "id", + "type": "text", + "primaryKey": true, + "notNull": true + }, + "expires_at": { + "name": "expires_at", + "type": "timestamp", + "primaryKey": false, + "notNull": true + }, + "token": { + "name": "token", + "type": "text", + "primaryKey": false, + "notNull": true + }, + "created_at": { + "name": "created_at", + "type": "timestamp", + "primaryKey": false, + "notNull": true, + "default": "now()" + }, + "updated_at": { + "name": "updated_at", + "type": "timestamp", + "primaryKey": false, + "notNull": true + }, + "ip_address": { + "name": "ip_address", + "type": "text", + "primaryKey": false, + "notNull": false + }, + "user_agent": { + "name": "user_agent", + "type": "text", + "primaryKey": false, + "notNull": false + }, + "user_id": { + "name": "user_id", + "type": "text", + "primaryKey": false, + "notNull": true + } + }, + "indexes": { + "session_user_id": { + "name": "session_user_id", + "columns": [ + { + "expression": "user_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": { + "session_user_id_user_id_fk": { + "name": "session_user_id_user_id_fk", + "tableFrom": "session", + "tableTo": "user", + "columnsFrom": [ + "user_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": { + "session_token_unique": { + "name": "session_token_unique", + "nullsNotDistinct": false, + "columns": [ + "token" + ] + } + }, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.shares": { + "name": "shares", + "schema": "", + "columns": { + "id": { + "name": "id", + "type": "text", + "primaryKey": true, + "notNull": true + }, + "bytes": { + "name": "bytes", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "created_at": { + "name": "created_at", + "type": "bigint", + "primaryKey": false, + "notNull": true + }, + "expires_at": { + "name": "expires_at", + "type": "bigint", + "primaryKey": false, + "notNull": true + }, + "delete_hash": { + "name": "delete_hash", + "type": "text", + "primaryKey": false, + "notNull": true + }, + "upload_hash": { + "name": "upload_hash", + "type": "text", + "primaryKey": false, + "notNull": false + }, + "uploaded": { + "name": "uploaded", + "type": "boolean", + "primaryKey": false, + "notNull": true, + "default": false + } + }, + "indexes": { + "shares_expires": { + "name": "shares_expires", + "columns": [ + { + "expression": "expires_at", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": {}, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.stored_indexes": { + "name": "stored_indexes", + "schema": "", + "columns": { + "id": { + "name": "id", + "type": "serial", + "primaryKey": true, + "notNull": true + }, + "repo_id": { + "name": "repo_id", + "type": "text", + "primaryKey": false, + "notNull": true + }, + "lineage": { + "name": "lineage", + "type": "text", + "primaryKey": false, + "notNull": true + }, + "kept": { + "name": "kept", + "type": "boolean", + "primaryKey": false, + "notNull": true + }, + "state": { + "name": "state", + "type": "text", + "primaryKey": false, + "notNull": true + }, + "head": { + "name": "head", + "type": "text", + "primaryKey": false, + "notNull": false + }, + "frontier": { + "name": "frontier", + "type": "text[]", + "primaryKey": false, + "notNull": true, + "default": "'{}'" + }, + "lines": { + "name": "lines", + "type": "boolean", + "primaryKey": false, + "notNull": true + }, + "lines_left": { + "name": "lines_left", + "type": "integer", + "primaryKey": false, + "notNull": false + }, + "commits": { + "name": "commits", + "type": "integer", + "primaryKey": false, + "notNull": true, + "default": 0 + }, + "built_at": { + "name": "built_at", + "type": "bigint", + "primaryKey": false, + "notNull": true + }, + "loaded_at": { + "name": "loaded_at", + "type": "bigint", + "primaryKey": false, + "notNull": false + }, + "anchor": { + "name": "anchor", + "type": "bigint", + "primaryKey": false, + "notNull": true, + "default": 0 + }, + "options": { + "name": "options", + "type": "jsonb", + "primaryKey": false, + "notNull": true, + "default": "'{\"max_changeset_size\":50,\"coupling_support\":5,\"ownership_min_commits\":10}'::jsonb" + }, + "snapshot": { + "name": "snapshot", + "type": "jsonb", + "primaryKey": false, + "notNull": false + }, + "pack": { + "name": "pack", + "type": "text", + "primaryKey": false, + "notNull": false + }, + "mark": { + "name": "mark", + "type": "text", + "primaryKey": false, + "notNull": false + }, + "build_format": { + "name": "build_format", + "type": "integer", + "primaryKey": false, + "notNull": false + } + }, + "indexes": { + "stored_indexes_repo": { + "name": "stored_indexes_repo", + "columns": [ + { + "expression": "repo_id", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": { + "stored_indexes_repo_id_repositories_id_fk": { + "name": "stored_indexes_repo_id_repositories_id_fk", + "tableFrom": "stored_indexes", + "tableTo": "repositories", + "columnsFrom": [ + "repo_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.surviving": { + "name": "surviving", + "schema": "", + "columns": { + "repo_id": { + "name": "repo_id", + "type": "text", + "primaryKey": false, + "notNull": true + }, + "report_key": { + "name": "report_key", + "type": "text", + "primaryKey": false, + "notNull": true + }, + "person_id": { + "name": "person_id", + "type": "integer", + "primaryKey": false, + "notNull": true + }, + "status": { + "name": "status", + "type": "text", + "primaryKey": false, + "notNull": true + }, + "lines": { + "name": "lines", + "type": "integer", + "primaryKey": false, + "notNull": false + }, + "added": { + "name": "added", + "type": "integer", + "primaryKey": false, + "notNull": false + }, + "files": { + "name": "files", + "type": "integer", + "primaryKey": false, + "notNull": false + }, + "seconds": { + "name": "seconds", + "type": "real", + "primaryKey": false, + "notNull": false + }, + "head": { + "name": "head", + "type": "text", + "primaryKey": false, + "notNull": false + }, + "oldest": { + "name": "oldest", + "type": "bigint", + "primaryKey": false, + "notNull": false + }, + "asked_at": { + "name": "asked_at", + "type": "bigint", + "primaryKey": false, + "notNull": true + }, + "counted_at": { + "name": "counted_at", + "type": "bigint", + "primaryKey": false, + "notNull": false + } + }, + "indexes": { + "surviving_status": { + "name": "surviving_status", + "columns": [ + { + "expression": "status", + "isExpression": false, + "asc": true, + "nulls": "last" + }, + { + "expression": "asked_at", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": { + "surviving_repo_id_repositories_id_fk": { + "name": "surviving_repo_id_repositories_id_fk", + "tableFrom": "surviving", + "tableTo": "repositories", + "columnsFrom": [ + "repo_id" + ], + "columnsTo": [ + "id" + ], + "onDelete": "cascade", + "onUpdate": "no action" + } + }, + "compositePrimaryKeys": { + "surviving_repo_id_report_key_person_id_pk": { + "name": "surviving_repo_id_report_key_person_id_pk", + "columns": [ + "repo_id", + "report_key", + "person_id" + ] + } + }, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.user": { + "name": "user", + "schema": "", + "columns": { + "id": { + "name": "id", + "type": "text", + "primaryKey": true, + "notNull": true + }, + "name": { + "name": "name", + "type": "text", + "primaryKey": false, + "notNull": true + }, + "email": { + "name": "email", + "type": "text", + "primaryKey": false, + "notNull": true + }, + "email_verified": { + "name": "email_verified", + "type": "boolean", + "primaryKey": false, + "notNull": true, + "default": false + }, + "image": { + "name": "image", + "type": "text", + "primaryKey": false, + "notNull": false + }, + "login": { + "name": "login", + "type": "text", + "primaryKey": false, + "notNull": false + }, + "created_at": { + "name": "created_at", + "type": "timestamp", + "primaryKey": false, + "notNull": true, + "default": "now()" + }, + "updated_at": { + "name": "updated_at", + "type": "timestamp", + "primaryKey": false, + "notNull": true, + "default": "now()" + } + }, + "indexes": {}, + "foreignKeys": {}, + "compositePrimaryKeys": {}, + "uniqueConstraints": { + "user_email_unique": { + "name": "user_email_unique", + "nullsNotDistinct": false, + "columns": [ + "email" + ] + } + }, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + }, + "public.verification": { + "name": "verification", + "schema": "", + "columns": { + "id": { + "name": "id", + "type": "text", + "primaryKey": true, + "notNull": true + }, + "identifier": { + "name": "identifier", + "type": "text", + "primaryKey": false, + "notNull": true + }, + "value": { + "name": "value", + "type": "text", + "primaryKey": false, + "notNull": true + }, + "expires_at": { + "name": "expires_at", + "type": "timestamp", + "primaryKey": false, + "notNull": true + }, + "created_at": { + "name": "created_at", + "type": "timestamp", + "primaryKey": false, + "notNull": true, + "default": "now()" + }, + "updated_at": { + "name": "updated_at", + "type": "timestamp", + "primaryKey": false, + "notNull": true, + "default": "now()" + } + }, + "indexes": { + "verification_identifier": { + "name": "verification_identifier", + "columns": [ + { + "expression": "identifier", + "isExpression": false, + "asc": true, + "nulls": "last" + } + ], + "isUnique": false, + "concurrently": false, + "method": "btree", + "with": {} + } + }, + "foreignKeys": {}, + "compositePrimaryKeys": {}, + "uniqueConstraints": {}, + "policies": {}, + "checkConstraints": {}, + "isRLSEnabled": false + } + }, + "enums": {}, + "schemas": {}, + "sequences": {}, + "roles": {}, + "policies": {}, + "views": {}, + "_meta": { + "columns": {}, + "schemas": {}, + "tables": {} + } +} \ No newline at end of file diff --git a/packages/server/drizzle/meta/_journal.json b/packages/server/drizzle/meta/_journal.json index 560eab2..4667110 100644 --- a/packages/server/drizzle/meta/_journal.json +++ b/packages/server/drizzle/meta/_journal.json @@ -288,6 +288,13 @@ "when": 1793102051021, "tag": "0040_noisy_logan", "breakpoints": true + }, + { + "idx": 41, + "version": "7", + "when": 1793102458043, + "tag": "0041_magenta_iron_patriot", + "breakpoints": true } ] } \ No newline at end of file diff --git a/packages/server/src/builds.test.ts b/packages/server/src/builds.test.ts index ce81d59..f8e74f6 100644 --- a/packages/server/src/builds.test.ts +++ b/packages/server/src/builds.test.ts @@ -3,7 +3,7 @@ import { PGlite } from "@electric-sql/pglite"; import { drizzle } from "drizzle-orm/pglite"; import { migrate } from "drizzle-orm/pglite/migrator"; import { expect, test } from "vitest"; -import { BUILD_FORMAT, busy, currentAt, queueBuild, reapBuilds, RESEND_AFTER, RETRY_AFTER, UNCHANGED_FOR, unchanged, whole } from "./builds"; +import { BUILD_FORMAT, busy, currentAt, queueBuild, reapBuilds, RESEND_AFTER, refsUnchanged, RETRY_AFTER, UNCHANGED_FOR, unchanged, whole } from "./builds"; import type { Db } from "./db/client"; import * as schema from "./db/schema"; import { LONGEST_JOB_SECONDS, type BuildJob, type Queue } from "./queue"; @@ -33,6 +33,11 @@ test("a Report is whole when it has its pack from a Build of this release, every expect(unchanged(row, live, "a".repeat(40), at)).toBe(true); expect(unchanged(row, live, "b".repeat(40), at)).toBe(false); expect(unchanged(row, live, null, at)).toBe(false); + const remote = { head: "a".repeat(40), refs: "r1" }; + expect(refsUnchanged({ ...row, reportRefs: "r1" }, live, remote, at)).toBe(true); + expect(refsUnchanged({ ...row, reportRefs: "r1" }, live, { ...remote, refs: "r2" }, at)).toBe(false); + expect(refsUnchanged({ ...row, reportRefs: null }, live, remote, at)).toBe(false); + expect(refsUnchanged({ ...row, reportRefs: "r1" }, live, null, at)).toBe(false); expect(whole({ ...row, reportLines: false }, live, at)).toBe(false); expect(whole({ ...row, reportAt: at - UNCHANGED_FOR }, live, at)).toBe(false); expect(whole(row, { ...live, linesLeft: 12 }, at)).toBe(false); diff --git a/packages/server/src/builds.ts b/packages/server/src/builds.ts index d2e3ab9..4eeb025 100644 --- a/packages/server/src/builds.ts +++ b/packages/server/src/builds.ts @@ -15,7 +15,7 @@ export const UNCHANGED_FOR = 7 * 24 * 3600; /** What a Build of this release makes beside a Stored Index, recorded on it when its pack is published: format 3 packs, the head's standard screens stored with the Report, the Builder's Atlas and everyone's Ownership of lines. A Stored Index made otherwise is built again. */ export const BUILD_FORMAT = 2; -type Reported = Pick & { checkedAt?: number | null }; +type Reported = Pick & { checkedAt?: number | null; reportRefs?: string | null }; /** When a repository's Report was last known current: built, or found with its head where the Build left it. */ export function currentAt(row: Reported): number { @@ -34,6 +34,11 @@ export function unchanged(row: Reported, live: Whole | null, head: string | null return !!head && whole(row, live, at) && live?.head === head; } +/** Whether a Build has nothing to do, as `unchanged` says, with every branch and tag on the remote as the Build that published the Report saw them: a Report covers them all, not only the default branch. */ +export function refsUnchanged(row: Reported, live: Whole | null, remote: { head: string | null; refs: string } | null, at = now()): boolean { + return !!remote && !!row.reportRefs && row.reportRefs === remote.refs && unchanged(row, live, remote.head, at); +} + type BuildState = Pick & { startedAt?: number | null }; /** Whether a Build is still running, or ended too recently to try again: failed, or done with only part of its Report. */ diff --git a/packages/server/src/db/schema.ts b/packages/server/src/db/schema.ts index 56ffdc1..8e957db 100644 --- a/packages/server/src/db/schema.ts +++ b/packages/server/src/db/schema.ts @@ -93,6 +93,7 @@ export const repositories = pgTable( sizeKb: integer("size_kb"), reportKey: text("report_key"), reportHead: text("report_head"), + reportRefs: text("report_refs"), reportAt: seconds("report_at"), reportBytes: integer("report_bytes"), reportLines: boolean("report_lines"), From 0718a60165bb1ea4c42cdbacc9678487ff3d0a05 Mon Sep 17 00:00:00 2001 From: Dev Talan <84081651+devchaudhary24k@users.noreply.github.com> Date: Tue, 27 Oct 2026 17:37:09 +0530 Subject: [PATCH 54/82] fix: a fork never takes its parent's left-out files as having no lines The line store keeps no lines for the files a repository leaves out (lockfiles, Generated Files), and a fork's store was started as a whole copy of its parent's. A fork that keeps such a file, its attributes saying otherwise, took the parent's commits as counted with none for it. A fork's store now takes only the parent's commits of its own history whose uncounted files it leaves out too; a commit touching a file the fork keeps is counted again. The copy is read a record at a time. Test: a parent marks gen.rs generated and its fork drops the mark; the seeded fork counts the two commits touching gen.rs again (3, not 1) and writes the same export, pack and meta as a fork built without a seed. --- .../commitscape-index/src/cache/line_store.rs | 56 +++++++--- crates/commitscape/src/build.rs | 3 +- crates/commitscape/tests/build.rs | 102 ++++++++++++++++++ docs/working.md | 6 +- 4 files changed, 151 insertions(+), 16 deletions(-) diff --git a/crates/commitscape-index/src/cache/line_store.rs b/crates/commitscape-index/src/cache/line_store.rs index 705264b..54fa395 100644 --- a/crates/commitscape-index/src/cache/line_store.rs +++ b/crates/commitscape-index/src/cache/line_store.rs @@ -1,7 +1,9 @@ use std::io::{self, Write}; use std::path::{Path, PathBuf}; -use commitscape_core::{LineDelta, Oid, RepoIdentity}; +use commitscape_core::{Index, LineDelta, Oid, RepoIdentity}; + +use crate::commit_at::CommitAt; use foldhash::{HashMap, HashMapExt}; use xxhash_rust::xxh3::xxh3_64; @@ -34,23 +36,51 @@ impl LineStore { self.dir.join(FILE) } - /// Starts this store as a copy of another repository's, when it has none yet: lines are counted per commit, so the ones counted there for commits this repository shares (a fork's parent, say) are not counted again, and the others are never asked for. True when it was copied. - pub fn seed(&self, from: &Path) -> bool { + /// Starts this store from another repository's, when it has none yet: lines are counted per commit, so the ones counted there for commits this repository shares (a fork's parent, say) are not counted again, and the others are never asked for. Only commits of `index` are taken whose changes this repository leaves out (`skipped`, by file) wherever the other left lines uncounted, so a file it keeps is never taken as having none. True when anything was taken. + pub fn seed(&self, from: &Path, index: &Index, skipped: &[bool]) -> bool { let path = self.path(); if path.exists() { return false; } - let mut head = vec![0u8; MAGIC.len()]; - let readable = std::fs::File::open(from) - .and_then(|mut f| std::io::Read::read_exact(&mut f, &mut head)) - .is_ok(); - if !readable || head != MAGIC { - return false; - } + let at = CommitAt::of(index); + let fits = |id: &Oid, deltas: &[Option]| { + let Some(c) = at.get(index, id) else { + return false; + }; + let changes = index.changes_of(c); + changes.len() == deltas.len() + && changes.iter().zip(deltas).all(|(change, delta)| { + delta.is_some() || skipped.get(change.file.idx()).copied().unwrap_or(false) + }) + }; let temp = self.dir.join(format!("{FILE}.seeding")); - std::fs::create_dir_all(&self.dir).is_ok() - && std::fs::copy(from, &temp).is_ok() - && std::fs::rename(&temp, &path).is_ok() + let mut taken = 0usize; + let written = (|| -> io::Result { + std::fs::create_dir_all(&self.dir)?; + let mut out = io::BufWriter::new(std::fs::File::create(&temp)?); + out.write_all(MAGIC)?; + let mut failed = None; + let read = each_record(from, &mut |id, deltas, raw| { + if failed.is_none() && fits(&id, &deltas) { + taken += 1; + if let Err(e) = out.write_all(raw) { + failed = Some(e); + } + } + }); + if let Some(e) = failed { + return Err(e); + } + out.flush()?; + Ok(read.is_some() && taken > 0) + })(); + match written { + Ok(true) => std::fs::rename(&temp, &path).is_ok(), + _ => { + let _ = std::fs::remove_file(&temp); + false + } + } } pub fn read(&self) -> Counted { diff --git a/crates/commitscape/src/build.rs b/crates/commitscape/src/build.rs index 7a91c2a..0c6a1f9 100644 --- a/crates/commitscape/src/build.rs +++ b/crates/commitscape/src/build.rs @@ -132,7 +132,8 @@ fn read(args: &ExportArgs) -> anyhow::Result { LineStore::for_repo(&options, &loaded.index.repo), args.no_lines, ) { - if store.seed(from) { + let skipped = commitscape_metrics::skipped_files(&loaded.index); + if store.seed(from, &loaded.index, &skipped) { tracing::info!("the line store starts from {}", from.display()); } } diff --git a/crates/commitscape/tests/build.rs b/crates/commitscape/tests/build.rs index 09ae738..17f75ab 100644 --- a/crates/commitscape/tests/build.rs +++ b/crates/commitscape/tests/build.rs @@ -841,3 +841,105 @@ fn a_fork_seeded_with_its_parents_line_store_counts_only_its_own_commits_and_wri assert!(a == b, "{name} differs"); } } + +#[test] +fn a_fork_that_keeps_a_file_its_parent_left_out_counts_that_files_lines_itself() { + let dir = tempfile::tempdir().expect("a temporary directory"); + let parent = dir.path().join("parent"); + std::fs::create_dir(&parent).expect("a folder"); + git(&[ + "-C", + parent.to_str().expect("a path"), + "init", + "-q", + "-b", + "main", + ]); + committed( + &parent, + &[ + ("a.rs", "1\n2\n3\n"), + ("gen.rs", "g\n"), + (".gitattributes", "gen.rs linguist-generated\n"), + ], + 1_700_000_000, + ); + committed(&parent, &[("gen.rs", "g\nh\ni\n")], 1_700_086_400); + committed(&parent, &[("a.rs", "1\ntwo\n3\n4\n")], 1_700_172_800); + let fork = dir.path().join("fork"); + git(&[ + "clone", + "-q", + parent.to_str().expect("a path"), + fork.to_str().expect("a path"), + ]); + committed( + &fork, + &[("c.rs", "c\nd\n"), (".gitattributes", "")], + 1_700_259_200, + ); + let build = |cache: &str, + repo: &Path, + name: &str, + extra: &[&Path]| + -> (Vec<(String, Vec)>, Vec) { + let out = dir.path().join(name); + let events_file = dir.path().join(format!("{name}.events")); + let cache_dir = dir.path().join(cache); + let mut paths: Vec<&Path> = vec![ + &cache_dir, + Path::new("--events"), + &events_file, + Path::new("--out"), + &out, + ]; + paths.extend_from_slice(extra); + paths.push(repo); + commitscape( + &[ + "build", + "--offline", + "--anchor", + "1800000000", + "--cache-key", + "acme/rocket", + "--cache-dir", + ], + &paths, + ); + (outputs(&out), events(&events_file)) + }; + build("parent-cache", &parent, "parent-out", &[]); + let seed = line_store_in(&dir.path().join("parent-cache")); + let (seeded, seeded_events) = build( + "fork-cache", + &fork, + "fork-out", + &[Path::new("--lines-from"), &seed], + ); + let (plain, plain_events) = build("plain-cache", &fork, "plain-out", &[]); + assert_eq!(field(&plain_events, "line_pass", "commits"), Value::from(4)); + assert_eq!( + field(&seeded_events, "line_pass", "commits"), + Value::from(3) + ); + for ((name, a), (_, b)) in seeded.iter().zip(&plain) { + if name == "manifest.json" { + let cache_free = |bytes: &[u8]| { + let mut v: Value = serde_json::from_slice(bytes).expect("json"); + v["mark"] = Value::Null; + v["lineage"] = Value::Null; + v + }; + assert_eq!(cache_free(a), cache_free(b)); + continue; + } + if name == "pack.bin" { + let (a, mut b) = (read_pack(a).expect("a pack"), read_pack(b).expect("a pack")); + b.lineage = a.lineage; + assert!(a == b, "pack.bin differs"); + continue; + } + assert!(a == b, "{name} differs"); + } +} diff --git a/docs/working.md b/docs/working.md index 1512e4a..ade2378 100644 --- a/docs/working.md +++ b/docs/working.md @@ -224,9 +224,11 @@ per finished step with its start, end and counts, and `COMMITSCAPE_THREADS` caps the threads every step uses. `--cache-key KEY` names the cache by KEY instead of the clone's path, so the Build's two clones share one cache and the history is walked once. `--lines-from FILE` starts a repository with no -line store from another's: the Builder passes a fork's parent's +line store from another's: the Builder passes a copy of a fork's parent's (`facts.parent`, public repositories only) when that cache is on its disk, -so a fork counts only its own commits' lines. `--after FILE --lineage N` writes only the +so a fork counts only its own commits' lines. Only the parent's commits +whose uncounted files (lockfiles, Generated Files) the fork leaves out too +are taken; a commit touching a file the fork keeps is counted again. `--after FILE --lineage N` writes only the commits the frontier in FILE does not reach, and `--since MARK`, the mark the last loaded export left, narrows the earlier commits' rows to the Mainline that moved and the Lines Changed counted since. Beside the Index From 6eddb22755d60b8ed334cb148fb3f2f49e73ffc6 Mon Sep 17 00:00:00 2001 From: Dev Talan <84081651+devchaudhary24k@users.noreply.github.com> Date: Tue, 27 Oct 2026 17:43:47 +0530 Subject: [PATCH 55/82] fix: a file kept again has its lines counted again The line pass never counts a file a repository leaves out (lockfiles, Generated Files) and the line store keeps no lines for it. When such a file stopped being left out (its attributes changed, or a new classifier), the kept columns' flip restored its lines from the store, which had none, and a pass without columns took the store's record as it was: the file's changes kept zero lines for good. The store now keeps the paths it was counted without beside it (lines.left-out); the kept pass marks a commit whose newly kept file was never counted as not settled and counts it again, and the pass without columns counts again every commit the store left uncounted for a file it now keeps. Tests: a file whose linguist-generated mark is dropped has its lines counted on the next warm build as a cold one counts them (3 -> 6); the kept-columns oracle, which flips c.rs to generated and back, agrees. --- .../commitscape-index/src/cache/line_store.rs | 33 ++++++++ crates/commitscape-index/src/lines.rs | 82 +++++++++++++++++-- crates/commitscape/src/main.rs | 5 +- crates/commitscape/tests/build.rs | 49 +++++++++++ docs/working.md | 6 +- 5 files changed, 166 insertions(+), 9 deletions(-) diff --git a/crates/commitscape-index/src/cache/line_store.rs b/crates/commitscape-index/src/cache/line_store.rs index 54fa395..556e0ba 100644 --- a/crates/commitscape-index/src/cache/line_store.rs +++ b/crates/commitscape-index/src/cache/line_store.rs @@ -10,6 +10,7 @@ use xxhash_rust::xxh3::xxh3_64; use super::CacheOptions; const FILE: &str = "lines"; +const LEFT_OUT: &str = "lines.left-out"; const MAGIC: &[u8] = b"commitscape lines 1\n"; #[derive(Debug, Clone)] @@ -83,6 +84,38 @@ impl LineStore { } } + /// The paths the store's lines were last counted without (lockfiles, Generated Files), when it was told: a change of one of them it holds as uncounted was never counted, so it is counted again once the file is kept. + pub fn left_out(&self) -> Option>> { + let bytes = std::fs::read(self.dir.join(LEFT_OUT)).ok()?; + Some( + bytes + .split(|&b| b == 0) + .filter(|p| !p.is_empty()) + .map(<[u8]>::to_vec) + .collect(), + ) + } + + /// Records the paths the store's lines are now counted without, unless it says so already. + pub fn keep_left_out<'a>(&self, paths: impl Iterator) -> io::Result<()> { + let mut now: Vec<&[u8]> = paths.collect(); + now.sort_unstable(); + now.dedup(); + let mut bytes = Vec::new(); + for p in now { + bytes.extend_from_slice(p); + bytes.push(0); + } + let path = self.dir.join(LEFT_OUT); + if std::fs::read(&path).ok().as_deref() == Some(bytes.as_slice()) { + return Ok(()); + } + std::fs::create_dir_all(&self.dir)?; + let temp = self.dir.join(format!("{LEFT_OUT}.tmp")); + std::fs::write(&temp, &bytes)?; + std::fs::rename(temp, path) + } + pub fn read(&self) -> Counted { let path = self.path(); let bytes = std::fs::read(&path).unwrap_or_default(); diff --git a/crates/commitscape-index/src/lines.rs b/crates/commitscape-index/src/lines.rs index 1b8a67c..f1cbfed 100644 --- a/crates/commitscape-index/src/lines.rs +++ b/crates/commitscape-index/src/lines.rs @@ -138,6 +138,9 @@ pub fn line_pass( let _entered = span.enter(); let until = plan.budget.and_then(|b| Instant::now().checked_add(b)); let mut known = store.map(LineStore::read).unwrap_or_default(); + if let Some(store) = store { + forget_uncounted(index, plan, store, &mut known); + } let todo: Vec = index .commits .iter() @@ -181,6 +184,9 @@ pub fn line_pass( } span.record("counted", counted); span.record("left", left); + if let Some(store) = store { + keep_left_out(index, plan, store); + } Ok(LinePass { lines, ignored: source.blame_ignore_revs()?, @@ -190,6 +196,47 @@ pub fn line_pass( }) } +fn forget_uncounted(index: &Index, plan: &LinePlan, store: &LineStore, known: &mut Counted) { + let Some(was) = store.left_out() else { + return; + }; + let kept_now: Vec = (0..index.paths.len()) + .map(|i| { + let file = FileId(i as u32); + !plan.skips_file(file) && index.paths.path(file).is_some_and(|p| was.contains(p)) + }) + .collect(); + if !kept_now.contains(&true) { + return; + } + for c in index.commits.iter() { + let uncounted = known.get(&c.id).is_some_and(|deltas| { + index + .changes_of(c) + .iter() + .zip(deltas) + .any(|(change, delta)| { + delta.is_none() && kept_now.get(change.file.idx()).copied().unwrap_or(false) + }) + }); + if uncounted { + known.remove(&c.id); + } + } +} + +fn keep_left_out(index: &Index, plan: &LinePlan, store: &LineStore) { + let paths = (0..index.paths.len()).filter_map(|i| { + let file = FileId(i as u32); + plan.skips_file(file) + .then(|| index.paths.path(file)) + .flatten() + }); + if let Err(e) = store.keep_left_out(paths) { + tracing::warn!("the files left out of the line store were not recorded: {e}"); + } +} + #[allow(clippy::too_many_arguments)] fn count_into( source: &S, @@ -285,16 +332,23 @@ fn masked( }) } -/// Brings the settled lines in the Index's changes, masked when the files in `flipped` were kept or left out the other way, to `plan`'s masking: changes of files now left out lose their lines, and changes of files now kept get theirs from the store. Returns the commits whose changes it rewrote. +/// What `remask` did: the commits whose changes it rewrote, and those it marked not settled because a file now kept was never counted in them, which the line pass counts again without the store. +#[derive(Debug, Default)] +pub struct Remasked { + pub rewritten: Vec, + pub recount: std::collections::HashSet, +} + +/// Brings the settled lines in the Index's changes, masked when the files in `flipped` were kept or left out the other way, to `plan`'s masking: changes of files now left out lose their lines, and changes of files now kept get theirs from the store, or, when the store left them uncounted, their commit is marked not settled to be counted again. pub fn remask( index: &mut Index, plan: &LinePlan, store: Option<&LineStore>, flipped: &[usize], - settled: &[u8], -) -> Vec { + settled: &mut [u8], +) -> Remasked { if flipped.is_empty() { - return Vec::new(); + return Remasked::default(); } let mut flips = vec![false; index.paths.len()]; for &f in flipped { @@ -304,6 +358,7 @@ pub fn remask( } let flips_file = |file: FileId| flips.get(file.idx()).copied().unwrap_or(false); let mut rewritten = Vec::new(); + let mut recount = std::collections::HashSet::new(); let mut wanted = std::collections::HashSet::new(); for i in 0..index.commits.len() { let Some(c) = index.commits.get(i).copied() else { @@ -355,6 +410,16 @@ pub fn remask( if slots.len() != deltas.len() { continue; } + let uncounted = slots.iter().zip(deltas).any(|(slot, delta)| { + flips_file(slot.file) && !plan.skips_file(slot.file) && delta.is_none() + }); + if uncounted { + if let Some(s) = settled.get_mut(i) { + *s = 0; + } + recount.insert(c.id); + continue; + } for (slot, delta) in slots.iter_mut().zip(deltas) { if flips_file(slot.file) && !plan.skips_file(slot.file) { slot.set_lines(*delta); @@ -364,16 +429,17 @@ pub fn remask( } rewritten.sort_unstable(); rewritten.dedup(); - rewritten + Remasked { rewritten, recount } } -/// Counts the lines of the commits the kept columns do not hold settled, as `line_pass` does, writing them into the Index's changes and marking them settled there; every other commit's lines are already in the Index. Returns the pass and the commits it settled, for the columns to keep. +/// Counts the lines of the commits the kept columns do not hold settled, as `line_pass` does, writing them into the Index's changes and marking them settled there; every other commit's lines are already in the Index. The commits in `recount` are counted again whatever the store holds for them. Returns the pass and the commits it settled, for the columns to keep. pub fn line_pass_kept( source: &S, index: &mut Index, plan: &LinePlan, store: Option<&LineStore>, settled: &mut [u8], + recount: &std::collections::HashSet, progress: &mut dyn FnMut(u64, u64), ) -> Result<(LinePass, Vec), S::Error> { let span = tracing::info_span!( @@ -398,6 +464,7 @@ pub fn line_pass_kept( .filter_map(|&i| index.commits.get(i).map(|c| c.id)) .collect(); let mut known = store.map(|s| s.read_some(&wanted)).unwrap_or_default(); + known.retain(|id, _| !recount.contains(id)); let todo: Vec = open .iter() .copied() @@ -449,6 +516,9 @@ pub fn line_pass_kept( } span.record("counted", counted); span.record("left", left); + if let Some(store) = store { + keep_left_out(index, plan, store); + } Ok(( LinePass { lines: Vec::new(), diff --git a/crates/commitscape/src/main.rs b/crates/commitscape/src/main.rs index 0ffae1b..c25cf5a 100644 --- a/crates/commitscape/src/main.rs +++ b/crates/commitscape/src/main.rs @@ -404,13 +404,14 @@ pub(crate) fn count_lines_kept( }); let count = match kept { Some((kept, flipped)) => { - let remasked = remask(index, &plan, store.as_ref(), &flipped, &kept.settled); + let remasked = remask(index, &plan, store.as_ref(), &flipped, &mut kept.settled); let (mut pass, newly) = line_pass_kept( repo, index, &plan, store.as_ref(), &mut kept.settled, + &remasked.recount, &mut |done, total| meter.lines(done, total), )?; meter.clear(); @@ -421,7 +422,7 @@ pub(crate) fn count_lines_kept( }; pass.apply(index); let mut written = newly; - written.extend(remasked); + written.extend(remasked.rewritten); written.sort_unstable(); written.dedup(); if let Err(e) = kept.save(index, &written, &masking) { diff --git a/crates/commitscape/tests/build.rs b/crates/commitscape/tests/build.rs index 17f75ab..5c9e09c 100644 --- a/crates/commitscape/tests/build.rs +++ b/crates/commitscape/tests/build.rs @@ -943,3 +943,52 @@ fn a_fork_that_keeps_a_file_its_parent_left_out_counts_that_files_lines_itself() assert!(a == b, "{name} differs"); } } + +#[test] +fn a_file_that_stops_being_left_out_has_its_lines_counted_on_the_next_build() { + let dir = tempfile::tempdir().expect("a temporary directory"); + let repo = dir.path().join("repo"); + std::fs::create_dir(&repo).expect("a folder"); + git(&[ + "-C", + repo.to_str().expect("a path"), + "init", + "-q", + "-b", + "main", + ]); + committed( + &repo, + &[ + ("a.rs", "1\n2\n"), + ("gen.rs", "g\n"), + (".gitattributes", "gen.rs linguist-generated\n"), + ], + 1_700_000_000, + ); + committed(&repo, &[("gen.rs", "g\nh\ni\n")], 1_700_086_400); + let build = |cache: &str, name: &str| -> Value { + let out = dir.path().join(name); + let cache_dir = dir.path().join(cache); + commitscape( + &[ + "build", + "--offline", + "--anchor", + "1800000000", + "--cache-key", + "acme/rocket", + "--cache-dir", + ], + &[&cache_dir, Path::new("--out"), &out, &repo], + ); + json(&out.join("meta.json"))["people"].clone() + }; + let before = build("warm", "first"); + committed(&repo, &[(".gitattributes", "")], 1_700_172_800); + let warm = build("warm", "second"); + let cold = build("cold", "cold"); + assert_eq!(before[0]["lines_added"], Value::from(3)); + assert_eq!(cold[0]["lines_added"], Value::from(6)); + assert_eq!(warm, cold); +} diff --git a/docs/working.md b/docs/working.md index ade2378..b45f527 100644 --- a/docs/working.md +++ b/docs/working.md @@ -241,7 +241,11 @@ changes, subjects, and which commits' Lines Changed are settled) in a column file (`.cols`), laid out to be mapped and read in place: a warm Build reads it without decoding, a Build with new commits streams the old file and the new commits into the next one, and the line pass -counts only the commits not settled and writes them back in place. +counts only the commits not settled and writes them back in place. The +line store keeps the paths it was counted without beside it +(`lines.left-out`): a file that stops being left out (its attributes +changed, or a new classifier) has the commits it changed counted again, +from the kept columns or without them, never kept as having no lines. `commitscape screens PACK --out FILE` works out a pack's standard screens as one JSON object. `--anchor SECONDS` ends every Window there instead of now, so the output comes out the same every time. From df9806be3c81313b58af12c71eebb938da5f76c9 Mon Sep 17 00:00:00 2001 From: Dev Talan <84081651+devchaudhary24k@users.noreply.github.com> Date: Tue, 27 Oct 2026 17:57:33 +0530 Subject: [PATCH 56/82] perf: make the Atlas in Rust from the pack The Builder made each pack's Universe Atlas in Node, from 170 MB of rows `build` wrote beside linux's pack, taking 635 MB: a second copy of the encoder outside the engine. `commitscape atlas PACK --out DIR` now encodes the Atlas column by column from the pack read in place, as the Site's atlasOf/encodeAtlas/encodeNames do, and packs it with brotli (quality ATLAS_QUALITY, window 24). The Builder runs it under the memory gate instead of `node builder.mjs atlas`, and `build` no longer writes universe.jsonl. The browser's decoder and the Site's fallback for packs without an Atlas stay in TypeScript. linux (1.37M commits on the Mainline, 146k files): 635 MB / 4.8 CPU-s -> 98 MB / 2.1 CPU-s (2.9 s), the same 7.8 MB map; react 13 MB, 0.2 s. The estimate the memory gate reserves goes from 640 to 108 MB. Tests: on every fixture the map and names are byte for byte the TypeScript encoder's, and the packed map unpacks to them; checked by hand on react (470 KB map) and linux (15.9 MB map), identical. --- Cargo.lock | 37 +++ DEPLOY.md | 2 +- apps/builder/src/admission.test.ts | 3 +- apps/builder/src/admission.ts | 4 +- apps/builder/src/config.ts | 2 +- apps/builder/src/fake.ts | 16 +- apps/builder/src/job.test.ts | 19 +- apps/builder/src/job.ts | 2 +- apps/builder/src/main.ts | 12 +- apps/builder/src/universe.test.ts | 110 +++---- apps/builder/src/universe.ts | 66 +--- crates/commitscape-report/src/universe.rs | 305 ++++++++++++++++++ crates/commitscape/Cargo.toml | 1 + crates/commitscape/src/atlas.rs | 67 ++++ crates/commitscape/src/build.rs | 14 +- crates/commitscape/src/main.rs | 12 +- ...n-place-and-standard-screens-are-stored.md | 3 +- docs/working.md | 16 +- 18 files changed, 514 insertions(+), 177 deletions(-) create mode 100644 crates/commitscape/src/atlas.rs diff --git a/Cargo.lock b/Cargo.lock index 350de54..5f312e9 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -61,6 +61,21 @@ dependencies = [ "memchr", ] +[[package]] +name = "alloc-no-stdlib" +version = "3.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c2fb6cfd47bf496ff64095c20eaba0c201404ee38714d4142fcfa1dc334fcc7a" + +[[package]] +name = "alloc-stdlib" +version = "0.3.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0b5c1865780388bfa186411ab5f247819487fc4864c6e9c3106611fa347586e1" +dependencies = [ + "alloc-no-stdlib", +] + [[package]] name = "allocator-api2" version = "0.2.21" @@ -281,6 +296,27 @@ dependencies = [ "objc2", ] +[[package]] +name = "brotli" +version = "9.1.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "627b7cfb0578f0eafce087a90fcd40add1231900b69e4d4de2d456260a4f5d81" +dependencies = [ + "alloc-no-stdlib", + "alloc-stdlib", + "brotli-decompressor", +] + +[[package]] +name = "brotli-decompressor" +version = "6.2.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "34c6783f42c21c952ad7112b354f0ba2f10760e9decea5b1b60523d6e270faaf" +dependencies = [ + "alloc-no-stdlib", + "alloc-stdlib", +] + [[package]] name = "bstr" version = "1.13.1" @@ -421,6 +457,7 @@ version = "0.4.0" dependencies = [ "aes-gcm", "anyhow", + "brotli", "clap", "commitscape-core", "commitscape-forge", diff --git a/DEPLOY.md b/DEPLOY.md index 1782705..35857c2 100644 --- a/DEPLOY.md +++ b/DEPLOY.md @@ -205,7 +205,7 @@ Optional, with their defaults: | `ENGINE_NICE` | 10 | The engine runs at this lower priority (0 to 19), so git, the database and the Builder stay responsive | | `LINES_BUDGET_SECONDS` | 120 | How long a Build's line pass may count Lines Changed, the Mainline first, newest first. Lines show once the Mainline's are counted; the commits left are counted by a quiet Build queued a minute later (three at most), and by the next Build | | `MORE_LINES_BUDGET_SECONDS` | 600 | How long such a quiet Build may count, kept two minutes inside `TIME_LIMIT_SECONDS`: nobody waits for it, so it counts what is left in one go and publishes once | -| `ATLAS_QUALITY` | 5 | The brotli quality the Builder packs each pack's Universe Atlas with, 1 to 11. On linux 5 takes 4.8 CPU-s for a 7.8 MB map and 11 takes 35 CPU-s for 6.6 MB; the Atlas is made once per pack, in a process of its own that waits for its share of `ENGINE_MEMORY_MB` | +| `ATLAS_QUALITY` | 5 | The brotli quality `commitscape atlas` packs each pack's Universe Atlas with, 1 to 11. On linux 5 gives a 7.8 MB map (the whole Atlas: 2.9 s, 98 MB); the Atlas is made once per pack, in a process of its own that waits for its share of `ENGINE_MEMORY_MB` | | `LARGE_REPOSITORY_MB` | 1500 | Repositories larger than this, by GitHub's size, are built in a lane of their own | | `LARGE_CONCURRENCY` | 1 | Builds at a time in that lane | | `MAX_REPOSITORY_MB` | none | Unset, every repository is cloned, however big; set, larger repositories are refused. Measured on 2 cores (2026-10-27): vercel/next.js (2.6 GB of git, 50,110 commits) clones in 291 s with 163 CPU-s and 0.6 GB, and its first Build counts every line in 19 s with 525 MB; linux (6.6 GB) needs about 1 GB to receive and 1.1 GB for its first Build, and its clone can pass the default `CLONE_TIME_LIMIT_SECONDS`. With `ENGINE_MEMORY_MB` at 1200 under a 3 GiB cap, 4000 takes next.js-sized repositories with room to spare; go higher only with a longer clone limit and the disk for one full clone of that size | diff --git a/apps/builder/src/admission.test.ts b/apps/builder/src/admission.test.ts index 119dc31..40f4dc8 100644 --- a/apps/builder/src/admission.test.ts +++ b/apps/builder/src/admission.test.ts @@ -79,7 +79,8 @@ test("an estimate is above every peak measured on linux and react", () => { ["surviving", linux, 199], ["surviving", react, 121], ["screens", linux, 191], - ["atlas", linux, 635], + ["atlas", linux, 98], + ["atlas", react, 13], ]; for (const [kind, repo, peak] of measured) { const estimate = peakMb(kind, repo); diff --git a/apps/builder/src/admission.ts b/apps/builder/src/admission.ts index 45f2df3..ce50742 100644 --- a/apps/builder/src/admission.ts +++ b/apps/builder/src/admission.ts @@ -8,7 +8,7 @@ export type Sized = { commits: number; sizeKb: number }; const UNKNOWN_MB = 256; -/** About how many MB of memory an engine run takes at its peak, a little over what was measured on two threads (2026-10-27: linux, 1.5M commits, and facebook/react, 22k): a warm build 94–170 MB on linux and 9–38 on react, a cold one 248 and 158, everyone's Surviving Lines 199 and 121, the standard screens 191, the Atlas 635 on linux. A cold run knows no commit count yet, so it goes by the repository's size. */ +/** About how many MB of memory an engine run takes at its peak, a little over what was measured on two threads (2026-10-27: linux, 1.5M commits, and facebook/react, 22k): a warm build 94–170 MB on linux and 9–38 on react, a cold one 248 and 158, everyone's Surviving Lines 199 and 121, the standard screens 191, the Atlas 98 and 13. A cold run knows no commit count yet, so it goes by the repository's size. */ export function peakMb(kind: EngineRun, repo: Sized): number { const thousands = repo.commits / 1000; const sizeMb = repo.sizeKb / 1024; @@ -18,7 +18,7 @@ export function peakMb(kind: EngineRun, repo: Sized): number { signatures: 32 + 0.04 * thousands, surviving: Math.max(130, 64 + 0.13 * thousands), screens: 48 + 0.1 * thousands, - atlas: 100 + 0.36 * thousands, + atlas: 48 + 0.04 * thousands, }[kind]; return Math.ceil(mb); } diff --git a/apps/builder/src/config.ts b/apps/builder/src/config.ts index 1c55ad6..01cec40 100644 --- a/apps/builder/src/config.ts +++ b/apps/builder/src/config.ts @@ -117,7 +117,7 @@ export type Config = { export type StateSettings = { secret: string; diskDays: number; keepDays: number }; -export type AtlasSettings = { command: string; args: string[]; quality: number }; +export type AtlasSettings = { quality: number }; export function configOf(env: Env): Config { return { diff --git a/apps/builder/src/fake.ts b/apps/builder/src/fake.ts index f1f028f..3c864e8 100644 --- a/apps/builder/src/fake.ts +++ b/apps/builder/src/fake.ts @@ -1,5 +1,6 @@ import { mkdir, writeFile } from "node:fs/promises"; import { join } from "node:path"; +import { brotliCompressSync } from "node:zlib"; import { EXPORT_FORMAT, type ExportManifest } from "@commitscape/server"; import type { Summary, SummaryPerson } from "./engine"; @@ -9,6 +10,14 @@ export const flagOf = (args: string[], name: string) => (args.includes(name) ? a export const fakePerson = (id: number, login: string | null, commits: number): SummaryPerson => ({ person_id: id, name: `P${id}`, login, commits, lines_added: 10 * id, lines_removed: id, first: 1, last: 2 }); +/** Writes what `commitscape atlas` would into its `--out` folder: a map and names packed with brotli. */ +export async function writeAtlasMade(args: string[]): Promise { + const out = flagOf(args, "--out") ?? ""; + await mkdir(out, { recursive: true }); + await writeFile(join(out, "map.bin.br"), brotliCompressSync(Buffer.from(`map of ${args[1] ?? ""}`))); + await writeFile(join(out, "names.bin.br"), brotliCompressSync(Buffer.from("names"))); +} + /** Writes what `commitscape build` would into its `--out` folder, for tests of the Builder without the engine. */ export async function writeBuilt(args: string[], over: FakeBuild = {}): Promise { const out = flagOf(args, "--out") ?? ""; @@ -48,13 +57,6 @@ export async function writeBuilt(args: string[], over: FakeBuild = {}): Promise< await writeFile(join(out, "manifest.json"), JSON.stringify(manifest)); await writeFile(join(out, "meta.json"), JSON.stringify(summary)); await writeFile(join(out, "pack.bin"), `pack ${noLines ? "quick" : "lines"} ${head}`); - const universe = [ - { mainline: true, newest: 2, releases: [], commits: 1, files: 1, people: 1 }, - { time: 2, person: 1, bulk: false, firstParent: true, files: [0], changes: [0] }, - { file: 0, path: "src/a.rs", alive: true, role: 0, language: "Rust", generated: false, lockfile: false, lines: 40 }, - { id: 1, name: "P1", login: "ada", bot: false }, - ]; - await writeFile(join(out, "universe.jsonl"), `${universe.map((r) => JSON.stringify(r)).join("\n")}\n`); const events = flagOf(args, "--events"); if (events) { const now = Date.now(); diff --git a/apps/builder/src/job.test.ts b/apps/builder/src/job.test.ts index 1b55c47..3112b89 100644 --- a/apps/builder/src/job.test.ts +++ b/apps/builder/src/job.test.ts @@ -10,12 +10,11 @@ import { expect, test } from "vitest"; import { atlasKey, BUILD_FORMAT, lendToken, memoryStorage, now, PRIORITY, readManifest, schema, settleRepository, type BuildJob, type Db, type Loaded, type Queue, type SurvivalJob } from "@commitscape/server"; import type { Config } from "./config"; import { cacheDir, inUse, sweep } from "./disk"; -import { fakePerson, flagOf, writeBuilt, type FakeBuild } from "./fake"; +import { fakePerson, flagOf, writeAtlasMade, writeBuilt, type FakeBuild } from "./fake"; import { MORE_LINES_AFTER, MORE_LINES_MAX, runJob, type JobAsked, type JobContext } from "./job"; import { BUILD_ATTEMPTS, type Ran } from "./run"; import { refsOf } from "./clone"; import { headsOf, queueSeeds, type Named } from "./seeds"; -import { writeAtlas } from "./universe"; import type { Telemetry, Who } from "./telemetry"; const { builds, repoPeople, repositories, storedIndexes, surviving } = schema; @@ -36,6 +35,7 @@ function tools(built: FakeBuild | ((args: string[]) => FakeBuild) = {}, then: (c if (cmd === "git" && args[0] === "clone") await mkdir(join(args.at(-1) ?? "", ".git"), { recursive: true }); if (args[0] === "signatures") await writeFile(flagOf(args, "--out") ?? "", "[]"); if (args[0] === "build") await writeBuilt(args, typeof built === "function" ? built(args) : built); + if (args[0] === "atlas") await writeAtlasMade(args); return ran; }; } @@ -122,16 +122,11 @@ test("a Build makes its pack's Atlas in a process of its own, under the engine's const base = tools(); const ctx = await context(db, { run: async (cmd, args) => { - if (cmd === "node-for-atlas") { - order.push("atlas"); - const [, , rows = "", dir = "", quality = ""] = args; - await writeAtlas(rows, dir, Number(quality)); - return ok; - } + if (args[0] === "atlas") order.push(`atlas of ${args[1]?.endsWith("pack.bin") ? "the pack" : args[1]}`); return base(cmd, args); }, }); - ctx.cfg = { ...ctx.cfg, atlas: { command: "node-for-atlas", args: ["builder.mjs"], quality: 5 } }; + ctx.cfg = { ...ctx.cfg, atlas: { quality: 5 } }; const put = ctx.storage.put.bind(ctx.storage); ctx.storage.put = async (key, body, options) => { if (key.startsWith("atlas/")) { @@ -148,15 +143,15 @@ test("a Build makes its pack's Atlas in a process of its own, under the engine's expect(si?.buildFormat).toBe(BUILD_FORMAT); expect(ctx.storage.objects.has(atlasKey(si?.id ?? 0, si?.pack ?? "", "map"))).toBe(true); expect(ctx.storage.objects.has(atlasKey(si?.id ?? 0, si?.pack ?? "", "names"))).toBe(true); - expect(order).toEqual(["atlas", "map.bin.br before the publish", "names.bin.br before the publish"]); + expect(order).toEqual(["atlas of the pack", "map.bin.br before the publish", "names.bin.br before the publish"]); expect(Object.keys(ctx.captured.at(-1)?.[2] ?? {})).toContain("seconds_atlas_full"); }); test("a Build whose Atlas fails is still published, and the Site makes the Atlas", async () => { const db = await database(); const base = tools(); - const ctx = await context(db, { run: async (cmd, args) => (cmd === "node-for-atlas" ? { code: 1, stderr: "killed", timedOut: false } : base(cmd, args)) }); - ctx.cfg = { ...ctx.cfg, atlas: { command: "node-for-atlas", args: [], quality: 5 } }; + const ctx = await context(db, { run: async (cmd, args) => (args[0] === "atlas" ? { code: 1, stderr: "killed", timedOut: false } : base(cmd, args)) }); + ctx.cfg = { ...ctx.cfg, atlas: { quality: 5 } }; await db.insert(repositories).values({ id: "acme/rocket", owner: "acme", name: "rocket", sizeKb: 10, reportKey: "reports/gh/acme/rocket/old", reportLines: true }); await db.insert(builds).values({ id: "b1", repoId: "acme/rocket", state: "queued", requestedAt: 1 }); await runJob("b1", ctx); diff --git a/apps/builder/src/job.ts b/apps/builder/src/job.ts index 57487d1..f1d40b0 100644 --- a/apps/builder/src/job.ts +++ b/apps/builder/src/job.ts @@ -304,7 +304,7 @@ async function publishBuild(ctx: JobContext, phases: Phases, buildId: string, ma const atlas = ctx.cfg.atlas; if (atlas) { await phases - .time(`atlas ${made.phase}`, "atlas", () => storeAtlas(ctx.run, atlas, storage, { si, pack, dir: made.dir, timeoutMs: timeLimitOf(ctx.cfg) * 1000, nice: ctx.cfg.nice, commits: made.manifest.total })) + .time(`atlas ${made.phase}`, "atlas", () => storeAtlas(ctx.run, storage, { bin: ctx.cfg.bin, quality: atlas.quality, si, pack, file: made.pack, dir: made.dir, timeoutMs: timeLimitOf(ctx.cfg) * 1000, nice: ctx.cfg.nice, commits: made.manifest.total })) .catch((e: unknown) => ctx.log(`atlas of ${named.id}: ${(e as Error).message}, so the Site makes it`)); } const lines = made.phase === "full" && made.manifest.lines_mainline; diff --git a/apps/builder/src/main.ts b/apps/builder/src/main.ts index 9c2f5ec..f491403 100644 --- a/apps/builder/src/main.ts +++ b/apps/builder/src/main.ts @@ -35,15 +35,9 @@ import { repackClones } from "./repack"; import { budgetOf, runSurvival } from "./survival"; import { queueRebuilds } from "./rebuild"; import { forgetStates, saveState as saveRepoState, stateKeys } from "./state"; -import { writeAtlas } from "./universe"; import { headsOf, queueSeeds, seedConfig, seedList } from "./seeds"; const command = process.argv[2] ?? "work"; -if (command === "atlas") { - const [rows = "", dir = "", quality = ""] = process.argv.slice(3); - await writeAtlas(rows, dir, Number(quality)); - process.exit(0); -} const env = loadEnv(); const telemetry = startTelemetry({ @@ -54,7 +48,7 @@ const telemetry = startTelemetry({ posthogHost: env.POSTHOG_HOST, analyticsSecret: env.TOKEN_SECRET, }); -const cfg = { ...configOf(env), atlas: { command: process.execPath, args: [process.argv[1] ?? "builder.mjs"], quality: env.ATLAS_QUALITY } }; +const cfg = { ...configOf(env), atlas: { quality: env.ATLAS_QUALITY } }; const storage = s3Storage({ endpoint: env.S3_ENDPOINT, bucket: env.S3_BUCKET, @@ -114,7 +108,7 @@ async function work() { const lane = await laneOf(db, cfg, job.buildId); await sendBuild(lane?.queue ?? BUILD_QUEUE, { queuedAt: Date.now(), ...job }, priority, startAfter); }; - const engine = admitting(run, [cfg.bin, cfg.atlas.command], cfg.engineMemoryMb); + const engine = admitting(run, [cfg.bin], cfg.engineMemoryMb); let forgotAt = 0; const tidy = async () => { for (const p of await sweep(db, cfg).catch(() => [])) log(`swept ${p}`); @@ -232,6 +226,6 @@ if (command === "migrate") { } else if (command === "work") { await work(); } else { - console.error(`unknown command ${command}: work, seed, rebuild, cleanup, migrate or atlas`); + console.error(`unknown command ${command}: work, seed, rebuild, cleanup or migrate`); process.exit(2); } diff --git a/apps/builder/src/universe.test.ts b/apps/builder/src/universe.test.ts index e4ff482..3c7d16f 100644 --- a/apps/builder/src/universe.test.ts +++ b/apps/builder/src/universe.test.ts @@ -1,86 +1,74 @@ +import { execFileSync } from "node:child_process"; +import { existsSync, readdirSync, readFileSync } from "node:fs"; import { mkdtemp, writeFile } from "node:fs/promises"; import { tmpdir } from "node:os"; import { join } from "node:path"; +import { fileURLToPath } from "node:url"; import { brotliDecompressSync } from "node:zlib"; -import { expect, test } from "vitest"; -import { atlasOf, encodeAtlas, encodeNames, type AtlasRows } from "@commitscape/data/universe"; +import { describe, expect, test } from "vitest"; +import { atlasOf, encodeAtlas, encodeNames, type AtlasCommitRow, type AtlasFileRow, type AtlasPersonRow, type AtlasRows } from "@commitscape/data/universe"; import { atlasKey, memoryStorage } from "@commitscape/server"; -import { atlasFrom, readRows, storeAtlas, writeAtlas } from "./universe"; +import { writeAtlasMade } from "./fake"; +import { storeAtlas } from "./universe"; -const rows: AtlasRows = { - mainline: true, - newest: 300, - releases: [["v1", 200]], - commits: [ - { time: 100, person: 0, bulk: false, firstParent: true, files: [0, 1], changes: [0, 0] }, - { time: 200, person: 1, bulk: false, firstParent: false, files: [1], changes: [1] }, - { time: 300, person: 0, bulk: true, firstParent: true, files: [2], changes: [0] }, - ], - files: [ - { file: 0, path: "src/a.rs", alive: true, role: 0, language: "Rust", generated: false, lockfile: false, lines: 12 }, - { file: 1, path: "README.md", alive: true, role: 1, language: "Markdown", generated: false, lockfile: false, lines: 3 }, - { file: 2, path: "old/gone.txt", alive: false, role: 0, language: null, generated: false, lockfile: false, lines: null }, - ], - people: [ - { id: 0, name: "Ada", login: "ada", bot: false }, - { id: 1, name: "Bob", login: null, bot: false }, - ], -}; +const root = fileURLToPath(new URL("../../..", import.meta.url)); +const bin = join(root, "target/release/commitscape"); +const fixtures = join(root, "fixtures"); -async function written(): Promise<{ dir: string; file: string }> { - const dir = await mkdtemp(join(tmpdir(), "universe-")); - const file = join(dir, "universe.jsonl"); - const head = { mainline: rows.mainline, newest: rows.newest, releases: rows.releases, commits: rows.commits.length, files: rows.files.length, people: rows.people.length }; - await writeFile(file, [head, ...rows.commits, ...rows.files, ...rows.people].map((r) => JSON.stringify(r)).join("\n") + "\n"); - return { dir, file }; +function readRows(file: string): AtlasRows { + const [head = "", ...lines] = readFileSync(file, "utf8").split("\n").filter(Boolean); + const counts = JSON.parse(head) as { mainline: boolean; newest: number; releases: [string, number][]; commits: number; files: number; people: number }; + const rows = lines.map((l) => JSON.parse(l) as unknown); + return { + mainline: counts.mainline, + newest: counts.newest, + releases: counts.releases, + commits: rows.slice(0, counts.commits) as AtlasCommitRow[], + files: rows.slice(counts.commits, counts.commits + counts.files) as AtlasFileRow[], + people: rows.slice(counts.commits + counts.files) as AtlasPersonRow[], + }; } -test("the rows a Build wrote one per line read back as the rows the Atlas is made from", async () => { - const { file } = await written(); - expect(await readRows(file)).toEqual(rows); -}); - -test("rows that end early are refused", async () => { - const { dir } = await written(); - const short = join(dir, "short.jsonl"); - await writeFile(short, `${JSON.stringify({ mainline: true, newest: 1, releases: [], commits: 2, files: 0, people: 0 })}\n${JSON.stringify(rows.commits[0])}\n`); - await expect(readRows(short)).rejects.toThrow("ended before its rows did"); -}); - -test("the Atlas made from the rows is the one the Site makes, packed with brotli", async () => { - const { file } = await written(); - const { atlas, names } = atlasOf(rows); - const made = await atlasFrom(file, 5); - expect(new Uint8Array(brotliDecompressSync(made.map))).toEqual(encodeAtlas(atlas)); - expect(new Uint8Array(brotliDecompressSync(made.names))).toEqual(encodeNames(names)); -}); - -test("a Build's Atlas is made in a process of its own and stored where the Site reads it first", async () => { - const { dir } = await written(); +test("a Build's Atlas is made from its pack by commitscape and stored where the Site reads it first", async () => { + const dir = await mkdtemp(join(tmpdir(), "universe-")); const storage = memoryStorage(); const asked: string[][] = []; const run = async (cmd: string, args: string[]) => { asked.push([cmd, ...args]); - const [, , rowsFile = "", into = "", quality = ""] = args; - await writeAtlas(rowsFile, into, Number(quality)); + await writeAtlasMade(args); return { code: 0, stderr: "", timedOut: false }; }; const pack = "packs/acme/rocket/7/abc-b1-lines.pack"; - expect(await storeAtlas(run, { command: "node", args: ["builder.mjs"], quality: 5 }, storage, { si: 7, pack, dir, timeoutMs: 1000 })).toBe(true); - expect(asked).toEqual([["node", "builder.mjs", "atlas", join(dir, "universe.jsonl"), dir, "5"]]); + await storeAtlas(run, storage, { bin: "commitscape", quality: 5, si: 7, pack, file: join(dir, "pack.bin"), dir, timeoutMs: 1000 }); + expect(asked).toEqual([["commitscape", "atlas", join(dir, "pack.bin"), "--out", join(dir, "atlas"), "--quality", "5"]]); const map = storage.objects.get(atlasKey(7, pack, "map")); expect(map?.encoding).toBe("br"); - expect(new Uint8Array(brotliDecompressSync(map?.body ?? new Uint8Array()))).toEqual(encodeAtlas(atlasOf(rows).atlas)); + expect(brotliDecompressSync(map?.body ?? new Uint8Array()).toString()).toBe(`map of ${join(dir, "pack.bin")}`); expect(storage.objects.has(atlasKey(7, pack, "names"))).toBe(true); }); -test("a Build that wrote no rows makes no Atlas, and one that fails says why", async () => { +test("an Atlas that fails says why and stores nothing", async () => { + const dir = await mkdtemp(join(tmpdir(), "universe-")); const storage = memoryStorage(); - const empty = await mkdtemp(join(tmpdir(), "universe-")); const failing = async () => ({ code: 1, stderr: "out of memory\n", timedOut: false }); - const atlas = { command: "node", args: ["builder.mjs"], quality: 5 }; - expect(await storeAtlas(failing, atlas, storage, { si: 1, pack: "p", dir: empty, timeoutMs: 1000 })).toBe(false); - const { dir } = await written(); - await expect(storeAtlas(failing, atlas, storage, { si: 1, pack: "p", dir, timeoutMs: 1000 })).rejects.toThrow("making the Atlas failed: out of memory"); + await expect(storeAtlas(failing, storage, { bin: "commitscape", quality: 5, si: 1, pack: "p", file: join(dir, "pack.bin"), dir, timeoutMs: 1000 })).rejects.toThrow("making the Atlas failed: out of memory"); expect(storage.objects.size).toBe(0); }); + +const why = !existsSync(bin) ? "build the binary first: cargo build --release -p commitscape" : !existsSync(join(fixtures, "crafted/.git")) ? "build the fixtures first: cargo xtask fixtures --force" : null; +const repos = why ? [] : readdirSync(fixtures).filter((name) => name !== "empty" && existsSync(join(fixtures, name, ".git"))); + +describe.skipIf(why !== null)(`the Atlas commitscape makes from a pack is the Site's own, byte for byte${why ? ` (skipped: ${why})` : ""}`, () => { + test.each(repos)("%s", async (name) => { + const dir = await mkdtemp(join(tmpdir(), "atlas-")); + const env = { ...process.env, COMMITSCAPE_TELEMETRY: "0" }; + execFileSync(bin, ["build", "--offline", "--no-cache", "--out", join(dir, "out"), join(fixtures, name)], { env, stdio: "ignore" }); + execFileSync(bin, ["atlas", join(dir, "out", "pack.bin"), "--out", join(dir, "atlas"), "--raw"], { env, stdio: "ignore" }); + const { atlas, names } = atlasOf(readRows(join(dir, "atlas", "universe.jsonl"))); + const map = readFileSync(join(dir, "atlas", "map.bin")); + expect(Buffer.from(encodeAtlas(atlas)).equals(map)).toBe(true); + expect(Buffer.from(encodeNames(names)).equals(readFileSync(join(dir, "atlas", "names.bin")))).toBe(true); + expect(brotliDecompressSync(readFileSync(join(dir, "atlas", "map.bin.br"))).equals(map)).toBe(true); + await writeFile(join(dir, "done"), ""); + }); +}); diff --git a/apps/builder/src/universe.ts b/apps/builder/src/universe.ts index 891be14..6507756 100644 --- a/apps/builder/src/universe.ts +++ b/apps/builder/src/universe.ts @@ -1,72 +1,18 @@ -import { createReadStream, existsSync } from "node:fs"; -import { readFile, writeFile } from "node:fs/promises"; +import { readFile } from "node:fs/promises"; import { join } from "node:path"; -import { createInterface } from "node:readline"; -import { promisify } from "node:util"; -import { brotliCompress, constants } from "node:zlib"; -import { atlasOf, encodeAtlas, encodeNames, type AtlasCommitRow, type AtlasFileRow, type AtlasPersonRow, type AtlasRows } from "@commitscape/data/universe"; import { atlasKey, type Storage } from "@commitscape/server"; import { peakMb } from "./admission"; -import type { AtlasSettings } from "./config"; import type { Runner } from "./run"; -const brotliAsync = promisify(brotliCompress); - export const ATLAS_QUALITY = 5; -export const ROWS = "universe.jsonl"; - -type Counts = { mainline: boolean; newest: number; releases: [string, number][]; commits: number; files: number; people: number }; - -/** Reads the rows `commitscape build` wrote to `universe.jsonl` one line at a time: the counts first, then the commits, the files and the people. */ -export async function readRows(file: string): Promise { - const lines = createInterface({ input: createReadStream(file, { highWaterMark: 1 << 20 }), crlfDelay: Infinity }); - let counts: Counts | null = null; - const commits: AtlasCommitRow[] = []; - const files: AtlasFileRow[] = []; - const people: AtlasPersonRow[] = []; - for await (const line of lines) { - if (!line) continue; - if (!counts) { - counts = JSON.parse(line) as Counts; - continue; - } - if (commits.length < counts.commits) commits.push(JSON.parse(line) as AtlasCommitRow); - else if (files.length < counts.files) files.push(JSON.parse(line) as AtlasFileRow); - else if (people.length < counts.people) people.push(JSON.parse(line) as AtlasPersonRow); - } - if (!counts || commits.length !== counts.commits || files.length !== counts.files || people.length !== counts.people) throw new Error(`${file} ended before its rows did`); - return { mainline: counts.mainline, newest: counts.newest, releases: counts.releases, commits, files, people }; -} - -const brotli = async (bytes: Uint8Array, quality: number) => { - const b = await brotliAsync(bytes, { params: { [constants.BROTLI_PARAM_QUALITY]: quality, [constants.BROTLI_PARAM_LGWIN]: 24, [constants.BROTLI_PARAM_SIZE_HINT]: bytes.byteLength } }); - return new Uint8Array(b.buffer, b.byteOffset, b.byteLength); -}; - -/** The Universe's Atlas from the rows a Build wrote: its map and its names, each packed with brotli as the Site sends them. */ -export async function atlasFrom(file: string, quality = ATLAS_QUALITY): Promise<{ map: Uint8Array; names: Uint8Array }> { - const { atlas, names } = atlasOf(await readRows(file)); - const [map, named] = [encodeAtlas(atlas), encodeNames(names)]; - return { map: await brotli(map, quality), names: await brotli(named, quality) }; -} - -/** `node builder.mjs atlas ROWS DIR QUALITY`: writes the Atlas of the rows in ROWS into DIR as `map.bin.br` and `names.bin.br`. */ -export async function writeAtlas(rows: string, dir: string, quality: number): Promise { - const { map, names } = await atlasFrom(rows, quality); - await writeFile(join(dir, "map.bin.br"), map); - await writeFile(join(dir, "names.bin.br"), names); -} - -/** Makes the Atlas of a Build's pack from the rows `commitscape build` wrote beside it, in a process of its own that takes an engine slot, and stores it where the Site reads it first, so the Site never makes it. False when the Build wrote no rows; throws when the Atlas could not be made. Either way the Site makes it as before. */ -export async function storeAtlas(run: Runner, atlas: AtlasSettings, storage: Storage, made: { si: number; pack: string; dir: string; timeoutMs: number; nice?: number; commits?: number }): Promise { - const rows = join(made.dir, ROWS); - if (!existsSync(rows)) return false; +/** Makes the Universe's Atlas of a Build's pack with `commitscape atlas`, in a process of its own let in by the memory it takes, and stores it where the Site reads it first, so the Site never makes it. Throws when it could not be made; the Site then makes it as before. */ +export async function storeAtlas(run: Runner, storage: Storage, made: { bin: string; quality: number; si: number; pack: string; file: string; dir: string; timeoutMs: number; nice?: number; commits?: number }): Promise { + const out = join(made.dir, "atlas"); const memoryMb = peakMb("atlas", { commits: made.commits ?? 0, sizeKb: 0 }); - const ran = await run(atlas.command, [...atlas.args, "atlas", rows, made.dir, String(atlas.quality)], {}, made.timeoutMs, { ...(made.nice === undefined ? {} : { nice: made.nice }), memoryMb }); + const ran = await run(made.bin, ["atlas", made.file, "--out", out, "--quality", String(made.quality)], {}, made.timeoutMs, { ...(made.nice === undefined ? {} : { nice: made.nice }), memoryMb }); if (ran.code !== 0) throw new Error(ran.timedOut ? "making the Atlas took too long" : `making the Atlas failed: ${ran.stderr.trim().split("\n").at(-1) ?? ""}`); for (const part of ["map", "names"] as const) { - await storage.put(atlasKey(made.si, made.pack, part), await readFile(join(made.dir, `${part}.bin.br`)), { type: "application/octet-stream", encoding: "br" }); + await storage.put(atlasKey(made.si, made.pack, part), await readFile(join(out, `${part}.bin.br`)), { type: "application/octet-stream", encoding: "br" }); } - return true; } diff --git a/crates/commitscape-report/src/universe.rs b/crates/commitscape-report/src/universe.rs index aefa642..ab4863a 100644 --- a/crates/commitscape-report/src/universe.rs +++ b/crates/commitscape-report/src/universe.rs @@ -280,3 +280,308 @@ fn releases(pack: &Pack) -> Vec<(String, i64)> { }) .collect() } + +const ATLAS_MAGIC: i64 = 0x4153_4331; +const ATLAS_VERSION: i64 = 1; +const ROLE: u8 = 7; +const ALIVE: u8 = 8; +const GENERATED: u8 = 16; +const LOCKFILE: u8 = 32; +const BULK: u8 = 1; +const ON_FIRST_PARENT: u8 = 2; + +/// The Universe's Atlas of a pack: its map and its file names, uncompressed. +#[derive(Debug, Clone, PartialEq, Eq)] +pub struct Atlas { + pub map: Vec, + pub names: Vec, +} + +#[derive(Default)] +struct Writer(Vec); + +impl Writer { + fn byte(&mut self, v: u8) { + self.0.push(v); + } + + fn uint(&mut self, v: i64) -> std::io::Result<()> { + let mut n = u64::try_from(v) + .map_err(|_| std::io::Error::other(format!("not a whole number: {v}")))?; + while n >= 0x80 { + self.0.push((n % 0x80) as u8 | 0x80); + n /= 0x80; + } + self.0.push(n as u8); + Ok(()) + } + + fn int(&mut self, v: i64) -> std::io::Result<()> { + self.uint(if v < 0 { -2 * v - 1 } else { 2 * v }) + } + + fn text(&mut self, s: &str) -> std::io::Result<()> { + self.uint(s.len() as i64)?; + self.0.extend_from_slice(s.as_bytes()); + Ok(()) + } +} + +fn after_slash(path: &str) -> &str { + path.rfind('/') + .map_or(path, |cut| path.get(cut + 1..).unwrap_or("")) +} + +struct Folders { + at: HashMap, + parent: Vec, + names: Vec, +} + +impl Folders { + fn new() -> Self { + Folders { + at: HashMap::from([(String::new(), 0)]), + parent: vec![-1], + names: vec![String::new()], + } + } + + fn of(&mut self, path: &str) -> i64 { + let Some(cut) = path.rfind('/') else { + return 0; + }; + let dir = path.get(..cut).unwrap_or(""); + if let Some(&found) = self.at.get(dir) { + return found; + } + let parent = self.of(dir); + let id = self.names.len() as i64; + self.parent.push(parent); + self.names.push(after_slash(dir).to_string()); + self.at.insert(dir.to_string(), id); + id + } +} + +/// The Universe's Atlas of a pack, byte for byte as the Site's `encodeAtlas(atlasOf(rows))` and `encodeNames` write it from the rows `write_rows` gives: files numbered in the order they first changed, folders from their paths, people by how many commits they made. Each column is a pass over the pack's commits, so nothing but the files, people and the bytes is held. +pub fn atlas(pack: &Pack) -> std::io::Result { + let index = &pack.index; + let Header { + mainline, + newest, + picked, + } = header(pack); + let files = files(pack); + let people = people(pack); + let mut releases = releases(pack); + let commit = |at: u32| index.commits.get(at as usize); + let picked: Vec = picked + .into_iter() + .filter(|&at| commit(at).is_some()) + .collect(); + let person_of = + |c: &commitscape_core::CommitMeta| index.author_of(c).map_or(-1, |p| i64::from(p.0)); + + let mut order = vec![u32::MAX; files.len()]; + let mut ordered: Vec = Vec::new(); + let mut commits_by: HashMap = HashMap::new(); + for &at in &picked { + let Some(c) = commit(at) else { continue }; + for ch in index.changes_of(c) { + let Some(slot) = order.get_mut(ch.file.idx()) else { + continue; + }; + if *slot == u32::MAX { + *slot = ordered.len() as u32; + ordered.push(ch.file.0); + } + } + let person = person_of(c); + if person >= 0 { + *commits_by.entry(person).or_default() += 1; + } + } + for f in &files { + if let Some(slot) = order.get_mut(f.file as usize) { + if f.alive && *slot == u32::MAX { + *slot = ordered.len() as u32; + ordered.push(f.file); + } + } + } + + let known: HashMap = people.iter().map(|p| (i64::from(p.id), p)).collect(); + let mut ranked: Vec<(i64, u64)> = commits_by + .into_iter() + .filter(|(id, _)| known.contains_key(id)) + .collect(); + ranked.sort_by(|a, b| b.1.cmp(&a.1).then(a.0.cmp(&b.0))); + let person_index: HashMap = ranked + .iter() + .enumerate() + .map(|(i, (id, _))| (*id, i as i64)) + .collect(); + + let origin = picked + .first() + .map_or(newest, |&at| arrived(pack, mainline, at as usize)); + let mut w = Writer::default(); + w.uint(ATLAS_MAGIC)?; + w.uint(ATLAS_VERSION)?; + w.uint(i64::from(mainline))?; + w.uint(origin)?; + w.uint((origin.max(newest) - origin).max(0))?; + + w.uint(ranked.len() as i64)?; + for (id, _) in &ranked { + w.uint(*id)?; + } + let ranked_people: Vec<&PersonRow> = ranked + .iter() + .filter_map(|(id, _)| known.get(id).copied()) + .collect(); + for p in &ranked_people { + w.byte(u8::from(p.bot)); + } + for p in &ranked_people { + w.text(&p.name)?; + } + for p in &ranked_people { + w.text(p.login.as_deref().unwrap_or(""))?; + } + + let mut folders = Folders::new(); + let mut languages: Vec<&str> = Vec::new(); + let mut language_at: HashMap<&str, i64> = HashMap::new(); + let mut folder_of = Vec::with_capacity(ordered.len()); + let mut info = Vec::with_capacity(ordered.len()); + let mut language = Vec::with_capacity(ordered.len()); + let mut lines = Vec::with_capacity(ordered.len()); + for &file in &ordered { + let Some(f) = files.get(file as usize) else { + continue; + }; + folder_of.push(folders.of(&f.path)); + info.push( + (f.role & ROLE) + | if f.alive { ALIVE } else { 0 } + | if f.generated { GENERATED } else { 0 } + | if f.lockfile { LOCKFILE } else { 0 }, + ); + language.push(match f.language { + Some(l) => *language_at.entry(l).or_insert_with(|| { + languages.push(l); + languages.len() as i64 + }), + None => 0, + }); + lines.push(match (f.alive, f.lines) { + (true, Some(n)) => i64::from(n), + _ => -1, + }); + } + w.uint(folders.parent.len() as i64)?; + for (i, parent) in folders.parent.iter().enumerate().skip(1) { + w.uint(i as i64 - parent)?; + } + for name in folders.names.iter().skip(1) { + w.text(name)?; + } + w.uint(languages.len() as i64)?; + for l in &languages { + w.text(l)?; + } + w.uint(ordered.len() as i64)?; + let mut prev = 0; + for &v in &folder_of { + w.int(v - prev)?; + prev = v; + } + for &b in &info { + w.byte(b); + } + for &l in &language { + w.uint(l)?; + } + for &n in &lines { + w.uint(n + 1)?; + } + + w.uint(picked.len() as i64)?; + let mut last = origin; + for &at in &picked { + let t = arrived(pack, mainline, at as usize); + w.uint((t - last).max(0))?; + last = last.max(t); + } + for &at in &picked { + let person = commit(at).map_or(-1, person_of); + let i = if person >= 0 { + person_index.get(&person).copied().unwrap_or(-1) + } else { + -1 + }; + w.uint(i + 1)?; + } + for &at in &picked { + let bulk = commit(at).is_some_and(|c| c.flags.contains(CommitFlags::BULK)); + let first = pack.mainline.get(at as usize).copied().unwrap_or(0) & FIRST_PARENT != 0; + w.byte(if bulk { BULK } else { 0 } | if first { ON_FIRST_PARENT } else { 0 }); + } + let counted = |at: u32| { + commit(at).map_or(0, |c| { + index + .changes_of(c) + .iter() + .filter(|ch| order.get(ch.file.idx()).is_some_and(|&o| o != u32::MAX)) + .count() + }) + }; + for &at in &picked { + w.uint(counted(at) as i64)?; + } + let mut kinds: Vec = Vec::new(); + for &at in &picked { + let Some(c) = commit(at) else { continue }; + let mut before = 0i64; + for ch in index.changes_of(c) { + let Some(&id) = order.get(ch.file.idx()).filter(|&&o| o != u32::MAX) else { + continue; + }; + w.int(i64::from(id) - before)?; + before = i64::from(id); + kinds.push((ch.kind as u8).min(3)); + } + } + for four in kinds.chunks(4) { + let mut b = 0u8; + for (k, kind) in four.iter().enumerate() { + b |= (kind & 3) << (k * 2); + } + w.byte(b); + } + + releases.sort_by_key(|r| r.1); + w.uint(releases.len() as i64)?; + for (name, _) in &releases { + w.text(name)?; + } + for (_, t) in &releases { + w.uint((t - origin).max(0))?; + } + + let mut names = Writer::default(); + names.uint(ordered.len() as i64)?; + for &file in &ordered { + names.text( + files + .get(file as usize) + .map_or("", |f| after_slash(&f.path)), + )?; + } + Ok(Atlas { + map: w.0, + names: names.0, + }) +} diff --git a/crates/commitscape/Cargo.toml b/crates/commitscape/Cargo.toml index 6efaea4..f96e9c1 100644 --- a/crates/commitscape/Cargo.toml +++ b/crates/commitscape/Cargo.toml @@ -21,6 +21,7 @@ path = "src/main.rs" [dependencies] aes-gcm = "0.11.1" anyhow = "1.0.104" +brotli = "9" clap = { version = "4.6.6", features = ["derive"] } commitscape-core.workspace = true commitscape-forge.workspace = true diff --git a/crates/commitscape/src/atlas.rs b/crates/commitscape/src/atlas.rs new file mode 100644 index 0000000..1bd6736 --- /dev/null +++ b/crates/commitscape/src/atlas.rs @@ -0,0 +1,67 @@ +use std::fs::File; +use std::io::{BufWriter, Write}; +use std::path::{Path, PathBuf}; + +use clap::Args; +use commitscape_report::pack::{open_unpacked, read_pack, unpack, PackError}; +use commitscape_report::universe::{atlas, write_rows}; + +#[derive(Args)] +pub struct AtlasArgs { + /// The pack a Build wrote. + pack: PathBuf, + + /// The folder to write the Atlas into, as `map.bin.br` and + /// `names.bin.br`. + #[arg(long, value_name = "DIR")] + out: PathBuf, + + /// How hard brotli packs the Atlas, 1 to 11. + #[arg(long, default_value_t = 5, value_parser = clap::value_parser!(u32).range(1..=11))] + quality: u32, + + /// Also write the map and the names uncompressed (`map.bin`, + /// `names.bin`) and the rows they are made from (`universe.jsonl`). + #[arg(long, hide = true)] + raw: bool, +} + +fn packed(bytes: &[u8], quality: u32, to: &Path) -> anyhow::Result<()> { + let params = brotli::enc::BrotliEncoderParams { + quality: quality as i32, + lgwin: 24, + size_hint: bytes.len(), + ..Default::default() + }; + let mut out = + brotli::CompressorWriter::with_params(BufWriter::new(File::create(to)?), 1 << 16, ¶ms); + out.write_all(bytes)?; + out.flush()?; + Ok(()) +} + +/// Makes the Universe's Atlas of a pack, reading the pack's columns in place, and writes its map and names packed with brotli as the Site sends them. +pub fn run(args: AtlasArgs) -> anyhow::Result<()> { + std::fs::create_dir_all(&args.out)?; + let unpacked = args.out.join("atlas.unpacked"); + let pack = match unpack(&args.pack, &unpacked) { + Ok(_) => { + let opened = open_unpacked(&unpacked); + let _ = std::fs::remove_file(&unpacked); + opened? + } + Err(PackError::Format(_)) => read_pack(&std::fs::read(&args.pack)?)?, + Err(e) => return Err(e.into()), + }; + let made = atlas(&pack)?; + if args.raw { + std::fs::write(args.out.join("map.bin"), &made.map)?; + std::fs::write(args.out.join("names.bin"), &made.names)?; + let mut rows = BufWriter::new(File::create(args.out.join("universe.jsonl"))?); + write_rows(&pack, &mut rows)?; + rows.flush()?; + } + packed(&made.map, args.quality, &args.out.join("map.bin.br"))?; + packed(&made.names, args.quality, &args.out.join("names.bin.br"))?; + Ok(()) +} diff --git a/crates/commitscape/src/build.rs b/crates/commitscape/src/build.rs index 0c6a1f9..f397e51 100644 --- a/crates/commitscape/src/build.rs +++ b/crates/commitscape/src/build.rs @@ -11,7 +11,6 @@ use commitscape_metrics::Span; use commitscape_report::export::{self, Manifest, Since}; use commitscape_report::pack::{write_pack, Pack, Reading}; use commitscape_report::report::{summary, Report}; -use commitscape_report::universe::write_rows; use tracing::field::Empty; use crate::mark::{fingerprint, Mark}; @@ -262,7 +261,7 @@ pub fn export(args: ExportArgs) -> anyhow::Result<()> { Ok(()) } -/// `commitscape build`: from one reading of the history, writes the export, the Report's meta, stats and people as `meta.json`, the pack as `pack.bin`, and the rows the Universe's Atlas is made from as `universe.jsonl`. +/// `commitscape build`: from one reading of the history, writes the export, the Report's meta, stats and people as `meta.json`, and the pack as `pack.bin`. pub fn build(args: ExportArgs) -> anyhow::Result<()> { events::record_to(args.run.events.as_deref())?; let r = read(&args)?; @@ -325,17 +324,6 @@ pub fn build(args: ExportArgs) -> anyhow::Result<()> { drop(entered); drop(span); - let span = tracing::info_span!("universe", bytes = Empty); - let entered = span.enter(); - let path = args.out.join("universe.jsonl"); - let mut out = BufWriter::with_capacity(1 << 20, std::fs::File::create(&path)?); - write_rows(&pack, &mut out)?; - out.flush()?; - drop(out); - span.record("bytes", std::fs::metadata(&path)?.len()); - drop(entered); - drop(span); - println!( "built {} of {} commits ({}) into {}", manifest.commits, diff --git a/crates/commitscape/src/main.rs b/crates/commitscape/src/main.rs index c25cf5a..b6e181b 100644 --- a/crates/commitscape/src/main.rs +++ b/crates/commitscape/src/main.rs @@ -1,3 +1,4 @@ +mod atlas; mod build; mod clone; mod events; @@ -86,6 +87,10 @@ enum Command { /// year and the last 90 days, and the stats, as one JSON object. #[command(hide = true)] Screens(screens::ScreensArgs), + /// Make the Universe's Atlas of a pack a Build wrote: its map and its + /// file names, packed with brotli as the Site sends them. + #[command(hide = true)] + Atlas(atlas::AtlasArgs), } #[derive(Args)] @@ -232,7 +237,11 @@ fn counted_as(command: Option<&Command>) -> Option<&'static str> { Some(Command::Surviving(_)) => Some("surviving"), Some(Command::Report(_)) => Some("report"), Some( - Command::Signatures(_) | Command::Export(_) | Command::Build(_) | Command::Screens(_), + Command::Signatures(_) + | Command::Export(_) + | Command::Build(_) + | Command::Screens(_) + | Command::Atlas(_), ) => None, } } @@ -271,6 +280,7 @@ fn run(cli: Cli) -> anyhow::Result<()> { Some(Command::Export(args)) => build::export(args), Some(Command::Build(args)) => build::build(args), Some(Command::Screens(args)) => screens::run(args), + Some(Command::Atlas(args)) => atlas::run(args), None => share::run(cli.share), } } diff --git a/docs/adr/0031-the-repo-state-and-packs-are-read-in-place-and-standard-screens-are-stored.md b/docs/adr/0031-the-repo-state-and-packs-are-read-in-place-and-standard-screens-are-stored.md index b6feeb3..881fe8e 100644 --- a/docs/adr/0031-the-repo-state-and-packs-are-read-in-place-and-standard-screens-are-stored.md +++ b/docs/adr/0031-the-repo-state-and-packs-are-read-in-place-and-standard-screens-are-stored.md @@ -18,6 +18,7 @@ The owner's target is a Build and an engine service that fit in about 250 MB, id - **git's caches are small:** 1 to 8 MB per handle and thread. Speed is the same within noise, except a cold walk of linux (10% more wall time, the same CPU). - **The C allocator gives memory back:** the CLI and the engine service have glibc map every block of 1 MB or more on its own and trim its heap past 1 MB, and the blame walk hands its freed memory back when it ends. glibc otherwise keeps raising the size it maps blocks at and keeps hundreds of MB a long run no longer uses. musl builds are left as they are. - **Packs are of format 3:** the bincode of everything but the long columns, then each column as zlib of its fixed records, compressed in R2 (3% larger than format 2). The engine service unpacks a pack once, streaming, into a page-aligned file on its volume and maps it; format 2 packs are still decoded. The engine service deploys before the Builder. +- **The Atlas is made in Rust from the pack.** `commitscape atlas` encodes the Universe's Atlas column by column from a pack read in place and packs it with brotli; a test checks it is byte for byte what the Site's TypeScript encoder makes from the same rows. The Builder no longer writes `universe.jsonl` or runs Node for it. - **Standard screens are stored per head.** After publishing a pack, the Builder runs `commitscape screens` in a process of its own under an engine slot and stores the stats and the overview, activity, people and top of the map of all, 1y and 90d under the Report's prefix. The Site sends those first and asks the engine service only for the rest. A test checks every stored screen is the engine's own answer. ## Considered @@ -32,4 +33,4 @@ The owner's target is a Build and an engine service that fit in about 250 MB, id - The first Build of each repository after the upgrade writes its column file once (linux 13 s, 498 MB). - The engine service's volume holds packs unpacked, about 2.6 times their R2 size; `PACK_DISK_GB` counts them so. - A Report published before this release asks the engine service for its standard screens until its next Build. -- Nothing the Builder runs on linux goes above 256 MB of anonymous memory. The engine service's Universe rows (asked only for a pack the Builder made no Atlas for) still take about 450 MB. +- Nothing the Builder runs on linux goes above 256 MB of anonymous memory: the Atlas takes 98 MB and 2.9 s (it was 635 MB in Node, from 170 MB of rows `build` wrote). The engine service's Universe rows (asked only for a pack the Builder made no Atlas for) still take about 450 MB. diff --git a/docs/working.md b/docs/working.md index b45f527..4868506 100644 --- a/docs/working.md +++ b/docs/working.md @@ -189,11 +189,13 @@ queued ones whose job was lost. - The Code window's tree, coupling, story and history, a folder's newest commits, a pull request's insight and the Universe's rows come from the engine service. The Universe's Atlas is made by the Builder from the - rows `build` writes beside the pack (`universe.jsonl`), in a process of - its own that waits for its share of `ENGINE_MEMORY_MB` (`node builder.mjs atlas`), and stored - in R2 before the pack is published; the Site sends those bytes, and makes - the Atlas from the engine service's rows only for a pack the Builder did - not make one for. Branches, tags and pull requests are rows; file text is + pack with `commitscape atlas`, in a process of its own that waits for + its share of `ENGINE_MEMORY_MB` (linux: 98 MB, 2.9 s), and stored in R2 + before the pack is published; the Site sends those bytes. A test checks + it is byte for byte what the Site's own encoder makes, on every fixture + (and by hand on react and linux). The Site makes the Atlas from the + engine service's rows only for a pack the Builder did not make one for, + a path kept for this release only. Branches, tags and pull requests are rows; file text is in R2. - A Shared Report is one locked file. The browser downloads it, decrypts it with the key after the `#`, and pages its Commit List itself; the Site @@ -214,8 +216,8 @@ Builder's and the tests'. `build` writes, from one reading of the history, the export (the Index as Postgres `COPY` files, export format 4, with each commit's Mainline and Main Arrival), the pack the engine service answers from (`pack.bin`, no email addresses in it), the Report's meta, stats and -people (`meta.json`) and the rows the Universe's Atlas is made from -(`universe.jsonl`, one commit, file or person a line). `export` writes only the `COPY` files, and `report` +people (`meta.json`). `atlas PACK --out DIR` writes the pack's Universe +Atlas (`map.bin.br`, `names.bin.br`). `export` writes only the `COPY` files, and `report` the whole Report as gzipped JSON, which `share` locks and uploads. `--accounts FILE` (`{"": ""}`) joins identities on those logins. `--lines-budget SECONDS` stops the line pass after that long (the From 4505674f3cd95b8e537405edaff58aa9ca801a52 Mon Sep 17 00:00:00 2001 From: Dev Talan <84081651+devchaudhary24k@users.noreply.github.com> Date: Tue, 27 Oct 2026 18:05:21 +0530 Subject: [PATCH 57/82] perf: memory outside the Builder's gate, inside it Three places held memory no gate counted: - A lean clone's prefetch kept up to 512 MB of git's output and split it into lines; it now reads each line as git writes it, holding only the blob ids it keeps. - `git clone` and `git fetch` ran beside the engine whatever they took. They now say what they take and wait in ENGINE_MEMORY_MB's line: a whole clone 64 MB + 0.3 MB per MB of repository (react's index-pack measured 82-92 MB for a 150 MB pack; linux's estimate, 1.8 GB, runs alone), a blobless one a third of that, a fetch 64 + 0.02 per MB. rev-parse and reset do not wait. - The Site's cache of answers read from R2 counted their JSON text but held them parsed, several times larger; it now holds the bytes it counts and parses them on each read, so a reader can no longer change what the next one gets either. Tests: a clone, a fetch and a blobless clone say their memory and the other git steps do not; an answer read twice is fetched once and comes back unchanged after the first reader changed its copy. --- DEPLOY.md | 2 +- apps/builder/src/admission.test.ts | 27 +++++++++++++ apps/builder/src/admission.ts | 7 +++- apps/builder/src/clone.ts | 8 ++-- apps/builder/src/lean.ts | 62 +++++++++++++++++++---------- apps/builder/src/run.ts | 6 +-- apps/builder/src/survival.ts | 2 +- packages/server/src/reports.test.ts | 15 +++++++ packages/server/src/reports.ts | 11 +++-- 9 files changed, 104 insertions(+), 36 deletions(-) diff --git a/DEPLOY.md b/DEPLOY.md index 35857c2..b16cfd6 100644 --- a/DEPLOY.md +++ b/DEPLOY.md @@ -199,7 +199,7 @@ Optional, with their defaults: | Variable | Default | What | |---|---|---| | `CONCURRENCY` | 1 | Builds at a time, for repositories under `LARGE_REPOSITORY_MB`. Their clones, GitHub reads and Postgres loads overlap; their runs of the engine share `ENGINE_MEMORY_MB` | -| `ENGINE_MEMORY_MB` | 1200 | Memory the runs of the engine may take at once, across every Build and count of Surviving Lines: each run waits, in the order it asked, until its estimate fits beside the others (a warm build of linux about 230 MB, a cold one about 340, everyone's Surviving Lines about 260, react's about 50 to 200); a run larger than this runs alone. 1200 fits a 3 GiB container with the Builder, git and Postgres loads beside it | +| `ENGINE_MEMORY_MB` | 1200 | Memory the runs of the engine, and git's clones, fetches and repacks, may take at once, across every Build and count of Surviving Lines: each run waits, in the order it asked, until its estimate fits beside the others (a warm build of linux about 230 MB, a cold one about 340, everyone's Surviving Lines about 260, react's about 50 to 200); a run larger than this runs alone. 1200 fits a 3 GiB container with the Builder, git and Postgres loads beside it | | `BULK_COMMIT_FILES` | 50 | A commit changing more files than this is a Bulk Commit: left out of Churn, Ownership, Change Coupling and Lines Changed, and passed through by Surviving Lines. A lean clone fetches no file versions for commits changing more than twice as many paths | | `COMMITSCAPE_THREADS` | every core, up to 16 | Threads one run of the engine may use | | `ENGINE_NICE` | 10 | The engine runs at this lower priority (0 to 19), so git, the database and the Builder stay responsive | diff --git a/apps/builder/src/admission.test.ts b/apps/builder/src/admission.test.ts index 40f4dc8..ed940ce 100644 --- a/apps/builder/src/admission.test.ts +++ b/apps/builder/src/admission.test.ts @@ -1,5 +1,9 @@ import { expect, test } from "vitest"; +import { mkdir, mkdtemp } from "node:fs/promises"; +import { tmpdir } from "node:os"; +import { join } from "node:path"; import { admitting, peakMb } from "./admission"; +import { ensureClone } from "./clone"; import type { Ran, RunOptions } from "./run"; function gate(budget: number, heavy = ["commitscape", "node"]) { @@ -68,6 +72,29 @@ test("any other command that says the memory it takes waits in the same line", a await Promise.all(runs); }); +test("a clone and a fetch say the memory they take, so they wait in the same line as the engine's runs", async () => { + const dir = await mkdtemp(join(tmpdir(), "gate-")); + const asked: [string, number | undefined][] = []; + const run = async (_cmd: string, args: string[], _env: NodeJS.ProcessEnv, _t: number, opts?: RunOptions): Promise => { + asked.push([args[0] ?? "", opts?.memoryMb]); + if (args[0] === "clone") await mkdir(join(args.at(-1) ?? "", ".git"), { recursive: true }); + return { code: 0, stderr: "", timedOut: false }; + }; + const how = { url: "file:///nowhere", dir: join(dir, "full"), blobless: false, env: {}, timeoutMs: 1000, sizeKb: 1_100_000 }; + await ensureClone(run as never, how); + await ensureClone(run as never, how); + await ensureClone(run as never, { ...how, dir: join(dir, "lean"), blobless: true }); + expect(asked).toEqual([ + ["clone", peakMb("clone", { commits: 0, sizeKb: 1_100_000 })], + ["commit-graph", undefined], + ["rev-parse", undefined], + ["fetch", peakMb("fetch", { commits: 0, sizeKb: 1_100_000 })], + ["reset", undefined], + ["clone", peakMb("blobless", { commits: 0, sizeKb: 1_100_000 })], + ]); + expect(peakMb("clone", { commits: 0, sizeKb: 1_100_000 })).toBeGreaterThan(92); +}); + test("an estimate is above every peak measured on linux and react", () => { const linux = { commits: 1_501_892, sizeKb: 5_800_000 }; const react = { commits: 21_722, sizeKb: 1_100_000 }; diff --git a/apps/builder/src/admission.ts b/apps/builder/src/admission.ts index ce50742..174a620 100644 --- a/apps/builder/src/admission.ts +++ b/apps/builder/src/admission.ts @@ -1,14 +1,14 @@ import type { RunOptions, Runner } from "./run"; /** What an engine run does, as far as its memory goes. */ -export type EngineRun = "build" | "cold" | "signatures" | "surviving" | "screens" | "atlas"; +export type EngineRun = "build" | "cold" | "signatures" | "surviving" | "screens" | "atlas" | "clone" | "blobless" | "fetch"; /** What is known of a repository before a run starts: its commits from its live Stored Index (0 when it has none) and its size on GitHub. */ export type Sized = { commits: number; sizeKb: number }; const UNKNOWN_MB = 256; -/** About how many MB of memory an engine run takes at its peak, a little over what was measured on two threads (2026-10-27: linux, 1.5M commits, and facebook/react, 22k): a warm build 94–170 MB on linux and 9–38 on react, a cold one 248 and 158, everyone's Surviving Lines 199 and 121, the standard screens 191, the Atlas 98 and 13. A cold run knows no commit count yet, so it goes by the repository's size. */ +/** About how many MB of memory an engine run takes at its peak, a little over what was measured on two threads (2026-10-27: linux, 1.5M commits, and facebook/react, 22k): a warm build 94–170 MB on linux and 9–38 on react, a cold one 248 and 158, everyone's Surviving Lines 199 and 121, the standard screens 191, the Atlas 98 and 13. A cold run knows no commit count yet, so it goes by the repository's size, as git's runs do: a whole clone (react: 82 to 92 MB for a 150 MB pack, `git index-pack` holding every object it receives), a blobless one (commits and trees only) and a fetch into a kept clone. */ export function peakMb(kind: EngineRun, repo: Sized): number { const thousands = repo.commits / 1000; const sizeMb = repo.sizeKb / 1024; @@ -19,6 +19,9 @@ export function peakMb(kind: EngineRun, repo: Sized): number { surviving: Math.max(130, 64 + 0.13 * thousands), screens: 48 + 0.1 * thousands, atlas: 48 + 0.04 * thousands, + clone: 64 + 0.3 * sizeMb, + blobless: 64 + 0.1 * sizeMb, + fetch: 64 + 0.02 * sizeMb, }[kind]; return Math.ceil(mb); } diff --git a/apps/builder/src/clone.ts b/apps/builder/src/clone.ts index f45f8ed..e8c08dd 100644 --- a/apps/builder/src/clone.ts +++ b/apps/builder/src/clone.ts @@ -3,6 +3,7 @@ import { existsSync } from "node:fs"; import { mkdir, rename, rm } from "node:fs/promises"; import { basename, dirname, join } from "node:path"; import type { BuildFailure } from "@commitscape/data"; +import { peakMb } from "./admission"; import type { Config } from "./config"; import type { run as runCommand } from "./run"; @@ -55,9 +56,10 @@ const lastLine = (text: string) => text.trim().split("\n").at(-1); /** Brings a kept clone up to date, or clones the repository afresh beside `dir` and moves it there once whole; `blobless` leaves old file contents on GitHub, and `checkout: false` writes no files out, only moving the branch, so a blobless clone fetches none. */ export async function ensureClone( run: typeof runCommand, - how: { url: string; dir: string; blobless: boolean; env: NodeJS.ProcessEnv; timeoutMs: number; checkout?: boolean }, + how: { url: string; dir: string; blobless: boolean; env: NodeJS.ProcessEnv; timeoutMs: number; checkout?: boolean; sizeKb?: number }, ): Promise { const checkout = how.checkout ?? true; + const sized = { commits: 0, sizeKb: how.sizeKb ?? 0 }; const started = Date.now(); const left = () => Math.max(1000, how.timeoutMs - (Date.now() - started)); const seconds = () => Math.round((Date.now() - started) / 100) / 10; @@ -70,7 +72,7 @@ export async function ensureClone( ["fetch", "--quiet", "--prune", "--tags", "origin"], ["reset", "--quiet", checkout ? "--hard" : "--soft", "origin/HEAD"], ]) { - const ran = await run("git", args, inside, left()); + const ran = await run("git", args, inside, left(), args[0] === "fetch" ? { memoryMb: peakMb("fetch", sized) } : {}); if (ran.timedOut) return timedOut; if (ran.code !== 0) { ok = false; @@ -84,7 +86,7 @@ export async function ensureClone( await mkdir(parent, { recursive: true }); await rm(temp, { recursive: true, force: true }); const args = ["clone", "--quiet", ...(how.blobless ? ["--filter=blob:none"] : []), ...(checkout ? [] : ["--no-checkout"]), "--", how.url, temp]; - const ran = await run("git", args, { ...how.env, GIT_CEILING_DIRECTORIES: parent }, left()); + const ran = await run("git", args, { ...how.env, GIT_CEILING_DIRECTORIES: parent }, left(), { memoryMb: peakMb(how.blobless ? "blobless" : "clone", sized) }); if (ran.timedOut || ran.code !== 0) { await rm(temp, { recursive: true, force: true }); return ran.timedOut ? timedOut : { ok: false, reason: failure(ran.stderr), detail: lastLine(ran.stderr) }; diff --git a/apps/builder/src/lean.ts b/apps/builder/src/lean.ts index 18b0e44..25a2246 100644 --- a/apps/builder/src/lean.ts +++ b/apps/builder/src/lean.ts @@ -1,34 +1,50 @@ +import { StringDecoder } from "node:string_decoder"; import { git, type Git } from "./gitdata/exec"; const ZERO = /^0+$/; const FETCHED_AT_ONCE = 20_000; const PATHS_AT_ONCE = 500; -const MAX_OUT = 512 << 20; const blobOf = (mode: string, oid: string) => (mode !== "160000" && mode !== "000000" && !ZERO.test(oid) ? oid : null); +async function eachLine(g: Git, args: string[], onLine: (line: string) => void, opts: { input?: string; separator?: string } = {}): Promise { + const separator = opts.separator ?? "\n"; + const decoder = new StringDecoder("utf8"); + let rest = ""; + const take = (text: string) => { + const parts = (rest + text).split(separator); + rest = parts.pop() ?? ""; + for (const part of parts) if (part) onLine(part); + }; + const ran = await git(g, args, { ...(opts.input === undefined ? {} : { input: opts.input }), onData: (d) => take(decoder.write(d)) }); + take(decoder.end()); + if (rest) onLine(rest); + if (ran.code !== 0 || ran.timedOut) throw new Error(`git ${args[0]} failed${ran.timedOut ? ": out of time" : `: ${ran.err.trim().split("\n").at(-1) ?? ""}`}`); +} + async function lines(g: Git, args: string[], input?: string): Promise { - const ran = await git(g, args, { maxBytes: MAX_OUT, ...(input === undefined ? {} : { input }) }); - if (ran.code !== 0 || ran.capped) throw new Error(`git ${args[0]} failed${ran.timedOut ? ": out of time" : ran.capped ? ": too much output" : `: ${ran.err.trim().split("\n").at(-1) ?? ""}`}`); - return ran.out.toString("utf8").split("\n").filter(Boolean); + const out: string[] = []; + await eachLine(g, args, (l) => out.push(l), input === undefined ? {} : { input }); + return out; } /** Which of `oids` the clone does not hold, asked without fetching any. */ export async function missingBlobs(g: Git, oids: string[]): Promise { if (oids.length === 0) return []; - const out = await lines({ ...g, env: { ...g.env, GIT_NO_LAZY_FETCH: "1" } }, ["cat-file", "--batch-check=%(objectname) %(objecttype)"], `${oids.join("\n")}\n`); - return out.flatMap((l) => (l.endsWith(" missing") ? [l.slice(0, -" missing".length)] : [])); + const missing: string[] = []; + await eachLine({ ...g, env: { ...g.env, GIT_NO_LAZY_FETCH: "1" } }, ["cat-file", "--batch-check=%(objectname) %(objecttype)"], (l) => l.endsWith(" missing") && missing.push(l.slice(0, -" missing".length)), { input: `${oids.join("\n")}\n` }); + return missing; } /** The file versions a Build of a blobless clone reads that it does not hold: every file at HEAD, which the head pass reads, and both sides of each file the commits since `frontier` changed, which the line pass reads, leaving out commits that change more than twice `bulkFiles` paths. Those are Bulk Commits, never counted: without renames paired, a commit of `bulkFiles` changes shows at most twice as many paths. */ export async function neededBlobs(g: Git, frontier: string[], bulkFiles: number): Promise { const bulk = 2 * bulkFiles; const wanted = new Set(); - for (const l of await lines(g, ["ls-tree", "-r", "--full-tree", "HEAD"])) { + await eachLine(g, ["ls-tree", "-r", "--full-tree", "HEAD"], (l) => { const [mode = "", , oid = ""] = l.split("\t")[0]?.split(" ") ?? []; const blob = blobOf(mode, oid); if (blob) wanted.add(blob); - } + }); const commits = await lines(g, ["rev-list", "--no-merges", "--all", "--stdin"], frontier.map((f) => `^${f}\n`).join("")); let current: string[] = []; const settle = () => { @@ -36,14 +52,19 @@ export async function neededBlobs(g: Git, frontier: string[], bulkFiles: number) current = []; }; if (commits.length > 0) { - for (const l of await lines(g, ["diff-tree", "--stdin", "-r", "--no-renames", "--raw", "--no-abbrev"], `${commits.join("\n")}\n`)) { - if (!l.startsWith(":")) { - settle(); - continue; - } - const [oldMode = "", newMode = "", oldOid = "", newOid = ""] = l.slice(1).split("\t")[0]?.split(" ") ?? []; - for (const b of [blobOf(oldMode, oldOid), blobOf(newMode, newOid)]) if (b) current.push(b); - } + await eachLine( + g, + ["diff-tree", "--stdin", "-r", "--no-renames", "--raw", "--no-abbrev"], + (l) => { + if (!l.startsWith(":")) { + settle(); + return; + } + const [oldMode = "", newMode = "", oldOid = "", newOid = ""] = l.slice(1).split("\t")[0]?.split(" ") ?? []; + for (const b of [blobOf(oldMode, oldOid), blobOf(newMode, newOid)]) if (b) current.push(b); + }, + { input: `${commits.join("\n")}\n` }, + ); settle(); } return missingBlobs(g, [...wanted]); @@ -51,14 +72,15 @@ export async function neededBlobs(g: Git, frontier: string[], bulkFiles: number) /** Every version the history holds of the paths HEAD changed since `since`, which blame reads when it walks those files back, that the clone does not hold. */ export async function historyBlobs(g: Git, since: string): Promise { - const paths = await lines(g, ["diff", "--name-only", "--no-renames", "-z", since, "HEAD"]).then((l) => l.join("\n").split("\0").filter(Boolean)); + const paths: string[] = []; + await eachLine(g, ["diff", "--name-only", "--no-renames", "-z", since, "HEAD"], (p) => paths.push(p), { separator: "\0" }); const wanted = new Set(); for (let i = 0; i < paths.length; i += PATHS_AT_ONCE) { - for (const l of await lines(g, ["log", "--all", "--format=", "--raw", "--no-renames", "--no-abbrev", "--", ...paths.slice(i, i + PATHS_AT_ONCE)])) { - if (!l.startsWith(":")) continue; + await eachLine(g, ["log", "--all", "--format=", "--raw", "--no-renames", "--no-abbrev", "--", ...paths.slice(i, i + PATHS_AT_ONCE)], (l) => { + if (!l.startsWith(":")) return; const [oldMode = "", newMode = "", oldOid = "", newOid = ""] = l.slice(1).split("\t")[0]?.split(" ") ?? []; for (const b of [blobOf(oldMode, oldOid), blobOf(newMode, newOid)]) if (b) wanted.add(b); - } + }); } return missingBlobs(g, [...wanted]); } diff --git a/apps/builder/src/run.ts b/apps/builder/src/run.ts index 749ad19..55e8473 100644 --- a/apps/builder/src/run.ts +++ b/apps/builder/src/run.ts @@ -247,14 +247,14 @@ export async function build(req: BuildTarget, cfg: Config, deps: Deps): Promise< }; const leanClone = async (): Promise => { - const c = await ensureClone(deps.run, { url, dir: full, blobless: true, checkout: false, env, timeoutMs: cloneLimit }); + const c = await ensureClone(deps.run, { url, dir: full, blobless: true, checkout: false, env, timeoutMs: cloneLimit, sizeKb: req.sizeKb }); if (!c.ok) return c; const live = await deps.index.live(); const fetched = await (deps.prefetch ?? prefetch)(full, env, live?.frontier ?? [], cloneLimit, cfg.bulkFiles); deps.log?.(`clone of ${req.owner}/${req.name}: blobless, ${fetched} file versions fetched for this Build`); return c; }; - const fullClone = () => (lean ? leanClone() : ensureClone(deps.run, { url, dir: full, blobless: false, env, timeoutMs: cloneLimit })); + const fullClone = () => (lean ? leanClone() : ensureClone(deps.run, { url, dir: full, blobless: false, env, timeoutMs: cloneLimit, sizeKb: req.sizeKb })); const caughtUp = async () => { const missing = await missingIn(deps.run, full, await tipsOf(deps.run, quick, env, CHECK_MS), env, CHECK_MS); @@ -288,7 +288,7 @@ export async function build(req: BuildTarget, cfg: Config, deps: Deps): Promise< fullCloned = true; }); const quickDone: Promise = quickWanted - ? phases.time("clone quick", "git.clone", () => ensureClone(deps.run, { url, dir: quick, blobless: true, env, timeoutMs: cloneLimit })).catch((e: unknown): Cloned => ({ ok: false, reason: "error", detail: (e as Error).message })) + ? phases.time("clone quick", "git.clone", () => ensureClone(deps.run, { url, dir: quick, blobless: true, env, timeoutMs: cloneLimit, sizeKb: req.sizeKb })).catch((e: unknown): Cloned => ({ ok: false, reason: "error", detail: (e as Error).message })) : Promise.resolve(null); const firstClone = new Promise((resolve) => { let waiting = quickWanted ? 2 : 1; diff --git a/apps/builder/src/survival.ts b/apps/builder/src/survival.ts index 83ef3ed..58410b4 100644 --- a/apps/builder/src/survival.ts +++ b/apps/builder/src/survival.ts @@ -73,7 +73,7 @@ export async function runSurvival(job: SurvivalJob, ctx: JobContext & { budget: holding.add(key); try { if (leaned) await prefetch(ctx, repo.id, lean, env); - const cloned = existsSync(join(full, ".git")) ? ({ ok: true } as const) : await ensureClone(ctx.run, { url: cloneUrl(cfg, repo.owner, repo.name), dir: full, blobless: false, env, timeoutMs: cfg.cloneLimit * 1000 }); + const cloned = existsSync(join(full, ".git")) ? ({ ok: true } as const) : await ensureClone(ctx.run, { url: cloneUrl(cfg, repo.owner, repo.name), dir: full, blobless: false, env, timeoutMs: cfg.cloneLimit * 1000, sizeKb: repo.sizeKb ?? 0 }); if (!cloned.ok) { ctx.log(`surviving ${job.repoId}: clone ${cloned.reason}`); return "failed"; diff --git a/packages/server/src/reports.test.ts b/packages/server/src/reports.test.ts index f904523..d76b6e9 100644 --- a/packages/server/src/reports.test.ts +++ b/packages/server/src/reports.test.ts @@ -23,4 +23,19 @@ describe("screens stored with a Report", () => { expect(await readEntry(storage, "reports/gh/1/b", "/api/stats?")).toEqual({ bus_factor: 1 }); expect(await readEntry(storage, "reports/gh/1/b", "/api/people?window=all")).toBeNull(); }); + + it("are read from the bucket once and kept as their bytes, so what a reader does with one never shows in the next", async () => { + const storage = memoryStorage(); + await storeEntries(storage, "reports/gh/2/b", { "/api/overview?window=all": { commits: 3, people: [{ id: 1 }] } }); + let gets = 0; + const get = storage.get.bind(storage); + storage.get = async (key) => { + gets += 1; + return get(key); + }; + const first = await readEntry<{ commits: number; people: { id: number }[] }>(storage, "reports/gh/2/b", "/api/overview?window=all"); + if (first) first.people.push({ id: 2 }); + expect(await readEntry(storage, "reports/gh/2/b", "/api/overview?window=all")).toEqual({ commits: 3, people: [{ id: 1 }] }); + expect(gets).toBe(1); + }); }); diff --git a/packages/server/src/reports.ts b/packages/server/src/reports.ts index 69457cb..789d0c4 100644 --- a/packages/server/src/reports.ts +++ b/packages/server/src/reports.ts @@ -77,17 +77,16 @@ export async function storeEntries(storage: Storage, prefix: string, data: Recor return writes.length; } -const cache = new LRUCache({ maxSize: 256 * 1024 * 1024 }); +const cache = new LRUCache({ maxSize: 256 * 1024 * 1024, sizeCalculation: (bytes) => Math.max(1, bytes.length) }); async function readJson(storage: Storage, key: string): Promise { const hit = cache.get(key); - if (hit) return hit.value as T; + if (hit) return JSON.parse(hit.toString("utf8")) as T; const object = await storage.get(key); if (!object) return null; - const text = (object.encoding === "gzip" ? await gunzipAsync(object.body) : Buffer.from(object.body)).toString("utf8"); - const value = JSON.parse(text) as T; - cache.set(key, { value }, { size: Math.max(1, text.length) }); - return value; + const bytes = object.encoding === "gzip" ? await gunzipAsync(object.body) : Buffer.from(object.body); + cache.set(key, bytes); + return JSON.parse(bytes.toString("utf8")) as T; } /** A stored Report's meta, stats and the answers it holds. */ From c7db404a93ecfbfbde321365a8c8542388c8270c Mon Sep 17 00:00:00 2001 From: Dev Talan <84081651+devchaudhary24k@users.noreply.github.com> Date: Tue, 27 Oct 2026 18:07:11 +0530 Subject: [PATCH 58/82] perf: the quick publish leaves the Atlas and the screens to the full one A cold Build published its quick pack (without lines) and then made its Atlas and standard screens, which the full pack made again minutes later. The quick publish now skips both, so the first Report shows that much sooner (linux: about 2.9 s of Atlas and 3.5 s of screens), and the Site never makes an Atlas for a quick pack either: it says the Universe is drawn once the Build has read the whole history, rather than reading the pack's rows to make one itself. A quick pack's screens are the engine service's answers, as before. Tests: a cold Build makes the Atlas and the screens once, from the full pack; the Site neither warms nor makes a quick pack's Atlas and does not ask the engine service. --- apps/builder/src/job.test.ts | 16 ++++++++++++++++ apps/builder/src/job.ts | 17 ++++++++++------- apps/site/src/server/universe.test.ts | 12 ++++++++++++ apps/site/src/server/universe.ts | 5 ++++- packages/server/src/reports.ts | 8 ++++++++ 5 files changed, 50 insertions(+), 8 deletions(-) diff --git a/apps/builder/src/job.test.ts b/apps/builder/src/job.test.ts index 3112b89..e7472a4 100644 --- a/apps/builder/src/job.test.ts +++ b/apps/builder/src/job.test.ts @@ -189,6 +189,22 @@ test("a repository with no Report gets the quick Stored Index without lines whil expect(ctx.captured.every((c) => c[1].userId === "u1")).toBe(true); }); +test("only the full publish makes its pack's Atlas and stores its screens; the quick one leaves them to it", async () => { + const db = await database(); + const ctx = await context(db); + const made: string[] = []; + ctx.run = tools({}, async (_cmd, args) => { + if (args[0] === "atlas" || args[0] === "screens") made.push(`${args[0]} of ${args[1]?.includes("quick") ? "quick" : "full"}`); + return ok; + }); + ctx.cfg = { ...ctx.cfg, atlas: { quality: 5 } }; + await db.insert(repositories).values({ id: "acme/rocket", owner: "acme", name: "rocket", sizeKb: 10 }); + await db.insert(builds).values({ id: "b1", repoId: "acme/rocket", state: "queued", requestedAt: 1 }); + await runJob("b1", ctx); + expect(ctx.captured.map((c) => c[0])).toEqual(["build started", "build quick published", "build done"]); + expect(made).toEqual(["atlas of full", "screens of full"]); +}); + test("a full build that fails leaves the quick Stored Index published, says why, and stops saying lines are being counted", async () => { const db = await database(); const ctx = await context(db); diff --git a/apps/builder/src/job.ts b/apps/builder/src/job.ts index f1d40b0..b2d0d68 100644 --- a/apps/builder/src/job.ts +++ b/apps/builder/src/job.ts @@ -12,6 +12,7 @@ import { randomId, reportPrefix, schema, + packKey, screensPrefix, sha256, type BuildJob, @@ -298,11 +299,11 @@ async function publishBuild(ctx: JobContext, phases: Phases, buildId: string, ma if (!named) return null; if (made.phase === "quick" && named.reportKey && named.reportLines !== false) return null; const si = made.loaded.si; - const pack = `packs/${named.id}/${si}/${made.manifest.head ?? "empty"}-${buildId}-${made.phase === "quick" ? "quick" : "lines"}.pack`; + const pack = packKey(named.id, si, made.manifest.head ?? null, buildId, made.phase === "quick"); const body = await readFile(made.pack); await phases.time(`upload ${made.phase}`, "http.client", () => storage.put(pack, body, { type: "application/octet-stream" })); const atlas = ctx.cfg.atlas; - if (atlas) { + if (atlas && made.phase === "full") { await phases .time(`atlas ${made.phase}`, "atlas", () => storeAtlas(ctx.run, storage, { bin: ctx.cfg.bin, quality: atlas.quality, si, pack, file: made.pack, dir: made.dir, timeoutMs: timeLimitOf(ctx.cfg) * 1000, nice: ctx.cfg.nice, commits: made.manifest.total })) .catch((e: unknown) => ctx.log(`atlas of ${named.id}: ${(e as Error).message}, so the Site makes it`)); @@ -310,11 +311,13 @@ async function publishBuild(ctx: JobContext, phases: Phases, buildId: string, ma const lines = made.phase === "full" && made.manifest.lines_mainline; const same = made.phase === "full" && named.reportLines === true && !made.loaded.full && made.before?.id === si && made.before.head === made.manifest.head; const prefix = same && named.reportKey ? named.reportKey : reportPrefix(named.id, made.phase === "full" ? buildId : `${buildId}-quick`); - await phases - .time(`screens ${made.phase}`, "screens", () => - storeScreens(ctx.run, storage, { bin: ctx.cfg.bin, pack: made.pack, dir: made.dir, prefix: screensPrefix(si, pack), env: ctx.cfg.threads ? { COMMITSCAPE_THREADS: String(ctx.cfg.threads) } : {}, timeoutMs: timeLimitOf(ctx.cfg) * 1000, nice: ctx.cfg.nice, commits: made.manifest.total }), - ) - .catch((e: unknown) => ctx.log(`screens of ${named.id}: ${(e as Error).message}, so the engine service answers them`)); + if (made.phase === "full") { + await phases + .time(`screens ${made.phase}`, "screens", () => + storeScreens(ctx.run, storage, { bin: ctx.cfg.bin, pack: made.pack, dir: made.dir, prefix: screensPrefix(si, pack), env: ctx.cfg.threads ? { COMMITSCAPE_THREADS: String(ctx.cfg.threads) } : {}, timeoutMs: timeLimitOf(ctx.cfg) * 1000, nice: ctx.cfg.nice, commits: made.manifest.total }), + ) + .catch((e: unknown) => ctx.log(`screens of ${named.id}: ${(e as Error).message}, so the engine service answers them`)); + } const { stats, people } = made.summary; const meta: Meta = { ...made.summary.meta, lines: lines ? "counted" : continuing ? "counting" : "off" }; const target = await db.transaction(async (tx) => { diff --git a/apps/site/src/server/universe.test.ts b/apps/site/src/server/universe.test.ts index 7aa2c18..f7a39f5 100644 --- a/apps/site/src/server/universe.test.ts +++ b/apps/site/src/server/universe.test.ts @@ -87,6 +87,18 @@ describe("the Atlas", () => { expect(deps.engine.asked).toEqual([]); }); + test("of a Build's quick pack is never made by the Site: the full pack brings it", async () => { + const deps = await stored(); + const quick = await packed(deps.db, deps.si, "packs/acme/rocket/1/head-b2-quick.pack"); + expect(await warmAtlas(deps, deps.si, quick)).toBe(false); + const asked = await atlasFile(deps, viewer(), "acme", "rocket", "map", null).then( + () => null, + (e: SiteError) => [e.status, e.message], + ); + expect(asked).toEqual([404, "The Universe is drawn once this Build has read the whole history."]); + expect(deps.engine.asked).toEqual([]); + }); + test("is made ahead of its first visitor, and what the Stored Index's earlier packs left in storage is deleted", async () => { const deps = await stored(); await deps.storage.put(`atlas/${deps.si}/0000000000000000/map.bin.br`, "old", { type: "application/octet-stream" }); diff --git a/apps/site/src/server/universe.ts b/apps/site/src/server/universe.ts index 8bf92ec..de3bf59 100644 --- a/apps/site/src/server/universe.ts +++ b/apps/site/src/server/universe.ts @@ -2,7 +2,7 @@ import "@tanstack/react-start/server-only"; import { promisify } from "node:util"; import { brotliCompress, brotliDecompress, constants, gzip } from "node:zlib"; import { atlasOf, encodeAtlas, encodeNames } from "@commitscape/data/universe"; -import { atlasKey, sha256, type AtlasPart, type Storage } from "@commitscape/server"; +import { atlasKey, isQuickPack, sha256, type AtlasPart, type Storage } from "@commitscape/server"; import { withPack } from "./answers"; import type { EngineService } from "./engine-service"; import { SiteError } from "./http"; @@ -15,6 +15,7 @@ const gzipAsync = promisify(gzip); export type { AtlasPart }; const NO_HISTORY = "This repository's history is read at its next Build."; +const NOT_YET = "The Universe is drawn once this Build has read the whole history."; const YEAR = 31_536_000; const KEPT = 6; const QUICK = 5; @@ -56,6 +57,7 @@ function repack(storage: Storage, si: number, pack: string, raw: Record { const [map, names] = await Promise.all([storage.get(keyOf(si, pack, "map")).catch(() => null), storage.get(keyOf(si, pack, "names")).catch(() => null)]); if (map && names) return { map: { br: map.body, gzip: null }, names: { br: names.body, gzip: null }, kept: Promise.resolve() }; + if (isQuickPack(pack)) throw new SiteError(404, NOT_YET); const { atlas, names: named } = atlasOf(await engine.universeRows(pack)); const raw = { map: encodeAtlas(atlas), names: encodeNames(named) }; const [mapBr, namesBr] = await Promise.all([brotli(raw.map, QUICK), brotli(raw.names, QUICK)]); @@ -84,6 +86,7 @@ export function atlasOfPack(making: Making, si: number, pack: string): Promise { + if (isQuickPack(pack)) return false; await (await atlasOfPack(making, si, pack)).kept; const kept = `atlas/${si}/${versionOf(pack)}/`; const stale = ((await making.storage.keys?.(`atlas/${si}/`)) ?? []).filter((k) => !k.startsWith(kept)); diff --git a/packages/server/src/reports.ts b/packages/server/src/reports.ts index 789d0c4..11903ac 100644 --- a/packages/server/src/reports.ts +++ b/packages/server/src/reports.ts @@ -21,6 +21,14 @@ export type AtlasPart = "map" | "names"; export function atlasKey(si: number, pack: string, part: AtlasPart): string { return `atlas/${si}/${sha256(pack).slice(0, 16)}/${part}.bin.br`; } +/** Where a Build's pack is kept: under its repository and Stored Index, named by its head and Build, and marked when it is the quick one, published without lines before the whole history is read. */ +export function packKey(repoId: string, si: number, head: string | null, buildId: string, quick: boolean): string { + return `packs/${repoId}/${si}/${head ?? "empty"}-${buildId}-${quick ? "quick" : "lines"}.pack`; +} + +/** Whether a pack is a Build's quick one, which has no Atlas or stored screens of its own: the full one that follows brings them. */ +export const isQuickPack = (pack: string) => pack.endsWith("-quick.pack"); + /** Where the standard screens of a Stored Index's pack are kept: named by the pack, so a pack published again at the same head never serves the screens of the one before. */ export function screensPrefix(si: number, pack: string): string { return `screens/${si}/${sha256(pack).slice(0, 16)}`; From f1e9831e955f5f9ff19d31d7ec7fda6169ac8966 Mon Sep 17 00:00:00 2001 From: Dev Talan <84081651+devchaudhary24k@users.noreply.github.com> Date: Tue, 27 Oct 2026 18:08:42 +0530 Subject: [PATCH 59/82] perf(builder): move State chunks four at a time A save sealed and uploaded its chunks one after another, and a restore fetched them one after another, so every chunk paid R2's round trip (about 350 ms from venus to the bucket in Asia-Pacific) in turn. Up to four now go at once; a restore still checks each chunk against its name and writes them in order, and holds at most four. Estimate for linux's 504 MB State, about 200 chunks: a restore of about 70 s of round trips becomes about 18 s, a first save the same. Test: with storage that answers in random order, at most four chunks move at once (and more than one), and the files come back the same. --- apps/builder/src/state.test.ts | 28 +++++++++++++++ apps/builder/src/state.ts | 66 ++++++++++++++++++++++++++-------- 2 files changed, 79 insertions(+), 15 deletions(-) diff --git a/apps/builder/src/state.test.ts b/apps/builder/src/state.test.ts index 7683262..d797a3e 100644 --- a/apps/builder/src/state.test.ts +++ b/apps/builder/src/state.test.ts @@ -86,6 +86,34 @@ test("bytes inserted into a large file upload only the chunks around them, and i expect((await read(into, "00000000000000aa.cols")).equals(inserted)).toBe(true); }); +test("chunks go to R2 and come back a few at a time, whatever order they finish in, and the files are the same", async () => { + const storage = memoryStorage(); + const root = await cache(); + const big = randomBytes(6 * CHUNK_BYTES); + await writeFile(join(root, "key-0123456789abcdef", "00000000000000aa.data"), big); + let moving = 0; + let most = 0; + const slow = (fn: () => Promise) => async () => { + moving += 1; + most = Math.max(most, moving); + await new Promise((r) => setTimeout(r, 5 + Math.random() * 30)); + moving -= 1; + return fn(); + }; + const put = storage.put.bind(storage); + const get = storage.get.bind(storage); + storage.put = (key, body, options) => slow(() => put(key, body, options))(); + storage.get = (key) => slow(() => get(key))(); + await saveState({ storage, keys }, "acme/rocket", root); + expect([most > 1, most <= 4]).toEqual([true, true]); + most = 0; + const into = await mkdtemp(join(tmpdir(), "state-")); + expect((await restoreState({ storage, keys }, "acme/rocket", into)).restored).toBe(true); + expect([most > 1, most <= 4]).toEqual([true, true]); + expect((await read(into, "00000000000000aa.data")).equals(big)).toBe(true); + expect((await read(into, "lines")).toString()).toBe("lines"); +}); + test("files of another cache generation, and files being written, are not kept", async () => { const storage = memoryStorage(); const root = await cache(); diff --git a/apps/builder/src/state.ts b/apps/builder/src/state.ts index b4e45f9..36fc244 100644 --- a/apps/builder/src/state.ts +++ b/apps/builder/src/state.ts @@ -72,6 +72,23 @@ async function* chunksOf(path: string): AsyncGenerator { } } const DAY = 24 * 3600; +const AT_ONCE = 4; + +async function* inOrder(items: readonly T[], most: number, get: (item: T) => Promise): AsyncGenerator { + const pending: Promise[] = []; + let next = 0; + const start = () => { + const p = get(items[next++] as T); + p.catch(() => undefined); + pending.push(p); + }; + while (next < items.length && pending.length < most) start(); + while (pending.length > 0) { + const first = await (pending.shift() as Promise); + if (next < items.length) start(); + yield first; + } +} type Entry = { path: string; size: number; mtime: number; chunks: string[] }; type Manifest = { version: 1; files: Entry[] }; @@ -150,6 +167,13 @@ export async function saveState(tier: StateTier, repoId: string, root: string, a let uploaded = 0; let sent = 0; let bytes = 0; + const uploading = new Set>(); + const upload = async (name: string, chunk: Buffer) => { + const body = await seal(tier.keys, chunk); + await tier.storage.put(prefix + name, body, { type: "application/octet-stream" }); + uploaded++; + sent += body.byteLength; + }; for (const path of await files(root)) { const rel = relative(root, path); const s = await stat(path).catch(() => null); @@ -165,11 +189,11 @@ export async function saveState(tier: StateTier, repoId: string, root: string, a for await (const chunk of chunksOf(path)) { const name = nameOf(tier.keys, chunk); if (!held.has(name)) { - const body = await seal(tier.keys, chunk); - await tier.storage.put(prefix + name, body, { type: "application/octet-stream" }); held.add(name); - uploaded++; - sent += body.byteLength; + const p: Promise = upload(name, chunk).finally(() => uploading.delete(p)); + p.catch(() => undefined); + uploading.add(p); + if (uploading.size >= AT_ONCE) await Promise.race(uploading); } chunks.push(name); size += chunk.byteLength; @@ -177,6 +201,7 @@ export async function saveState(tier: StateTier, repoId: string, root: string, a entries.push({ path: rel, size, mtime: s.mtimeMs, chunks }); bytes += size; } + await Promise.all(uploading); const manifest: Manifest = { version: 1, files: entries }; await tier.storage.put(`${prefix}manifest`, await seal(tier.keys, Buffer.from(JSON.stringify(manifest))), { type: "application/octet-stream" }); await writeFile(join(root, LOCAL), JSON.stringify(manifest)); @@ -205,19 +230,30 @@ export async function restoreState(tier: StateTier, repoId: string, root: string const target = join(into, f.path); if (relative(into, target).startsWith("..")) throw new Error(`a State file outside its folder: ${f.path}`); await mkdir(dirname(target), { recursive: true }); - const out = await open(target, "w"); - try { - for (const name of f.chunks) { - const body = await tier.storage.get(prefix + name); - if (!body) throw new Error(`a State chunk is missing: ${name}`); - const chunk = await unseal(tier.keys, body.body); - if (nameOf(tier.keys, chunk) !== name) throw new Error(`a State chunk does not match its name: ${name}`); - await out.write(chunk); - bytes += chunk.byteLength; + await writeFile(target, ""); + } + const parts = manifest.files.flatMap((f) => f.chunks.map((name) => ({ path: f.path, name }))); + const fetched = inOrder(parts, AT_ONCE, async ({ path, name }) => { + const body = await tier.storage.get(prefix + name); + if (!body) throw new Error(`a State chunk is missing: ${name}`); + const chunk = await unseal(tier.keys, body.body); + if (nameOf(tier.keys, chunk) !== name) throw new Error(`a State chunk does not match its name: ${name}`); + return { path, chunk }; + }); + let out: Awaited> | null = null; + let writing = ""; + try { + for await (const { path, chunk } of fetched) { + if (path !== writing || !out) { + await out?.close(); + out = await open(join(into, path), "a"); + writing = path; } - } finally { - await out.close(); + await out.write(chunk); + bytes += chunk.byteLength; } + } finally { + await out?.close(); } const placed = await Promise.all(manifest.files.map(async (f) => ({ ...f, mtime: (await stat(join(into, f.path))).mtimeMs }))); await writeFile(join(into, LOCAL), JSON.stringify({ version: 1, files: placed } satisfies Manifest)); From 72914649fe6ae6fa44f7a354fa12f56d4d3bcfe2 Mon Sep 17 00:00:00 2001 From: Dev Talan <84081651+devchaudhary24k@users.noreply.github.com> Date: Tue, 27 Oct 2026 18:08:59 +0530 Subject: [PATCH 60/82] perf(server): one read of an R2 answer for every reader waiting on it When several requests asked at once for an answer the Site had not read from R2 yet (a page's screens, a shared Report opened by many), each read it from the bucket and unpacked it. Readers now wait on the read already in flight and share its bytes. Test: three readers at once cause one read of the bucket. --- packages/server/src/reports.test.ts | 15 +++++++++++++++ packages/server/src/reports.ts | 27 ++++++++++++++++++++------- 2 files changed, 35 insertions(+), 7 deletions(-) diff --git a/packages/server/src/reports.test.ts b/packages/server/src/reports.test.ts index d76b6e9..5fee706 100644 --- a/packages/server/src/reports.test.ts +++ b/packages/server/src/reports.test.ts @@ -38,4 +38,19 @@ describe("screens stored with a Report", () => { expect(await readEntry(storage, "reports/gh/2/b", "/api/overview?window=all")).toEqual({ commits: 3, people: [{ id: 1 }] }); expect(gets).toBe(1); }); + + it("asked for at once by several readers are read from the bucket once", async () => { + const storage = memoryStorage(); + await storeEntries(storage, "reports/gh/3/b", { "/api/stats?": { commits: 9 } }); + let gets = 0; + const get = storage.get.bind(storage); + storage.get = async (key) => { + gets += 1; + await new Promise((r) => setTimeout(r, 20)); + return get(key); + }; + const all = await Promise.all([1, 2, 3].map(() => readEntry(storage, "reports/gh/3/b", "/api/stats?"))); + expect(all).toEqual([{ commits: 9 }, { commits: 9 }, { commits: 9 }]); + expect(gets).toBe(1); + }); }); diff --git a/packages/server/src/reports.ts b/packages/server/src/reports.ts index 11903ac..549c450 100644 --- a/packages/server/src/reports.ts +++ b/packages/server/src/reports.ts @@ -87,14 +87,27 @@ export async function storeEntries(storage: Storage, prefix: string, data: Recor const cache = new LRUCache({ maxSize: 256 * 1024 * 1024, sizeCalculation: (bytes) => Math.max(1, bytes.length) }); -async function readJson(storage: Storage, key: string): Promise { +const reading = new Map>(); + +function bytesOf(storage: Storage, key: string): Promise { const hit = cache.get(key); - if (hit) return JSON.parse(hit.toString("utf8")) as T; - const object = await storage.get(key); - if (!object) return null; - const bytes = object.encoding === "gzip" ? await gunzipAsync(object.body) : Buffer.from(object.body); - cache.set(key, bytes); - return JSON.parse(bytes.toString("utf8")) as T; + if (hit) return Promise.resolve(hit); + const already = reading.get(key); + if (already) return already; + const read = (async () => { + const object = await storage.get(key); + if (!object) return null; + const bytes = object.encoding === "gzip" ? await gunzipAsync(object.body) : Buffer.from(object.body); + cache.set(key, bytes); + return bytes; + })().finally(() => reading.delete(key)); + reading.set(key, read); + return read; +} + +async function readJson(storage: Storage, key: string): Promise { + const bytes = await bytesOf(storage, key); + return bytes ? (JSON.parse(bytes.toString("utf8")) as T) : null; } /** A stored Report's meta, stats and the answers it holds. */ From ffeae5bb9d171045658ca8f4b8a98ac881a05987 Mon Sep 17 00:00:00 2001 From: Dev Talan <84081651+devchaudhary24k@users.noreply.github.com> Date: Tue, 27 Oct 2026 18:21:00 +0530 Subject: [PATCH 61/82] perf: the engine service answers stored screens from beside the pack A Report's standard screens were 13 R2 objects under its prefix, read by the Site from the bucket in Asia-Pacific (about 350 ms a read from venus) and kept by the Site itself. The Builder now stores them as one gzipped object beside the full pack (.screens); the engine service fetches it with the pack, keeps it on its volume next to the unpacked pack, deletes it with the pack, and answers those questions from it without working them out, cut by `top` as any answer is. The Site asks the engine service for every screen, with the pack's ETag, so a standard screen no longer costs the Site an R2 read, and the Site's own path for stored screens is gone. Tests: the engine service answers a stored overview and a stored people list cut to `top` from the object beside the pack, works out what is not stored, and keeps the object on its volume; the Builder stores one gzipped object; a pack published again at the same head is answered from the new pack with a new ETag. --- DEPLOY.md | 12 ++-- apps/builder/src/atlas.ts | 5 +- apps/builder/src/job.ts | 4 +- apps/builder/src/screens.test.ts | 17 +++-- apps/builder/src/screens.ts | 13 ++-- apps/engine/Cargo.toml | 2 +- apps/engine/src/loaded.rs | 2 + apps/engine/src/packs.rs | 64 ++++++++++++++++++- apps/engine/src/routes.rs | 18 ++++-- apps/engine/tests/engine.rs | 46 +++++++++++++ apps/site/src/server/answers.test.ts | 32 ++-------- apps/site/src/server/repos.ts | 42 ++---------- ...n-place-and-standard-screens-are-stored.md | 6 +- docs/working.md | 16 +++-- packages/server/src/reports.test.ts | 37 ++++++----- packages/server/src/reports.ts | 33 ++-------- 16 files changed, 199 insertions(+), 150 deletions(-) diff --git a/DEPLOY.md b/DEPLOY.md index b16cfd6..873d561 100644 --- a/DEPLOY.md +++ b/DEPLOY.md @@ -517,13 +517,13 @@ this order: 3. To keep Repo States in R2 as well, set `STATE_KEY` on the Builder (a secret of 32 characters or more, kept only there, never changed after) before or with this deploy. Without it the States live on its disk only. -4. Deploy the Site: it sends a Report's standard screens (the stats, and - the overview, activity, people and top of the map of all history, the - last year and the last 90 days) from what the Builder stored with it, - asks the engine service for the rest, searches the Commit List's words +4. Deploy the Site: it asks the engine service for every screen (the + engine service answers a Report's standard screens from what the + Builder stored beside its pack), searches the Commit List's words through the engine service, counts a Report found unchanged as current, - and no longer serves `git/log.json`. Reports published before ask the - engine service as before until their next Build. + and no longer serves `git/log.json`. Packs published before have no + stored screens, so the engine service works theirs out, as before, + until their next Build. 5. Run `node builder.mjs rebuild` once (on the Builder, from its Terminal in Dokploy). It queues, at the lowest priority, a Build for every repository whose live Stored Index was made by a Builder of an earlier diff --git a/apps/builder/src/atlas.ts b/apps/builder/src/atlas.ts index a61ea06..3cdfe62 100644 --- a/apps/builder/src/atlas.ts +++ b/apps/builder/src/atlas.ts @@ -1,12 +1,11 @@ -import type { Storage } from "@commitscape/server"; +import { screensKey, type Storage } from "@commitscape/server"; /** Loads a repository's new Stored Index through `load`, then deletes the stored Atlas payloads and the pack of the Stored Index it replaces, so neither is served again. */ export async function replaceIndex(storage: Storage, before: { id: number; pack?: string | null } | null, load: () => Promise): Promise { const loaded = await load(); if (before && before.id !== loaded.si) { await storage.deletePrefix(`atlas/${before.id}/`).catch(() => undefined); - await storage.deletePrefix(`screens/${before.id}/`).catch(() => undefined); - if (before.pack) await storage.delete([before.pack]).catch(() => undefined); + if (before.pack) await storage.delete([before.pack, screensKey(before.pack)]).catch(() => undefined); } return loaded; } diff --git a/apps/builder/src/job.ts b/apps/builder/src/job.ts index b2d0d68..a4deae7 100644 --- a/apps/builder/src/job.ts +++ b/apps/builder/src/job.ts @@ -13,7 +13,7 @@ import { reportPrefix, schema, packKey, - screensPrefix, + screensKey, sha256, type BuildJob, type Db, @@ -314,7 +314,7 @@ async function publishBuild(ctx: JobContext, phases: Phases, buildId: string, ma if (made.phase === "full") { await phases .time(`screens ${made.phase}`, "screens", () => - storeScreens(ctx.run, storage, { bin: ctx.cfg.bin, pack: made.pack, dir: made.dir, prefix: screensPrefix(si, pack), env: ctx.cfg.threads ? { COMMITSCAPE_THREADS: String(ctx.cfg.threads) } : {}, timeoutMs: timeLimitOf(ctx.cfg) * 1000, nice: ctx.cfg.nice, commits: made.manifest.total }), + storeScreens(ctx.run, storage, { bin: ctx.cfg.bin, pack: made.pack, dir: made.dir, key: screensKey(pack), env: ctx.cfg.threads ? { COMMITSCAPE_THREADS: String(ctx.cfg.threads) } : {}, timeoutMs: timeLimitOf(ctx.cfg) * 1000, nice: ctx.cfg.nice, commits: made.manifest.total }), ) .catch((e: unknown) => ctx.log(`screens of ${named.id}: ${(e as Error).message}, so the engine service answers them`)); } diff --git a/apps/builder/src/screens.test.ts b/apps/builder/src/screens.test.ts index 6aefe53..b588f25 100644 --- a/apps/builder/src/screens.test.ts +++ b/apps/builder/src/screens.test.ts @@ -1,30 +1,33 @@ import { mkdtemp, writeFile } from "node:fs/promises"; import { tmpdir } from "node:os"; import { join } from "node:path"; +import { gunzipSync } from "node:zlib"; import { expect, test } from "vitest"; -import { memoryStorage, readEntry } from "@commitscape/server"; +import { memoryStorage, screensKey } from "@commitscape/server"; import { storeScreens } from "./screens"; -test("a Build's standard screens are worked out from its pack and stored with its Report, one answer each", async () => { +test("a Build's standard screens are worked out from its pack and stored beside the pack as one object the engine service reads", async () => { const dir = await mkdtemp(join(tmpdir(), "screens-")); const storage = memoryStorage(); const asked: string[][] = []; + const answers = { "/api/overview?window=all": { commits: 3 }, "/api/stats?": { bus_factor: 1 } }; const run = async (cmd: string, args: string[]) => { asked.push([cmd, ...args]); - await writeFile(args[3] ?? "", JSON.stringify({ "/api/overview?window=all": { commits: 3 }, "/api/stats?": { bus_factor: 1 } })); + await writeFile(args[3] ?? "", JSON.stringify(answers)); return { code: 0, stderr: "", timedOut: false }; }; const pack = join(dir, "pack.bin"); - const stored = await storeScreens(run, storage, { bin: "commitscape", pack, dir, prefix: "reports/gh/1/b1", env: {}, timeoutMs: 1000 }); - expect(stored).toBe(2); + const key = screensKey("packs/acme/rocket/1/a-b1-lines.pack"); + expect(await storeScreens(run, storage, { bin: "commitscape", pack, dir, key, env: {}, timeoutMs: 1000 })).toBe(2); expect(asked).toEqual([["commitscape", "screens", pack, "--out", join(dir, "screens.json")]]); - expect(await readEntry(storage, "reports/gh/1/b1", "/api/overview?window=all")).toEqual({ commits: 3 }); + expect(key).toBe("packs/acme/rocket/1/a-b1-lines.pack.screens"); + expect(JSON.parse(gunzipSync(storage.objects.get(key)?.body ?? new Uint8Array()).toString())).toEqual(answers); }); test("screens that fail say why and store nothing", async () => { const dir = await mkdtemp(join(tmpdir(), "screens-")); const storage = memoryStorage(); const failing = async () => ({ code: 1, stderr: "not a commitscape pack\n", timedOut: false }); - await expect(storeScreens(failing, storage, { bin: "commitscape", pack: join(dir, "pack.bin"), dir, prefix: "reports/gh/1/b1", env: {}, timeoutMs: 1000 })).rejects.toThrow("working out the screens failed: not a commitscape pack"); + await expect(storeScreens(failing, storage, { bin: "commitscape", pack: join(dir, "pack.bin"), dir, key: "p.screens", env: {}, timeoutMs: 1000 })).rejects.toThrow("working out the screens failed: not a commitscape pack"); expect(storage.objects.size).toBe(0); }); diff --git a/apps/builder/src/screens.ts b/apps/builder/src/screens.ts index b548e02..73afac2 100644 --- a/apps/builder/src/screens.ts +++ b/apps/builder/src/screens.ts @@ -1,15 +1,18 @@ import { readFile } from "node:fs/promises"; import { join } from "node:path"; -import { storeEntries, type Storage } from "@commitscape/server"; +import { gzipSync } from "node:zlib"; +import type { Storage } from "@commitscape/server"; import { peakMb } from "./admission"; import type { Runner } from "./run"; -/** Works out the standard screens of a Build's pack with `commitscape screens` and stores them with its Report, so the Site sends them without asking the engine service. Returns how many it stored. */ -export async function storeScreens(run: Runner, storage: Storage, made: { bin: string; pack: string; dir: string; prefix: string; env: NodeJS.ProcessEnv; timeoutMs: number; nice?: number; commits?: number }): Promise { +/** Works out the standard screens of a Build's pack with `commitscape screens` and stores them beside the pack under `key`, as one gzipped JSON object the engine service fetches with the pack and answers from without working them out. Returns how many it stored. */ +export async function storeScreens(run: Runner, storage: Storage, made: { bin: string; pack: string; dir: string; key: string; env: NodeJS.ProcessEnv; timeoutMs: number; nice?: number; commits?: number }): Promise { const out = join(made.dir, "screens.json"); const memoryMb = peakMb("screens", { commits: made.commits ?? 0, sizeKb: 0 }); const ran = await run(made.bin, ["screens", made.pack, "--out", out], made.env, made.timeoutMs, { ...(made.nice === undefined ? {} : { nice: made.nice }), memoryMb }); if (ran.code !== 0) throw new Error(ran.timedOut ? "working out the screens took too long" : `working out the screens failed: ${ran.stderr.trim().split("\n").at(-1) ?? ""}`); - const data = JSON.parse(await readFile(out, "utf8")) as Record; - return storeEntries(storage, made.prefix, data); + const text = await readFile(out); + const count = Object.keys(JSON.parse(text.toString("utf8")) as Record).length; + await storage.put(made.key, gzipSync(text), { type: "application/gzip" }); + return count; } diff --git a/apps/engine/Cargo.toml b/apps/engine/Cargo.toml index 653e5de..e69a433 100644 --- a/apps/engine/Cargo.toml +++ b/apps/engine/Cargo.toml @@ -22,6 +22,7 @@ commitscape-core.workspace = true commitscape-map.workspace = true commitscape-metrics.workspace = true commitscape-report.workspace = true +flate2 = { version = "1.1.10", default-features = false, features = ["zlib-rs"] } rayon = "1.12.0" rusty-s3 = { version = "0.10.2", default-features = false, features = ["rustcrypto"] } sentry = { version = "0.49.3", default-features = false, features = ["backtrace", "contexts", "panic", "tracing", "ureq"] } @@ -37,6 +38,5 @@ url = "2.5.4" [dev-dependencies] bincode = { version = "=2.0.1", features = ["serde"] } commitscape-index.workspace = true -flate2 = { version = "1.1.10", default-features = false, features = ["zlib-rs"] } tempfile = "3.27.0" tower = { version = "0.5.2", features = ["util"] } diff --git a/apps/engine/src/loaded.rs b/apps/engine/src/loaded.rs index 68cc099..251f1a3 100644 --- a/apps/engine/src/loaded.rs +++ b/apps/engine/src/loaded.rs @@ -34,6 +34,7 @@ pub struct LoadedPack { pub key: String, pub pack: Pack, pub bytes: u64, + pub screens: HashMap, colours: HashMap, login_of: HashMap, windows: Kept, @@ -64,6 +65,7 @@ impl LoadedPack { LoadedPack { key: key.to_string(), bytes: pack.heap_bytes() as u64, + screens: HashMap::new(), pack, colours, login_of, diff --git a/apps/engine/src/packs.rs b/apps/engine/src/packs.rs index 2118181..1f52ad8 100644 --- a/apps/engine/src/packs.rs +++ b/apps/engine/src/packs.rs @@ -13,8 +13,10 @@ use commitscape_report::pack::{open_unpacked, unpack, PackError}; use crate::loaded::LoadedPack; use crate::lru::SizedLru; +use crate::params; use crate::s3::{Fetched, S3Source}; use crate::work::{Work, WorkError}; +use axum::body::Bytes; pub enum Fetcher { Dir(PathBuf), @@ -90,6 +92,36 @@ fn unpacked_name(name: &str) -> String { format!("{}.unpacked", name.trim_end_matches(".pack")) } +fn screens_name(name: &str) -> String { + format!( + "{}.screens", + name.trim_end_matches(".pack").trim_end_matches(".unpacked") + ) +} + +/// The standard screens a Build stored beside a pack, gzipped JSON of answers under the keys the Site asks them by, as the answers the engine keeps them by: each question's path and its parameters as `params::key` writes them. +pub fn screens_of(gzipped: &[u8]) -> HashMap { + let mut text = Vec::new(); + if std::io::Read::read_to_end(&mut flate2::read::GzDecoder::new(gzipped), &mut text).is_err() { + return HashMap::new(); + } + let Ok(answers) = serde_json::from_slice::>(&text) + else { + return HashMap::new(); + }; + answers + .into_iter() + .filter_map(|(key, value)| { + let (path, query) = key.split_once('?').unwrap_or((key.as_str(), "")); + let asked = params::asked(¶ms::from_query(query)); + Some(( + params::key(path, &asked), + Bytes::from(serde_json::to_vec(&value).ok()?), + )) + }) + .collect() +} + fn io(e: std::io::Error) -> PackFailure { PackFailure::Fetch(e.to_string()) } @@ -223,7 +255,8 @@ impl Packs { }; let _ = tokio::fs::remove_file(&path).await; for (old, ()) in gone { - let _ = tokio::fs::remove_file(self.dir.join(old)).await; + let _ = tokio::fs::remove_file(self.dir.join(&old)).await; + let _ = tokio::fs::remove_file(self.dir.join(screens_name(&old))).await; } self.open_unpacked(key, &mapped).await? } @@ -235,6 +268,9 @@ impl Packs { } }; self.decodes.fetch_add(1, Ordering::Relaxed); + let mut loaded = loaded; + loaded.screens = self.screens(key, &name).await; + loaded.bytes += loaded.screens.values().map(|b| b.len() as u64).sum::(); let loaded = Arc::new(loaded); if let Ok(mut memory) = self.memory.lock() { memory.insert(key.to_string(), loaded.clone(), loaded.bytes); @@ -242,6 +278,29 @@ impl Packs { Ok(loaded) } + async fn screens(&self, key: &str, name: &str) -> HashMap { + let path = self.dir.join(screens_name(name)); + if !tokio::fs::try_exists(&path).await.unwrap_or(false) { + let part = self.dir.join(format!( + "{}.{}.{}.part", + screens_name(name), + std::process::id(), + self.parts.fetch_add(1, Ordering::Relaxed) + )); + let fetched = self.fetch_into(&format!("{key}.screens"), &part).await; + if !matches!(fetched, Ok(Fetched::Written(_))) + || tokio::fs::rename(&part, &path).await.is_err() + { + let _ = tokio::fs::remove_file(&part).await; + return HashMap::new(); + } + } + match tokio::fs::read(&path).await { + Ok(gzipped) => screens_of(&gzipped), + Err(_) => HashMap::new(), + } + } + async fn forget(&self, name: &str, path: &Path) { if let Ok(mut disk) = self.disk.lock() { disk.remove(&name.to_string()); @@ -323,7 +382,8 @@ impl Packs { Err(_) => Vec::new(), }; for (old, ()) in gone { - let _ = tokio::fs::remove_file(self.dir.join(old)).await; + let _ = tokio::fs::remove_file(self.dir.join(&old)).await; + let _ = tokio::fs::remove_file(self.dir.join(screens_name(&old))).await; } Ok(()) } diff --git a/apps/engine/src/routes.rs b/apps/engine/src/routes.rs index 1abbfa5..0ae2278 100644 --- a/apps/engine/src/routes.rs +++ b/apps/engine/src/routes.rs @@ -197,11 +197,19 @@ impl Engine { Some(hit) => Some(hit), None => { let held = self.pack(pack).await?; - let (at, ask) = (path.clone(), uncut); - self.made(whole_key, held, move |held| { - serde_json::to_vec(&answer::whole(held, &at, &ask)?).ok() - }) - .await? + match held.screens.get(¶ms::key(&path, &uncut)) { + Some(stored) => { + self.keep(whole_key, stored.clone()); + Some(stored.clone()) + } + None => { + let (at, ask) = (path.clone(), uncut); + self.made(whole_key, held, move |held| { + serde_json::to_vec(&answer::whole(held, &at, &ask)?).ok() + }) + .await? + } + } } }; let Some(whole) = whole else { diff --git a/apps/engine/tests/engine.rs b/apps/engine/tests/engine.rs index 3ce6e93..aef865e 100644 --- a/apps/engine/tests/engine.rs +++ b/apps/engine/tests/engine.rs @@ -881,3 +881,49 @@ async fn packs_are_fetched_from_s3_with_a_signed_get() { assert_eq!(status, StatusCode::NOT_FOUND); assert_eq!(engine.packs.held().fetches, 1); } + +#[tokio::test] +async fn a_packs_standard_screens_are_answered_from_what_its_build_stored_beside_it() { + let s = setup().await; + let stored = json!({ + "/api/overview?window=all": { "window": "all", "stored": true }, + "/api/people?window=all": { "window": "all", "people": [{ "person": { "id": 1 } }, { "person": { "id": 2 } }], "bots": [], "suspects": [] }, + }); + let mut z = flate2::write::GzEncoder::new(Vec::new(), flate2::Compression::default()); + std::io::Write::write_all(&mut z, stored.to_string().as_bytes()).unwrap(); + std::fs::write( + s.source.join(format!("{ROCKET}.screens")), + z.finish().unwrap(), + ) + .unwrap(); + let (status, overview) = ask( + &s.app, + json!({ "pack": ROCKET, "path": "/api/overview", "params": { "window": "all", "top": 8 } }), + ) + .await; + assert_eq!(status, StatusCode::OK); + assert_eq!(overview["stored"], json!(true)); + let (_, people) = ask( + &s.app, + json!({ "pack": ROCKET, "path": "/api/people", "params": { "window": "all", "top": 1 } }), + ) + .await; + assert_eq!(people["people"].as_array().map(Vec::len), Some(1)); + assert_eq!(people["count"], json!(2)); + let (_, worked_out) = ask( + &s.app, + json!({ "pack": ROCKET, "path": "/api/overview", "params": { "window": "1y" } }), + ) + .await; + assert_eq!(worked_out["stored"], Value::Null); + let (_, other) = ask( + &s.app, + json!({ "pack": OTHER, "path": "/api/overview", "params": { "window": "all" } }), + ) + .await; + assert_eq!(other["stored"], Value::Null); + assert!(std::fs::read_dir(&s.cache) + .unwrap() + .flatten() + .any(|e| e.file_name().to_string_lossy().ends_with(".screens"))); +} diff --git a/apps/site/src/server/answers.test.ts b/apps/site/src/server/answers.test.ts index efd5b3a..b4e6e9d 100644 --- a/apps/site/src/server/answers.test.ts +++ b/apps/site/src/server/answers.test.ts @@ -2,7 +2,7 @@ import { brotliDecompressSync, gunzipSync, gzipSync } from "node:zlib"; import { eq } from "drizzle-orm"; import { describe, expect, test } from "vitest"; import { key, limited, OVERVIEW_TOP, topOf, type People, type Params } from "@commitscape/data"; -import { now, schema, screensPrefix, seedIndex, sha256, storeEntries, storeReport, type SeedIndex } from "@commitscape/server"; +import { now, schema, seedIndex, sha256, storeReport, type SeedIndex } from "@commitscape/server"; import { fakeEngine, packed, testDeps, viewer, type Asked } from "#/test/deps"; import { forgetPack, packOf, wholeDays } from "./answers"; import { NoPack } from "./engine-service"; @@ -67,39 +67,19 @@ describe("a Report's answers as plain JSON", () => { expect(engine.asked).toHaveLength(1); }); - test("a Build stored with its Report are sent without asking the engine service, cut the same way and kept for good when pinned; other questions still ask it", async () => { - const { deps, engine } = await stored(); - await deps.db.insert(repositories).values({ id: "acme/stored", owner: "acme", name: "stored", githubId: 3, status: "ok", factsAt: now(), reportKey: "reports/gh/acme/stored/b2", reportAt: 900 }); - const storedSi = await seedIndex(deps.db, "acme/stored", seed); - await storeEntries(deps.storage, screensPrefix(storedSi, await packed(deps.db, storedSi)), { [overview]: { window: "all", commits: 9 }, [key("/api/people", { window: "all" })]: people }); - const sent = await reportAnswer(deps, viewer(), "acme", "stored", key("/api/overview", { window: "all", top: OVERVIEW_TOP }), 900); - expect(sent.cacheControl).toBe("public, max-age=31536000, immutable"); - expect(await brotliJson(sent)).toEqual({ window: "all", commits: 9 }); - expect(await reportEntry(deps, viewer(), "acme", "stored", overview)).toEqual({ window: "all", commits: 9 }); - const cut = (await brotliJson(await reportAnswer(deps, viewer(), "acme", "stored", key("/api/people", { window: "all", top: 1 }), 900))) as People & { count: number }; - expect([cut.people.length, cut.count]).toEqual([1, 2]); - expect((await reportAnswer(deps, viewer(), "acme", "stored", key("/api/overview", { window: "all", top: OVERVIEW_TOP }), 900, sent.etag)).packed).toBeNull(); - expect(engine.asked).toEqual([]); - expect(await reportEntry(deps, viewer(), "acme", "stored", key("/api/overview", { window: "30d" }))).toEqual({ window: "30d", commits: 3 }); - expect(await reportEntry(deps, viewer(), "acme", "stored", key("/api/activity", { window: "all" }))).toBeNull(); - expect(engine.asked.map((a) => a.body.path)).toEqual(["/api/overview", "/api/activity"]); - }); - - test("stored with a pack published again at the same head under the same Report are the new pack's, with a new ETag", async () => { - const { deps, engine } = await stored(); + test("of a pack published again at the same head under the same Report are the new pack's, with a new ETag", async () => { + const lines = (pack: string) => (pack.includes("-b4-") ? 25 : 10); + const { deps } = await stored((asked) => (asked.endpoint === "/v1/answer" && String(asked.body.pack).includes("head-b") ? { window: "all", commits: 9, lines: lines(String(asked.body.pack)) } : answering(asked))); await deps.db.insert(repositories).values({ id: "acme/again", owner: "acme", name: "again", githubId: 4, status: "ok", factsAt: now(), reportKey: "reports/gh/acme/again/b3", reportAt: 900 }); const si = await seedIndex(deps.db, "acme/again", seed); - const first = await packed(deps.db, si, `packs/acme/${si}/head-b3-lines.pack`); - await storeEntries(deps.storage, screensPrefix(si, first), { [overview]: { window: "all", commits: 9, lines: 10 } }); + await packed(deps.db, si, `packs/acme/${si}/head-b3-lines.pack`); const before = await reportAnswer(deps, viewer(), "acme", "again", overview, null); expect(await brotliJson(before)).toEqual({ window: "all", commits: 9, lines: 10 }); - const second = await packed(deps.db, si, `packs/acme/${si}/head-b4-lines.pack`); - await storeEntries(deps.storage, screensPrefix(si, second), { [overview]: { window: "all", commits: 9, lines: 25 } }); + await packed(deps.db, si, `packs/acme/${si}/head-b4-lines.pack`); const after = await reportAnswer(deps, viewer(), "acme", "again", overview, null, before.etag); expect(after.etag).not.toBe(before.etag); expect(await brotliJson(after)).toEqual({ window: "all", commits: 9, lines: 25 }); expect(await reportEntry(deps, viewer(), "acme", "again", overview)).toEqual({ window: "all", commits: 9, lines: 25 }); - expect(engine.asked).toEqual([]); }); test("answer an ETag they gave with no body, whatever params the answer does not depend on, and another once the pack is another", async () => { diff --git a/apps/site/src/server/repos.ts b/apps/site/src/server/repos.ts index c62500b..0f0e90b 100644 --- a/apps/site/src/server/repos.ts +++ b/apps/site/src/server/repos.ts @@ -6,12 +6,10 @@ import { cachedGet, currentAt, installationOf, - isStoredScreen, now, PRIORITY, queueBuild, readEntry, - screensPrefix, readIndex, reportIndexOf, REPORT_FOR, @@ -31,7 +29,7 @@ import { lendToken } from "@commitscape/server"; import { apiOf, askGitHub, GITHUB_TTL, type GitHubConfig } from "./github"; import { SiteError } from "./http"; import { allow, RANGE_LIMIT } from "./limits"; -import { askedKey, isKept, isRange, keptEntry, keptText, packedOf, withPack, wholeDays, type Kept } from "./answers"; +import { askedKey, isKept, isRange, keptEntry, keptText, packedOf, withPack, wholeDays } from "./answers"; import { answerTimed } from "./telemetry"; import type { EngineService } from "./engine-service"; import { jsonOf, type Packed } from "./packed"; @@ -335,23 +333,6 @@ const fromReport = (deps: Deps, reportKey: string, asked: ReturnType(); -const UNSTORED_MAX = 50_000; - -/** A standard screen a Build stored beside a pack, when the question is one and it is there: read once per pack and question, and kept; a pack it stored none for is asked once. */ -async function storedScreen(deps: Deps, si: number | null, pack: string, asked: ReturnType, browser = false): Promise { - if (si === null || !isStoredScreen(asked.path, asked.params)) return null; - const prefix = screensPrefix(si, pack); - const at = `${prefix}#${keyOf(asked.path, withoutTop(asked.params))}`; - if (unstored.has(at)) return null; - const kept = await keptEntry(`${prefix}#${asked.key}`, fromReport(deps, prefix, asked), browser); - if (!kept) { - if (unstored.size >= UNSTORED_MAX) unstored.clear(); - unstored.add(at); - } - return kept; -} - /** One answer of a pack as JSON packed to send, asked of the engine service once per pack and question; a range of dates not asked before counts against the address's limit. Null when there is no such answer. */ function packedAnswer(deps: Deps, viewer: Viewer, pack: string, asked: ReturnType): Promise { const kept = `${pack}#${asked.key}`; @@ -371,23 +352,10 @@ export async function reportEntry(deps: Deps, viewer: Viewer, owner: string, nam const started = performance.now(); const row = await readable(deps, viewer, owner, name); const asked = questionOf(key); - const found = await withPack( - deps.db, - row.indexId, - async (pack) => { - const stored = await storedScreen(deps, row.indexId, pack, asked); - return stored ? { stored, packed: null } : { stored: null, packed: await packedAnswer(deps, viewer, pack, asked) }; - }, - row.reportAt, - ); + const found = await withPack(deps.db, row.indexId, (pack) => packedAnswer(deps, viewer, pack, asked), row.reportAt); if (found) { - const { stored, packed } = found.value; - if (stored) { - answerTimed(asked.path, "stored", performance.now() - started); - return stored.value; - } - if (packed === null) return null; - const value = await jsonOf(packed); + if (found.value === null) return null; + const value = await jsonOf(found.value); answerTimed(asked.path, "engine", performance.now() - started); return value; } @@ -412,8 +380,6 @@ export async function reportAnswer(deps: Deps, viewer: Viewer, owner: string, na async (pack) => { const etag = tagOf(pack); if (matches(seen, etag)) return { packed: null, etag, from: "unchanged" as const }; - const stored = await storedScreen(deps, row.indexId, pack, asked, true); - if (stored) return { packed: await packedOf(stored), etag, from: "stored" as const }; const made = await packedAnswer(deps, viewer, pack, asked); if (!made) throw new SiteError(404, NOT_IN_REPORT); return { packed: made, etag, from: "engine" as const }; diff --git a/docs/adr/0031-the-repo-state-and-packs-are-read-in-place-and-standard-screens-are-stored.md b/docs/adr/0031-the-repo-state-and-packs-are-read-in-place-and-standard-screens-are-stored.md index 881fe8e..b495d94 100644 --- a/docs/adr/0031-the-repo-state-and-packs-are-read-in-place-and-standard-screens-are-stored.md +++ b/docs/adr/0031-the-repo-state-and-packs-are-read-in-place-and-standard-screens-are-stored.md @@ -1,6 +1,6 @@ # The Repo State and packs are read in place, and standard screens are stored -What a Build or the engine service reads from disk stays on disk: the Index's long columns, the commit graph, the Ownership of lines and a pack's columns are mapped and read in place rather than decoded onto the heap, and a cold Build lays its history out in files as it goes. Each head's standard screens are worked out once and stored with its Report. +What a Build or the engine service reads from disk stays on disk: the Index's long columns, the commit graph, the Ownership of lines and a pack's columns are mapped and read in place rather than decoded onto the heap, and a cold Build lays its history out in files as it goes. Each pack's standard screens are worked out once and stored beside it. ## Status @@ -19,7 +19,7 @@ The owner's target is a Build and an engine service that fit in about 250 MB, id - **The C allocator gives memory back:** the CLI and the engine service have glibc map every block of 1 MB or more on its own and trim its heap past 1 MB, and the blame walk hands its freed memory back when it ends. glibc otherwise keeps raising the size it maps blocks at and keeps hundreds of MB a long run no longer uses. musl builds are left as they are. - **Packs are of format 3:** the bincode of everything but the long columns, then each column as zlib of its fixed records, compressed in R2 (3% larger than format 2). The engine service unpacks a pack once, streaming, into a page-aligned file on its volume and maps it; format 2 packs are still decoded. The engine service deploys before the Builder. - **The Atlas is made in Rust from the pack.** `commitscape atlas` encodes the Universe's Atlas column by column from a pack read in place and packs it with brotli; a test checks it is byte for byte what the Site's TypeScript encoder makes from the same rows. The Builder no longer writes `universe.jsonl` or runs Node for it. -- **Standard screens are stored per head.** After publishing a pack, the Builder runs `commitscape screens` in a process of its own under an engine slot and stores the stats and the overview, activity, people and top of the map of all, 1y and 90d under the Report's prefix. The Site sends those first and asks the engine service only for the rest. A test checks every stored screen is the engine's own answer. +- **Standard screens are stored beside the pack.** Before publishing a full pack, the Builder runs `commitscape screens` in a process of its own under the memory gate and stores the stats and the overview, activity, people and top of the map of all, 1y and 90d as one gzipped object beside the pack (`.screens`). The engine service fetches it with the pack, keeps it on its volume and answers those questions from it; the Site asks the engine service for every screen, so a stored screen costs no R2 read from the Site and its ETag is the pack's. A test checks every stored screen is the engine's own answer. ## Considered @@ -32,5 +32,5 @@ The owner's target is a Build and an engine service that fit in about 250 MB, id - linux, two threads, anonymous memory at the peak: warm Build 94 MB, a Build 17,127 commits on 170 MB, cold without lines 248 MB, everyone's Surviving Lines from nothing 198 MB in 17 minutes (was 1.6 GB in about an hour), 17,127 commits on 199 MB, at the same head 148 MB; the engine service 80 MB after its first answer and 192 MB after the standard screens; react under 160 MB for everything. - The first Build of each repository after the upgrade writes its column file once (linux 13 s, 498 MB). - The engine service's volume holds packs unpacked, about 2.6 times their R2 size; `PACK_DISK_GB` counts them so. -- A Report published before this release asks the engine service for its standard screens until its next Build. +- A pack published before this release has no stored screens; the engine service works them out until the repository's next Build. - Nothing the Builder runs on linux goes above 256 MB of anonymous memory: the Atlas takes 98 MB and 2.9 s (it was 635 MB in Node, from 170 MB of rows `build` wrote). The engine service's Universe rows (asked only for a pack the Builder made no Atlas for) still take about 450 MB. diff --git a/docs/working.md b/docs/working.md index 4868506..b618939 100644 --- a/docs/working.md +++ b/docs/working.md @@ -164,13 +164,15 @@ queued ones whose job was lost. `/api/health` answer anyone (`apps/site/src/server/gate.ts`). - A Report's standard screens (the stats, and the Overview, Activity, People and top of the Map of all history, the last year and the last 90 - days) are worked out once per head: the Builder runs `commitscape screens` - on the pack, in a process of its own that waits for its share of `ENGINE_MEMORY_MB`, and - stores each answer under the Report's prefix in R2 before publishing it - (`apps/builder/src/screens.ts`). The Site sends those first, kept for good - when the request is pinned to the Report, with ETags from the Report's - key (`storedScreen` in `apps/site/src/server/repos.ts`). -- Any other screen's answer, for any dates, comes from the engine service + days) are worked out once per pack: the Builder runs `commitscape screens` + on the full pack, in a process of its own that waits for its share of + `ENGINE_MEMORY_MB`, and stores them beside the pack in R2 as one gzipped + object (`.screens`) before publishing it + (`apps/builder/src/screens.ts`). The engine service fetches that object + with the pack, keeps it on its volume, and answers those questions from + it without working them out (cut by `top` like any answer); the Site + asks for them as for any other, with the pack's ETag. +- Every screen's answer, for any dates, comes from the engine service (`apps/site/src/server/engine-service.ts`), asked with the key of the repository's pack (`stored_indexes.pack`, remembered for ten seconds). The engine service fetches the pack from R2 once, unpacks it on its disk diff --git a/packages/server/src/reports.test.ts b/packages/server/src/reports.test.ts index 5fee706..ebb2d57 100644 --- a/packages/server/src/reports.test.ts +++ b/packages/server/src/reports.test.ts @@ -1,24 +1,16 @@ +import { gzipSync } from "node:zlib"; import { describe, expect, it } from "vitest"; -import { isStoredScreen, readEntry, storeEntries } from "./reports"; +import { besidePack, readEntry, screensKey, storeReport } from "./reports"; import { memoryStorage } from "./storage"; -describe("screens stored with a Report", () => { - it("are the stats and the four screens of the stored Windows, whatever top asks for", () => { - expect(isStoredScreen("/api/stats", {})).toBe(true); - expect(isStoredScreen("/api/overview", { window: "all", top: "8" })).toBe(true); - expect(isStoredScreen("/api/people", { window: "1y" })).toBe(true); - expect(isStoredScreen("/api/map", { window: "90d" })).toBe(true); - expect(isStoredScreen("/api/activity", { window: "30d" })).toBe(false); - expect(isStoredScreen("/api/map", { window: "all", path: "src" })).toBe(false); - expect(isStoredScreen("/api/overview", { from: "0", to: "86399" })).toBe(false); - expect(isStoredScreen("/api/person", { window: "all", id: "1" })).toBe(false); - expect(isStoredScreen("/api/stats", { window: "all" })).toBe(false); - }); +const meta = { name: "rocket", windows: ["all"], window: "all", anchor: 0, history: "full", lines: "counted", avatars: false }; + +const stored = (storage: ReturnType, prefix: string, data: Record) => storeReport(storage, prefix, gzipSync(JSON.stringify({ meta, data }))); +describe("a stored Report's answers", () => { it("read back one by one under the Report's prefix", async () => { const storage = memoryStorage(); - const written = await storeEntries(storage, "reports/gh/1/b", { "/api/overview?window=all": { commits: 3 }, "/api/stats?": { bus_factor: 1 } }); - expect(written).toBe(2); + await stored(storage, "reports/gh/1/b", { "/api/overview?window=all": { commits: 3 }, "/api/stats?": { bus_factor: 1 } }); expect(await readEntry(storage, "reports/gh/1/b", "/api/overview?window=all")).toEqual({ commits: 3 }); expect(await readEntry(storage, "reports/gh/1/b", "/api/stats?")).toEqual({ bus_factor: 1 }); expect(await readEntry(storage, "reports/gh/1/b", "/api/people?window=all")).toBeNull(); @@ -26,7 +18,7 @@ describe("screens stored with a Report", () => { it("are read from the bucket once and kept as their bytes, so what a reader does with one never shows in the next", async () => { const storage = memoryStorage(); - await storeEntries(storage, "reports/gh/2/b", { "/api/overview?window=all": { commits: 3, people: [{ id: 1 }] } }); + await stored(storage, "reports/gh/2/b", { "/api/overview?window=all": { commits: 3, people: [{ id: 1 }] } }); let gets = 0; const get = storage.get.bind(storage); storage.get = async (key) => { @@ -41,7 +33,7 @@ describe("screens stored with a Report", () => { it("asked for at once by several readers are read from the bucket once", async () => { const storage = memoryStorage(); - await storeEntries(storage, "reports/gh/3/b", { "/api/stats?": { commits: 9 } }); + await stored(storage, "reports/gh/3/b", { "/api/stats?": { commits: 9 } }); let gets = 0; const get = storage.get.bind(storage); storage.get = async (key) => { @@ -54,3 +46,14 @@ describe("screens stored with a Report", () => { expect(gets).toBe(1); }); }); + +describe("what is kept beside a pack", () => { + it("is its Atlas and its screens, named by the pack, and nothing of another pack's", () => { + const pack = "packs/acme/rocket/7/a-b1-lines.pack"; + expect(screensKey(pack)).toBe(`${pack}.screens`); + const beside = besidePack(7, pack); + expect(beside).toContain(screensKey(pack)); + expect(beside.some((p) => p.startsWith("atlas/7/"))).toBe(true); + expect(beside.some((p) => screensKey("packs/acme/rocket/7/a-b2-lines.pack").startsWith(p))).toBe(false); + }); +}); diff --git a/packages/server/src/reports.ts b/packages/server/src/reports.ts index 549c450..d810ddf 100644 --- a/packages/server/src/reports.ts +++ b/packages/server/src/reports.ts @@ -21,6 +21,7 @@ export type AtlasPart = "map" | "names"; export function atlasKey(si: number, pack: string, part: AtlasPart): string { return `atlas/${si}/${sha256(pack).slice(0, 16)}/${part}.bin.br`; } + /** Where a Build's pack is kept: under its repository and Stored Index, named by its head and Build, and marked when it is the quick one, published without lines before the whole history is read. */ export function packKey(repoId: string, si: number, head: string | null, buildId: string, quick: boolean): string { return `packs/${repoId}/${si}/${head ?? "empty"}-${buildId}-${quick ? "quick" : "lines"}.pack`; @@ -29,15 +30,12 @@ export function packKey(repoId: string, si: number, head: string | null, buildId /** Whether a pack is a Build's quick one, which has no Atlas or stored screens of its own: the full one that follows brings them. */ export const isQuickPack = (pack: string) => pack.endsWith("-quick.pack"); -/** Where the standard screens of a Stored Index's pack are kept: named by the pack, so a pack published again at the same head never serves the screens of the one before. */ -export function screensPrefix(si: number, pack: string): string { - return `screens/${si}/${sha256(pack).slice(0, 16)}`; -} +/** Where the standard screens a Build worked out ahead are kept: beside its pack, as one gzipped JSON object of answers under the keys the Site asks them by, which the engine service fetches with the pack and answers from. */ +export const screensKey = (pack: string) => `${pack}.screens`; -/** Where everything kept beside a Stored Index's pack is, its Atlas and its screens, for deleting with the pack. */ +/** What is kept beside a Stored Index's pack, its Atlas and its screens, as prefixes to delete with the pack. */ export function besidePack(si: number, pack: string): string[] { - const named = sha256(pack).slice(0, 16); - return [`atlas/${si}/${named}/`, `screens/${si}/${named}/`]; + return [`atlas/${si}/${sha256(pack).slice(0, 16)}/`, screensKey(pack)]; } const entryKey = (prefix: string, key: string) => `${prefix}/e/${sha256(key).slice(0, 32)}.json`; @@ -64,27 +62,6 @@ export async function storeReport(storage: Storage, prefix: string, gzipped: Uin return { index, bytes }; } -/** The Windows whose screens every Build works out ahead and stores with its Report. */ -export const SCREEN_WINDOWS = ["all", "1y", "90d"]; - -const SCREENS = new Set(["/api/overview", "/api/activity", "/api/people", "/api/map"]); - -/** Whether a question, without its `top`, is one of the screens a Build stores with its Report: the stats, or the overview, activity, people or top of the map of a stored Window. */ -export function isStoredScreen(path: string, params: Record): boolean { - const asked = Object.keys(params).filter((k) => k !== "top"); - if (path === "/api/stats") return asked.length === 0; - return SCREENS.has(path) && asked.length === 1 && asked[0] === "window" && SCREEN_WINDOWS.includes(String(params.window)); -} - -/** Stores answers a Build worked out ahead with its Report, one R2 object per answer, read back by `readEntry`. */ -export async function storeEntries(storage: Storage, prefix: string, data: Record): Promise { - const writes: [string, Uint8Array][] = Object.entries(data).map(([k, value]) => [entryKey(prefix, k), gz(value)]); - for (let i = 0; i < writes.length; i += 16) { - await Promise.all(writes.slice(i, i + 16).map(([key, body]) => storage.put(key, body, { type: "application/json", encoding: "gzip" }))); - } - return writes.length; -} - const cache = new LRUCache({ maxSize: 256 * 1024 * 1024, sizeCalculation: (bytes) => Math.max(1, bytes.length) }); const reading = new Map>(); From 3ad87a013a68da88afeceb20942b578050405599 Mon Sep 17 00:00:00 2001 From: Dev Talan <84081651+devchaudhary24k@users.noreply.github.com> Date: Tue, 27 Oct 2026 18:23:31 +0530 Subject: [PATCH 62/82] perf(site): add up the answer caches' sizes as values come and go Every insert into the Site's size-bounded caches measured every value it held again to know whether to drop one, so a full cache of a few thousand answers cost a few thousand measurements per insert. The caches now keep each value's size and a running total; a value changed in place (an answer once packed) is measured again on its own, and every value is measured again once every 256 inserts, for packed bodies that gain another encoding later. Tests: values go least recently used first once past the budget, a refreshed value is counted again, deleting one takes its size off, and one value larger than the budget stays until another comes. --- apps/site/src/server/answers.ts | 2 +- apps/site/src/server/sized.test.ts | 31 +++++++++++++++ apps/site/src/server/sized.ts | 60 +++++++++++++++++++++--------- 3 files changed, 75 insertions(+), 18 deletions(-) create mode 100644 apps/site/src/server/sized.test.ts diff --git a/apps/site/src/server/answers.ts b/apps/site/src/server/answers.ts index e842f47..fc6425e 100644 --- a/apps/site/src/server/answers.ts +++ b/apps/site/src/server/answers.ts @@ -112,7 +112,7 @@ export async function keptText(key: string, make: () => Promise, if (text === null) throw NOTHING; const p = await packed(pack(text, quality)); done(p); - sent.trim(); + sent.refresh(key); return p; }; const entry: Made = { packed: making((p) => void (entry.done = p)), done: null }; diff --git a/apps/site/src/server/sized.test.ts b/apps/site/src/server/sized.test.ts new file mode 100644 index 0000000..7853b9e --- /dev/null +++ b/apps/site/src/server/sized.test.ts @@ -0,0 +1,31 @@ +import { expect, test } from "vitest"; +import { Sized } from "./sized"; + +test("values are dropped least recently used first once their sizes pass the budget, a value changed in place counted again when refreshed", () => { + const box = (n: number) => ({ n }); + const kept = new Sized<{ n: number }>(10, (v) => v.n); + kept.set("a", box(4)); + kept.set("b", box(4)); + expect(kept.bytes()).toBe(8); + kept.get("a"); + kept.set("c", box(4)); + expect([kept.peek("a"), kept.peek("b"), kept.peek("c")].map((v) => v?.n ?? null)).toEqual([4, null, 4]); + expect(kept.bytes()).toBe(8); + const grown = kept.peek("a"); + if (grown) grown.n = 9; + kept.refresh("a"); + expect([kept.peek("a"), kept.peek("c")].map((v) => v?.n ?? null)).toEqual([null, 4]); + expect(kept.bytes()).toBe(4); + kept.set("a", box(2)); + expect(kept.bytes()).toBe(6); + kept.delete("a"); + expect(kept.bytes()).toBe(4); +}); + +test("one value larger than the budget stays until another comes", () => { + const kept = new Sized(5, (v) => v); + kept.set("big", 50); + expect(kept.peek("big")).toBe(50); + kept.set("small", 1); + expect([kept.peek("big"), kept.peek("small")]).toEqual([undefined, 1]); +}); diff --git a/apps/site/src/server/sized.ts b/apps/site/src/server/sized.ts index 1b1555b..f11bd42 100644 --- a/apps/site/src/server/sized.ts +++ b/apps/site/src/server/sized.ts @@ -1,44 +1,70 @@ import "@tanstack/react-start/server-only"; -/** Values kept in memory by key, the least recently used dropped first once their sizes pass the budget. */ +const RECOUNT_EVERY = 256; + +/** Values kept in memory by key, the least recently used dropped first once their sizes pass the budget. Sizes are added up as values come and go; a value changed in place is measured again with `refresh`, and every value is measured again now and then, for those that grow on their own. */ export class Sized { - private readonly map = new Map(); + private readonly map = new Map(); private readonly budget: number; private readonly size: (v: V) => number; + private total = 0; + private sets = 0; constructor(budget: number, size: (v: V) => number) { this.budget = budget; this.size = size; } get(k: string): V | undefined { - const v = this.map.get(k); - if (v !== undefined) { + const e = this.map.get(k); + if (e !== undefined) { this.map.delete(k); - this.map.set(k, v); + this.map.set(k, e); } - return v; + return e?.value; } peek(k: string): V | undefined { - return this.map.get(k); + return this.map.get(k)?.value; } set(k: string, v: V): void { - this.map.delete(k); - this.map.set(k, v); + this.forget(k); + const size = this.size(v); + this.map.set(k, { value: v, size }); + this.total += size; + this.sets += 1; + if (this.sets % RECOUNT_EVERY === 0) this.recount(); this.trim(); } delete(k: string): void { - this.map.delete(k); + this.forget(k); + } + refresh(k: string): void { + const e = this.map.get(k); + if (!e) return; + const size = this.size(e.value); + this.total += size - e.size; + e.size = size; + this.trim(); } trim(): void { - let total = this.bytes(); - for (const [k, v] of this.map) { - if (total <= this.budget || this.map.size <= 1) break; - total -= this.size(v); + for (const [k, e] of this.map) { + if (this.total <= this.budget || this.map.size <= 1) break; + this.total -= e.size; this.map.delete(k); } } bytes(): number { - let total = 0; - for (const v of this.map.values()) total += this.size(v); - return total; + return this.total; + } + private forget(k: string): void { + const e = this.map.get(k); + if (!e) return; + this.total -= e.size; + this.map.delete(k); + } + private recount(): void { + this.total = 0; + for (const e of this.map.values()) { + e.size = this.size(e.value); + this.total += e.size; + } } } From 9146f3072911a7cb10ac7c4e1fbbc9213f417de6 Mon Sep 17 00:00:00 2001 From: Dev Talan <84081651+devchaudhary24k@users.noreply.github.com> Date: Tue, 27 Oct 2026 18:25:44 +0530 Subject: [PATCH 63/82] fix(index): say so when a mapped history is copied into memory When the kept columns could not take a Build's new commits, the Index merged them in memory, and `Column::vec_mut` copied every mapped column onto the heap without a word: on linux the whole history, several hundred MB, in a run sized for a mapped one. The merge now runs inside a `history_copied` span with the commits and changes it copies, which the Builder's events carry to its traces, and `vec_mut` says what it costs on a mapped column. --- crates/commitscape-core/src/column.rs | 2 +- crates/commitscape-index/src/build.rs | 10 ++++++++++ 2 files changed, 11 insertions(+), 1 deletion(-) diff --git a/crates/commitscape-core/src/column.rs b/crates/commitscape-core/src/column.rs index 8383e17..2fc140b 100644 --- a/crates/commitscape-core/src/column.rs +++ b/crates/commitscape-core/src/column.rs @@ -42,7 +42,7 @@ impl Column { } } - /// The records as a vector to grow or reorder, copied out of the mapping first when the column is mapped. + /// The records as a vector to grow or reorder, copied out of the mapping first when the column is mapped: on a long history that is the whole column on the heap, so a caller that may meet a mapped column says so first. pub fn vec_mut(&mut self) -> &mut Vec { if let Some(m) = self.mapped.take() { self.owned = m.get().to_vec(); diff --git a/crates/commitscape-index/src/build.rs b/crates/commitscape-index/src/build.rs index 3e34b80..3a9f27c 100644 --- a/crates/commitscape-index/src/build.rs +++ b/crates/commitscape-index/src/build.rs @@ -438,6 +438,16 @@ fn merge_history( }; let key = |c: &CommitMeta| (c.time, c.id.0); let split = index.commits.partition_point(|c| key(c) <= key(&first_new)); + let _copied = + (index.commits.is_mapped() || index.changes.is_mapped() || index.subjects.is_mapped()) + .then(|| { + tracing::info_span!( + "history_copied", + commits = index.commits.len(), + changes = index.changes.len() + ) + .entered() + }); let commits = index.commits.vec_mut(); let changes = index.changes.vec_mut(); From 3bfca0744ff1a28cb18bf20423c0daf1675bb240 Mon Sep 17 00:00:00 2001 From: Dev Talan <84081651+devchaudhary24k@users.noreply.github.com> Date: Tue, 27 Oct 2026 18:27:11 +0530 Subject: [PATCH 64/82] docs: memory per server, and what stays for this release only DEPLOY.md gains a table of what each server holds at most, row by row, for mercury's 3 GiB Builder container (the Builder, the runs ENGINE_MEMORY_MB lets in, git data and the head check: about 1.5 GB) and for venus (the Site, its caches and Atlases, the engine service, Postgres: about 1.7 GB), measured on linux where it could be and marked as estimates where not. ENGINE_MEMORY_MB's figures are now the estimates the Builder uses, Atlas, screens, fetches and clones included. ADR-0031 lists the readers kept for this release only so the deploy and the one rebuild work (format 2 packs, Reports in R2 without packs, the Site's Atlas fallback, the cache folder move, the per-file arrays of index_commits), which go with step 3.2. docs/working.md says the landing page is a Cloudflare Worker. --- DEPLOY.md | 36 ++++++++++++++++++- ...n-place-and-standard-screens-are-stored.md | 1 + docs/working.md | 2 +- 3 files changed, 37 insertions(+), 2 deletions(-) diff --git a/DEPLOY.md b/DEPLOY.md index 873d561..9108d3b 100644 --- a/DEPLOY.md +++ b/DEPLOY.md @@ -54,6 +54,40 @@ deployment server, then create the `builder` application on it. Its `DATABASE_URL` uses the first server's private address and the port you published for Postgres. Everything else is as below. +### Memory, server by server + +Anonymous memory at the peak, measured on linux (1.5M commits) with two +threads unless marked as an estimate. The kernel can drop mapped pages +(packs, columns, git's packs) at any time, so they come out of what is +left. + +mercury, the Builder's container (3 GiB): + +| What | At most | Held to it by | +|---|---|---| +| The Builder's own Node process | about 150 MB (estimate) | | +| Runs let in by `ENGINE_MEMORY_MB`: builds, counts of Surviving Lines, screens, Atlases, clones, fetches, repacks | 1,200 MB together; one estimated larger runs alone | their estimates (`peakMb`): linux's cold Build 340 MB (measured 248), its Surviving Lines 260 (198), Atlas 108 (98), screens 198 (191), a fetch 177; a whole new clone of linux is estimated at 1.8 GB and runs alone | +| git data's reads (branches, tags, pull requests) | about 130 MB | their output caps | +| The head check (`git ls-remote`) | 64 MB | its output cap | +| Together | about 1.5 GB, 2.1 GB while a whole linux clone runs alone | leaves the rest of the 3 GiB to the page cache | + +venus, the Site, the engine service and Postgres: + +| What | At most | Held to it by | +|---|---|---| +| The Site's own Node process | about 250 MB (estimate) | | +| The Site's caches | 368 MB: answers 64, stored Reports' answers 16, R2 reads 256, Cards 32 | constants in `answers.ts`, `reports.ts`, `cards.ts` | +| Atlases the Site keeps | about 50 MB: six packed Atlases (linux's map 7.8 MB, names 0.6 MB) | `KEPT` in `universe.ts` | +| The engine service | about 830 MB: 80 MB once a linux pack is open, packs' heap up to `PACK_MEMORY_MB` (512), answers up to 128 MB, a request's work besides (linux's standard screens: 112 MB) | `PACK_MEMORY_MB` and its answer cache | +| Postgres | its shared buffers (128 MB unless set) and about 10 MB a connection in use | its settings and the pools | +| Together | about 1.7 GB, plus the page cache for unpacked packs (linux: 275 MB) and Postgres's files | | + +Two paths kept for this release only take more: the Site makes an Atlas +itself for a pack the Builder made none for (linux: 1.16 GB for a few +seconds), from the engine service's rows (linux: about 450 MB). Once +`node builder.mjs rebuild` has rebuilt every repository, every pack has +its Atlas and neither path runs; both go in the next release. + ## 1. The R2 bucket In Cloudflare, create a bucket (for example `commitscape`), with the @@ -199,7 +233,7 @@ Optional, with their defaults: | Variable | Default | What | |---|---|---| | `CONCURRENCY` | 1 | Builds at a time, for repositories under `LARGE_REPOSITORY_MB`. Their clones, GitHub reads and Postgres loads overlap; their runs of the engine share `ENGINE_MEMORY_MB` | -| `ENGINE_MEMORY_MB` | 1200 | Memory the runs of the engine, and git's clones, fetches and repacks, may take at once, across every Build and count of Surviving Lines: each run waits, in the order it asked, until its estimate fits beside the others (a warm build of linux about 230 MB, a cold one about 340, everyone's Surviving Lines about 260, react's about 50 to 200); a run larger than this runs alone. 1200 fits a 3 GiB container with the Builder, git and Postgres loads beside it | +| `ENGINE_MEMORY_MB` | 1200 | Memory the runs of the engine, and git's clones, fetches and repacks, may take at once, across every Build and count of Surviving Lines: each run waits, in the order it asked, until its estimate fits beside the others (on linux a warm build about 230 MB, a cold one about 340, everyone's Surviving Lines about 260, the standard screens about 200, the Atlas about 110, a fetch about 180, a whole clone about 1.8 GB; react's runs about 50 to 400); a run larger than this runs alone. 1200 fits a 3 GiB container with the Builder, git and Postgres loads beside it | | `BULK_COMMIT_FILES` | 50 | A commit changing more files than this is a Bulk Commit: left out of Churn, Ownership, Change Coupling and Lines Changed, and passed through by Surviving Lines. A lean clone fetches no file versions for commits changing more than twice as many paths | | `COMMITSCAPE_THREADS` | every core, up to 16 | Threads one run of the engine may use | | `ENGINE_NICE` | 10 | The engine runs at this lower priority (0 to 19), so git, the database and the Builder stay responsive | diff --git a/docs/adr/0031-the-repo-state-and-packs-are-read-in-place-and-standard-screens-are-stored.md b/docs/adr/0031-the-repo-state-and-packs-are-read-in-place-and-standard-screens-are-stored.md index b495d94..36f89f9 100644 --- a/docs/adr/0031-the-repo-state-and-packs-are-read-in-place-and-standard-screens-are-stored.md +++ b/docs/adr/0031-the-repo-state-and-packs-are-read-in-place-and-standard-screens-are-stored.md @@ -33,4 +33,5 @@ The owner's target is a Build and an engine service that fit in about 250 MB, id - The first Build of each repository after the upgrade writes its column file once (linux 13 s, 498 MB). - The engine service's volume holds packs unpacked, about 2.6 times their R2 size; `PACK_DISK_GB` counts them so. - A pack published before this release has no stored screens; the engine service works them out until the repository's next Build. +- Kept for this release only, so the deploy and the one `node builder.mjs rebuild` after it work: reading packs of format 2, reading Reports stored in R2 before Stored Indexes had packs, the Site making an Atlas from the engine service's rows for a pack the Builder made none for, moving a cache out of a clone's folder where older Builders kept it, and the per-file arrays of `index_commits` the Site no longer writes. They are removed in the next release, with step 3.2 (dropping those arrays). - Nothing the Builder runs on linux goes above 256 MB of anonymous memory: the Atlas takes 98 MB and 2.9 s (it was 635 MB in Node, from 170 MB of rows `build` wrote). The engine service's Universe rows (asked only for a pack the Builder made no Atlas for) still take about 450 MB. diff --git a/docs/working.md b/docs/working.md index b618939..605a58f 100644 --- a/docs/working.md +++ b/docs/working.md @@ -17,7 +17,7 @@ on each piece. | The Builder | `apps/builder` | Takes Builds from the pg-boss queue, clones, runs `commitscape build`, loads the Stored Index and uploads the pack | | The engine service | `apps/engine` | Answers the Site's questions about a repository from its pack, kept on disk and in memory | | The Site | `apps/site` | Serves Profiles, Reports, Shared Reports, Cards, the API and MCP from Postgres, R2 and the engine service | -| The landing page | `apps/landing` | Static HTML drawn at build time, on Cloudflare Pages | +| The landing page | `apps/landing` | Static HTML drawn at build time, served by a Cloudflare Worker (`apps/landing/worker`) | | Shared code | `packages/server`, `packages/data`, `packages/ui` | The schema and storage, the Report's types and Data Sources, every screen | The binary makes no network calls during a Build: the Builder clones and From a4a2360872b2d058d07254fc045ffd151032a951 Mon Sep 17 00:00:00 2001 From: Dev Talan <84081651+devchaudhary24k@users.noreply.github.com> Date: Tue, 27 Oct 2026 18:58:20 +0530 Subject: [PATCH 65/82] fix: a cache from an older State never appends onto another's rows The Repo State in R2 can lag Postgres: Postgres loads each export as soon as the engine has run, the State is saved after both phases have published, and a failed save is only logged. A cache brought back from that older State kept its lineage, so the next Build appended onto the rows Postgres held; but it handed out signature and file ids in its own walk order, and the loader replaces index_people while keeping the old commit rows, so commits showed the wrong people without an error. Each cache now keeps the generations it passed through (index.generations, beside index.current), and an export's mark names the generation it was read from. A run appends only when its cache descends from the generation of the mark it is handed; any other cache, or a mark without one, writes a full export. Caches and marks from before this release write one full export, then append as before. Test: the critic's repro (build, keep the cache, commits by pat then quinn, bring the kept cache back, one more commit): "feat: p" showed quinn; it now shows pat, the fourth export is full and the next one appends again. --- crates/commitscape-index/src/cache/format.rs | 30 ++++ crates/commitscape-index/src/cache/mod.rs | 7 + crates/commitscape-index/src/lib.rs | 4 +- crates/commitscape/src/build.rs | 18 ++- crates/commitscape/src/mark.rs | 24 ++- crates/commitscape/tests/build.rs | 159 ++++++++++++++++++- docs/working.md | 7 +- 7 files changed, 235 insertions(+), 14 deletions(-) diff --git a/crates/commitscape-index/src/cache/format.rs b/crates/commitscape-index/src/cache/format.rs index da6ab76..d180c36 100644 --- a/crates/commitscape-index/src/cache/format.rs +++ b/crates/commitscape-index/src/cache/format.rs @@ -14,6 +14,8 @@ use crate::head_pass::ClassifyContext; const HEAD_MAGIC: [u8; 8] = *b"CSCAPEH\x02"; const DATA_MAGIC: [u8; 8] = *b"CSCAPED\x02"; const POINTER_FILE: &str = "index.current"; +const GENERATIONS_FILE: &str = "index.generations"; +const GENERATIONS_KEPT: usize = 512; const LOCK_FILE: &str = "index.lock"; const MAX_ID_RUNS: usize = 16; @@ -533,9 +535,37 @@ fn append_blocks( Ok(()) } +/// The generations a cache passed through, oldest first, the current one last: each one written was made from the one before it, so its ids extend that one's. +pub fn generations(dir: &Path) -> Vec { + std::fs::read_to_string(dir.join(GENERATIONS_FILE)) + .unwrap_or_default() + .lines() + .filter_map(|l| u64::from_str_radix(l.trim(), 16).ok()) + .collect() +} + +fn keep_generation(dir: &Path, previous: Option, generation: u64) -> std::io::Result<()> { + let mut kept = generations(dir); + if kept.last().copied() != previous { + kept = previous.into_iter().collect(); + } + kept.push(generation); + let from = kept.len().saturating_sub(GENERATIONS_KEPT); + let text: String = kept + .get(from..) + .unwrap_or(&[]) + .iter() + .map(|g| format!("{g:016x}\n")) + .collect(); + let tmp = dir.join(format!("{GENERATIONS_FILE}.{generation:016x}.tmp")); + std::fs::write(&tmp, text)?; + std::fs::rename(&tmp, dir.join(GENERATIONS_FILE)) +} + fn swap_to(dir: &Path, generation: u64, data_file: &str) -> std::io::Result<()> { let previous = current_generation(dir).ok(); let previous_data = previous.and_then(|g| data_file_of(dir, g).ok()); + keep_generation(dir, previous, generation)?; let tmp = dir.join(format!("{POINTER_FILE}.{generation:016x}.tmp")); std::fs::write(&tmp, format!("{generation:016x}\n"))?; std::fs::rename(&tmp, dir.join(POINTER_FILE))?; diff --git a/crates/commitscape-index/src/cache/mod.rs b/crates/commitscape-index/src/cache/mod.rs index 4c78a0f..897fb7f 100644 --- a/crates/commitscape-index/src/cache/mod.rs +++ b/crates/commitscape-index/src/cache/mod.rs @@ -27,6 +27,13 @@ pub use location::default_cache_root; const LOAD_LOCK: &str = "index.load"; /// The folder a repository's cache lives in: named by the cache key when one is given, so every clone of one repository shares it, or else by the clone's path. +/// The generations a repository's cache passed through, oldest first, the current one last: a generation in it was made from each before it, so the cache's ids extend that generation's. Empty without a cache. +pub fn cache_generations(options: &CacheOptions, repo: &RepoIdentity) -> Vec { + repo_dir(options, repo) + .map(|dir| format::generations(&dir)) + .unwrap_or_default() +} + pub fn repo_dir(options: &CacheOptions, repo: &RepoIdentity) -> Option { let root = options.root.as_deref()?; Some(match options.key.as_deref() { diff --git a/crates/commitscape-index/src/lib.rs b/crates/commitscape-index/src/lib.rs index 72bd4ea..4d2cc14 100644 --- a/crates/commitscape-index/src/lib.rs +++ b/crates/commitscape-index/src/lib.rs @@ -22,8 +22,8 @@ mod threads; pub use build::IndexBuilder; pub use cache::{ - default_cache_root, load, repo_dir, BlameStore, CacheOptions, Freshness, IdentityStore, - LineStore, Loaded, LogMark, Progress, RebuildReason, + cache_generations, default_cache_root, load, repo_dir, BlameStore, CacheOptions, Freshness, + IdentityStore, LineStore, Loaded, LogMark, Progress, RebuildReason, }; pub use commitscape_core::LinePass; pub use gix_source::{GixError, GixRepo, GixThreads}; diff --git a/crates/commitscape/src/build.rs b/crates/commitscape/src/build.rs index f397e51..6ccc616 100644 --- a/crates/commitscape/src/build.rs +++ b/crates/commitscape/src/build.rs @@ -6,7 +6,9 @@ use clap::Args; use commitscape_core::{CommitFlags, Index, Oid}; use commitscape_index::graph::CommitGraph; use commitscape_index::mainline::mainline_since; -use commitscape_index::{load, GixRepo, LineStore, Loaded, Mainline, RepoSource}; +use commitscape_index::{ + cache_generations, load, GixRepo, LineStore, Loaded, Mainline, RepoSource, +}; use commitscape_metrics::Span; use commitscape_report::export::{self, Manifest, Since}; use commitscape_report::pack::{write_pack, Pack, Reading}; @@ -92,8 +94,13 @@ fn read(args: &ExportArgs) -> anyhow::Result { let mut graph = (!truncated) .then(|| CommitGraph::of(&repo, &options, &loaded.index, loaded.lineage)) .transpose()?; + let generation = loaded.columns.at.as_ref().map(|(_, g)| *g); + let since = args.since.as_deref().and_then(Mark::parse); + let extends = since + .and_then(|m| m.generation) + .is_some_and(|g| cache_generations(&options, &loaded.index.repo).contains(&g)); let known = match (&args.after, args.lineage) { - (Some(file), Some(lineage)) if lineage == loaded.lineage => match &graph { + (Some(file), Some(lineage)) if lineage == loaded.lineage && extends => match &graph { Some(g) => g.reached_from(&loaded.index, &frontier(file)?), None => repo.ancestors(&frontier(file)?)?.map(|reached| { loaded @@ -112,11 +119,7 @@ fn read(args: &ExportArgs) -> anyhow::Result { &ignored, truncated, ); - let held = args - .since - .as_deref() - .and_then(Mark::parse) - .filter(|m| known.is_some() && m.fingerprint == fingerprint); + let held = since.filter(|m| known.is_some() && m.fingerprint == fingerprint); let before = held.and_then(|m| m.head).filter(|_| !truncated); let (mainline, moved) = match graph.as_mut() { Some(g) => { @@ -163,6 +166,7 @@ fn read(args: &ExportArgs) -> anyhow::Result { (None, None) => None, }, fingerprint, + generation, }; mark_ignored(&mut loaded.index, &ignored); let accounts = with_accounts(&repo, &options, &mut loaded.index, given.as_ref())?; diff --git a/crates/commitscape/src/mark.rs b/crates/commitscape/src/mark.rs index d6de628..ebb069c 100644 --- a/crates/commitscape/src/mark.rs +++ b/crates/commitscape/src/mark.rs @@ -10,6 +10,7 @@ pub(crate) struct Mark { pub(crate) head: Option, pub(crate) lines: Option, pub(crate) fingerprint: u64, + pub(crate) generation: Option, } impl Mark { @@ -28,10 +29,15 @@ impl Mark { }), }; let fingerprint = u64::from_str_radix(parts.next()?, 16).ok()?; + let generation = match parts.next() { + Some(g) => Some(u64::from_str_radix(g, 16).ok()?), + None => None, + }; parts.next().is_none().then_some(Mark { head, lines, fingerprint, + generation, }) } } @@ -46,7 +52,11 @@ impl fmt::Display for Mark { Some(l) => write!(f, ".{}.{:x}", l.len, l.hash)?, None => write!(f, ".-.-")?, } - write!(f, ".{:x}", self.fingerprint) + write!(f, ".{:x}", self.fingerprint)?; + match self.generation { + Some(g) => write!(f, ".{g:x}"), + None => Ok(()), + } } } @@ -81,17 +91,27 @@ mod tests { hash: 0xfeed, }), fingerprint: fingerprint(100, &[Oid([1; 20])], false), + generation: Some(0x1234_abcd), }, Mark { head: None, lines: None, fingerprint: 0, + generation: None, }, ]; for mark in marks { assert_eq!(Mark::parse(&mark.to_string()), Some(mark)); } - for text in ["", "-", "-.-.-", "zz.-.-.0", "-.1.2.3.4", "-.x.2.3"] { + for text in [ + "", + "-", + "-.-.-", + "zz.-.-.0", + "-.1.2.3.zz", + "-.1.2.3.4.5", + "-.x.2.3", + ] { assert_eq!(Mark::parse(text), None, "{text}"); } } diff --git a/crates/commitscape/tests/build.rs b/crates/commitscape/tests/build.rs index 5c9e09c..440a66c 100644 --- a/crates/commitscape/tests/build.rs +++ b/crates/commitscape/tests/build.rs @@ -1,6 +1,7 @@ #![allow(clippy::expect_used)] #![allow(clippy::indexing_slicing)] +use std::collections::HashMap; use std::io::Read; use std::path::{Path, PathBuf}; use std::process::{Command, Stdio}; @@ -469,9 +470,8 @@ fn a_build_after_the_mark_the_site_holds_writes_only_what_changed_since() { let mut lost = counted.clone(); lost["mark"] = "not a mark".into(); let resent = build("resent", &[], Some(&lost)); + assert_eq!(resent["full"], true); assert_eq!(resent["changes_only"], false); - assert_eq!(resent["mainline_rows"], 7); - assert_eq!(resent["lines_rows"], counted["lines_rows"]); } fn committed(repo: &Path, files: &[(&str, &str)], when: u64) { @@ -630,6 +630,17 @@ fn builds_from_the_kept_columns_write_what_builds_from_the_cache_write_warm_and_ without.iter().map(|f| &f.0).collect::>() ); for ((name, a), (_, b)) in with.iter().zip(&without) { + if name == "manifest.json" { + let without_generation = |bytes: &[u8]| { + let mut v: Value = serde_json::from_slice(bytes).expect("json"); + let mark = v["mark"].as_str().unwrap_or("").to_string(); + let parts: Vec<&str> = mark.split('.').take(4).collect(); + v["mark"] = parts.join(".").into(); + v + }; + assert_eq!(without_generation(a), without_generation(b), "step {step}"); + continue; + } assert!(a == b, "step {step}: {name} differs"); } assert_eq!( @@ -992,3 +1003,147 @@ fn a_file_that_stops_being_left_out_has_its_lines_counted_on_the_next_build() { assert_eq!(cold[0]["lines_added"], Value::from(6)); assert_eq!(warm, cold); } + +fn committed_by(repo: &Path, who: &str, subject: &str, files: &[(&str, &str)], when: u64) { + for (path, text) in files { + std::fs::write(repo.join(path), text).expect("a file"); + } + let date = format!("@{when} +0000"); + let email = format!("{who}@example.com"); + for args in [vec!["add", "-A"], vec!["commit", "-q", "-m", subject]] { + let out = Command::new("git") + .current_dir(repo) + .args(&args) + .env("GIT_CONFIG_GLOBAL", "/dev/null") + .env("GIT_AUTHOR_NAME", who) + .env("GIT_AUTHOR_EMAIL", &email) + .env("GIT_COMMITTER_NAME", who) + .env("GIT_COMMITTER_EMAIL", &email) + .env("GIT_AUTHOR_DATE", &date) + .env("GIT_COMMITTER_DATE", &date) + .output() + .expect("git"); + assert!( + out.status.success(), + "{}", + String::from_utf8_lossy(&out.stderr) + ); + } +} + +fn copy_dir(from: &Path, to: &Path) { + std::fs::create_dir_all(to).expect("a folder"); + for entry in std::fs::read_dir(from).expect("a folder").flatten() { + let target = to.join(entry.file_name()); + if entry.file_type().expect("a type").is_dir() { + copy_dir(&entry.path(), &target); + } else { + std::fs::copy(entry.path(), &target).expect("a copy"); + } + } +} + +#[derive(Default)] +struct Loaded { + commits: HashMap, + people: HashMap, +} + +impl Loaded { + fn load(&mut self, out: &Path) { + if json(&out.join("manifest.json"))["full"] == true { + self.commits.clear(); + } + for row in rows(&out.join("commits.tsv")) { + self.commits + .insert(row[0].clone(), (row[4].clone(), row[8].clone())); + } + self.people = rows(&out.join("people.tsv")) + .into_iter() + .map(|row| (row[0].clone(), row[1].clone())) + .collect(); + } + + fn author_of(&self, subject: &str) -> Option<&str> { + let (signature, _) = self.commits.values().find(|(_, s)| s == subject)?; + self.people.get(signature).map(String::as_str) + } +} + +#[test] +fn a_cache_brought_back_from_an_older_state_never_appends_onto_rows_another_cache_wrote() { + let dir = tempfile::tempdir().expect("a temporary directory"); + let repo = dir.path().join("repo"); + std::fs::create_dir(&repo).expect("a folder"); + git(&[ + "-C", + repo.to_str().expect("a path"), + "init", + "-q", + "-b", + "main", + ]); + committed_by(&repo, "ada", "feat: a", &[("a.rs", "1\n")], 1_700_000_000); + let cache = dir.path().join("cache"); + let build = |name: &str, after: Option<&Value>| -> (PathBuf, Value) { + let out = dir.path().join(name); + let mut args = vec!["build", "--offline", "--cache-key", "acme/rocket"]; + let frontier = dir.path().join(format!("{name}.frontier")); + let (lineage, mark); + let mut paths: Vec<&Path> = Vec::new(); + if let Some(m) = after { + let tips: Vec<&str> = m["frontier"] + .as_array() + .expect("a frontier") + .iter() + .filter_map(Value::as_str) + .collect(); + std::fs::write(&frontier, tips.join("\n")).expect("the frontier"); + lineage = m["lineage"].as_str().unwrap_or("").to_string(); + mark = m["mark"].as_str().unwrap_or("").to_string(); + args.extend_from_slice(&["--lineage", &lineage, "--since", &mark, "--after"]); + paths.push(&frontier); + } + paths.extend_from_slice(&[ + Path::new("--cache-dir"), + &cache, + Path::new("--out"), + &out, + &repo, + ]); + commitscape(&args, &paths); + let manifest = json(&out.join("manifest.json")); + (out, manifest) + }; + let mut postgres = Loaded::default(); + let (out, first) = build("first", None); + postgres.load(&out); + let kept = dir.path().join("kept"); + copy_dir(&cache, &kept); + committed_by(&repo, "pat", "feat: p", &[("p.rs", "p\n")], 1_700_086_400); + let (out, second) = build("second", Some(&first)); + assert_eq!(second["full"], false); + postgres.load(&out); + committed_by(&repo, "quinn", "feat: q", &[("q.rs", "q\n")], 1_700_172_800); + let (out, third) = build("third", Some(&second)); + assert_eq!(third["full"], false); + postgres.load(&out); + assert_eq!(postgres.author_of("feat: p"), Some("pat")); + std::fs::remove_dir_all(&cache).expect("the cache"); + copy_dir(&kept, &cache); + committed_by(&repo, "ada", "feat: r", &[("r.rs", "r\n")], 1_700_259_200); + let (out, fourth) = build("fourth", Some(&third)); + postgres.load(&out); + assert_eq!(fourth["full"], true); + for (subject, who) in [ + ("feat: a", "ada"), + ("feat: p", "pat"), + ("feat: q", "quinn"), + ("feat: r", "ada"), + ] { + assert_eq!(postgres.author_of(subject), Some(who), "{subject}"); + } + let (out, fifth) = build("fifth", Some(&fourth)); + postgres.load(&out); + assert_eq!(fifth["full"], false); +} diff --git a/docs/working.md b/docs/working.md index 605a58f..a936814 100644 --- a/docs/working.md +++ b/docs/working.md @@ -235,7 +235,12 @@ whose uncounted files (lockfiles, Generated Files) the fork leaves out too are taken; a commit touching a file the fork keeps is counted again. `--after FILE --lineage N` writes only the commits the frontier in FILE does not reach, and `--since MARK`, the mark the last loaded export left, narrows the earlier commits' rows to the -Mainline that moved and the Lines Changed counted since. Beside the Index +Mainline that moved and the Lines Changed counted since. The mark names the +cache generation the export was read from, and the cache keeps the +generations it passed through (`index.generations`): a run appends only +when its cache descends from that generation, so a cache brought back from +an older Repo State, whose signature and file ids may differ from the rows +Postgres holds, writes a full export instead. Beside the Index the cache keeps its commit graph (`graph`: each commit's parents by place, and the Mainline of the head it was last worked out for); a Build brings it up to date from the commits added since, so the Mainline and the commits From ba9eca6a925eefc62e5c9cc4ef4fe73324443572 Mon Sep 17 00:00:00 2001 From: Dev Talan <84081651+devchaudhary24k@users.noreply.github.com> Date: Tue, 27 Oct 2026 19:05:29 +0530 Subject: [PATCH 66/82] fix: the CLI builds and runs on Windows again The column files, the commit graph and packs were read and written at offsets with std::os::unix::fs::FileExt, unguarded, so the CLI no longer compiled for Windows, where CI tests it. Positional reads and writes now go through commitscape-map (FileExt on Unix, seek_read and seek_write on Windows, every caller either positional only or seeking before reading in sequence). Windows neither renames nor deletes a file while a view of it is mapped, and a Build replaces files it still has mapped (the previous Ownership, the commit graph, a merged column file). On Windows commitscape-map therefore reads each stretch into memory instead of mapping it, and a column file's trailer no longer resizes the file when its length does not change. Checked: cargo check and clippy -D warnings for x86_64-pc-windows-msvc on every crate that does not pull in ring (core, map, index, metrics, report, forge, xtask); the CLI and the engine service stop only at ring's C build, which this machine cannot compile for MSVC. Test: bytes written at an offset read back from it, and a read past the end fails. --- crates/commitscape-index/src/cache/cols.rs | 21 ++-- crates/commitscape-index/src/graph.rs | 6 +- crates/commitscape-map/src/lib.rs | 108 ++++++++++++++++-- crates/commitscape-report/src/pack.rs | 18 +-- ...n-place-and-standard-screens-are-stored.md | 2 +- 5 files changed, 124 insertions(+), 31 deletions(-) diff --git a/crates/commitscape-index/src/cache/cols.rs b/crates/commitscape-index/src/cache/cols.rs index 31f0c8a..e693489 100644 --- a/crates/commitscape-index/src/cache/cols.rs +++ b/crates/commitscape-index/src/cache/cols.rs @@ -1,6 +1,5 @@ use std::fs::File; use std::io::{Read, Seek, SeekFrom}; -use std::os::unix::fs::FileExt; use std::path::{Path, PathBuf}; use commitscape_core::{Column, CommitFlags, CommitMeta, FileChange, Index, Record}; @@ -113,7 +112,7 @@ impl Sink { } fn flush(&mut self) -> std::io::Result<()> { - self.file.write_all_at(&self.pending, self.at)?; + commitscape_map::write_all_at(&self.file, &self.pending, self.at)?; self.at += self.pending.len() as u64; self.pending.clear(); Ok(()) @@ -166,9 +165,13 @@ fn write_trailer( tail.extend_from_slice(&len.to_le_bytes()); tail.extend_from_slice(&(masking.skipped.len() as u64).to_le_bytes()); tail.extend_from_slice(&MAGIC); - file.write_all_at(&MAGIC, 0)?; - file.write_all_at(&tail, at)?; - file.set_len(at + tail.len() as u64) + commitscape_map::write_all_at(file, &MAGIC, 0)?; + commitscape_map::write_all_at(file, &tail, at)?; + let end = at + tail.len() as u64; + if file.metadata()?.len() == end { + return Ok(()); + } + file.set_len(end) } fn clean(commit: &CommitMeta) -> CommitMeta { @@ -374,7 +377,7 @@ impl Kept { let sealed = size .checked_sub(MAGIC.len() as u64) .ok_or_else(|| std::io::Error::other("too short"))?; - file.write_all_at(&[0; MAGIC.len()], sealed)?; + commitscape_map::write_all_at(&file, &[0; MAGIC.len()], sealed)?; file.sync_data()?; let [_, ch, _, st] = self.sections; let mut buf = Vec::new(); @@ -393,11 +396,13 @@ impl Kept { change.write_to(slot); } } - file.write_all_at( + commitscape_map::write_all_at( + &file, &buf, ch.0 + u64::from(c.changes_start) * FileChange::SIZE as u64, )?; - file.write_all_at( + commitscape_map::write_all_at( + &file, &[self.settled.get(i).copied().unwrap_or(0)], st.0 + i as u64, )?; diff --git a/crates/commitscape-index/src/graph.rs b/crates/commitscape-index/src/graph.rs index 2762089..aacc239 100644 --- a/crates/commitscape-index/src/graph.rs +++ b/crates/commitscape-index/src/graph.rs @@ -612,7 +612,6 @@ fn read(path: &Path) -> Option { } fn put(file: &std::fs::File, at: u64, values: &[T]) -> std::io::Result<()> { - use std::os::unix::fs::FileExt; let mut buf = vec![0u8; T::SIZE * 65_536]; let mut offset = at; for chunk in values.chunks(65_536) { @@ -620,14 +619,13 @@ fn put(file: &std::fs::File, at: u64, values: &[T]) -> std::io::Resul v.write_to(slot); } let bytes = buf.get(..chunk.len() * T::SIZE).unwrap_or(&[]); - file.write_all_at(bytes, offset)?; + commitscape_map::write_all_at(file, bytes, offset)?; offset += bytes.len() as u64; } Ok(()) } fn write(path: &Path, graph: &CommitGraph, index: &Index) -> std::io::Result<()> { - use std::os::unix::fs::FileExt; let n = graph.hashes.len() as u64; let m = graph.parents.len() as u64; let line = graph.line.as_ref(); @@ -654,7 +652,7 @@ fn write(path: &Path, graph: &CommitGraph, index: &Index) -> std::io::Result<()> ); header.push(u8::from(line.is_some())); header.extend_from_slice(&line.map_or([0; 20], |l| l.head.0)); - file.write_all_at(&header, 0)?; + commitscape_map::write_all_at(&file, &header, 0)?; file.set_len(end.max(PAGE))?; file.sync_data()?; drop(file); diff --git a/crates/commitscape-map/src/lib.rs b/crates/commitscape-map/src/lib.rs index ab55255..c016032 100644 --- a/crates/commitscape-map/src/lib.rs +++ b/crates/commitscape-map/src/lib.rs @@ -4,8 +4,9 @@ use std::marker::PhantomData; use std::mem::{align_of, size_of}; use commitscape_core::{Record, Slab}; -use memmap2::{MmapMut, MmapOptions}; +use memmap2::MmapMut; +#[cfg(all(target_os = "linux", target_env = "gnu"))] const LARGE_BLOCK: i32 = 1 << 20; /// Has the C allocator map every block of a megabyte or more on its own and give it back to the system when freed, and give back free memory past a megabyte at the top of its heap. glibc otherwise raises the size it maps blocks at each time a large one is freed, so a long run reading file versions of many sizes on several threads keeps hundreds of MB it no longer uses. Does nothing where the allocator is not glibc's. @@ -27,7 +28,81 @@ pub fn release_free_memory() { } } -/// Records read in place from a stretch of a file mapped copy-on-write: the pages are the file's until one is written, which then becomes the process's own and never reaches the file. +/// Fills `buf` from `file` at `offset`. Windows moves the file's position doing so, so a caller that also reads the same handle in sequence seeks first. +pub fn read_exact_at(file: &std::fs::File, buf: &mut [u8], offset: u64) -> std::io::Result<()> { + #[cfg(unix)] + { + std::os::unix::fs::FileExt::read_exact_at(file, buf, offset) + } + #[cfg(windows)] + { + let mut done = 0usize; + while done < buf.len() { + let rest = buf.get_mut(done..).unwrap_or_default(); + let n = std::os::windows::fs::FileExt::seek_read(file, rest, offset + done as u64)?; + if n == 0 { + return Err(std::io::ErrorKind::UnexpectedEof.into()); + } + done += n; + } + Ok(()) + } + #[cfg(not(any(unix, windows)))] + { + use std::io::{Read, Seek, SeekFrom}; + let mut f = file; + f.seek(SeekFrom::Start(offset))?; + f.read_exact(buf) + } +} + +/// Writes all of `buf` into `file` at `offset`. Windows moves the file's position doing so, so a caller that also writes the same handle in sequence seeks first. +pub fn write_all_at(file: &std::fs::File, buf: &[u8], offset: u64) -> std::io::Result<()> { + #[cfg(unix)] + { + std::os::unix::fs::FileExt::write_all_at(file, buf, offset) + } + #[cfg(windows)] + { + let mut done = 0usize; + while done < buf.len() { + let rest = buf.get(done..).unwrap_or_default(); + let n = std::os::windows::fs::FileExt::seek_write(file, rest, offset + done as u64)?; + if n == 0 { + return Err(std::io::ErrorKind::WriteZero.into()); + } + done += n; + } + Ok(()) + } + #[cfg(not(any(unix, windows)))] + { + use std::io::{Seek, SeekFrom, Write}; + let mut f = file; + f.seek(SeekFrom::Start(offset))?; + f.write_all(buf) + } +} + +#[cfg(not(windows))] +#[allow(unsafe_code)] +fn stretch(file: &File, offset: u64, bytes: usize) -> io::Result { + unsafe { + memmap2::MmapOptions::new() + .offset(offset) + .len(bytes) + .map_copy(file) + } +} + +#[cfg(windows)] +fn stretch(file: &File, offset: u64, bytes: usize) -> io::Result { + let mut map = MmapMut::map_anon(bytes)?; + read_exact_at(file, &mut map, offset)?; + Ok(map) +} + +/// Records read in place from a stretch of a file mapped copy-on-write: the pages are the file's until one is written, which then becomes the process's own and never reaches the file. On Windows, which neither renames nor deletes a file while a view of it is mapped, the stretch is read into memory instead. pub struct Records { map: Option, len: usize, @@ -40,7 +115,6 @@ fn invalid(why: &str) -> io::Error { impl Records { /// Maps `len` records of `file` from `offset`, which is a multiple of the page size, after checking every record is one: a kind byte outside its kinds, or a record of another size, refuses the whole stretch. - #[allow(unsafe_code)] pub fn open(file: &File, offset: u64, len: usize) -> io::Result> { if size_of::() != T::SIZE { return Err(invalid("a record's size differs from its layout")); @@ -55,12 +129,7 @@ impl Records { let bytes = len .checked_mul(T::SIZE) .ok_or_else(|| invalid("too many records"))?; - let map = unsafe { - MmapOptions::new() - .offset(offset) - .len(bytes) - .map_copy(file)? - }; + let map = stretch(file, offset, bytes)?; if map.as_ptr().align_offset(align_of::()) != 0 { return Err(invalid("records are not aligned")); } @@ -136,6 +205,27 @@ mod tests { }; use std::io::{Seek, SeekFrom, Write}; + #[test] + fn bytes_written_at_an_offset_read_back_from_it_and_nothing_past_the_end_reads() { + let dir = tempfile::tempdir().expect("a folder"); + let file = std::fs::OpenOptions::new() + .read(true) + .write(true) + .create(true) + .truncate(true) + .open(dir.path().join("f")) + .expect("a file"); + write_all_at(&file, b"world", 6).expect("written"); + write_all_at(&file, b"hello ", 0).expect("written"); + let mut back = [0u8; 11]; + read_exact_at(&file, &mut back, 0).expect("read"); + assert_eq!(&back, b"hello world"); + let mut middle = [0u8; 3]; + read_exact_at(&file, &mut middle, 4).expect("read"); + assert_eq!(&middle, b"o w"); + assert!(read_exact_at(&file, &mut [0u8; 4], 9).is_err()); + } + const PAGE: u64 = 4096; fn commit(n: u8) -> CommitMeta { diff --git a/crates/commitscape-report/src/pack.rs b/crates/commitscape-report/src/pack.rs index 949a96f..209f542 100644 --- a/crates/commitscape-report/src/pack.rs +++ b/crates/commitscape-report/src/pack.rs @@ -1,6 +1,5 @@ use std::fs::File; use std::io::{BufReader, BufWriter, Read, Seek, SeekFrom, Write}; -use std::os::unix::fs::FileExt; use std::path::Path; use commitscape_core::{Column, CommitMeta, FileChange, Index, Record}; @@ -305,12 +304,13 @@ fn table(bytes: &[u8]) -> Result, PackError> { fn footer(file: &File) -> Result, PackError> { let size = file.metadata()?.len(); let mut head = vec![0u8; MAGIC.len()]; - file.read_exact_at(&mut head, 0)?; + commitscape_map::read_exact_at(file, &mut head, 0)?; if head != MAGIC { return Err(PackError::NotAPack); } let mut tail = vec![0u8; TAIL]; - file.read_exact_at( + commitscape_map::read_exact_at( + file, &mut tail, size.checked_sub(TAIL as u64).ok_or(PackError::NotAPack)?, )?; @@ -389,7 +389,7 @@ fn read_pack_2(rest: &[u8]) -> Result { pub fn unpack(from: &Path, to: &Path) -> Result { let file = File::open(from)?; let mut head = vec![0u8; MAGIC.len().max(MAGIC_2.len())]; - file.read_exact_at(&mut head, 0)?; + commitscape_map::read_exact_at(&file, &mut head, 0)?; if head.starts_with(MAGIC_2) { return Err(PackError::Format(2)); } @@ -409,7 +409,7 @@ pub fn unpack(from: &Path, to: &Path) -> Result { if n == 0 { break; } - out.write_all_at(buf.get(..n).unwrap_or(&[]), at + written)?; + commitscape_map::write_all_at(&out, buf.get(..n).unwrap_or(&[]), at + written)?; written += n as u64; } if written != raw { @@ -426,7 +426,7 @@ pub fn unpack(from: &Path, to: &Path) -> Result { header.extend_from_slice(&offset.to_le_bytes()); header.extend_from_slice(&len.to_le_bytes()); } - out.write_all_at(&header, 0)?; + commitscape_map::write_all_at(&out, &header, 0)?; out.set_len(at.max(PAGE))?; out.sync_data()?; drop(out); @@ -438,7 +438,7 @@ pub fn unpack(from: &Path, to: &Path) -> Result { pub fn open_unpacked(path: &Path) -> Result { let file = File::open(path)?; let mut header = vec![0u8; UNPACKED.len() + 16 * SECTIONS]; - file.read_exact_at(&mut header, 0)?; + commitscape_map::read_exact_at(&file, &mut header, 0)?; if header.get(..UNPACKED.len()) != Some(UNPACKED.as_slice()) { return Err(PackError::NotAPack); } @@ -456,7 +456,7 @@ pub fn open_unpacked(path: &Path) -> Result { )); }; let mut bytes = vec![0u8; rest.1]; - file.read_exact_at(&mut bytes, rest.0)?; + commitscape_map::read_exact_at(&file, &mut bytes, rest.0)?; let mut pack = decoded_rest(&bytes)?; drop(bytes); pack.index.commits = column(Records::::open( @@ -471,7 +471,7 @@ pub fn open_unpacked(path: &Path) -> Result { ))?; pack.index.subjects = column(Records::::open(&file, subjects.0, subjects.1))?; let mut times = vec![0u8; arrival.1]; - file.read_exact_at(&mut times, arrival.0)?; + commitscape_map::read_exact_at(&file, &mut times, arrival.0)?; pack.arrival = arrivals(×); Ok(pack) } diff --git a/docs/adr/0031-the-repo-state-and-packs-are-read-in-place-and-standard-screens-are-stored.md b/docs/adr/0031-the-repo-state-and-packs-are-read-in-place-and-standard-screens-are-stored.md index 36f89f9..3d400bb 100644 --- a/docs/adr/0031-the-repo-state-and-packs-are-read-in-place-and-standard-screens-are-stored.md +++ b/docs/adr/0031-the-repo-state-and-packs-are-read-in-place-and-standard-screens-are-stored.md @@ -12,7 +12,7 @@ The owner's target is a Build and an engine service that fit in about 250 MB, id ## Decision -- **The Index's columns are kept beside the cache, laid out to be mapped.** Each cache generation has a column file (commits, changes, subjects, settled line marks) mapped copy-on-write by one small crate, the only code that maps memory. A warm Build maps it; a Build with new commits streams the old file and the new commits into the next one; the line pass counts only commits not settled and writes them back; a change in which files are left out masks only those files again. The file reads as absent until a save is on disk. +- **The Index's columns are kept beside the cache, laid out to be mapped.** Each cache generation has a column file (commits, changes, subjects, settled line marks) mapped copy-on-write by one small crate, the only code that maps memory or reads and writes files at an offset. On Windows, which neither renames nor deletes a file while a view of it is mapped, that crate reads each stretch into memory instead, so the CLI works there as everywhere, with more memory. A warm Build maps it; a Build with new commits streams the old file and the new commits into the next one; the line pass counts only commits not settled and writes them back; a change in which files are left out masks only those files again. The file reads as absent until a save is on disk. - **A cold Build goes through files.** The walk reads 32,768 commits at a time; the Index builder appends what it gathers to files in the cache folder and lays the columns out into files it maps; the cache's blocks are encoded one at a time as they are written. - **The Ownership of lines is a file read in place,** commits sorted by id, files by path, each file's owners as varint runs; a new one is written file by file to disk and laid out at the end. Carried-over files copy their runs. A blame walk holds 16 MB of head text, and its rename detection asks git for a deleted file's size before reading it and keeps only the spans of those it reads. - **git's caches are small:** 1 to 8 MB per handle and thread. Speed is the same within noise, except a cold walk of linux (10% more wall time, the same CPU). From f1477da3608c86d31df28c8726fb5c3a1b3c3472 Mon Sep 17 00:00:00 2001 From: Dev Talan <84081651+devchaudhary24k@users.noreply.github.com> Date: Tue, 27 Oct 2026 19:11:34 +0530 Subject: [PATCH 67/82] fix: a Report changes only when its new pack is published A full load pointed repositories.index_id at the new Stored Index, which had no pack yet, and deleted the old one, and the Builder deleted the old pack from R2 right after the load. Until the new pack was published the Report was blank, and if the publish failed there was no Report at all; every private Build is a full load. A full load now leaves its Stored Index ready but not live. The one publish transaction records the pack, makes that Stored Index live (makeLive moves index_id and deletes the repository's other Stored Indexes with their rows) and writes the Report; the old packs, screens and Atlases are deleted from R2 only after it has committed. Appends still go into the live Stored Index as before. Tests: a full Build whose pack cannot be uploaded leaves the old Report, Stored Index and pack as they were (with the old behaviour the test finds two Stored Indexes and the old Report gone), and the next Build replaces them whole; against Postgres, a full load is not live until makeLive, which returns the replaced pack. --- apps/builder/src/atlas.test.ts | 33 ------------------- apps/builder/src/atlas.ts | 11 ------- apps/builder/src/job.test.ts | 40 +++++++++++++++++++++--- apps/builder/src/job.ts | 15 ++++----- docs/working.md | 16 +++++++--- packages/server/src/stored-index.test.ts | 13 ++++++-- packages/server/src/stored-index.ts | 22 ++++++++++--- 7 files changed, 81 insertions(+), 69 deletions(-) delete mode 100644 apps/builder/src/atlas.test.ts delete mode 100644 apps/builder/src/atlas.ts diff --git a/apps/builder/src/atlas.test.ts b/apps/builder/src/atlas.test.ts deleted file mode 100644 index bb9e484..0000000 --- a/apps/builder/src/atlas.test.ts +++ /dev/null @@ -1,33 +0,0 @@ -import { expect, test } from "vitest"; -import { memoryStorage } from "@commitscape/server"; -import { replaceIndex } from "./atlas"; - -const put = (storage: ReturnType, key: string) => storage.put(key, "x", { type: "application/octet-stream" }); - -test("loading a new Stored Index deletes the Atlas payloads and the pack of the one it replaces and keeps every other", async () => { - const storage = memoryStorage(); - await put(storage, "atlas/7/aaaa/map.bin.br"); - await put(storage, "atlas/7/bbbb/names.bin.br"); - await put(storage, "atlas/70/cccc/map.bin.br"); - await put(storage, "atlas/8/dddd/map.bin.br"); - await put(storage, "packs/acme/rocket/7/abc-lines.pack"); - await put(storage, "packs/acme/rocket/8/def-lines.pack"); - const loaded = await replaceIndex(storage, { id: 7, pack: "packs/acme/rocket/7/abc-lines.pack" }, async () => ({ si: 9 })); - expect(loaded.si).toBe(9); - expect([...storage.objects.keys()].sort()).toEqual(["atlas/70/cccc/map.bin.br", "atlas/8/dddd/map.bin.br", "packs/acme/rocket/8/def-lines.pack"]); -}); - -test("loading into the same Stored Index, or the first one, deletes nothing", async () => { - const storage = memoryStorage(); - await put(storage, "atlas/7/aaaa/map.bin.br"); - await replaceIndex(storage, { id: 7 }, async () => ({ si: 7 })); - await replaceIndex(storage, null, async () => ({ si: 8 })); - expect([...storage.objects.keys()]).toEqual(["atlas/7/aaaa/map.bin.br"]); -}); - -test("a failed load deletes nothing", async () => { - const storage = memoryStorage(); - await put(storage, "atlas/7/aaaa/map.bin.br"); - await expect(replaceIndex(storage, { id: 7 }, async () => Promise.reject(new Error("COPY failed")))).rejects.toThrow("COPY failed"); - expect(storage.objects.size).toBe(1); -}); diff --git a/apps/builder/src/atlas.ts b/apps/builder/src/atlas.ts deleted file mode 100644 index 3cdfe62..0000000 --- a/apps/builder/src/atlas.ts +++ /dev/null @@ -1,11 +0,0 @@ -import { screensKey, type Storage } from "@commitscape/server"; - -/** Loads a repository's new Stored Index through `load`, then deletes the stored Atlas payloads and the pack of the Stored Index it replaces, so neither is served again. */ -export async function replaceIndex(storage: Storage, before: { id: number; pack?: string | null } | null, load: () => Promise): Promise { - const loaded = await load(); - if (before && before.id !== loaded.si) { - await storage.deletePrefix(`atlas/${before.id}/`).catch(() => undefined); - if (before.pack) await storage.delete([before.pack, screensKey(before.pack)]).catch(() => undefined); - } - return loaded; -} diff --git a/apps/builder/src/job.test.ts b/apps/builder/src/job.test.ts index e7472a4..70096c1 100644 --- a/apps/builder/src/job.test.ts +++ b/apps/builder/src/job.test.ts @@ -3,7 +3,7 @@ import { tmpdir } from "node:os"; import { join } from "node:path"; import { fileURLToPath } from "node:url"; import { PGlite } from "@electric-sql/pglite"; -import { and, eq, ne } from "drizzle-orm"; +import { eq } from "drizzle-orm"; import { drizzle } from "drizzle-orm/pglite"; import { migrate } from "drizzle-orm/pglite/migrator"; import { expect, test } from "vitest"; @@ -43,16 +43,14 @@ function tools(built: FakeBuild | ((args: string[]) => FakeBuild) = {}, then: (c function loader(db: Db) { return async (repoId: string, dir: string): Promise => { const m = await readManifest(dir); - const fields = { lineage: m.lineage, kept: m.kept, head: m.head, frontier: m.frontier, lines: m.lines_mainline, linesLeft: m.lines_left, commits: m.total, state: "live", loadedAt: now() }; + const fields = { lineage: m.lineage, kept: m.kept, head: m.head, frontier: m.frontier, lines: m.lines_mainline, linesLeft: m.lines_left, commits: m.total, loadedAt: now() }; let si: number; if (m.full) { const [row] = await db .insert(storedIndexes) - .values({ repoId, builtAt: now(), ...fields }) + .values({ repoId, builtAt: now(), state: "ready", ...fields }) .returning({ id: storedIndexes.id }); si = row?.id ?? 0; - await db.delete(storedIndexes).where(and(eq(storedIndexes.repoId, repoId), ne(storedIndexes.id, si))); - await db.update(repositories).set({ indexId: si }).where(eq(repositories.id, repoId)); } else { const [repo] = await db.select({ indexId: repositories.indexId }).from(repositories).where(eq(repositories.id, repoId)); si = repo?.indexId ?? 0; @@ -116,6 +114,38 @@ test("a Build publishes its Stored Index: the pack in R2 and on the Stored Index expect(Object.keys(ctx.captured.at(-1)?.[2] ?? {})).toEqual(expect.arrayContaining(["seconds_clone_full", "seconds_build_full", "seconds_load_full", "seconds_upload_full", "seconds_publish_full"])); }); +test("a full Build whose publish fails leaves the old Report served, and the next one replaces it whole", async () => { + const db = await database(); + const head = "c".repeat(40); + await wholeReport(db, "acme/rocket", head, { reportAt: now() - 8 * 24 * 3600 }); + await db.update(storedIndexes).set({ kept: false }); + const [old] = await db.select().from(storedIndexes); + const oldPack = old?.pack ?? ""; + const ctx = await context(db); + await ctx.storage.put(oldPack, "the old pack", { type: "application/octet-stream" }); + const put = ctx.storage.put.bind(ctx.storage); + ctx.storage.put = async (key, body, options) => { + if (key.startsWith("packs/") && key !== oldPack) throw new Error("R2 is down"); + return put(key, body, options); + }; + await db.insert(builds).values({ id: "b1", repoId: "acme/rocket", state: "queued", requestedAt: 1 }); + await runJob("b1", ctx); + expect(await db.select({ state: builds.state }).from(builds)).toEqual([{ state: "failed" }]); + expect((await repoRow(db))?.indexId).toBe(old?.id); + expect((await repoRow(db))?.reportKey).toBe("reports/gh/acme/rocket/b0"); + const live = await db.select({ id: storedIndexes.id, pack: storedIndexes.pack }).from(storedIndexes).where(eq(storedIndexes.state, "live")); + expect(live).toEqual([{ id: old?.id, pack: oldPack }]); + expect(packs(ctx)).toEqual([oldPack]); + ctx.storage.put = put; + await db.insert(builds).values({ id: "b2", repoId: "acme/rocket", state: "queued", requestedAt: 2 }); + await runJob("b2", ctx); + const rows = await db.select({ id: storedIndexes.id, state: storedIndexes.state, pack: storedIndexes.pack }).from(storedIndexes); + expect(rows).toHaveLength(1); + expect(rows[0]?.state).toBe("live"); + expect((await repoRow(db))?.indexId).toBe(rows[0]?.id); + expect(packs(ctx)).toEqual([rows[0]?.pack]); +}); + test("a Build makes its pack's Atlas in a process of its own, under the engine's slot, and stores it before the pack is published, so the Site never makes it", async () => { const db = await database(); const order: string[] = []; diff --git a/apps/builder/src/job.ts b/apps/builder/src/job.ts index a4deae7..b03463d 100644 --- a/apps/builder/src/job.ts +++ b/apps/builder/src/job.ts @@ -7,6 +7,7 @@ import { liveIndex, LOADED, loadExport, + makeLive, now, PRIORITY, randomId, @@ -25,7 +26,6 @@ import { } from "@commitscape/server"; import type { BuildFailure, Meta } from "@commitscape/data"; import { accountsFor } from "./accounts"; -import { replaceIndex } from "./atlas"; import { storeScreens } from "./screens"; import { cloneUrl, gitEnv, remoteRefs, type RemoteRefs } from "./clone"; import type { Config } from "./config"; @@ -193,11 +193,7 @@ async function claimedJob(buildId: string, ctx: JobContext, attempt: number, ask ...(stateTier ? { state: { restore: (root: string) => restoreState(stateTier, repo.id, root), save: (root: string) => saveState(stateTier, repo.id, root) } } : {}), index: { live: async () => liveIndex(db, await currentId()), - load: async (dir: string) => { - const id = await currentId(); - const before = await liveIndex(db, id); - return replaceIndex(ctx.storage, before, () => load(id, dir)); - }, + load: async (dir: string) => load(await currentId(), dir), }, ...(gitCfg ? { git: (dir: string, env: NodeJS.ProcessEnv) => buildGitData({ db, storage: ctx.storage, cfg: gitCfg, repoId: repo.id, buildId, dir, env, log, private: repo.isPrivate }).then(() => undefined) } : {}), }, @@ -329,6 +325,7 @@ async function publishBuild(ctx: JobContext, phases: Phases, buildId: string, ma if (!current) return null; const [index] = await tx.select({ pack: storedIndexes.pack }).from(storedIndexes).where(eq(storedIndexes.id, si)); await tx.update(storedIndexes).set({ pack, buildFormat: BUILD_FORMAT }).where(eq(storedIndexes.id, si)); + const dropped = await makeLive(tx, current.id, si); await tx .update(repositories) .set({ @@ -361,7 +358,7 @@ async function publishBuild(ctx: JobContext, phases: Phases, buildId: string, ma await tx.delete(repoPeople).where(eq(repoPeople.repoId, current.id)); for (let i = 0; i < rows.length; i += 1000) await tx.insert(repoPeople).values(rows.slice(i, i + 1000)); await tx.execute(sql`SELECT pg_notify(${LOADED}, ${String(si)})`); - return { current, replaced: index?.pack ?? null }; + return { current, replaced: index?.pack ?? null, dropped }; }); if (!target) { await storage.delete([pack]).catch(() => undefined); @@ -373,6 +370,10 @@ async function publishBuild(ctx: JobContext, phases: Phases, buildId: string, ma await storage.delete([target.replaced]).catch(() => undefined); for (const beside of besidePack(si, target.replaced)) await storage.deletePrefix(beside).catch(() => undefined); } + for (const old of target.dropped) { + if (old.pack) await storage.delete([old.pack, screensKey(old.pack)]).catch(() => undefined); + await storage.deletePrefix(`atlas/${old.id}/`).catch(() => undefined); + } if (target.current.reportKey && target.current.reportKey !== prefix) await storage.deletePrefix(`${target.current.reportKey}/`).catch(() => undefined); return { id: target.current.id, prefix, people, fresh: target.current.reportKey !== prefix }; } diff --git a/docs/working.md b/docs/working.md index a936814..e17d314 100644 --- a/docs/working.md +++ b/docs/working.md @@ -86,11 +86,17 @@ to a repository the App is installed on, the nightly seeds and 4. **Publishes the first Report.** `commitscape build --no-lines` on the quick clone writes the export, `meta.json` and `pack.bin`. `loadExport` copies the rows into a new Stored Index - ([ADR-0027](./adr/0027-the-index-is-kept-in-postgres.md)), the pack goes - to `packs///--quick.pack` in R2, and one - transaction records the pack's key on `stored_indexes.pack`, the Report's - meta and stats on the repository, and its people in `repo_people`. The - repository's Report shows at once, its Lines Changed marked as counting. + ([ADR-0027](./adr/0027-the-index-is-kept-in-postgres.md)), which is not + live yet, the pack goes to + `packs///--quick.pack` in R2, and one + transaction records the pack's key on `stored_indexes.pack`, makes that + Stored Index the repository's live one (`makeLive`: `index_id` moves to it + and every other Stored Index of the repository is deleted), and writes + the Report's meta and stats on the repository and its people in + `repo_people`. The old packs, screens and Atlases are deleted from R2 + only once that transaction has committed, so a publish that fails leaves + the old Report served whole. The repository's Report shows at once, its + Lines Changed marked as counting. 5. **Counts Lines Changed.** On the full clone, with the same `--cache-key` (the repository's id), so the history is not walked again, `commitscape build --lines-budget --after --lineage diff --git a/packages/server/src/stored-index.test.ts b/packages/server/src/stored-index.test.ts index d24374f..93ea593 100644 --- a/packages/server/src/stored-index.test.ts +++ b/packages/server/src/stored-index.test.ts @@ -10,7 +10,7 @@ import { afterAll, describe, expect, test } from "vitest"; import { createDb, runMigrations, type Db } from "./db/client"; import * as schema from "./db/schema"; import { indexCommitLines, indexCommits, indexFiles, indexFolders, indexPeople, repositories, storedIndexes } from "./db/schema"; -import { appendable, EXPORT_FORMAT, listenForLoads, liveIndex, loadExport, type ExportManifest } from "./stored-index"; +import { appendable, EXPORT_FORMAT, listenForLoads, liveIndex, loadExport, makeLive, type ExportManifest } from "./stored-index"; const url = process.env.TEST_DATABASE_URL; const migrations = fileURLToPath(new URL("../drizzle", import.meta.url)); @@ -111,11 +111,13 @@ describe.skipIf(!url)("loading an export into Postgres", async () => { .where(eq(indexCommits.si, si)) .orderBy(asc(indexCommits.at)); - test("a full export becomes the live Stored Index, with each commit's Mainline", async () => { + test("a full export is loaded beside the live Stored Index and becomes live only when published, with each commit's Mainline", async () => { await fresh(); const dir = writeExport({}, [{ n: 1, at: 86_400, signature: 0, files: [0, 1], added: [3, 4] }, { n: 2, at: 2 * 86_400, signature: 1, files: [0], added: [5], flags: 8, arrival: 3 * 86_400 }], { releases: { "v1.0": hex(2) } }); const loaded = await loadExport(pool, repo, dir); expect(loaded).toMatchObject({ full: true, total: 2, mainline: 0, lines: 0 }); + expect(await liveIndex(db, repo)).toBeNull(); + expect(await db.transaction((tx) => makeLive(tx, repo, loaded.si))).toEqual([]); const live = await liveIndex(db, repo); expect(live).toMatchObject({ id: loaded.si, lineage: "7", lines: true, kept: true, mark: "full mark" }); expect(await db.select({ person: indexPeople.person, login: indexPeople.login }).from(indexPeople).where(eq(indexPeople.si, loaded.si))).toHaveLength(2); @@ -155,6 +157,7 @@ describe.skipIf(!url)("loading an export into Postgres", async () => { test("lines counted after a quick load are filled in on the same Stored Index, and show once the Mainline's are all counted", async () => { await fresh(); const quick = await loadExport(pool, repo, writeExport({ lines: false, lines_counted: 0, lines_mainline: false, lines_left: null }, [{ n: 1, at: 86_400, signature: 0, files: [0], added: null }, { n: 2, at: 2 * 86_400, signature: 0, files: [0, 1], added: null }])); + await makeLive(db, repo, quick.si); expect(await liveIndex(db, repo)).toMatchObject({ id: quick.si, lines: false, linesLeft: null }); const partly = await loadExport(pool, repo, writeExport({ full: false, lines: false, lines_counted: 1, lines_mainline: false, lines_left: 1, total: 2 }, [], { lines: [{ n: 2, added: [7, 8] }] })); expect(partly).toMatchObject({ si: quick.si, commits: 0, lines: 1 }); @@ -169,10 +172,14 @@ describe.skipIf(!url)("loading an export into Postgres", async () => { expect(await db.select().from(storedIndexes).where(eq(storedIndexes.repoId, repo))).toHaveLength(1); }); - test("a full export from another lineage replaces the old Stored Index and its rows", async () => { + test("a full export from another lineage replaces the old Stored Index and its rows once published, not before", async () => { const before = await liveIndex(db, repo); + await db.update(storedIndexes).set({ pack: "packs/old.pack" }).where(eq(storedIndexes.id, before?.id ?? -1)); const loaded = await loadExport(pool, repo, writeExport({ lineage: "8" }, [{ n: 5, at: 86_400, signature: 0, files: [0], added: [1] }])); expect(loaded.si).not.toBe(before?.id); + expect((await liveIndex(db, repo))?.id).toBe(before?.id); + expect(await db.transaction((tx) => makeLive(tx, repo, loaded.si))).toEqual([{ id: before?.id, pack: "packs/old.pack" }]); + expect((await liveIndex(db, repo))?.id).toBe(loaded.si); expect(await db.select().from(storedIndexes).where(eq(storedIndexes.repoId, repo))).toHaveLength(1); expect(await db.select().from(indexCommits).where(and(eq(indexCommits.si, before?.id ?? -1)))).toHaveLength(0); expect(await db.select().from(indexCommitLines).where(eq(indexCommitLines.si, before?.id ?? -1))).toHaveLength(0); diff --git a/packages/server/src/stored-index.ts b/packages/server/src/stored-index.ts index d3a779b..a8865f6 100644 --- a/packages/server/src/stored-index.ts +++ b/packages/server/src/stored-index.ts @@ -2,7 +2,7 @@ import { createReadStream, existsSync } from "node:fs"; import { readFile } from "node:fs/promises"; import { join } from "node:path"; import { pipeline } from "node:stream/promises"; -import { count, eq, sql, type SQL } from "drizzle-orm"; +import { and, count, eq, ne, sql, type SQL } from "drizzle-orm"; import { drizzle } from "drizzle-orm/node-postgres"; import pg from "pg"; import { from as copyFrom } from "pg-copy-streams"; @@ -79,7 +79,7 @@ export function appendable(live: LiveIndex | null): live is LiveIndex { return live !== null && live.kept && live.frontier.length > 0; } -/** Loads what `commitscape export` wrote into Postgres in one transaction, as a new Stored Index, or appended to the live one with its Mainline brought up to date and the Lines Changed counted since filled in. Its lines show once the Mainline's are all counted; how many commits still wait is kept beside. */ +/** Loads what `commitscape export` wrote into Postgres in one transaction, as a new Stored Index that is not live until `makeLive` publishes it, or appended to the live one with its Mainline brought up to date and the Lines Changed counted since filled in. Its lines show once the Mainline's are all counted; how many commits still wait is kept beside. */ export async function loadExport(pool: pg.Pool, repoId: string, dir: string): Promise { const started = Date.now(); const manifest = await readManifest(dir); @@ -108,7 +108,7 @@ export async function loadExport(pool: pg.Pool, repoId: string, dir: string): Pr lines: manifest.lines_mainline, linesLeft: manifest.lines_left, commits, - state: "live", + state: manifest.full ? "ready" : "live", loadedAt: sql`greatest(${now()}, coalesce(${storedIndexes.loadedAt}, 0) + 1)`, anchor: manifest.anchor, options: { max_changeset_size: manifest.max_changeset_size, coupling_support: manifest.coupling_support, ownership_min_commits: manifest.ownership_min_commits }, @@ -116,8 +116,6 @@ export async function loadExport(pool: pg.Pool, repoId: string, dir: string): Pr mark: manifest.mark, }) .where(eq(storedIndexes.id, si)); - await db.update(repositories).set({ indexId: si }).where(eq(repositories.id, repoId)); - if (manifest.full) await db.execute(sql`DELETE FROM stored_indexes WHERE repo_id = ${repoId} AND id <> ${si}`); await client.query("SELECT pg_notify($1, $2)", [LOADED, String(si)]); await client.query("COMMIT"); if (manifest.full) await client.query("ANALYZE index_commits").catch(() => undefined); @@ -130,6 +128,20 @@ export async function loadExport(pool: pg.Pool, repoId: string, dir: string): Pr } } +type Tx = Parameters[0]>[0]; + +/** Makes a loaded Stored Index the repository's live one, inside the transaction that publishes its pack: points the repository at it and deletes the repository's other Stored Indexes with their rows. Returns what those were and the packs they had, for their R2 objects to be deleted once the transaction has committed. */ +export async function makeLive(tx: Db | Tx, repoId: string, si: number): Promise<{ id: number; pack: string | null }[]> { + const others = await tx + .select({ id: storedIndexes.id, pack: storedIndexes.pack }) + .from(storedIndexes) + .where(and(eq(storedIndexes.repoId, repoId), ne(storedIndexes.id, si))); + await tx.update(storedIndexes).set({ state: "live" }).where(eq(storedIndexes.id, si)); + await tx.update(repositories).set({ indexId: si }).where(eq(repositories.id, repoId)); + if (others.length > 0) await tx.delete(storedIndexes).where(and(eq(storedIndexes.repoId, repoId), ne(storedIndexes.id, si))); + return others; +} + async function target(db: Db, repoId: string, manifest: ExportManifest): Promise { if (!manifest.full) { const live = await liveIndex(db, repoId); From 7ea5462b63e9f4985dc2da9d654a57a4623b234f Mon Sep 17 00:00:00 2001 From: Dev Talan <84081651+devchaudhary24k@users.noreply.github.com> Date: Tue, 27 Oct 2026 19:33:00 +0530 Subject: [PATCH 68/82] fix: the Site never makes an Atlas When the Builder's Atlas failed, the Site made it itself from rows the engine service read from the pack: about 1.16 GB on the Site and 450 MB in the engine service, on the server that serves pages. A Build whose Atlas fails now publishes with the Atlas pending and queues an Atlas-only job (`atlases`), which fetches the pack from R2 and runs `commitscape atlas` under ENGINE_MEMORY_MB like a Build; the next full Build makes its own anyway. The Site only sends stored Atlases: for a pack without one, such as one published before this release, the Universe says the history is read at the next Build and the Site queues the same job, once per pack. The engine service's /v1/universe/rows, which nothing else needs, is gone, and its questions are taken out of the goldens with every other answer left as it was. Tests: a failed Atlas is queued with its Stored Index and pack; the job makes the Atlas of the live pack once and leaves alone a pack no longer live or a quick one; the Site sends a stored Atlas without asking the engine service, and for a pack without one answers 404 and queues the job once. --- DEPLOY.md | 8 +- apps/builder/src/job.test.ts | 9 +- apps/builder/src/job.ts | 9 +- apps/builder/src/main.ts | 13 +- apps/builder/src/universe.test.ts | 38 +++++- apps/builder/src/universe.ts | 37 +++++- apps/engine/src/routes.rs | 25 ---- apps/engine/tests/engine.rs | 67 ----------- apps/engine/tests/golden.rs | 1 - apps/engine/tests/golden/bulk.json.gz | Bin 35103 -> 34554 bytes apps/engine/tests/golden/conflict.json.gz | Bin 12276 -> 12072 bytes apps/engine/tests/golden/coupling.json.gz | Bin 16167 -> 15905 bytes .../golden/crafted-without-lines.json.gz | Bin 118739 -> 118669 bytes apps/engine/tests/golden/crafted.json.gz | Bin 119394 -> 119334 bytes apps/engine/tests/golden/linear.json.gz | Bin 11032 -> 10823 bytes .../lines-with-no-time-to-count.json.gz | Bin 40143 -> 39436 bytes .../tests/golden/lines-without-lines.json.gz | Bin 40138 -> 39434 bytes apps/engine/tests/golden/lines.json.gz | Bin 40208 -> 39506 bytes .../tests/golden/merges-with-tags.json.gz | Bin 12885 -> 12648 bytes apps/engine/tests/golden/merges.json.gz | Bin 12605 -> 12383 bytes apps/engine/tests/golden/ownership.json.gz | Bin 21053 -> 20746 bytes apps/engine/tests/golden/renames.json.gz | Bin 10511 -> 10339 bytes apps/engine/tests/golden/rhythm.json.gz | Bin 13361 -> 13148 bytes apps/engine/tests/golden/survival.json.gz | Bin 21666 -> 21302 bytes apps/site/src/server/answers.test.ts | 5 +- apps/site/src/server/engine-service.test.ts | 2 - apps/site/src/server/engine-service.ts | 3 - apps/site/src/server/universe.test.ts | 101 ++++++---------- apps/site/src/server/universe.ts | 112 +++++++----------- apps/site/src/server/warm.ts | 2 - crates/commitscape-report/src/universe.rs | 30 ----- ...n-place-and-standard-screens-are-stored.md | 4 +- docs/working.md | 23 ++-- packages/server/src/queue.ts | 9 +- 34 files changed, 206 insertions(+), 292 deletions(-) diff --git a/DEPLOY.md b/DEPLOY.md index 9108d3b..de2220d 100644 --- a/DEPLOY.md +++ b/DEPLOY.md @@ -82,11 +82,9 @@ venus, the Site, the engine service and Postgres: | Postgres | its shared buffers (128 MB unless set) and about 10 MB a connection in use | its settings and the pools | | Together | about 1.7 GB, plus the page cache for unpacked packs (linux: 275 MB) and Postgres's files | | -Two paths kept for this release only take more: the Site makes an Atlas -itself for a pack the Builder made none for (linux: 1.16 GB for a few -seconds), from the engine service's rows (linux: about 450 MB). Once -`node builder.mjs rebuild` has rebuilt every repository, every pack has -its Atlas and neither path runs; both go in the next release. +The Site never makes an Atlas and the engine service no longer answers +the rows one was made from: a pack without an Atlas has one made by the +Builder, under `ENGINE_MEMORY_MB`, on the `atlases` queue. ## 1. The R2 bucket diff --git a/apps/builder/src/job.test.ts b/apps/builder/src/job.test.ts index 70096c1..ad6a057 100644 --- a/apps/builder/src/job.test.ts +++ b/apps/builder/src/job.test.ts @@ -7,7 +7,7 @@ import { eq } from "drizzle-orm"; import { drizzle } from "drizzle-orm/pglite"; import { migrate } from "drizzle-orm/pglite/migrator"; import { expect, test } from "vitest"; -import { atlasKey, BUILD_FORMAT, lendToken, memoryStorage, now, PRIORITY, readManifest, schema, settleRepository, type BuildJob, type Db, type Loaded, type Queue, type SurvivalJob } from "@commitscape/server"; +import { atlasKey, BUILD_FORMAT, lendToken, memoryStorage, now, PRIORITY, readManifest, schema, settleRepository, type AtlasJob, type BuildJob, type Db, type Loaded, type Queue, type SurvivalJob } from "@commitscape/server"; import type { Config } from "./config"; import { cacheDir, inUse, sweep } from "./disk"; import { fakePerson, flagOf, writeAtlasMade, writeBuilt, type FakeBuild } from "./fake"; @@ -177,16 +177,19 @@ test("a Build makes its pack's Atlas in a process of its own, under the engine's expect(Object.keys(ctx.captured.at(-1)?.[2] ?? {})).toContain("seconds_atlas_full"); }); -test("a Build whose Atlas fails is still published, and the Site makes the Atlas", async () => { +test("a Build whose Atlas fails is still published, and its Atlas is queued to be made later", async () => { const db = await database(); const base = tools(); - const ctx = await context(db, { run: async (cmd, args) => (args[0] === "atlas" ? { code: 1, stderr: "killed", timedOut: false } : base(cmd, args)) }); + const queued: AtlasJob[] = []; + const ctx = await context(db, { run: async (cmd, args) => (args[0] === "atlas" ? { code: 1, stderr: "killed", timedOut: false } : base(cmd, args)), queueAtlas: async (job) => void queued.push(job) }); ctx.cfg = { ...ctx.cfg, atlas: { quality: 5 } }; await db.insert(repositories).values({ id: "acme/rocket", owner: "acme", name: "rocket", sizeKb: 10, reportKey: "reports/gh/acme/rocket/old", reportLines: true }); await db.insert(builds).values({ id: "b1", repoId: "acme/rocket", state: "queued", requestedAt: 1 }); await runJob("b1", ctx); expect(await db.select().from(builds)).toMatchObject([{ state: "done" }]); expect([...ctx.storage.objects.keys()].filter((k) => k.startsWith("atlas/"))).toEqual([]); + const [si] = await db.select().from(storedIndexes); + expect(queued).toEqual([{ repoId: "acme/rocket", si: si?.id, pack: si?.pack }]); }); test("a repository with no Report gets the quick Stored Index without lines while its lines are counted, then the same one with them", async () => { diff --git a/apps/builder/src/job.ts b/apps/builder/src/job.ts index b03463d..86743c8 100644 --- a/apps/builder/src/job.ts +++ b/apps/builder/src/job.ts @@ -16,6 +16,7 @@ import { packKey, screensKey, sha256, + type AtlasJob, type BuildJob, type Db, type GitHubApp, @@ -63,6 +64,7 @@ export type JobContext = { saveState?: (repoId: string, root: string) => Promise; prefetch?: Deps["prefetch"]; queueBuild?: (job: BuildJob & { attempt: number }, priority: number, startAfter?: number) => Promise; + queueAtlas?: (job: AtlasJob) => Promise; }; export type JobAsked = Pick; @@ -299,10 +301,14 @@ async function publishBuild(ctx: JobContext, phases: Phases, buildId: string, ma const body = await readFile(made.pack); await phases.time(`upload ${made.phase}`, "http.client", () => storage.put(pack, body, { type: "application/octet-stream" })); const atlas = ctx.cfg.atlas; + let atlasPending = false; if (atlas && made.phase === "full") { await phases .time(`atlas ${made.phase}`, "atlas", () => storeAtlas(ctx.run, storage, { bin: ctx.cfg.bin, quality: atlas.quality, si, pack, file: made.pack, dir: made.dir, timeoutMs: timeLimitOf(ctx.cfg) * 1000, nice: ctx.cfg.nice, commits: made.manifest.total })) - .catch((e: unknown) => ctx.log(`atlas of ${named.id}: ${(e as Error).message}, so the Site makes it`)); + .catch((e: unknown) => { + atlasPending = true; + ctx.log(`atlas of ${named.id}: ${(e as Error).message}, so it is made later`); + }); } const lines = made.phase === "full" && made.manifest.lines_mainline; const same = made.phase === "full" && named.reportLines === true && !made.loaded.full && made.before?.id === si && made.before.head === made.manifest.head; @@ -370,6 +376,7 @@ async function publishBuild(ctx: JobContext, phases: Phases, buildId: string, ma await storage.delete([target.replaced]).catch(() => undefined); for (const beside of besidePack(si, target.replaced)) await storage.deletePrefix(beside).catch(() => undefined); } + if (atlasPending) await ctx.queueAtlas?.({ repoId: target.current.id, si, pack }).catch((e: unknown) => ctx.log(`atlas of ${target.current.id} not queued: ${(e as Error).message}`)); for (const old of target.dropped) { if (old.pack) await storage.delete([old.pack, screensKey(old.pack)]).catch(() => undefined); await storage.deletePrefix(`atlas/${old.id}/`).catch(() => undefined); diff --git a/apps/builder/src/main.ts b/apps/builder/src/main.ts index f491403..4183a58 100644 --- a/apps/builder/src/main.ts +++ b/apps/builder/src/main.ts @@ -10,6 +10,7 @@ import { holdBuilderLock, PRIORITY, PULLS_QUEUE, + ATLAS_QUEUE, reapBuilds, runMigrations, s3Storage, @@ -22,6 +23,7 @@ import { type BuildJob, type Db, type PullsJob, + type AtlasJob, type SurvivalJob, } from "@commitscape/server"; import { configOf, loadEnv, type Config } from "./config"; @@ -36,6 +38,7 @@ import { budgetOf, runSurvival } from "./survival"; import { queueRebuilds } from "./rebuild"; import { forgetStates, saveState as saveRepoState, stateKeys } from "./state"; import { headsOf, queueSeeds, seedConfig, seedList } from "./seeds"; +import { atlasJob } from "./universe"; const command = process.argv[2] ?? "work"; @@ -133,7 +136,10 @@ async function work() { const tidyTimed = timed("builder-tidy", TIDY_MINUTES, tidy); const tier = cfg.state ? { storage, keys: stateKeys(cfg.state.secret), db, log } : null; const saveState = tier ? (repoId: string, root: string) => saveRepoState(tier, repoId, root) : undefined; - const ctx = { db, pool, storage, cfg, app, run: engine, github, tokenSecret: env.TOKEN_SECRET, log, telemetry, queuePulls, queueCounts, queueBuild, ...(saveState ? { saveState } : {}) }; + const queueAtlas = async (job: AtlasJob) => { + await boss.send(ATLAS_QUEUE, job, { singletonKey: job.pack }); + }; + const ctx = { db, pool, storage, cfg, app, run: engine, github, tokenSecret: env.TOKEN_SECRET, log, telemetry, queuePulls, queueCounts, queueBuild, queueAtlas, ...(saveState ? { saveState } : {}) }; const building = (queue: string, job: { id: string; data: BuildJob }) => inQueueSpan(job, queue, () => runJob(job.data.buildId, ctx, job.data.attempt ?? 1, { ...(job.data.userId ? { userId: job.data.userId } : {}), ...(job.data.more ? { more: job.data.more } : {}) })); await reapTimed(); @@ -162,6 +168,11 @@ async function work() { await site.ready(); await runSurvival(job.data, { ...ctx, budget: env.SURVIVING_BUDGET_SECONDS }); }); + await boss.work(ATLAS_QUEUE, { localConcurrency: 1, batchSize: 1 }, async ([job]) => { + if (!job) return; + const done = await atlasJob(job.data, ctx); + log(`atlas of ${job.data.repoId} (${job.data.pack}): ${done}`); + }); await boss.work(PULLS_QUEUE, { localConcurrency: 1, batchSize: 1 }, async ([job]) => { if (!job) return; await site.ready(); diff --git a/apps/builder/src/universe.test.ts b/apps/builder/src/universe.test.ts index 3c7d16f..2ee8107 100644 --- a/apps/builder/src/universe.test.ts +++ b/apps/builder/src/universe.test.ts @@ -7,9 +7,13 @@ import { fileURLToPath } from "node:url"; import { brotliDecompressSync } from "node:zlib"; import { describe, expect, test } from "vitest"; import { atlasOf, encodeAtlas, encodeNames, type AtlasCommitRow, type AtlasFileRow, type AtlasPersonRow, type AtlasRows } from "@commitscape/data/universe"; -import { atlasKey, memoryStorage } from "@commitscape/server"; +import { PGlite } from "@electric-sql/pglite"; +import { drizzle } from "drizzle-orm/pglite"; +import { migrate } from "drizzle-orm/pglite/migrator"; +import { atlasKey, memoryStorage, schema, type Db } from "@commitscape/server"; import { writeAtlasMade } from "./fake"; -import { storeAtlas } from "./universe"; +import type { Config } from "./config"; +import { atlasJob, storeAtlas } from "./universe"; const root = fileURLToPath(new URL("../../..", import.meta.url)); const bin = join(root, "target/release/commitscape"); @@ -55,6 +59,36 @@ test("an Atlas that fails says why and stores nothing", async () => { expect(storage.objects.size).toBe(0); }); +const migrations = fileURLToPath(new URL("../../../packages/server/drizzle", import.meta.url)); + +test("an Atlas job makes the Atlas of the repository's live pack from R2, once, and leaves alone a pack that is not live or a quick one", async () => { + const db = drizzle(new PGlite(), { schema }) as unknown as Db; + await migrate(db as never, { migrationsFolder: migrations }); + const work = await mkdtemp(join(tmpdir(), "atlas-job-")); + const cfg = { bin: "commitscape", timeLimit: 60, nice: 10, work, atlas: { quality: 5 } } as Config; + const storage = memoryStorage(); + const pack = "packs/acme/rocket/1/a-b1-lines.pack"; + await db.insert(schema.repositories).values({ id: "acme/rocket", owner: "acme", name: "rocket" }); + const [si] = await db.insert(schema.storedIndexes).values({ repoId: "acme/rocket", lineage: "1", kept: true, state: "live", lines: true, builtAt: 1, pack, commits: 3 }).returning({ id: schema.storedIndexes.id }); + await db.update(schema.repositories).set({ indexId: si?.id ?? null }); + await storage.put(pack, "the pack", { type: "application/octet-stream" }); + const asked: string[][] = []; + const run = async (cmd: string, args: string[], _env: NodeJS.ProcessEnv, _t: number, opts?: { memoryMb?: number }) => { + asked.push([cmd, args[0] ?? "", String(opts?.memoryMb ?? 0)]); + await writeAtlasMade(args); + return { code: 0, stderr: "", timedOut: false }; + }; + const job = { repoId: "acme/rocket", si: si?.id ?? 0, pack }; + expect(await atlasJob(job, { db, storage, run, cfg })).toBe("made"); + expect(storage.objects.has(atlasKey(job.si, pack, "map"))).toBe(true); + expect(asked).toEqual([["commitscape", "atlas", expect.stringMatching(/^[1-9]/) as unknown as string]]); + expect(await atlasJob(job, { db, storage, run, cfg })).toBe("kept"); + expect(await atlasJob({ ...job, pack: "packs/acme/rocket/1/old-b0-lines.pack" }, { db, storage, run, cfg })).toBe("gone"); + expect(await atlasJob({ ...job, pack: "packs/acme/rocket/1/a-b2-quick.pack" }, { db, storage, run, cfg })).toBe("gone"); + expect(asked).toHaveLength(1); + expect(readdirSync(join(work, "jobs"))).toEqual([]); +}); + const why = !existsSync(bin) ? "build the binary first: cargo build --release -p commitscape" : !existsSync(join(fixtures, "crafted/.git")) ? "build the fixtures first: cargo xtask fixtures --force" : null; const repos = why ? [] : readdirSync(fixtures).filter((name) => name !== "empty" && existsSync(join(fixtures, name, ".git"))); diff --git a/apps/builder/src/universe.ts b/apps/builder/src/universe.ts index 6507756..ef2633c 100644 --- a/apps/builder/src/universe.ts +++ b/apps/builder/src/universe.ts @@ -1,9 +1,14 @@ -import { readFile } from "node:fs/promises"; +import { mkdir, readFile, rm, writeFile } from "node:fs/promises"; import { join } from "node:path"; -import { atlasKey, type Storage } from "@commitscape/server"; +import { and, eq } from "drizzle-orm"; +import { atlasKey, isQuickPack, randomId, schema, type AtlasJob, type Db, type Storage } from "@commitscape/server"; import { peakMb } from "./admission"; +import type { Config } from "./config"; +import { holding, scratchDir } from "./disk"; import type { Runner } from "./run"; +const { repositories, storedIndexes } = schema; + export const ATLAS_QUALITY = 5; /** Makes the Universe's Atlas of a Build's pack with `commitscape atlas`, in a process of its own let in by the memory it takes, and stores it where the Site reads it first, so the Site never makes it. Throws when it could not be made; the Site then makes it as before. */ @@ -16,3 +21,31 @@ export async function storeAtlas(run: Runner, storage: Storage, made: { bin: str await storage.put(atlasKey(made.si, made.pack, part), await readFile(join(out, `${part}.bin.br`)), { type: "application/octet-stream", encoding: "br" }); } } + +/** Makes the Atlas of a published pack the Builder could not make while publishing it, or one a Builder of an earlier release never made: fetches the pack from R2 and makes the Atlas as a Build does, under the memory gate. Does nothing when the pack is no longer the repository's, is a quick one, or has its Atlas already. */ +export async function atlasJob(job: AtlasJob, ctx: { db: Db; storage: Storage; run: Runner; cfg: Config }): Promise<"made" | "gone" | "kept"> { + if (isQuickPack(job.pack)) return "gone"; + const [live] = await ctx.db + .select({ pack: storedIndexes.pack, commits: storedIndexes.commits }) + .from(repositories) + .innerJoin(storedIndexes, eq(storedIndexes.id, repositories.indexId)) + .where(and(eq(repositories.id, job.repoId), eq(storedIndexes.id, job.si))); + if (live?.pack !== job.pack) return "gone"; + const parts = await Promise.all((["map", "names"] as const).map((part) => ctx.storage.get(atlasKey(job.si, job.pack, part)).catch(() => null))); + if (parts.every(Boolean)) return "kept"; + const pack = await ctx.storage.get(job.pack); + if (!pack) return "gone"; + const key = `atlas-${randomId()}`; + const dir = scratchDir(ctx.cfg, key); + holding.add(key); + try { + await mkdir(dir, { recursive: true }); + const file = join(dir, "pack.bin"); + await writeFile(file, pack.body); + await storeAtlas(ctx.run, ctx.storage, { bin: ctx.cfg.bin, quality: ctx.cfg.atlas?.quality ?? ATLAS_QUALITY, si: job.si, pack: job.pack, file, dir, timeoutMs: ctx.cfg.timeLimit * 1000, nice: ctx.cfg.nice, commits: live.commits }); + return "made"; + } finally { + await rm(dir, { recursive: true, force: true }); + holding.delete(key); + } +} diff --git a/apps/engine/src/routes.rs b/apps/engine/src/routes.rs index 0ae2278..5445226 100644 --- a/apps/engine/src/routes.rs +++ b/apps/engine/src/routes.rs @@ -22,7 +22,6 @@ use crate::packs::{PackFailure, Packs}; use crate::params::{self, Params}; use crate::questions::{self, Question}; use crate::work::{Work, WorkError}; -use commitscape_report::universe; pub const ANSWER_BYTES: u64 = 128 * 1024 * 1024; @@ -245,11 +244,6 @@ struct AnswerBody { params: Params, } -#[derive(Deserialize)] -struct PackBody { - pack: String, -} - #[derive(Deserialize, Serialize)] struct Asked { pack: String, @@ -285,24 +279,6 @@ async fn answer( made.map(json_bytes).ok_or(Failure::NoAnswer) } -async fn universe_rows( - State(engine): State>, - body: Result, JsonRejection>, -) -> Result { - let Json(body) = body?; - let key = format!("{}\n/v1/universe/rows", body.pack); - if let Some(hit) = engine.kept(&key) { - return Ok(json_bytes(hit)); - } - let held = engine.pack(&body.pack).await?; - let made = engine - .made(key, held, |held| { - serde_json::to_vec(&universe::rows(&held.pack)).ok() - }) - .await?; - made.map(json_bytes).ok_or(Failure::NoAnswer) -} - async fn warm( State(engine): State>, body: Result, JsonRejection>, @@ -358,7 +334,6 @@ async fn authorized(State(engine): State>, req: Request, next: Next) pub fn router(engine: Arc) -> Router { let v1 = Router::new() .route("/v1/answer", post(answer)) - .route("/v1/universe/rows", post(universe_rows)) .route("/v1/warm", post(warm)) .route(questions::Tree::PATH, post(asked::)) .route(questions::Log::PATH, post(asked::)) diff --git a/apps/engine/tests/engine.rs b/apps/engine/tests/engine.rs index aef865e..8c09c36 100644 --- a/apps/engine/tests/engine.rs +++ b/apps/engine/tests/engine.rs @@ -649,73 +649,6 @@ async fn commits_are_searched_by_their_words_in_the_engine_as_the_commit_list_se assert_eq!(under["shas"], json!([newest_first[1]])); } -#[tokio::test] -async fn the_universe_rows_are_what_the_atlas_is_made_from() { - let s = setup().await; - let (status, rows) = call( - &s.app, - "/v1/universe/rows", - Some(TOKEN), - Some(json!({ "pack": ROCKET })), - ) - .await; - assert_eq!(status, StatusCode::OK); - assert_eq!(rows["mainline"], true); - assert_eq!(rows["newest"], DAY0 + 2 * DAY + 60); - let commits = rows["commits"].as_array().unwrap(); - assert_eq!(commits.len(), 3); - assert_eq!(commits[0]["time"], DAY0 + 60); - assert_eq!(commits[0]["firstParent"], true); - assert_eq!(commits[0]["files"].as_array().map(Vec::len), Some(2)); - let files = rows["files"].as_array().unwrap(); - assert_eq!(files.len(), 3); - assert!(files - .iter() - .any(|f| f["path"] == "old.txt" && f["alive"] == false && f["lines"].is_null())); - assert!(files - .iter() - .any(|f| f["path"] == "src/a.rs" && f["language"] == "Rust" && f["lines"] == 2)); - let people = rows["people"].as_array().unwrap(); - assert_eq!(people.len(), 2); - assert!(people.iter().any(|p| p["login"] == "bob")); - assert_eq!(rows["releases"], json!([["v1.0.0", DAY0 + DAY + 60]])); -} - -#[test] -fn the_universe_rows_a_build_writes_are_the_rows_the_engine_answers_one_per_line() { - let pack = pack("acme/rocket"); - let mut bytes = Vec::new(); - commitscape_report::universe::write_rows(&pack, &mut bytes).unwrap(); - let lines: Vec = String::from_utf8(bytes) - .unwrap() - .lines() - .map(|l| serde_json::from_str(l).unwrap()) - .collect(); - let rows = serde_json::to_value(commitscape_report::universe::rows(&pack)).unwrap(); - let head = &lines[0]; - assert_eq!(head["mainline"], rows["mainline"]); - assert_eq!(head["newest"], rows["newest"]); - assert_eq!(head["releases"], rows["releases"]); - let (commits, files, people) = ( - head["commits"].as_u64().unwrap() as usize, - head["files"].as_u64().unwrap() as usize, - head["people"].as_u64().unwrap() as usize, - ); - assert_eq!(lines.len(), 1 + commits + files + people); - assert_eq!( - Value::Array(lines[1..1 + commits].to_vec()), - rows["commits"] - ); - assert_eq!( - Value::Array(lines[1 + commits..1 + commits + files].to_vec()), - rows["files"] - ); - assert_eq!( - Value::Array(lines[1 + commits + files..].to_vec()), - rows["people"] - ); -} - #[tokio::test] async fn warming_works_out_the_answers_named() { let s = setup().await; diff --git a/apps/engine/tests/golden.rs b/apps/engine/tests/golden.rs index a182e68..f35005d 100644 --- a/apps/engine/tests/golden.rs +++ b/apps/engine/tests/golden.rs @@ -208,7 +208,6 @@ fn every_endpoint_has_goldens() { "/v1/git/path-history", "/v1/git/tree", "/v1/pulls/insight", - "/v1/universe/rows", ] ); } diff --git a/apps/engine/tests/golden/bulk.json.gz b/apps/engine/tests/golden/bulk.json.gz index 6cc22573d6502cf3144cf684c07e66a6abc699e8..3d756ecaf0243d31b02836f67d5c68e16ddb10cc 100644 GIT binary patch literal 34554 zcmeFZcT`i~);4NKrKwaSMMO~%L`vwrii!|S=pAXHN$*5NL`pzKigbuT2u(UtMFf=I zLX|EcHAFfjaCd^gbIv{Ie0QAl{_%}>j4R35By&D1H2 zL4PC7m&HFx2A1-cFT61SM(E7A^no-RFYV6!+C;2OAK%RM+7`ZdVz!{Z+!^n-YO{KO z$9}hUE!{wp)&W!J!_AI)i69cU)F3CN78C2Y=BKUqYj!;h!!Zb*wmKL>E0D2}Z7!^! zw|Os+s*l2|{eW49$j^$95k-n8ZpPRZKG5=zLBMk7{cBgeYB3Jp2j_CQy$u>iYL6O? zBpTB&^~z+1$q$;+WDM8Or^RSC@$$jCk(b3rkmQtt>^k zz}v}ItEtC#^(#{JESoTKE@)jSA!B?+Z{YKPU=@<88kzA zlPx2*#zH(5xW^KlTUl_WY85B}w?RDpMnuv0+V<4VS%wG>v(#p<`{ z4P6f}9Khe@SJE#iK1Vvya!sq#DQNE2RE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_)kkOVc!s;SyIrL^2MBjD_u(miV87GldY8cKfb zNBWfP5Zi*%v_y5@V`4E<*ECsZ2ytp@U=H>%Sv}j8A)Dj2p_~I>Qp+y2lD<#V@C?-! z7io6}2SUz4ah@U_d8DzALT7G_R)7NLJ{id}8tX)Oe8KI4j$8_}Jkmk77 za`ES$?aRyBYQ`pH2ORl{D>08`WHe;@N`FwcVScE|$CzaW6`zvrNidiLLw83<7^Drn zD>MjYCrAYhBo(0tMnR)=nz_VSou%6Co9ocs>L#(AQhrKkBV7!3rOskxvwkmj$%_dU z>^@X)Rsk&-nzUZ`-c&T&-Ekc4(|3>&TTnbf2VL77?GCDW$m|&j{IGaxGkbm%-c5(^ zXw+=P-<`co9G6UG>ENt#Ix*W|r+nd+g3AhfSI|tj$yL9#@2n!H6E7R=ngw4eSgx>N z0$2uD{oapD-ed0I{Lb+fzt~6IKTm>0j&OJpbQuQjNV&ej{to5 z#{f_uJ+qcRW4vc5D-)1Qlv^RQDPrr~;nPpw$_RhykB$#p86Q7ySTOFQV@vjjoSm1U z>Ry`5^hZSVnB|Xn^{n>kAFy+tE!c71=Tb4l#!hg)HSyMoy~h40tkO3@#>C}~e9Dg6g2vC)EBXh~ zvv3OkN^s@n6n@3QCC6nVL6Pt$c%3I*JN9q5!s&IA;Vqk!FOSLW0UF9bz&rBHHO_yB z?AHKBd*%bv+X@%vD!he{l^y;grd*|*4^C42E4)tf$_95TRekBm6S{ z8e%=%>dCje6ytYlm|TuIWU>=T59Wl*yZLM!T>*`A)hqdj{UluJd3y2mU5R&(dvq0kcOe*?VnGT(H^u+GM)RV#rrFzBWpK;Qs(9@-LtO diff --git a/apps/engine/tests/golden/conflict.json.gz b/apps/engine/tests/golden/conflict.json.gz index 297454dd55f349f52ec087afd658bca58b21f222..b0429f28dc68560c6cac44ac8f411ecf56c8f018 100644 GIT binary patch literal 12072 zcmeHtXHZjJ+pgsiR6taeUVK16dhbm|Kzi@JhF+wE&Lap20t!fnAku_{8VDs2q)RWM z1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;--b;y53B_E55^nq^b1`0%pgyd*o1RfNyaB6aH;kR6=r)1TVHkTBHyWffC_8!cY+r zky}bcPUsSYVN=K|nM?T6v8GYeCstNUaha$TB4%zwhyI=0R7!C#7KAFV$)>#HLT_4cwVE279OaxIbOIyqVM4P5*R?_|N|WrRTg1 diff --git a/apps/engine/tests/golden/crafted-without-lines.json.gz b/apps/engine/tests/golden/crafted-without-lines.json.gz index 45194ef9dbd0b22b8be3e0c0c1f1aa09c7f7dd87..08aa047298c5a368c85d23a96d7ce89459f829d4 100644 GIT binary patch literal 118669 zcmbTc1zeQf)(2{#0tS*&A|28l0@68yw6t`Cbc3KE9W(S0(%s#n)PR6=gGzUI-DmJU z=M3-rec!qF`upvN?b@;S+H38#*8cAy3A%p+@$c5iyAcl}D1>3W8huGy@G;X5zb(c4? zu+BCw_ft;yoG;(S2%fE9o`i3#YzS152=q5K6f!mSH=Pze#>3OGVk{K&fa?gJK`%tk zDYd31`@A9;?-MFxq+V9(c%?b+?OyKdka(VGT_|}SpGY*GZf!RSP7WWcl3X18$~rk1 zkki>*JuN~^TbCyY-MhRyyvKb*P%$ zsJUVKe8$9K*RApNT=7D`C@#KlO--%uMc!i7%!A?Y)XW=@MKV4 zf=zX@PUV`sYA@}q_osr5m{h%l+-iy&w8t-ZSD3I$?6Lp!@`71g741%spZ*qSQWf}a z*?|8pVZya+MdAC#nM)s@)M)VAgEcLB^9$~b{k%TC8ws9|=JaSubksj8S?q8sQgFcP zsq~}xmhY=S^!t3eqCU22Y!}*@^RJ9r7{;%9hxNAB1>t470*dl_KXC3dz z_9q21zFV&3;1TzRI503exAKD_jxTLH1-XQOE0Er{8}N~tH2PXThgrqKT`*eiR>`dr z0C5sxjGgBPV>-Rm6TnX#mhpWM5(-L~!^w)Pm>?j|5?vtGVeSH!z42z!os*|bw&ll9 z`mo}x8rzp&lY+b1Oe;A!1Y96?_>6BdfLR=0z8)SKDNB}k_|aYSEOJZPW|xGZkkWzWrV99GGe`$B^Nkspw?mq!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D9<;Ql1#;zL*%qYI9EmI}_15+IX)Pi5TRKA^kNSRrkZpnpLMYJ2O)vegp zt`J^sGp7!j=1xaE%jN@71eepZ-)nvC|$lEDfmAYX;%E&-`d=eHiPQ-xAF1 zm>-xH`k!EXk;VS&B0Y@p*%>bLLDIXHD@^%PCt*dxgjH07iYd24*2;9Nsd?tLoLl>z zR%`RK)(YiwX?IS9B~Dze{I|HX?@BnHLQlph-|I;8FI3r4Wy^ z-pae%W`n5yt7*KC?YFe#t>Z7=FL-fO{Qgb(MEKIAKW~uKiH32E@|?PT_5|SN36ATH zZ|LJ-Jyo+E>YfmYucsFibZKfgwEU%v_ut+tqU?U@j^` z*o5hQrLf8zwX)Uh#ttDAW1rMA1=Bnmyl?e`=MGHa6yu4&usq2Ee~2k-$hI_j+T>AtP%q#qF%t$F_T;v_uC`bz;v2>S_W zXptHQUpRH9kS@RLf!rxQo!X}-V#@RVqR|=A1djg#+1~HzW6_ZrHs`H=h~LR$lJ5O# zr>Z3uf zZrHT;vb)p65p)sw&)2!aOk?Lc9(@fs?B1J2=do{Nz)g7vH~j|#oYpufCWi&`WM1Kb ron3GM>l(+|Hp!ii5UO;De}tm_sg;GARTu4MO2Ga5z&}A2GW_;$SOAAK diff --git a/apps/engine/tests/golden/lines-without-lines.json.gz b/apps/engine/tests/golden/lines-without-lines.json.gz index 5c346156f93d4e984f1293f024029d1313643b36..38b21536b980c8a4fdb23ca5c3213415fc9127df 100644 GIT binary patch literal 39434 zcmeFa2UJttwy-TAA|jw5AfYL~fCWS#3P=fvh)PvKI*6eJL3(dNP*5SDBE5@%)BvGK z4Ml=9Y0{-Pk=_zQ3ja=c&pGcs_ulWn=O5p9|2xK~Sz~AJIpN<+9}_@ zWy3wC>%0@lodi@^7$G#Qd17Cl6uLp`N3urt!6lq$KWs>XI?33@iKwOFDY!2j+vhl+ zy+P_*i)uk_LAn$Xsc;2fPi)_A--@<&*UUoB-u4=Qi$L}-IC*Cf54-5oEo+0G7&nIy z6-l0QRV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=6<-8<$vPIB0zr)*PIdW}m=0u4rRJS? zj1exfw{|W#&s?i?4)ac5olfl-z=GWh8yQZXeZsFB`^M*FVWw-wv1pjP-B)(jT1frB z!qRQwt9fh+ofm)nu)nV(wwj}+0 z@UQ)En(_az|E+%nJEeW%SWH&RMp`}o4rk?O!MwTth@s|cm->ef2mA4xZFwNIWn`m2 zXis4``(SWNeWz+)-)~<3+5Re}abIyt{d}0qY7{;FP4X^FQ18jn9+%0nv_R^?ypH@- JMe@5WD~Y diff --git a/apps/engine/tests/golden/lines.json.gz b/apps/engine/tests/golden/lines.json.gz index 8966feb87dc1d5858c5ae26d4034865884a230f8..c25161905364ff1e704ad1d0c63ef371b28ef044 100644 GIT binary patch literal 39506 zcmeFZcT^PF+wUtmgMy&6gfRe$C<3j3|HN9=~ zg4XfX^%akn-DWE1rbak)>w5>%dVbamRL7^>@?DxAn8%BHkY%kaIy%jjmJTg@$`!}0 zR83V54EjFI6)>9RsIU0iN%4yGZ*yv{%#N%!w-c%Gc8X<{84+r05HplpTAHsa?jC4w zn=emTYQUe}FHvzTz^HUL_uQ9(rHRi|BiV)Z6~0chm3~cnV?M9vQ^viFjaF(q#3Of? z-3mSJpY8o|Ro;EhOM1S)vpP`MsBG%e_qHjPk81UClxtELleyaC;-_QGUw3^e*)6wh z6Q3(xT=j*Bi*x>Gav2UgKM zBd2rD-h)2Fx?#TTkYehth3Der0CUg5tK%O|G_hRA46%s^eBznDuY5UFGx}6f*&*44 z1pm%ZmW;10W|vDIONqxm47+u%8S`jsOy`Af+YgkvCv%0?jy-KVFT^&NWs*QwG1J&S z@+g~7&z+tjt@tR8YRJ&pC!4?_db9ioOI}xtnMaA&&-}r8Rl;=e7C6hotv~WLlC@L6 znmyz@Nmd@KqSG6-5zp`Vc*!R|^xNq>`TbT}yNlef8wTEeC@r)1#ju$X-`NHWyLWU3 zV>aSN9pOcI=jNze8PbPi9=(2VXz!9uU{7N#|Hks7v&GD@#B1tlO_AiyY5D<)3!%l# zTZtO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v5(l=K#lwPMAxi|)HN zP5b~1Z0P`9vvWIUCw1qzR1;E1Rk?OA4<>4XPDt*p{Y+$usyiSsCc?o~a~C)c;9HrD zSsEJdagmHMulQ`Iory*2+Vdvkh-dwCymjl|K4&O4y=THp%0~Cg(0|MYoh;mqM=s}e z9wj2p&atSbccgI_u5Ei#3l1Qw8m|S@%@RnfXHe6b_C5cx#3w79+Om*nss<#!RH#_?YwB7OdEE=23o)B+gu|UPs{5I!;=M=mm?$hGEq}7kK z{Tn~7U02;J4)XgR>pS8GY5w72p)Ti8=FXNz?>Lftj7^&CGK_39FqrA5f#3?GXM%KH z(yY(mcknm6Ivzy-h?=i;8_}H!DN1ccU~W5$DELQy%gORM6HmAvjTf`Z7N>IY&w+Wt zK{^1L`o5ZCwjouy$d))R`kZ9Ox0E-;6t>3ulu z7-4_=4V8V1sx9k`hQMo#GPzDqS;&(RX61 zLEoHT_wvkqI~sG>x6;?Di`8#3Alcxf(7@fr)Mo9|4Nq55kFsF7cm=e8cOlNH5RXF6 zc9s#OFQ=9tz4^oDVCuwxuf(tBrAs!hj73kbp0j(I`-=mtCJ+gfN_aINQ) z^9kdVGd8&XvGbwx{r4o#B`17N>g}8FwCU#JG#Mt^1}(3+qx{cizur_~JjpK&|N6~9 zTdq@APn6)A87{wYdLe$;PP}L*zsg(RUq{;y=AK%$;BV{SIZNQ$?5&-CuYT5-{1Eu=`cGYufulcaD{wUW78g;wnZahu zYoUzRFrM2ie!C~VeQQ4NZniz0dnr9e;3r+|3CtmcEHe$Ss4O#Sh709B%QJ5H{xWnI zVzyr>&G&|XdE{v99~4xVm5rd-E8oZ7*(*0WTu1^-SisIl1MJ&CV&*JR=&FJxT~R+6 XV!So5I&hS7MR|GW0q~aM?>GJf&-SGY diff --git a/apps/engine/tests/golden/merges.json.gz b/apps/engine/tests/golden/merges.json.gz index 7c95e7abca7ee182b64dfa907c78137c5d15449b..1bbbdfda5e023cabf03a440cbdc6be3ce07f994e 100644 GIT binary patch literal 12383 zc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S6###;zJL8%)TAIA3A9IQ!Yvgt@$4VZqEbs zpr1Egz*5YcN~|?N$D8Wirsas9Z%>@SmV0|{POFAqjly7 Gzx+2Af+#Wo diff --git a/apps/engine/tests/golden/ownership.json.gz b/apps/engine/tests/golden/ownership.json.gz index 171f20d8addb69fa86ade641aea14069e2334df3..2717c88db434e9ff3b1ec4969beb2074a14e9ddc 100644 GIT binary patch literal 20746 zcmeFYcTkhtw>N%{9ubwI(m_D!9h6QeBGP*=p-2q@0@6YU1qA8Rd+)u3B3(d0dNV+% zLZpV!LkocyJ?DGxeSb5*-`ttseCK`txLGs%*^_5KYp=bYmAyV|Wo`Nh{6BtuZe63> zfv(8UX+=I}oq2(-Q?$=Ow|*cz3>(U-Y>F(Q!@Wzfv9Z#z36)BQ$8nn~AkbN-lSYEo zgjmX5jkq;Xd%IqzQarEZAM~S7_ff+30{+AFHl^;k)IktI+8N^f*p^Oa*(?Y|hT|6$49PK#MjLV3{& zmPK#SXmL()@)hWbnb;0CCJs@NCdeJF4puB!ayRq{f(%;HA7|=v5EU0ZZ+H2b8@a`u zp@vxB0k&isDuPAyt5hCHPEP`iU8^$2wkovTC0)HIYqB779f?O&i2}4J&Z)qdhGQal zKIe=pz)pvDjK4syDA`G&(yir70)#V}pN%bQy*JUYx!=ex)L!k}_1R-6S?T9=Zj}M< z$HPfQKgo$eoR-tv5~C$~0_o56Lojsq1GH7om5X8MDhAzReiqh|K}1L;P&89fwnww$ zMa8Ls@~%dEvzusf`fK=#F~5bik(bR^CD0L}VWW%Sjd)f<##FjK70l4jd66vf(v~UK#@%ab=YWWqz!-M%(p}91La{mRUfl>pRAlK z6&vLmUPYintBjy3fgNAV(N41-eAca87eqEIBhfn&LdwEYN(zS}(Qn-g-qP9Mfx*hE z4Q-#mlRXQ^kLe@D)%Z?gEf}K{CCXn-1t{pt-`}X!;{&8sw#fGF%C{K3$?(6;e$n; zY(8 zLi>i;)3lsp{U?Jp+}ll46SyccAn|d9{9-q=Hs^zN!IJS+-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MG$PVGnMn?$A(u)|5|gF{kP)nfB#8};4MY!KE@9E*mt=+;9*0& z{9`7!R+-(So3}NaI?mb6?%r9c%(gf;F5J2G+WR`38_xX^oO^3_kGbW_Y*V-Bxy|m; zS+C4C4A(lh**)gm#ZEtF$LyjX^xHBP(V}I3zm8N_+xy%qw6UGrmU9ud_gIyvY-cVt z4%)t0&t)3<(^}uP0di{ZJ8BvrecJ%(^#&;a)ctV(z4ryt+xYQXPdXnXY`fA%K4P1; z7hfMhSZC_R(~s8X(vQ~K(vQ~8(hKkP8nyS0Ph07Hv3^5KhyVTi-^TBMGWIwBE1&QD z`|H;~>7RdnHUG4@@waLJMZYrhPivESZawkV%cV?5CtT;r$w4V_9bKDxX=nAIU7htU z?JAP~(5&z@DbEhYo?14hXHPagi>$`%8K#COm>TY}vZkhFxgWRnLZL>X#*{dw#4#m~ zDRDHsAE4pIj5ub*F(ZyT=M#4JKj*|WTz!nIf8hCeWc;N~$0Oyj6maUA9aDFhy2E@t zDp3?_6zUIBs4)P=02H4rq7FwLemxyClxLJ@lxOUbz#a+gk-#1aw7Hks=3;vUwnt!l z1gabCjKIXyUN2YiHM}Zs`)r#NK64Fo?TLr+766=F#ef-{DYPn8#}+T^ZRr=zcEro+lRIfZ6De`w0&s%Fq?zs56vH%KQw=6{?Pnk#uXni z;Ugw|#H8#aCQLS=*rV8^*njeIHcCE9K1x1@82AM2IzIu!GAg_cpXZ=@!xyeSE+D+X V)AGJNe0lxy{{w!3X4fXX4FKKNxHJF& diff --git a/apps/engine/tests/golden/renames.json.gz b/apps/engine/tests/golden/renames.json.gz index 8b1ba0e3a0f1662f1042352d69274de39869f27b..3d38f14bbf9dc48b381ede765fd5c5dc5f277eb8 100644 GIT binary patch literal 10339 zcmeI1WmH?=*XOHLD9{!wTA?lO60}s1;;uo8J1GtU!mm&$1S?*=K!XQQuqG5JZVg%p z3B_FkBxqph|Cwja^USQ7H#5(>x%ZyC_B!{hv+w<^b-#O`eI7>Ny!7|Da=w{u4l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;Rp7FazQ7|vP{Z_NyWmJ zj_*11itgKy|3LS`p7ehRuu<Q_P7tM{?Ad=K+{AHh62Ue>=|vK3I3;I)jGjf0+3|Bh~tf!3;jT&I1Y9X7hRzR0k- zqczH?zD2L^An$Y@pFWG=2Xu$?}1Bfb%}Zw>1bP#w=bgopo?^`UkC5_Z&Mh% zT84)tmN)+A9f1VKeO;=7YeQB#clIgr&V5I)@8hZ{oy%Z+^>%J zSH3ghtM$eHlTQBn^5*y zc6zvD1Z7;^+YI-zRhMH{AHFp?xH`BxBubGeMWPgmQY1=|C>@?CMNIVpVk#tPk)TC_ z_KhZJuXiQyOh*~Ctsv6gr#FzGMS>Qc_T6>bH=LM$J-xs>+uH>*E_&j1-YH%mH$jYw zKjTEH=G(Sw7)VUN(KC+SJB;3~OCQ{DkhMU9_EJYHF-BsHgsVe>771D;Xpx{rf))wd zp$Xd8lL%HdrebuApvr7XlJRJZK#M@*H%-mcN!Mr?3)9f!7&t$c%n6Kn^o z_()iOw1nlAygMAd9=#s9JLK+=yF=~{xw|)*yBiW-V1GWccF5WxYxn-LcGwV($RFt#ADo@dI^%CivRbwVon@OQzk(O(n0PrM z*3XeOyHM5)z7D<)z7DxUW!J~f8jRD|K2DEdwy+)8&RgC{3G=xM^J)3M%jCVjY0NzLo5pm0=L1s|Oi?gJ z={!Zzv-6W05Bo-2Nj-ly58mrwscsW%1RJ2?#iE}2z} diff --git a/apps/site/src/server/answers.test.ts b/apps/site/src/server/answers.test.ts index b4e6e9d..01679b7 100644 --- a/apps/site/src/server/answers.test.ts +++ b/apps/site/src/server/answers.test.ts @@ -206,10 +206,7 @@ describe("warming", () => { expect(engine.asked).toEqual([]); await deps.db.update(repositories).set({ viewedAt: now() }).where(eq(repositories.id, "acme/rocket")); expect(await warmLoaded(w, si)).toBe(true); - expect(engine.asked).toEqual([ - { endpoint: "/v1/warm", body: { pack, keys: firstAnswers("all") } }, - { endpoint: "/v1/universe/rows", body: { pack } }, - ]); + expect(engine.asked).toEqual([{ endpoint: "/v1/warm", body: { pack, keys: firstAnswers("all") } }]); await deps.db.update(storedIndexes).set({ pack: null }).where(eq(storedIndexes.id, si)); engine.asked.length = 0; expect(await warmLoaded(w, si)).toBe(false); diff --git a/apps/site/src/server/engine-service.test.ts b/apps/site/src/server/engine-service.test.ts index 04f2865..bedef4a 100644 --- a/apps/site/src/server/engine-service.test.ts +++ b/apps/site/src/server/engine-service.test.ts @@ -176,8 +176,6 @@ async function ask(engine: EngineService, pack: string, endpoint: string, body: return engine.search(pack, b.query, b.cursor); case "/v1/pulls/insight": return engine.insight(pack, b.number, b.paths, b.author, b.named); - case "/v1/universe/rows": - return engine.universeRows(pack); default: throw new Error(`no call for ${endpoint}`); } diff --git a/apps/site/src/server/engine-service.ts b/apps/site/src/server/engine-service.ts index 9ca3c07..f3c6287 100644 --- a/apps/site/src/server/engine-service.ts +++ b/apps/site/src/server/engine-service.ts @@ -1,7 +1,6 @@ import "@tanstack/react-start/server-only"; import * as Sentry from "@sentry/tanstackstart-react"; import type { CodeLog, CodeStory, CommitQuery, FolderLast, Params, PathHistory, PullInsight } from "@commitscape/data"; -import type { AtlasRows } from "@commitscape/data/universe"; import { SiteError } from "./http"; import { EngineError, engineFailed, engineTimed, type EngineOutcome } from "./telemetry"; @@ -43,7 +42,6 @@ export type EngineService = { under(pack: string, path: string, query: CommitQuery, cursor: string | undefined, said: string[] | null): Promise; search(pack: string, query: CommitQuery, cursor: string | undefined): Promise; insight(pack: string, number: number, paths: string[], author: string | null, named: Named[]): Promise; - universeRows(pack: string): Promise; warm(pack: string, keys: string[]): Promise; }; @@ -75,7 +73,6 @@ export function engineOver(post: Post): EngineService { under: (pack, path, query, cursor, said) => json("/v1/commits/under", { pack, path, query, ...(cursor === undefined ? {} : { cursor }), said }), search: (pack, query, cursor) => json("/v1/commits/search", { pack, query, ...(cursor === undefined ? {} : { cursor }) }), insight: (pack, number, paths, author, named) => json("/v1/pulls/insight", { pack, number, paths, author, named }), - universeRows: (pack) => json("/v1/universe/rows", { pack }), warm: async (pack, keys) => (await json<{ made: number }>("/v1/warm", { pack, keys })).made, }; } diff --git a/apps/site/src/server/universe.test.ts b/apps/site/src/server/universe.test.ts index f7a39f5..ce20b16 100644 --- a/apps/site/src/server/universe.test.ts +++ b/apps/site/src/server/universe.test.ts @@ -1,11 +1,11 @@ -import { brotliCompressSync, brotliDecompressSync, constants } from "node:zlib"; +import { brotliCompressSync, brotliDecompressSync } from "node:zlib"; import { eq } from "drizzle-orm"; import { describe, expect, test } from "vitest"; import { atlasOf, decodeAtlas, decodeNames, encodeAtlas, encodeNames, type AtlasRows } from "@commitscape/data/universe"; -import { atlasKey, now, schema, seedIndex, type SeedIndex } from "@commitscape/server"; -import { fakeEngine, packed, testDeps, viewer, type Asked } from "#/test/deps"; +import { atlasKey, now, schema, seedIndex, type AtlasJob, type SeedIndex } from "@commitscape/server"; +import { fakeEngine, packed, testDeps, viewer } from "#/test/deps"; import { SiteError } from "./http"; -import { atlasBody, atlasFile, atlasOfPack, warmAtlas } from "./universe"; +import { atlasBody, atlasFile } from "./universe"; const { repositories } = schema; @@ -29,19 +29,23 @@ const rows: AtlasRows = { releases: [], }; -const answering = ({ endpoint }: Asked) => (endpoint === "/v1/universe/rows" ? rows : undefined); - -async function stored() { - const engine = fakeEngine(answering); - const deps = await testDeps({ engine }); +async function stored(made = true) { + const engine = fakeEngine(() => undefined); + const queued: AtlasJob[] = []; + const deps = await testDeps({ engine, queue: async () => ({ send: async () => {}, atlas: async (job) => void queued.push(job) }) }); await deps.db.insert(repositories).values([ { id: "acme/rocket", owner: "acme", name: "rocket", githubId: 1, status: "ok", factsAt: now(), reportKey: "reports/gh/acme/rocket/b1", reportAt: 500 }, { id: "acme/secret", owner: "acme", name: "secret", githubId: 2, status: "private", isPrivate: true, installationId: 5, factsAt: now(), reportKey: "reports/gh/acme/secret/b1", reportAt: 600 }, ]); const si = await seedIndex(deps.db, "acme/rocket", seed); - const pack = await packed(deps.db, si, "packs/acme/rocket/1/pack.pack"); - await packed(deps.db, await seedIndex(deps.db, "acme/secret", seed), "packs/acme/secret/2/pack.pack"); - return Object.assign(deps, { engine, si, pack }); + const pack = await packed(deps.db, si, "packs/acme/rocket/1/head-b1-lines.pack"); + await packed(deps.db, await seedIndex(deps.db, "acme/secret", seed), "packs/acme/secret/2/head-b1-lines.pack"); + if (made) { + const { atlas, names } = atlasOf(rows); + await deps.storage.put(atlasKey(si, pack, "map"), brotliCompressSync(encodeAtlas(atlas)), { type: "application/octet-stream", encoding: "br" }); + await deps.storage.put(atlasKey(si, pack, "names"), brotliCompressSync(encodeNames(names)), { type: "application/octet-stream", encoding: "br" }); + } + return Object.assign(deps, { engine, si, pack, queued }); } const bytesOf = async (deps: Awaited>, part: "map" | "names", v: number | null = null) => { @@ -50,17 +54,20 @@ const bytesOf = async (deps: Awaited>, part: "map" | " return { found, bytes: new Uint8Array(brotliDecompressSync(found.body.br)) }; }; +const refused = (p: Promise) => p.then(() => null, (e: SiteError) => [e.status, e.message]); + describe("the Atlas", () => { - test("is made from the rows the engine service reads from the Stored Index's pack, once per pack", async () => { + test("is the one the Builder stored for the Stored Index's pack, sent as it is, never made by the Site", async () => { const deps = await stored(); const atlas = decodeAtlas((await bytesOf(deps, "map")).bytes); expect(Array.from(atlas.commits.time)).toEqual([100, 300]); expect(atlas.people.names).toEqual(["Alice Example", "ci-bot"]); expect(decodeNames((await bytesOf(deps, "names")).bytes).names.sort()).toEqual(["README.md", "a.ts"]); - expect(deps.engine.asked).toEqual([{ endpoint: "/v1/universe/rows", body: { pack: deps.pack } }]); + expect(deps.engine.asked).toEqual([]); + expect(deps.queued).toEqual([]); }); - test("answers again with 304, pins a year when the address names the Report, and keeps what it made", async () => { + test("answers again with 304, pins a year when the address names the Report, and has another ETag once the pack is another", async () => { const deps = await stored(); const { found } = await bytesOf(deps, "map", 500); expect(found.cacheControl).toContain("immutable"); @@ -68,61 +75,27 @@ describe("the Atlas", () => { expect(again.body).toBeNull(); const loose = await atlasFile(deps, viewer(), "acme", "rocket", "map", 1); expect(loose.cacheControl).toBe("public, max-age=300"); - await (await atlasOfPack(deps, deps.si, deps.pack)).kept; - expect((await deps.storage.keys?.("atlas/"))?.length ?? 0).toBeGreaterThanOrEqual(2); - await packed(deps.db, deps.si, "packs/acme/rocket/1/next.pack"); - expect((await atlasFile(deps, viewer(), "acme", "rocket", "map", 500, found.etag)).etag).not.toBe(found.etag); + await packed(deps.db, deps.si, "packs/acme/rocket/1/head-b2-lines.pack"); + expect((await atlasFile(deps, viewer(), "acme", "rocket", "map", 500, found.etag).catch(() => ({ etag: "none" }))).etag).not.toBe(found.etag); }); - test("the Builder stored for a pack is sent as it is, and the Site never makes it or asks the engine service for rows", async () => { - const deps = await stored(); + test("of a pack the Builder made none for is read at the next Build, and the Builder is asked once to make it; the engine service is never asked for rows", async () => { + const deps = await stored(false); + expect(await refused(atlasFile(deps, viewer(), "acme", "rocket", "map", null))).toEqual([404, "This repository's history is read at its next Build."]); + expect(await refused(atlasFile(deps, viewer(), "acme", "rocket", "names", null))).toEqual([404, "This repository's history is read at its next Build."]); + expect(deps.queued).toEqual([{ repoId: "acme/rocket", si: deps.si, pack: deps.pack }]); + expect(deps.engine.asked).toEqual([]); const { atlas, names } = atlasOf(rows); - const map = brotliCompressSync(encodeAtlas(atlas)); - await deps.storage.put(atlasKey(deps.si, deps.pack, "map"), map, { type: "application/octet-stream", encoding: "br" }); + await deps.storage.put(atlasKey(deps.si, deps.pack, "map"), brotliCompressSync(encodeAtlas(atlas)), { type: "application/octet-stream", encoding: "br" }); await deps.storage.put(atlasKey(deps.si, deps.pack, "names"), brotliCompressSync(encodeNames(names)), { type: "application/octet-stream", encoding: "br" }); - expect(await warmAtlas(deps, deps.si, deps.pack)).toBe(true); - const { found, bytes } = await bytesOf(deps, "map"); - expect(Buffer.from(found.body?.br ?? new Uint8Array()).equals(map)).toBe(true); - expect(decodeAtlas(bytes).people.names).toEqual(["Alice Example", "ci-bot"]); - expect(deps.engine.asked).toEqual([]); + expect(decodeAtlas((await bytesOf(deps, "map")).bytes).people.names).toEqual(["Alice Example", "ci-bot"]); }); - test("of a Build's quick pack is never made by the Site: the full pack brings it", async () => { - const deps = await stored(); - const quick = await packed(deps.db, deps.si, "packs/acme/rocket/1/head-b2-quick.pack"); - expect(await warmAtlas(deps, deps.si, quick)).toBe(false); - const asked = await atlasFile(deps, viewer(), "acme", "rocket", "map", null).then( - () => null, - (e: SiteError) => [e.status, e.message], - ); - expect(asked).toEqual([404, "The Universe is drawn once this Build has read the whole history."]); - expect(deps.engine.asked).toEqual([]); - }); - - test("is made ahead of its first visitor, and what the Stored Index's earlier packs left in storage is deleted", async () => { - const deps = await stored(); - await deps.storage.put(`atlas/${deps.si}/0000000000000000/map.bin.br`, "old", { type: "application/octet-stream" }); - expect(await warmAtlas(deps, deps.si, deps.pack)).toBe(true); - const kept = (await deps.storage.keys?.(`atlas/${deps.si}/`)) ?? []; - expect(kept.length).toBe(2); - expect(kept.some((k) => k.includes("0000000000000000"))).toBe(false); - const again = await atlasFile(deps, viewer(), "acme", "rocket", "map", null); - expect(again.body).not.toBeNull(); - expect(deps.engine.asked).toHaveLength(1); - }); - - test("is sent packed quickly at once, then packed as small as brotli makes it, which is stored and sent from then on, the same bytes once unpacked", async () => { - const deps = await stored(); - const built = await atlasOfPack(deps, deps.si, deps.pack); - const first = built.map.br; - const raw = brotliDecompressSync(first); - expect(first).toEqual(new Uint8Array(brotliCompressSync(raw, { params: { [constants.BROTLI_PARAM_QUALITY]: 5, [constants.BROTLI_PARAM_LGWIN]: 24, [constants.BROTLI_PARAM_SIZE_HINT]: raw.byteLength } }))); - await built.kept; - const kept = await deps.storage.get(`atlas/${deps.si}/${(await deps.storage.keys?.(`atlas/${deps.si}/`))?.[0]?.split("/")[2]}/map.bin.br`); - expect(kept?.body).toEqual(built.map.br); - expect(built.map.br.byteLength).toBeLessThanOrEqual(first.byteLength); - expect(brotliDecompressSync(built.map.br)).toEqual(raw); - expect(brotliDecompressSync(built.names.br).byteLength).toBeGreaterThan(0); + test("of a Build's quick pack is drawn once the Build has read the whole history, and nothing is asked for", async () => { + const deps = await stored(false); + await packed(deps.db, deps.si, "packs/acme/rocket/1/head-b2-quick.pack"); + expect(await refused(atlasFile(deps, viewer(), "acme", "rocket", "map", null))).toEqual([404, "The Universe is drawn once this Build has read the whole history."]); + expect(deps.queued).toEqual([]); }); test("is read at the next Build while the Stored Index has no pack", async () => { diff --git a/apps/site/src/server/universe.ts b/apps/site/src/server/universe.ts index de3bf59..37ad2cd 100644 --- a/apps/site/src/server/universe.ts +++ b/apps/site/src/server/universe.ts @@ -1,14 +1,11 @@ import "@tanstack/react-start/server-only"; import { promisify } from "node:util"; -import { brotliCompress, brotliDecompress, constants, gzip } from "node:zlib"; -import { atlasOf, encodeAtlas, encodeNames } from "@commitscape/data/universe"; +import { brotliDecompress, gzip } from "node:zlib"; import { atlasKey, isQuickPack, sha256, type AtlasPart, type Storage } from "@commitscape/server"; import { withPack } from "./answers"; -import type { EngineService } from "./engine-service"; import { SiteError } from "./http"; import { readable, type Deps, type Viewer } from "./repos"; -const brotliAsync = promisify(brotliCompress); const unbrotliAsync = promisify(brotliDecompress); const gzipAsync = promisify(gzip); @@ -18,80 +15,52 @@ const NO_HISTORY = "This repository's history is read at its next Build."; const NOT_YET = "The Universe is drawn once this Build has read the whole history."; const YEAR = 31_536_000; const KEPT = 6; -const QUICK = 5; -const BEST = 11; +const ASKED_MOST = 10_000; type Packed = { br: Uint8Array; gzip: Promise | null }; -type Built = Record & { kept: Promise }; +type Stored = Record; -type Making = { storage: Storage; engine: EngineService }; - -const builtFor = new WeakMap>>(); +const storedFor = new WeakMap>>(); +const asked = new Set(); export type ServedAtlas = { body: Packed | null; etag: string; cacheControl: string }; const versionOf = (pack: string) => sha256(pack).slice(0, 16); -const keyOf = atlasKey; - -const brotli = (bytes: Uint8Array, quality: number) => - brotliAsync(bytes, { params: { [constants.BROTLI_PARAM_QUALITY]: quality, [constants.BROTLI_PARAM_LGWIN]: 24, [constants.BROTLI_PARAM_SIZE_HINT]: bytes.byteLength } }).then( - (b) => new Uint8Array(b.buffer, b.byteOffset, b.byteLength), - ); - -let repacking: Promise = Promise.resolve(); - -function repack(storage: Storage, si: number, pack: string, raw: Record, built: Record): Promise { - const run = async () => { - for (const part of ["map", "names"] as const) { - const br = await brotli(raw[part], BEST); - if (br.byteLength < built[part].br.byteLength) built[part].br = br; - await storage.put(keyOf(si, pack, part), built[part].br, { type: "application/octet-stream", encoding: "br" }); - } - }; - const done = repacking.then(run).catch(() => undefined); - repacking = done; - return done; +async function read(storage: Storage, si: number, pack: string): Promise { + const [map, names] = await Promise.all([storage.get(atlasKey(si, pack, "map")).catch(() => null), storage.get(atlasKey(si, pack, "names")).catch(() => null)]); + return map && names ? { map: { br: map.body, gzip: null }, names: { br: names.body, gzip: null } } : null; } -async function make({ storage, engine }: Making, si: number, pack: string): Promise { - const [map, names] = await Promise.all([storage.get(keyOf(si, pack, "map")).catch(() => null), storage.get(keyOf(si, pack, "names")).catch(() => null)]); - if (map && names) return { map: { br: map.body, gzip: null }, names: { br: names.body, gzip: null }, kept: Promise.resolve() }; - if (isQuickPack(pack)) throw new SiteError(404, NOT_YET); - const { atlas, names: named } = atlasOf(await engine.universeRows(pack)); - const raw = { map: encodeAtlas(atlas), names: encodeNames(named) }; - const [mapBr, namesBr] = await Promise.all([brotli(raw.map, QUICK), brotli(raw.names, QUICK)]); - const parts = { map: { br: mapBr, gzip: null }, names: { br: namesBr, gzip: null } }; - return { ...parts, kept: repack(storage, si, pack, raw, parts) }; -} - -/** The Atlas of a Stored Index's pack, made once per pack: from storage when an earlier process made it, else from the rows the engine service reads from the pack, packed quickly to send at once and again, one pack at a time in the background, as small as brotli makes it, which is what is stored and sent from then on. */ -export function atlasOfPack(making: Making, si: number, pack: string): Promise { +/** The Atlas the Builder stored for a Stored Index's pack, read once per pack and kept for the few packs read last; null while there is none. The Site never makes one. */ +export function storedAtlas(storage: Storage, si: number, pack: string): Promise { const key = `${si}@${pack}`; - let built = builtFor.get(making.storage); - if (!built) builtFor.set(making.storage, (built = new Map())); - let made = built.get(key); - if (!made) { - made = make(making, si, pack); - built.set(key, made); - made.catch(() => built.delete(key)); - while (built.size > KEPT) { - const oldest = built.keys().next().value; + let kept = storedFor.get(storage); + if (!kept) storedFor.set(storage, (kept = new Map())); + let found = kept.get(key); + if (!found) { + const reading = read(storage, si, pack); + found = reading; + kept.set(key, reading); + void reading.then( + (s) => s === null && kept.delete(key), + () => kept.delete(key), + ); + while (kept.size > KEPT) { + const oldest = kept.keys().next().value; if (oldest === undefined) break; - built.delete(oldest); + kept.delete(oldest); } } - return made; + return found; } -/** Makes the Atlas of a Stored Index's pack ahead of its first visitor, and deletes what its earlier packs left in storage. */ -export async function warmAtlas(making: Making, si: number, pack: string): Promise { - if (isQuickPack(pack)) return false; - await (await atlasOfPack(making, si, pack)).kept; - const kept = `atlas/${si}/${versionOf(pack)}/`; - const stale = ((await making.storage.keys?.(`atlas/${si}/`)) ?? []).filter((k) => !k.startsWith(kept)); - if (stale.length > 0) await making.storage.delete(stale); - return true; +async function askForAtlas(deps: Deps, repoId: string, si: number, pack: string): Promise { + if (asked.has(pack)) return; + if (asked.size >= ASKED_MOST) asked.clear(); + asked.add(pack); + const queue = await deps.queue(); + await queue.atlas?.({ repoId, si, pack }).catch(() => asked.delete(pack)); } const matches = (seen: string | null | undefined, etag: string) => !!seen && seen.split(",").some((t) => t.trim().replace(/^W\//, "") === etag); @@ -103,11 +72,20 @@ export async function atlasFile(deps: Deps, viewer: Viewer, owner: string, name: if (si === null) throw new SiteError(404, NO_HISTORY); const pinned = version !== null && version === row.reportAt; const cacheControl = row.isPrivate ? "private, max-age=300" : pinned ? `public, max-age=${YEAR}, immutable` : "public, max-age=300"; - const made = await withPack(deps.db, si, async (pack) => { - const etag = `"atlas-${si}-${versionOf(pack)}-${part}"`; - if (matches(seen, etag)) return { body: null, etag }; - return { body: (await atlasOfPack(deps, si, pack))[part], etag }; - }, row.reportAt); + const made = await withPack( + deps.db, + si, + async (pack) => { + const etag = `"atlas-${si}-${versionOf(pack)}-${part}"`; + if (matches(seen, etag)) return { body: null, etag }; + const stored = await storedAtlas(deps.storage, si, pack); + if (stored) return { body: stored[part], etag }; + if (isQuickPack(pack)) throw new SiteError(404, NOT_YET); + await askForAtlas(deps, row.id, si, pack); + throw new SiteError(404, NO_HISTORY); + }, + row.reportAt, + ); if (!made) throw new SiteError(404, NO_HISTORY); return { ...made.value, cacheControl }; } diff --git a/apps/site/src/server/warm.ts b/apps/site/src/server/warm.ts index 615a4ab..f6f6c2d 100644 --- a/apps/site/src/server/warm.ts +++ b/apps/site/src/server/warm.ts @@ -4,7 +4,6 @@ import { key, OVERVIEW_TOP } from "@commitscape/data"; import { listenForLoads, now, reportIndexOf, schema, type Db, type Storage } from "@commitscape/server"; import { forgetPack, packOf } from "./answers"; import type { EngineService } from "./engine-service"; -import { warmAtlas } from "./universe"; const { repositories } = schema; @@ -28,7 +27,6 @@ async function warmRepo(w: Warming, repo: Warmable): Promise { if (repo.indexId === null || pack === null) return 0; const index = await reportIndexOf(w.storage, repo).catch(() => null); const warmed = await w.engine.warm(pack, firstAnswers(index?.meta.window ?? "all")); - await warmAtlas(w, repo.indexId, pack).catch(() => false); return warmed; } diff --git a/crates/commitscape-report/src/universe.rs b/crates/commitscape-report/src/universe.rs index ab4863a..76cf120 100644 --- a/crates/commitscape-report/src/universe.rs +++ b/crates/commitscape-report/src/universe.rs @@ -42,16 +42,6 @@ pub struct PersonRow { pub bot: bool, } -#[derive(Debug, Clone, PartialEq, Serialize)] -pub struct Rows { - pub mainline: bool, - pub newest: i64, - pub commits: Vec, - pub files: Vec, - pub people: Vec, - pub releases: Vec<(String, i64)>, -} - struct Header { mainline: bool, newest: i64, @@ -116,26 +106,6 @@ fn commit_row(pack: &Pack, t: i64, at: usize) -> Option { }) } -/// What the Atlas is made from, as the Site's `atlasRows` read it from the Stored Index before: the commits that reached the default branch by when they did (every commit when no Mainline is known), Merge Commits left out, files by id, people in the order of their first Signature, and each release at its commit's Main Arrival. -pub fn rows(pack: &Pack) -> Rows { - let Header { - mainline, - newest, - picked, - } = header(pack); - Rows { - mainline, - newest, - commits: picked - .into_iter() - .filter_map(|at| commit_row(pack, arrived(pack, mainline, at as usize), at as usize)) - .collect(), - files: files(pack), - people: people(pack), - releases: releases(pack), - } -} - #[derive(Serialize)] struct Counts<'a> { mainline: bool, diff --git a/docs/adr/0031-the-repo-state-and-packs-are-read-in-place-and-standard-screens-are-stored.md b/docs/adr/0031-the-repo-state-and-packs-are-read-in-place-and-standard-screens-are-stored.md index 3d400bb..1422a0d 100644 --- a/docs/adr/0031-the-repo-state-and-packs-are-read-in-place-and-standard-screens-are-stored.md +++ b/docs/adr/0031-the-repo-state-and-packs-are-read-in-place-and-standard-screens-are-stored.md @@ -33,5 +33,5 @@ The owner's target is a Build and an engine service that fit in about 250 MB, id - The first Build of each repository after the upgrade writes its column file once (linux 13 s, 498 MB). - The engine service's volume holds packs unpacked, about 2.6 times their R2 size; `PACK_DISK_GB` counts them so. - A pack published before this release has no stored screens; the engine service works them out until the repository's next Build. -- Kept for this release only, so the deploy and the one `node builder.mjs rebuild` after it work: reading packs of format 2, reading Reports stored in R2 before Stored Indexes had packs, the Site making an Atlas from the engine service's rows for a pack the Builder made none for, moving a cache out of a clone's folder where older Builders kept it, and the per-file arrays of `index_commits` the Site no longer writes. They are removed in the next release, with step 3.2 (dropping those arrays). -- Nothing the Builder runs on linux goes above 256 MB of anonymous memory: the Atlas takes 98 MB and 2.9 s (it was 635 MB in Node, from 170 MB of rows `build` wrote). The engine service's Universe rows (asked only for a pack the Builder made no Atlas for) still take about 450 MB. +- Kept for this release only, so the deploy and the one `node builder.mjs rebuild` after it work: reading packs of format 2, reading Reports stored in R2 before Stored Indexes had packs, moving a cache out of a clone's folder where older Builders kept it, and the per-file arrays of `index_commits` the Site no longer writes. They are removed in the next release, with step 3.2 (dropping those arrays). +- Nothing the Builder runs on linux goes above 256 MB of anonymous memory: the Atlas takes 98 MB and 2.9 s (it was 635 MB in Node, from 170 MB of rows `build` wrote). The Site never makes an Atlas (it took 1.16 GB on linux): a pack without one, after a failed attempt or from an earlier release, gets one from the Builder's `atlases` queue, and the engine service no longer answers the rows it was made from (about 450 MB on linux). diff --git a/docs/working.md b/docs/working.md index e17d314..1a173d4 100644 --- a/docs/working.md +++ b/docs/working.md @@ -195,16 +195,19 @@ queued ones whose job was lost. every subject and matches the words as Postgres did), then read only that page's rows from Postgres. - The Code window's tree, coupling, story and history, a folder's newest - commits, a pull request's insight and the Universe's rows come from the - engine service. The Universe's Atlas is made by the Builder from the - pack with `commitscape atlas`, in a process of its own that waits for - its share of `ENGINE_MEMORY_MB` (linux: 98 MB, 2.9 s), and stored in R2 - before the pack is published; the Site sends those bytes. A test checks - it is byte for byte what the Site's own encoder makes, on every fixture - (and by hand on react and linux). The Site makes the Atlas from the - engine service's rows only for a pack the Builder did not make one for, - a path kept for this release only. Branches, tags and pull requests are rows; file text is - in R2. + commits and a pull request's insight come from the engine service. The + Universe's Atlas is made by the Builder from the pack with `commitscape + atlas`, in a process of its own that waits for its share of + `ENGINE_MEMORY_MB` (linux: 98 MB, 2.9 s), and stored in R2 before the + pack is published; the Site only sends those bytes. A test checks it is + byte for byte what the TypeScript encoder makes, on every fixture (and + by hand on react and linux). An Atlas that failed while publishing is + queued on `atlases` and made later from the pack in R2, and the next + full Build makes its own anyway. The Site never makes one: for a pack + without an Atlas (one published before this release, until `rebuild` + has reached it) the Universe says the history is read at the next + Build, and the Site queues the same job, once per pack. Branches, tags + and pull requests are rows; file text is in R2. - A Shared Report is one locked file. The browser downloads it, decrypts it with the key after the `#`, and pages its Commit List itself; the Site never sees it unlocked. diff --git a/packages/server/src/queue.ts b/packages/server/src/queue.ts index e18c23a..32c7671 100644 --- a/packages/server/src/queue.ts +++ b/packages/server/src/queue.ts @@ -4,6 +4,7 @@ export const BUILD_QUEUE = "builds"; export const BUILD_LARGE_QUEUE = "builds-large"; export const SURVIVAL_QUEUE = "surviving-by-people"; export const PULLS_QUEUE = "pulls-by-repo"; +export const ATLAS_QUEUE = "atlases"; export type BuildTrace = { sentryTrace: string; baggage: string }; @@ -13,11 +14,13 @@ export type SurvivalJob = { repoId: string; reportKey: string; personIds: number export type PullsJob = { repoId: string }; +export type AtlasJob = { repoId: string; si: number; pack: string }; + export const PRIORITY = { person: 10, seed: 0, lines: -10, rebuild: -20 } as const; export const LONGEST_JOB_SECONDS = 24 * 3600; -export type Queue = { send(job: BuildJob, priority: number): Promise; count?(job: SurvivalJob): Promise }; +export type Queue = { send(job: BuildJob, priority: number): Promise; count?(job: SurvivalJob): Promise; atlas?(job: AtlasJob): Promise }; export const buildKey = (job: BuildJob) => job.repoId ?? job.buildId; export const survivalKey = (job: SurvivalJob) => `${job.repoId}:${job.reportKey}:${job.everyone ? "*" : job.personIds.join(",")}`; @@ -37,6 +40,7 @@ export async function startQueue(url: string, options: { worker: boolean; expire } await boss.createQueue(PULLS_QUEUE, { policy: "stately", retryLimit: 0, expireInSeconds: 3600, retentionSeconds: 24 * 3600 }); await boss.createQueue(SURVIVAL_QUEUE, { policy: "stately", retryLimit: 0, expireInSeconds: LONGEST_JOB_SECONDS, retentionSeconds: 24 * 3600 }); + await boss.createQueue(ATLAS_QUEUE, { policy: "stately", retryLimit: 1, expireInSeconds: 3600, retentionSeconds: 24 * 3600 }); if (options.worker && options.expireInSeconds) { for (const name of [BUILD_QUEUE, BUILD_LARGE_QUEUE]) await boss.updateQueue(name, { expireInSeconds: options.expireInSeconds }); } @@ -52,6 +56,9 @@ export function bossQueue(boss: PgBoss): Queue { async count(job) { await boss.send(SURVIVAL_QUEUE, job, { singletonKey: survivalKey(job) }); }, + async atlas(job) { + await boss.send(ATLAS_QUEUE, job, { singletonKey: job.pack }); + }, }; } From 92ceba83124866e7427c289c264d3dc634783a8f Mon Sep 17 00:00:00 2001 From: Dev Talan <84081651+devchaudhary24k@users.noreply.github.com> Date: Tue, 27 Oct 2026 19:35:39 +0530 Subject: [PATCH 69/82] fix(builder): tidy never holds a Build lane, nor prunes a held repository Each Build worker ran tidy (prune, sweep, and since the last round a repack) before taking its next Build, so a long repack held that lane. Tidy now runs on its own: after a Build without being waited for, on its timer, one at a time. prune deletes a repository's clone or cache only while holding that repository, and leaves any a job holds, and each write of the record of folder sizes has a temporary file of its own. Test: a held repository's clone and cache are left while the others go, and are pruned once it is let go; two prunes at once leave no temporary file behind. --- apps/builder/src/builder.test.ts | 22 ++++++++++++++++++++++ apps/builder/src/clone.ts | 3 +++ apps/builder/src/disk.ts | 15 ++++++++++----- apps/builder/src/main.ts | 10 ++++++---- 4 files changed, 41 insertions(+), 9 deletions(-) diff --git a/apps/builder/src/builder.test.ts b/apps/builder/src/builder.test.ts index 31699aa..50570c1 100644 --- a/apps/builder/src/builder.test.ts +++ b/apps/builder/src/builder.test.ts @@ -552,6 +552,28 @@ test("the least recently used repository folders go first when the disk budget i expect(await prune(work, 1500, [join(work, "repos", "acme", "mid")])).toEqual([join(work, "repos", "acme", "new")]); }); +test("a repository a job holds is never pruned, its clone or its cache, and two prunes at once each keep their own record of sizes", async () => { + const work = await mkdtemp(join(tmpdir(), "builder-")); + for (const folder of ["repos", "caches"]) { + for (const name of ["held", "free"]) { + const dir = join(work, folder, "acme", name); + await mkdir(dir, { recursive: true }); + await writeFile(join(dir, "x"), Buffer.alloc(1000)); + await utimes(dir, 1000, 1000); + } + } + let release = () => {}; + const holding = holdingRepo(join(work, "repos", "acme", "held"), () => new Promise((r) => (release = r))); + expect(await Promise.all([prune(work, 1e9), prune(work, 1e9, [], "caches")])).toEqual([[], []]); + expect((await readdir(work)).filter((f) => f.endsWith(".tmp"))).toEqual([]); + expect(await prune(work, 0)).toEqual([join(work, "repos", "acme", "free")]); + expect(await prune(work, 0, [], "caches")).toEqual([join(work, "caches", "acme", "free")]); + release(); + await holding; + expect(await prune(work, 0)).toEqual([join(work, "repos", "acme", "held")]); + expect(JSON.parse(await readFile(join(work, "sizes.json"), "utf8"))).toBeTypeOf("object"); +}); + test("a cache unused for longer than the days a State is kept on disk goes even within the budget, unless a Build still needs it", async () => { const work = await mkdtemp(join(tmpdir(), "builder-")); const day = 86_400; diff --git a/apps/builder/src/clone.ts b/apps/builder/src/clone.ts index e8c08dd..3f5c660 100644 --- a/apps/builder/src/clone.ts +++ b/apps/builder/src/clone.ts @@ -39,6 +39,9 @@ export function failure(stderr: string): BuildFailure { const locks = new Map>(); +/** Whether anything holds or waits for the lock named `key`. */ +export const isLocked = (key: string): boolean => locks.has(key); + /** Runs `fn` once every earlier call with the same key has finished. */ export function locked(key: string, fn: () => Promise): Promise { const before = locks.get(key) ?? Promise.resolve(); diff --git a/apps/builder/src/disk.ts b/apps/builder/src/disk.ts index fde2b27..59ca222 100644 --- a/apps/builder/src/disk.ts +++ b/apps/builder/src/disk.ts @@ -1,9 +1,9 @@ import { existsSync } from "node:fs"; import { copyFile, mkdir, readdir, readFile, rename, rm, stat, utimes, writeFile } from "node:fs/promises"; -import { dirname, join } from "node:path"; +import { dirname, join, relative } from "node:path"; import { and, eq, gt, inArray, or } from "drizzle-orm"; import { now, schema, type Db } from "@commitscape/server"; -import { locked } from "./clone"; +import { isLocked, locked } from "./clone"; import type { Config } from "./config"; const { builds, repositories, surviving } = schema; @@ -85,8 +85,11 @@ async function readSizes(work: string): Promise { } } +let writes = 0; + async function writeSizes(work: string, sizes: Sizes): Promise { - const tmp = join(work, `${SIZES}.${process.pid}.tmp`); + writes += 1; + const tmp = join(work, `${SIZES}.${process.pid}.${writes}.tmp`); await writeFile(tmp, JSON.stringify(sizes)) .then(() => rename(tmp, join(work, SIZES))) .catch(() => rm(tmp, { force: true })); @@ -117,7 +120,7 @@ export async function inUse(db: Db, cfg: Config, where: (cfg: Config, owner: str return repos.map((r) => where(cfg, r.owner, r.name)); } -/** Deletes the least recently used repository folders (clones, or with `folder` caches) until they fit the budget, and with `maxAgeMs` every one unused for longer, leaving the ones in `keep`. A folder is measured again only when it was used since it was last measured. */ +/** Deletes the least recently used repository folders (clones, or with `folder` caches) until they fit the budget, and with `maxAgeMs` every one unused for longer, leaving the ones in `keep` and any whose repository a job holds; each is deleted holding its repository. A folder is measured again only when it was used since it was last measured. */ export async function prune(work: string, budget: number, keep: Iterable = [], folder: Kept = "repos", maxAgeMs?: number): Promise { const left = new Set(keep); const known = await readSizes(work); @@ -134,7 +137,9 @@ export async function prune(work: string, budget: number, keep: Iterable for (const c of found.sort((a, b) => a.at - b.at)) { if (total <= budget && c.at >= oldest) break; if (left.has(c.path)) continue; - await rm(c.path, { recursive: true, force: true }); + const home = join(work, "repos", relative(join(work, folder), c.path)); + if (isLocked(`repo:${home}`)) continue; + await holdingRepo(home, () => rm(c.path, { recursive: true, force: true })); total -= c.bytes; deleted.push(c.path); } diff --git a/apps/builder/src/main.ts b/apps/builder/src/main.ts index 4183a58..eb3f25f 100644 --- a/apps/builder/src/main.ts +++ b/apps/builder/src/main.ts @@ -134,6 +134,8 @@ async function work() { const timed = (slug: string, minutes: number, fn: () => Promise) => () => monitored(slug, minutes, fn).catch((e: unknown) => log(`${slug}: ${(e as Error).message}`)); const reapTimed = timed("builder-reaper", REAP_MINUTES, reap); const tidyTimed = timed("builder-tidy", TIDY_MINUTES, tidy); + let tidying: Promise | null = null; + const tidyOnce = () => (tidying ??= tidyTimed().finally(() => (tidying = null))); const tier = cfg.state ? { storage, keys: stateKeys(cfg.state.secret), db, log } : null; const saveState = tier ? (repoId: string, root: string) => saveRepoState(tier, repoId, root) : undefined; const queueAtlas = async (job: AtlasJob) => { @@ -143,9 +145,9 @@ async function work() { const building = (queue: string, job: { id: string; data: BuildJob }) => inQueueSpan(job, queue, () => runJob(job.data.buildId, ctx, job.data.attempt ?? 1, { ...(job.data.userId ? { userId: job.data.userId } : {}), ...(job.data.more ? { more: job.data.more } : {}) })); await reapTimed(); - await tidyTimed(); + await tidyOnce(); const reaper = setInterval(() => void reapTimed(), REAP_MINUTES * 60_000); - const tidier = setInterval(() => void tidyTimed(), TIDY_MINUTES * 60_000); + const tidier = setInterval(() => void tidyOnce(), TIDY_MINUTES * 60_000); await boss.work(BUILD_QUEUE, { localConcurrency: cfg.concurrency, batchSize: 1 }, async ([job]) => { if (!job) return; await site.ready(); @@ -155,13 +157,13 @@ async function work() { return; } await building(BUILD_QUEUE, job); - await tidy(); + void tidyOnce(); }); await boss.work(BUILD_LARGE_QUEUE, { localConcurrency: cfg.largeConcurrency, batchSize: 1 }, async ([job]) => { if (!job) return; await site.ready(); await building(BUILD_LARGE_QUEUE, job); - await tidy(); + void tidyOnce(); }); await boss.work(SURVIVAL_QUEUE, { localConcurrency: 1, batchSize: 1 }, async ([job]) => { if (!job) return; From f8e4e161654ada31cfbac5ff5de34f624c311304 Mon Sep 17 00:00:00 2001 From: Dev Talan <84081651+devchaudhary24k@users.noreply.github.com> Date: Tue, 27 Oct 2026 19:36:30 +0530 Subject: [PATCH 70/82] fix(builder): reserve what the first Build after the upgrade takes The first Build of each repository after the upgrade that brought column files writes its Index's column file whole (linux: 498 MB), and the deploy's `rebuild` sends every repository through it, but the memory gate reserved it as a warm Build (linux: 228 MB). A cache whose current generation has no column file yet is now reserved as its own kind: 64 MB + 0.3 MB per thousand commits (linux: 514 MB). Tests: a Build of such a cache asks for that estimate, one whose column file is there does not; the estimate is above the 498 MB measured. --- DEPLOY.md | 3 ++- apps/builder/src/admission.test.ts | 1 + apps/builder/src/admission.ts | 5 +++-- apps/builder/src/builder.test.ts | 19 +++++++++++++++++++ apps/builder/src/run.ts | 4 ++-- apps/builder/src/state.ts | 9 +++++++++ 6 files changed, 36 insertions(+), 5 deletions(-) diff --git a/DEPLOY.md b/DEPLOY.md index de2220d..f025282 100644 --- a/DEPLOY.md +++ b/DEPLOY.md @@ -545,7 +545,8 @@ this order: everyone's Surviving Lines once per new Report, and moves a repository to a lean clone once its lines and Surviving Lines are counted. The first Build of each repository makes its commit graph and its Index's - columns once (linux: 2.6 s and 13 s). + columns once (linux: 2.6 s and 13 s, up to 498 MB, which + `ENGINE_MEMORY_MB` reserves for it as such). 3. To keep Repo States in R2 as well, set `STATE_KEY` on the Builder (a secret of 32 characters or more, kept only there, never changed after) before or with this deploy. Without it the States live on its disk only. diff --git a/apps/builder/src/admission.test.ts b/apps/builder/src/admission.test.ts index ed940ce..531f321 100644 --- a/apps/builder/src/admission.test.ts +++ b/apps/builder/src/admission.test.ts @@ -101,6 +101,7 @@ test("an estimate is above every peak measured on linux and react", () => { const measured: [Parameters[0], typeof linux, number][] = [ ["build", linux, 170], ["build", react, 38], + ["columns", linux, 498], ["cold", linux, 248], ["cold", react, 158], ["surviving", linux, 199], diff --git a/apps/builder/src/admission.ts b/apps/builder/src/admission.ts index 174a620..50d5a0c 100644 --- a/apps/builder/src/admission.ts +++ b/apps/builder/src/admission.ts @@ -1,19 +1,20 @@ import type { RunOptions, Runner } from "./run"; /** What an engine run does, as far as its memory goes. */ -export type EngineRun = "build" | "cold" | "signatures" | "surviving" | "screens" | "atlas" | "clone" | "blobless" | "fetch"; +export type EngineRun = "build" | "columns" | "cold" | "signatures" | "surviving" | "screens" | "atlas" | "clone" | "blobless" | "fetch"; /** What is known of a repository before a run starts: its commits from its live Stored Index (0 when it has none) and its size on GitHub. */ export type Sized = { commits: number; sizeKb: number }; const UNKNOWN_MB = 256; -/** About how many MB of memory an engine run takes at its peak, a little over what was measured on two threads (2026-10-27: linux, 1.5M commits, and facebook/react, 22k): a warm build 94–170 MB on linux and 9–38 on react, a cold one 248 and 158, everyone's Surviving Lines 199 and 121, the standard screens 191, the Atlas 98 and 13. A cold run knows no commit count yet, so it goes by the repository's size, as git's runs do: a whole clone (react: 82 to 92 MB for a 150 MB pack, `git index-pack` holding every object it receives), a blobless one (commits and trees only) and a fetch into a kept clone. */ +/** About how many MB of memory an engine run takes at its peak, a little over what was measured on two threads (2026-10-27: linux, 1.5M commits, and facebook/react, 22k): a warm build 94–170 MB on linux and 9–38 on react, the first one that writes the Index's column file 498 on linux, a cold one 248 and 158, everyone's Surviving Lines 199 and 121, the standard screens 191, the Atlas 98 and 13. A cold run knows no commit count yet, so it goes by the repository's size, as git's runs do: a whole clone (react: 82 to 92 MB for a 150 MB pack, `git index-pack` holding every object it receives), a blobless one (commits and trees only) and a fetch into a kept clone. */ export function peakMb(kind: EngineRun, repo: Sized): number { const thousands = repo.commits / 1000; const sizeMb = repo.sizeKb / 1024; const mb = { build: 48 + 0.12 * thousands, + columns: 64 + 0.3 * thousands, cold: Math.max(170 + 0.03 * sizeMb, 64 + 0.15 * thousands), signatures: 32 + 0.04 * thousands, surviving: Math.max(130, 64 + 0.13 * thousands), diff --git a/apps/builder/src/builder.test.ts b/apps/builder/src/builder.test.ts index 50570c1..80f3c6e 100644 --- a/apps/builder/src/builder.test.ts +++ b/apps/builder/src/builder.test.ts @@ -7,6 +7,7 @@ import { expect, test } from "vitest"; import { readManifest, type LiveIndex, type Loaded } from "@commitscape/server"; import { ensureClone, failure, gitEnv } from "./clone"; import type { Config } from "./config"; +import { peakMb } from "./admission"; import { cacheDir, cacheFor, holdingRepo, prune, repoDir, scratchDir } from "./disk"; import { readEvents } from "./engine"; import { flagOf, writeBuilt, type FakeBuild } from "./fake"; @@ -552,6 +553,24 @@ test("the least recently used repository folders go first when the disk budget i expect(await prune(work, 1500, [join(work, "repos", "acme", "mid")])).toEqual([join(work, "repos", "acme", "new")]); }); +test("a Build whose cache has no column file for its generation yet asks the memory gate for what writing it takes", async () => { + const work = await mkdtemp(join(tmpdir(), "builder-")); + const cache = join(cacheDir(cfg(work), "acme", "rocket"), "key-0123"); + await mkdir(cache, { recursive: true }); + await writeFile(join(cache, "index.current"), "00000000000000aa\n"); + const sized = { commits: 1_500_000, sizeKb: 10 * 1024 }; + const asked = async (live: LiveIndex | null) => { + const f = fake(() => ok, {}, live); + await build(req(), cfg(work), f.deps); + return builds(f.calls).map((c) => c.opts.memoryMb); + }; + const live = { id: 1, lineage: "7", kept: true, frontier: ["a".repeat(40)], lines: true, linesLeft: 0, head: "a".repeat(40), pack: "p", mark: null, buildFormat: 2, commits: 1_500_000 }; + expect(await asked(live)).toContain(peakMb("columns", sized)); + await writeFile(join(cache, "00000000000000aa.cols"), ""); + expect(await asked(live)).not.toContain(peakMb("columns", sized)); + expect(peakMb("columns", sized)).toBeGreaterThanOrEqual(498); +}); + test("a repository a job holds is never pruned, its clone or its cache, and two prunes at once each keep their own record of sizes", async () => { const work = await mkdtemp(join(tmpdir(), "builder-")); for (const folder of ["repos", "caches"]) { diff --git a/apps/builder/src/run.ts b/apps/builder/src/run.ts index 55e8473..d748c0e 100644 --- a/apps/builder/src/run.ts +++ b/apps/builder/src/run.ts @@ -12,7 +12,7 @@ import type { Config } from "./config"; import { cacheFor, holdingRepo, lineStoreOf, privateDir, repoDir, scratchDir } from "./disk"; import { readBuilt, readEvents, type Built } from "./engine"; import { prefetch } from "./lean"; -import { hasCache } from "./state"; +import { hasCache, writesColumns } from "./state"; import { engineSpans, Phases } from "./telemetry"; export type BuildTarget = { @@ -195,7 +195,7 @@ export async function build(req: BuildTarget, cfg: Config, deps: Deps): Promise< await rm(out, { recursive: true, force: true }); await rm(events, { force: true }); const before = await deps.index.live(); - const kind = (await hasCache(cacheRoot)) ? "build" : "cold"; + const kind = !(await hasCache(cacheRoot)) ? "cold" : (await writesColumns(cacheRoot)) ? "columns" : "build"; const memoryMb = peakMb(kind, { commits: before?.commits ?? 0, sizeKb: req.sizeKb }); const args = ["build", ...(phase === "quick" ? ["--no-lines"] : ["--lines-budget", String(linesBudgetOf(cfg, binLimit, !!req.more))]), "--offline", "--max-changeset-size", String(cfg.bulkFiles), ...cache(), "--events", events, "--out", out]; if (accounts) args.push("--accounts", accounts); diff --git a/apps/builder/src/state.ts b/apps/builder/src/state.ts index 36fc244..fe92293 100644 --- a/apps/builder/src/state.ts +++ b/apps/builder/src/state.ts @@ -155,6 +155,15 @@ export async function hasCache(root: string): Promise { return false; } +/** Whether a cache under `root` has no column file for its current generation yet, so the next engine run writes it whole (linux: 498 MB, once after the upgrade that brought column files). */ +export async function writesColumns(root: string): Promise { + for (const entry of await readdir(root).catch(() => [])) { + const current = (await readFile(join(root, entry, POINTER), "utf8").catch(() => "")).trim(); + if (current && !existsSync(join(root, entry, `${current}.cols`))) return true; + } + return false; +} + export type Saved = { files: number; chunks: number; uploaded: number; bytes: number; sent: number; deleted: number }; /** Keeps a repository's engine cache in R2 as sealed chunks cut and named by their content, uploading only the chunks R2 does not hold yet (an append or an insertion uploads the chunks around it), then the manifest naming them, then deletes the chunks no manifest names any more. A file unchanged since the last save is not read again; files of a cache generation other than the current one, and files being written, are left out. */ From 89769e490bbd4b45b76a389ee9b0b11fd81fff10 Mon Sep 17 00:00:00 2001 From: Dev Talan <84081651+devchaudhary24k@users.noreply.github.com> Date: Tue, 27 Oct 2026 19:38:33 +0530 Subject: [PATCH 71/82] fix(builder): fewer clones of the same repository A count of Surviving Lines that met one file version its blobless clone lacked was queued again on a full clone, which for linux means cloning everything again; it now fetches the versions it names and counts once more first. A count reads the lean clone only once a lean Build has deleted the full one, so a lean clone made early is never read before its history's versions were fetched. A cold Build keeps its quick blobless clone as the repository's lean clone instead of throwing it away and cloning blobless again when it turns lean. Tests: a count lacking one version fetches it and records on the second try without a full clone; a lean clone beside a full one is not counted from; a cold Build leaves the quick clone as lean and a later lean Build fetches into it, while a private one keeps nothing. --- apps/builder/src/builder.test.ts | 14 +++++++++++++ apps/builder/src/run.ts | 6 +++++- apps/builder/src/survival.test.ts | 33 +++++++++++++++++++++++++++++++ apps/builder/src/survival.ts | 19 ++++++++++++------ docs/working.md | 8 ++++++-- 5 files changed, 71 insertions(+), 9 deletions(-) diff --git a/apps/builder/src/builder.test.ts b/apps/builder/src/builder.test.ts index 80f3c6e..2949aaf 100644 --- a/apps/builder/src/builder.test.ts +++ b/apps/builder/src/builder.test.ts @@ -553,6 +553,20 @@ test("the least recently used repository folders go first when the disk budget i expect(await prune(work, 1500, [join(work, "repos", "acme", "mid")])).toEqual([join(work, "repos", "acme", "new")]); }); +test("a cold Build keeps its quick blobless clone as the repository's lean clone instead of cloning again later; a private one keeps nothing", async () => { + const work = await mkdtemp(join(tmpdir(), "builder-")); + const f = fake(); + await build(req(), cfg(work), f.deps); + expect(existsSync(join(repoDir(cfg(work), "acme", "rocket"), "lean", ".git"))).toBe(true); + expect(existsSync(join(work, "jobs", "build-0001"))).toBe(false); + const again = fake(); + await build(req({ id: "build-0002", lean: true }), cfg(work), again.deps); + expect(again.calls.filter((c) => c.cmd === "git" && c.args[0] === "clone").map((c) => c.args.at(-1))).not.toContain(join(repoDir(cfg(work), "acme", "rocket"), "lean")); + const secret = fake(); + await build(req({ id: "build-0003", repo: "acme/secret", name: "secret", private: true }), cfg(work), secret.deps); + expect(existsSync(join(repoDir(cfg(work), "acme", "secret"), "lean"))).toBe(false); +}); + test("a Build whose cache has no column file for its generation yet asks the memory gate for what writing it takes", async () => { const work = await mkdtemp(join(tmpdir(), "builder-")); const cache = join(cacheDir(cfg(work), "acme", "rocket"), "key-0123"); diff --git a/apps/builder/src/run.ts b/apps/builder/src/run.ts index d748c0e..4208f21 100644 --- a/apps/builder/src/run.ts +++ b/apps/builder/src/run.ts @@ -1,6 +1,6 @@ import { spawn } from "node:child_process"; import { existsSync } from "node:fs"; -import { mkdir, rm, utimes, writeFile } from "node:fs/promises"; +import { mkdir, rename, rm, utimes, writeFile } from "node:fs/promises"; import { setPriority } from "node:os"; import { join } from "node:path"; import type { BuildFailure, BuildStep } from "@commitscape/data"; @@ -349,6 +349,10 @@ export async function build(req: BuildTarget, cfg: Config, deps: Deps): Promise< } const published: Phase | null = fullMade ? "full" : quickMade ? "quick" : null; if (f.ok && lean && fullMade) await rm(join(home, "full"), { recursive: true, force: true }); + if (f.ok && !req.private && quickMade && existsSync(join(quick, ".git")) && !existsSync(join(home, "lean", ".git"))) { + await mkdir(join(home, "lean"), { recursive: true }); + await rename(join(quick, ".git"), join(home, "lean", ".git")).catch((e: unknown) => deps.log?.(`the quick clone of ${req.owner}/${req.name} was not kept: ${(e as Error).message}`)); + } if (f.ok) return { published, seconds: seconds(), resumable: false, kind: phases.kind, made }; resumable = f.reason === "timed_out" && attempt < BUILD_ATTEMPTS; return { published, seconds: seconds(), failure: { reason: f.reason, ...(f.detail ? { detail: f.detail } : {}) }, resumable, kind: phases.kind, made }; diff --git a/apps/builder/src/survival.test.ts b/apps/builder/src/survival.test.ts index 5f71af1..8a77100 100644 --- a/apps/builder/src/survival.test.ts +++ b/apps/builder/src/survival.test.ts @@ -125,6 +125,39 @@ test("a count that waited while a Build published another Report counts nothing" expect((await rows(db)).map((r) => r[1])).toEqual(["stale", "stale"]); }); +test("a count that lacks one file version in the blobless clone fetches it and counts once more before reaching for a full clone", async () => { + const queued: SurvivalJob[] = []; + const dirs: string[] = []; + const missing = "f".repeat(40); + const { db, ctx } = await setup( + async (_cmd, args) => { + dirs.push(args.at(-1) ?? ""); + return dirs.length === 1 ? { code: 1, stderr: `commitscape: could not fetch file contents ${missing} from the remote: missing\n`, timedOut: false } : { code: 0, stderr: "", timedOut: false, stdout: everyone([alice, bob]) }; + }, + {}, + queued, + ); + const home = join(ctx.cfg.work, "repos", "acme", "rocket"); + await mkdir(join(home, "lean", ".git"), { recursive: true }); + await runSurvival({ repoId: "acme/rocket", reportKey: "r/b1", personIds: [3, 4], everyone: true }, ctx); + expect(dirs).toEqual([join(home, "lean"), join(home, "lean")]); + expect(queued).toEqual([]); + expect((await rows(db)).map((r) => r[1])).toEqual(["counted", "counted"]); +}); + +test("a blobless clone beside a full one is not counted from until a lean Build has let the full one go", async () => { + const dirs: string[] = []; + const { ctx } = await setup(async (_cmd, args) => { + dirs.push(args.at(-1) ?? ""); + return { code: 0, stderr: "", timedOut: false, stdout: everyone([alice, bob]) }; + }); + const home = join(ctx.cfg.work, "repos", "acme", "rocket"); + await mkdir(join(home, "lean", ".git"), { recursive: true }); + await mkdir(join(home, "full", ".git"), { recursive: true }); + await runSurvival({ repoId: "acme/rocket", reportKey: "r/b1", personIds: [3, 4], everyone: true }, ctx); + expect(dirs).toEqual([join(home, "full")]); +}); + test("a count that fails on a blobless clone is never recorded, and is made again from a full clone", async () => { const queued: SurvivalJob[] = []; const dirs: string[] = []; diff --git a/apps/builder/src/survival.ts b/apps/builder/src/survival.ts index 58410b4..5b6656c 100644 --- a/apps/builder/src/survival.ts +++ b/apps/builder/src/survival.ts @@ -63,13 +63,13 @@ export async function runSurvival(job: SurvivalJob, ctx: JobContext & { budget: const scratch = scratchDir(cfg, key); const home = repo.isPrivate ? privateDir(cfg, key) : repoDir(cfg, repo.owner, repo.name); const lean = join(home, "lean"); - const leaned = !repo.isPrivate && !job.full && existsSync(join(lean, ".git")); - const full = leaned ? lean : join(home, "full"); const env = gitEnv(token); const started = Date.now(); - const held = await holdingRepo(home, async (): Promise<{ ran: Ran; head: string | null } | "stale" | "failed"> => { + const held = await holdingRepo(home, async (): Promise<{ ran: Ran; head: string | null; leaned: boolean } | "stale" | "failed"> => { const [current] = await db.select({ reportKey: repositories.reportKey, reportHead: repositories.reportHead }).from(repositories).where(eq(repositories.id, job.repoId)); if (current?.reportKey !== job.reportKey) return "stale"; + const leaned = !repo.isPrivate && !job.full && existsSync(join(lean, ".git")) && !existsSync(join(home, "full", ".git")); + const full = leaned ? lean : join(home, "full"); holding.add(key); try { if (leaned) await prefetch(ctx, repo.id, lean, env); @@ -90,14 +90,21 @@ export async function runSurvival(job: SurvivalJob, ctx: JobContext & { budget: if (current.reportHead) args.push("--head", current.reportHead); if (accounts) args.push("--accounts", accounts); args.push("--", full); - const ran = await ctx.run(cfg.bin, args, engineEnv, (budget + cfg.timeLimit) * 1000, { nice: cfg.nice, maxStdout: EVERYONE_BYTES, memoryMb: peakMb("surviving", sized) }); + const count = () => ctx.run(cfg.bin, args, engineEnv, (budget + cfg.timeLimit) * 1000, { nice: cfg.nice, maxStdout: EVERYONE_BYTES, memoryMb: peakMb("surviving", sized) }); + let ran = await count(); + const missing = leaned && ran.code !== 0 && !ran.timedOut ? [...ran.stderr.matchAll(/could not fetch file contents ([0-9a-f]{40,64})/g)].map((m) => m[1] ?? "") : []; + if (missing.length > 0) { + await fetchBlobs({ dir: lean, env, deadline: Date.now() + cfg.cloneLimit * 1000 }, missing).catch((e: unknown) => ctx.log(`surviving ${job.repoId}: file versions not fetched: ${(e as Error).message}`)); + ctx.log(`surviving ${job.repoId}: the blobless clone lacked ${missing.length} file versions, so they are fetched and the count made once more`); + ran = await count(); + } if (ran.code === HEAD_MOVED) { ctx.log(`surviving ${job.repoId}: the clone's head is not the Report's, so nothing is counted for it`); return "stale"; } const save = ctx.saveState; if (save && !repo.isPrivate && ran.code === 0) await save(repo.id, cacheRoot).catch((e: unknown) => ctx.log(`state of ${repo.id} not saved: ${(e as Error).message}`)); - return { ran, head: current.reportHead }; + return { ran, head: current.reportHead, leaned }; } finally { await rm(scratch, { recursive: true, force: true }); if (repo.isPrivate) await rm(home, { recursive: true, force: true }); @@ -108,7 +115,7 @@ export async function runSurvival(job: SurvivalJob, ctx: JobContext & { budget: await mark(held, job.personIds); return; } - const { ran } = held; + const { ran, leaned } = held; const parsed = ran.code === 0 ? survivingOf(ran.stdout ?? "") : null; const answer = parsed && held.head && parsed.head !== held.head ? null : parsed; ctx.log(`surviving ${job.repoId}: ${answer ? (answer.complete ? `${answer.people.length} people counted` : "ownership not whole yet") : ran.timedOut ? "timed out" : "failed"} in ${((Date.now() - started) / 1000).toFixed(1)} s, budget ${budget} s`); diff --git a/docs/working.md b/docs/working.md index 1a173d4..e18e3f9 100644 --- a/docs/working.md +++ b/docs/working.md @@ -66,8 +66,12 @@ to a repository the App is installed on, the nightly seeds and its commit's lines to count later, never an error. git data reads the same clone: git fetches what `diff` and `merge-tree` need itself. The count of Surviving Lines fetches every version of the files changed - since its last count the same way, and fetches any other it meets as - blame walks. A retry reads the full clone. linux, 19 days behind: + since its last count the same way; a count that still meets a version + the clone lacks fetches it and counts once more before it is queued + again on a full clone, and a count reads the lean clone only once a + lean Build has deleted the full one. A cold Build keeps its quick + blobless clone as the repository's lean clone, so it is never cloned + blobless a second time. A retry reads the full clone. linux, 19 days behind: 36 MB of commits and trees and 105 MB of file versions, against 214 MB fetched in full; the kept clone is 2.4 GB instead of 6.6 GB. git's own upkeep is off for every git the Builder runs (`gc.auto=0`, From 75083b0c7bb8a154667b7d6ee72eb2eab9e32490 Mon Sep 17 00:00:00 2001 From: Dev Talan <84081651+devchaudhary24k@users.noreply.github.com> Date: Tue, 27 Oct 2026 19:41:31 +0530 Subject: [PATCH 72/82] fix: the Builder writes only packs its engine service reads A Builder deployed before its engine service wrote packs of format 3, which the earlier engine service cannot read: the deploy order was a rule in DEPLOY.md and nothing more. The engine service's health answer now lists the pack formats it reads, and a Builder given ENGINE_URL asks it (at most every five minutes) before each engine run and has `commitscape build --pack-format 2` write format 2 while the engine service reads no newer one or cannot be asked. Format 2 is the bincode of the whole pack, as the engine service of the release before reads it; the Pack struct is the same as that release's. Tests: a pack written in format 2 reads back as the same pack and is refused by unpack as format 2; the engine service's health answer lists 2 and 3; the Builder writes format 2 when told so and format 3 otherwise, and asks for 3 only when the engine service says it reads it. --- DEPLOY.md | 1 + apps/builder/src/builder.test.ts | 13 +++++ apps/builder/src/config.ts | 3 ++ apps/builder/src/formats.test.ts | 23 +++++++++ apps/builder/src/formats.ts | 16 +++++++ apps/builder/src/job.ts | 2 + apps/builder/src/main.ts | 3 +- apps/builder/src/run.ts | 2 + apps/engine/src/routes.rs | 1 + apps/engine/tests/engine.rs | 1 + crates/commitscape-report/src/pack.rs | 48 +++++++++++++++++++ crates/commitscape/src/build.rs | 12 ++++- ...n-place-and-standard-screens-are-stored.md | 2 +- 13 files changed, 123 insertions(+), 4 deletions(-) create mode 100644 apps/builder/src/formats.test.ts create mode 100644 apps/builder/src/formats.ts diff --git a/DEPLOY.md b/DEPLOY.md index f025282..ff0d3b7 100644 --- a/DEPLOY.md +++ b/DEPLOY.md @@ -237,6 +237,7 @@ Optional, with their defaults: | `ENGINE_NICE` | 10 | The engine runs at this lower priority (0 to 19), so git, the database and the Builder stay responsive | | `LINES_BUDGET_SECONDS` | 120 | How long a Build's line pass may count Lines Changed, the Mainline first, newest first. Lines show once the Mainline's are counted; the commits left are counted by a quiet Build queued a minute later (three at most), and by the next Build | | `MORE_LINES_BUDGET_SECONDS` | 600 | How long such a quiet Build may count, kept two minutes inside `TIME_LIMIT_SECONDS`: nobody waits for it, so it counts what is left in one go and publishes once | +| `ENGINE_URL` | none | The engine service, as the Site reaches it (`http://:4100`, or its private address from a second server). The Builder asks its health answer which pack formats it reads and writes format 2 while it reads no newer one, so a Builder deployed before its engine service still publishes packs the engine service reads; unset, it writes format 3 and the engine service must be deployed first | | `ATLAS_QUALITY` | 5 | The brotli quality `commitscape atlas` packs each pack's Universe Atlas with, 1 to 11. On linux 5 gives a 7.8 MB map (the whole Atlas: 2.9 s, 98 MB); the Atlas is made once per pack, in a process of its own that waits for its share of `ENGINE_MEMORY_MB` | | `LARGE_REPOSITORY_MB` | 1500 | Repositories larger than this, by GitHub's size, are built in a lane of their own | | `LARGE_CONCURRENCY` | 1 | Builds at a time in that lane | diff --git a/apps/builder/src/builder.test.ts b/apps/builder/src/builder.test.ts index 2949aaf..ad13564 100644 --- a/apps/builder/src/builder.test.ts +++ b/apps/builder/src/builder.test.ts @@ -553,6 +553,19 @@ test("the least recently used repository folders go first when the disk budget i expect(await prune(work, 1500, [join(work, "repos", "acme", "mid")])).toEqual([join(work, "repos", "acme", "new")]); }); +test("a Build writes a pack of format 2 while the engine service reads no newer one", async () => { + const work = await mkdtemp(join(tmpdir(), "builder-")); + const formats = async (format: number | undefined) => { + const f = fake(); + if (format) f.deps.packFormat = async () => format; + await build(req(), cfg(work), f.deps); + return builds(f.calls).map((c) => flagOf(c.args, "--pack-format") ?? null); + }; + expect((await formats(2)).every((f) => f === "2")).toBe(true); + expect((await formats(3)).every((f) => f === null)).toBe(true); + expect((await formats(undefined)).every((f) => f === null)).toBe(true); +}); + test("a cold Build keeps its quick blobless clone as the repository's lean clone instead of cloning again later; a private one keeps nothing", async () => { const work = await mkdtemp(join(tmpdir(), "builder-")); const f = fake(); diff --git a/apps/builder/src/config.ts b/apps/builder/src/config.ts index 01cec40..2bd7c8e 100644 --- a/apps/builder/src/config.ts +++ b/apps/builder/src/config.ts @@ -33,6 +33,7 @@ export function loadEnv(runtimeEnv: Record = process ENGINE_MEMORY_MB: positive(1200), BULK_COMMIT_FILES: positive(50), ATLAS_QUALITY: z.coerce.number().int().min(1).max(11).default(5), + ENGINE_URL: z.url().optional(), STATE_KEY: z.string().min(32).optional(), STATE_DISK_DAYS: positive(7), STATE_KEEP_DAYS: positive(180), @@ -93,6 +94,7 @@ export type GitSettings = { export type Config = { bin: string; + engineUrl?: string | undefined; threads: number | undefined; linesBudget: number; nice: number; @@ -139,6 +141,7 @@ export function configOf(env: Env): Config { bulkFiles: env.BULK_COMMIT_FILES, moreLinesBudget: env.MORE_LINES_BUDGET_SECONDS, gitBase: env.GIT_BASE, + engineUrl: env.ENGINE_URL, state: env.STATE_KEY ? { secret: env.STATE_KEY, diskDays: env.STATE_DISK_DAYS, keepDays: env.STATE_KEEP_DAYS } : undefined, git: env.GIT_DATA ? { diff --git a/apps/builder/src/formats.test.ts b/apps/builder/src/formats.test.ts new file mode 100644 index 0000000..e151281 --- /dev/null +++ b/apps/builder/src/formats.test.ts @@ -0,0 +1,23 @@ +import { expect, test } from "vitest"; +import { packFormatOf } from "./formats"; + +const answering = (body: unknown, status = 200) => { + let asked = 0; + const fetcher = (async () => { + asked += 1; + return new Response(JSON.stringify(body), { status }); + }) as unknown as typeof fetch; + return { fetcher, asked: () => asked }; +}; + +test("format 3 only for an engine service that says it reads it, format 2 for an older one or one that cannot be asked", async () => { + expect(await packFormatOf(undefined)()).toBe(3); + const now = answering({ ok: true, pack_formats: [2, 3] }); + const format = packFormatOf("http://engine:4100", now.fetcher); + expect([await format(), await format()]).toEqual([3, 3]); + expect(now.asked()).toBe(1); + expect(await packFormatOf("http://engine:4100", answering({ ok: true }).fetcher)()).toBe(2); + expect(await packFormatOf("http://engine:4100", answering({ ok: false }, 503).fetcher)()).toBe(2); + const down = (async () => Promise.reject(new TypeError("fetch failed"))) as unknown as typeof fetch; + expect(await packFormatOf("http://engine:4100", down)()).toBe(2); +}); diff --git a/apps/builder/src/formats.ts b/apps/builder/src/formats.ts new file mode 100644 index 0000000..b91c5c7 --- /dev/null +++ b/apps/builder/src/formats.ts @@ -0,0 +1,16 @@ +const KEPT_MS = 5 * 60_000; + +/** The pack format to write: 3 when the engine service at `url` says it reads it, else 2, which every engine service reads, also when it cannot be asked; its health answer is asked at most every five minutes. Without an engine service to ask, 3. */ +export function packFormatOf(url: string | undefined, fetcher: typeof fetch = fetch): () => Promise<2 | 3> { + let known: { format: 2 | 3; at: number } | null = null; + return async () => { + if (!url) return 3; + if (known && Date.now() - known.at < KEPT_MS) return known.format; + const format = await fetcher(new URL("/healthz", url), { signal: AbortSignal.timeout(5000) }) + .then(async (r) => (r.ok ? ((await r.json()) as { pack_formats?: unknown }) : null)) + .then((health): 2 | 3 => (Array.isArray(health?.pack_formats) && health.pack_formats.includes(3) ? 3 : 2)) + .catch((): 2 => 2); + known = { format, at: Date.now() }; + return format; + }; +} diff --git a/apps/builder/src/job.ts b/apps/builder/src/job.ts index 86743c8..aaed97e 100644 --- a/apps/builder/src/job.ts +++ b/apps/builder/src/job.ts @@ -65,6 +65,7 @@ export type JobContext = { prefetch?: Deps["prefetch"]; queueBuild?: (job: BuildJob & { attempt: number }, priority: number, startAfter?: number) => Promise; queueAtlas?: (job: AtlasJob) => Promise; + packFormat?: () => Promise; }; export type JobAsked = Pick; @@ -192,6 +193,7 @@ async function claimedJob(buildId: string, ctx: JobContext, attempt: number, ask }, publish, ...(ctx.prefetch ? { prefetch: ctx.prefetch } : {}), + ...(ctx.packFormat ? { packFormat: ctx.packFormat } : {}), ...(stateTier ? { state: { restore: (root: string) => restoreState(stateTier, repo.id, root), save: (root: string) => saveState(stateTier, repo.id, root) } } : {}), index: { live: async () => liveIndex(db, await currentId()), diff --git a/apps/builder/src/main.ts b/apps/builder/src/main.ts index eb3f25f..e4b0405 100644 --- a/apps/builder/src/main.ts +++ b/apps/builder/src/main.ts @@ -39,6 +39,7 @@ import { queueRebuilds } from "./rebuild"; import { forgetStates, saveState as saveRepoState, stateKeys } from "./state"; import { headsOf, queueSeeds, seedConfig, seedList } from "./seeds"; import { atlasJob } from "./universe"; +import { packFormatOf } from "./formats"; const command = process.argv[2] ?? "work"; @@ -141,7 +142,7 @@ async function work() { const queueAtlas = async (job: AtlasJob) => { await boss.send(ATLAS_QUEUE, job, { singletonKey: job.pack }); }; - const ctx = { db, pool, storage, cfg, app, run: engine, github, tokenSecret: env.TOKEN_SECRET, log, telemetry, queuePulls, queueCounts, queueBuild, queueAtlas, ...(saveState ? { saveState } : {}) }; + const ctx = { db, pool, storage, cfg, app, run: engine, github, tokenSecret: env.TOKEN_SECRET, log, telemetry, queuePulls, queueCounts, queueBuild, queueAtlas, packFormat: packFormatOf(cfg.engineUrl), ...(saveState ? { saveState } : {}) }; const building = (queue: string, job: { id: string; data: BuildJob }) => inQueueSpan(job, queue, () => runJob(job.data.buildId, ctx, job.data.attempt ?? 1, { ...(job.data.userId ? { userId: job.data.userId } : {}), ...(job.data.more ? { more: job.data.more } : {}) })); await reapTimed(); diff --git a/apps/builder/src/run.ts b/apps/builder/src/run.ts index 4208f21..442ba96 100644 --- a/apps/builder/src/run.ts +++ b/apps/builder/src/run.ts @@ -147,6 +147,7 @@ export type Deps = { git?: (dir: string, env: NodeJS.ProcessEnv) => Promise; log?: (line: string) => void; phases?: Phases; + packFormat?: () => Promise; }; export const NAME = /^[A-Za-z0-9_.][A-Za-z0-9_.-]{0,99}$/; @@ -201,6 +202,7 @@ export async function build(req: BuildTarget, cfg: Config, deps: Deps): Promise< if (accounts) args.push("--accounts", accounts); const seed = phase === "full" && req.forkOf ? await lineStoreOf(cfg, req.forkOf, join(scratch, "lines-from")) : null; if (seed) args.push("--lines-from", seed); + if ((await deps.packFormat?.()) === 2) args.push("--pack-format", "2"); if (appendable(before)) { const frontier = join(scratch, `${phase}.frontier`); await writeFile(frontier, before.frontier.join("\n")); diff --git a/apps/engine/src/routes.rs b/apps/engine/src/routes.rs index 5445226..9f3c24f 100644 --- a/apps/engine/src/routes.rs +++ b/apps/engine/src/routes.rs @@ -266,6 +266,7 @@ async fn healthz(State(engine): State>) -> Response { "fetches": held.fetches, "decodes": held.decodes, "threads": engine.work.threads(), + "pack_formats": commitscape_report::pack::FORMATS_READ, })) .into_response() } diff --git a/apps/engine/tests/engine.rs b/apps/engine/tests/engine.rs index 8c09c36..70d185f 100644 --- a/apps/engine/tests/engine.rs +++ b/apps/engine/tests/engine.rs @@ -192,6 +192,7 @@ async fn health_is_open_and_everything_else_needs_the_token() { let (status, health) = call(&s.app, "/healthz", None, None).await; assert_eq!(status, StatusCode::OK); assert_eq!(health["ok"], true); + assert_eq!(health["pack_formats"], json!([2, 3])); let body = json!({ "pack": ROCKET, "path": "/api/overview" }); let (status, error) = call(&s.app, "/v1/answer", None, Some(body.clone())).await; assert_eq!( diff --git a/crates/commitscape-report/src/pack.rs b/crates/commitscape-report/src/pack.rs index 209f542..5dd5301 100644 --- a/crates/commitscape-report/src/pack.rs +++ b/crates/commitscape-report/src/pack.rs @@ -21,6 +21,9 @@ const UNPACKED: &[u8; 8] = b"CSUNPK03"; pub const FORMAT: u32 = 3; +/// The pack formats this release reads: the one it writes, and the one before, which an engine service of an earlier release reads alone. +pub const FORMATS_READ: [u32; 2] = [2, FORMAT]; + const LEVEL: u32 = 6; const SECTIONS: usize = 5; @@ -224,6 +227,20 @@ pub fn write_pack(pack: &mut Pack, out: &mut impl Write) -> Result<(), PackError written } +/// Writes a pack in format 2, for an engine service that reads no other: its magic line, then the zlib of the whole pack's bincode, columns included. +pub fn write_pack_2(pack: &mut Pack, out: &mut impl Write) -> Result<(), PackError> { + let format = std::mem::replace(&mut pack.format, 2); + out.write_all(MAGIC_2)?; + let mut z = ZlibEncoder::new(&mut *out, Compression::new(LEVEL)); + let written = bincode::serde::encode_into_std_write(&*pack, &mut z, config()) + .map(|_| ()) + .map_err(|e| PackError::Decode(e.to_string())); + pack.format = format; + written?; + z.finish()?; + Ok(()) +} + fn write_sections( rest: &Pack, commits: &[CommitMeta], @@ -570,6 +587,37 @@ mod tests { assert!(!payload.contains(&b'@')); } + #[test] + fn a_pack_written_in_format_2_reads_back_as_the_same_pack_and_unpacks_as_one_of_format_2() { + let mut pack = Pack::of( + report(), + Reading { + lineage: 9, + lines_complete: true, + lines_mainline: true, + mainline: vec![24, 24], + arrival: vec![Some(1), Some(2)], + release_commits: vec![("v1".into(), "ab".repeat(20))], + }, + ); + let mut bytes = Vec::new(); + write_pack_2(&mut pack, &mut bytes).expect("written"); + assert!(bytes.starts_with(MAGIC_2)); + assert_eq!(pack.format, FORMAT); + let mut read = read_pack(&bytes).expect("read"); + assert_eq!(read.format, 2); + read.format = FORMAT; + assert_eq!(read, pack); + let dir = tempfile::tempdir().expect("a folder"); + let packed = dir.path().join("a.pack"); + std::fs::write(&packed, &bytes).expect("a pack file"); + assert!(matches!( + unpack(&packed, &dir.path().join("a.unpacked")), + Err(PackError::Format(2)) + )); + assert_eq!(FORMATS_READ, [2, 3]); + } + #[test] fn anything_else_is_not_a_pack() { assert!(matches!(read_pack(b"PK\x03\x04"), Err(PackError::NotAPack))); diff --git a/crates/commitscape/src/build.rs b/crates/commitscape/src/build.rs index 6ccc616..0df2596 100644 --- a/crates/commitscape/src/build.rs +++ b/crates/commitscape/src/build.rs @@ -11,7 +11,7 @@ use commitscape_index::{ }; use commitscape_metrics::Span; use commitscape_report::export::{self, Manifest, Since}; -use commitscape_report::pack::{write_pack, Pack, Reading}; +use commitscape_report::pack::{write_pack, write_pack_2, Pack, Reading}; use commitscape_report::report::{summary, Report}; use tracing::field::Empty; @@ -61,6 +61,11 @@ pub struct ExportArgs { #[arg(long, value_name = "MARK", requires = "after")] since: Option, + /// The pack format to write: 3, or 2 for an engine service of an + /// earlier release, which reads no other. + #[arg(long, default_value_t = 3, value_parser = clap::value_parser!(u32).range(2..=3), hide = true)] + pack_format: u32, + #[command(flatten)] run: RunArgs, @@ -321,7 +326,10 @@ pub fn build(args: ExportArgs) -> anyhow::Result<()> { ); let path = args.out.join("pack.bin"); let mut out = BufWriter::with_capacity(1 << 20, std::fs::File::create(&path)?); - write_pack(&mut pack, &mut out)?; + match args.pack_format { + 2 => write_pack_2(&mut pack, &mut out)?, + _ => write_pack(&mut pack, &mut out)?, + } out.flush()?; drop(out); span.record("bytes", std::fs::metadata(&path)?.len()); diff --git a/docs/adr/0031-the-repo-state-and-packs-are-read-in-place-and-standard-screens-are-stored.md b/docs/adr/0031-the-repo-state-and-packs-are-read-in-place-and-standard-screens-are-stored.md index 1422a0d..13564b6 100644 --- a/docs/adr/0031-the-repo-state-and-packs-are-read-in-place-and-standard-screens-are-stored.md +++ b/docs/adr/0031-the-repo-state-and-packs-are-read-in-place-and-standard-screens-are-stored.md @@ -17,7 +17,7 @@ The owner's target is a Build and an engine service that fit in about 250 MB, id - **The Ownership of lines is a file read in place,** commits sorted by id, files by path, each file's owners as varint runs; a new one is written file by file to disk and laid out at the end. Carried-over files copy their runs. A blame walk holds 16 MB of head text, and its rename detection asks git for a deleted file's size before reading it and keeps only the spans of those it reads. - **git's caches are small:** 1 to 8 MB per handle and thread. Speed is the same within noise, except a cold walk of linux (10% more wall time, the same CPU). - **The C allocator gives memory back:** the CLI and the engine service have glibc map every block of 1 MB or more on its own and trim its heap past 1 MB, and the blame walk hands its freed memory back when it ends. glibc otherwise keeps raising the size it maps blocks at and keeps hundreds of MB a long run no longer uses. musl builds are left as they are. -- **Packs are of format 3:** the bincode of everything but the long columns, then each column as zlib of its fixed records, compressed in R2 (3% larger than format 2). The engine service unpacks a pack once, streaming, into a page-aligned file on its volume and maps it; format 2 packs are still decoded. The engine service deploys before the Builder. +- **Packs are of format 3:** the bincode of everything but the long columns, then each column as zlib of its fixed records, compressed in R2 (3% larger than format 2). The engine service unpacks a pack once, streaming, into a page-aligned file on its volume and maps it; format 2 packs are still decoded. The engine service says in its health answer which formats it reads, and a Builder given `ENGINE_URL` writes format 2 while it reads no newer one, so the deploy order is checked rather than only written down. - **The Atlas is made in Rust from the pack.** `commitscape atlas` encodes the Universe's Atlas column by column from a pack read in place and packs it with brotli; a test checks it is byte for byte what the Site's TypeScript encoder makes from the same rows. The Builder no longer writes `universe.jsonl` or runs Node for it. - **Standard screens are stored beside the pack.** Before publishing a full pack, the Builder runs `commitscape screens` in a process of its own under the memory gate and stores the stats and the overview, activity, people and top of the map of all, 1y and 90d as one gzipped object beside the pack (`.screens`). The engine service fetches it with the pack, keeps it on its volume and answers those questions from it; the Site asks the engine service for every screen, so a stored screen costs no R2 read from the Site and its ETag is the pack's. A test checks every stored screen is the engine's own answer. From 34feb8b6c71c2a8600ee742fcb936fc3c9e9fb94 Mon Sep 17 00:00:00 2001 From: Dev Talan <84081651+devchaudhary24k@users.noreply.github.com> Date: Tue, 27 Oct 2026 19:44:41 +0530 Subject: [PATCH 73/82] docs(adr): name the release each upgrade-only reader goes in ADR-0031 listed what is kept only so the deploy and the rebuild after it work, and said it goes "in the next release". It now lists each reader with where it lives: packs of format 2 (read, and written for an older engine service), Reports stored in R2 before Stored Indexes had packs, caches in a clone's folder and older Builders' folders, export marks without a cache generation, and the per-file arrays of index_commits. Each is kept only in the first release after 0.4.0 and removed in the release after it, with step 3.2. --- ...ks-are-read-in-place-and-standard-screens-are-stored.md | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/docs/adr/0031-the-repo-state-and-packs-are-read-in-place-and-standard-screens-are-stored.md b/docs/adr/0031-the-repo-state-and-packs-are-read-in-place-and-standard-screens-are-stored.md index 13564b6..094bf83 100644 --- a/docs/adr/0031-the-repo-state-and-packs-are-read-in-place-and-standard-screens-are-stored.md +++ b/docs/adr/0031-the-repo-state-and-packs-are-read-in-place-and-standard-screens-are-stored.md @@ -33,5 +33,10 @@ The owner's target is a Build and an engine service that fit in about 250 MB, id - The first Build of each repository after the upgrade writes its column file once (linux 13 s, 498 MB). - The engine service's volume holds packs unpacked, about 2.6 times their R2 size; `PACK_DISK_GB` counts them so. - A pack published before this release has no stored screens; the engine service works them out until the repository's next Build. -- Kept for this release only, so the deploy and the one `node builder.mjs rebuild` after it work: reading packs of format 2, reading Reports stored in R2 before Stored Indexes had packs, moving a cache out of a clone's folder where older Builders kept it, and the per-file arrays of `index_commits` the Site no longer writes. They are removed in the next release, with step 3.2 (dropping those arrays). +- Kept only in the first release after 0.4.0, the one this decision ships in, so its deploy and the one `node builder.mjs rebuild` after it work. Each is removed in the release after that one, with step 3.2: + - Packs of format 2: reading them (`MAGIC_2` in `crates/commitscape-report/src/pack.rs`) and writing them for an older engine service (`write_pack_2`, `build --pack-format`, `apps/builder/src/formats.ts` and the Builder's `ENGINE_URL`). The engine service's `pack_formats` stays. + - Reports stored in R2 before Stored Indexes had packs: the stored-Report answers in `apps/site/src/server/repos.ts` and `answers.ts`, and `packages/server/src/reports.ts`. + - Caches in a clone's folder, where older Builders kept them (`cacheFor` in `apps/builder/src/disk.ts`), and the folders older Builders left in the work folder (`LEGACY` in `sweep`). + - Export marks without a cache generation (`Mark::parse` taking four parts). Such a mark already makes a full export, so removing it changes only the parse. + - The per-file arrays of `index_commits` (`files`, `changes`, `added`, `removed`), which the Site no longer writes. Step 3.2 drops them. - Nothing the Builder runs on linux goes above 256 MB of anonymous memory: the Atlas takes 98 MB and 2.9 s (it was 635 MB in Node, from 170 MB of rows `build` wrote). The Site never makes an Atlas (it took 1.16 GB on linux): a pack without one, after a failed attempt or from an earlier release, gets one from the Builder's `atlases` queue, and the engine service no longer answers the rows it was made from (about 450 MB on linux). From e2bcaaed4e741bd969bea514c01773aa6712cd3e Mon Sep 17 00:00:00 2001 From: Dev Talan <84081651+devchaudhary24k@users.noreply.github.com> Date: Tue, 27 Oct 2026 19:57:27 +0530 Subject: [PATCH 74/82] fix: the Builder learns the engine service's pack formats from R2 In production the Builder runs on another server than the engine service, which is reachable only inside its own Docker network, so the Builder had no ENGINE_URL that worked, and an engine service it could not ask made it write format 2: packs of the older format for good, and none of the gains of reading packs in place. When it starts, the engine service now writes engine/formats.json beside the packs (to R2, or into the folder it reads packs from) with the pack formats it reads, its version and when. The Builder writes the newest format the engine service reads, worked out at most every five minutes: PACK_FORMAT when set overrides everything; then the engine service's health answer, where ENGINE_URL reaches it (one that lists no formats is of the release before, so format 2); then engine/formats.json; else format 3, also when R2 cannot be read. An engine service that cannot reach it or reaches it unanswered no longer means format 2. The Builder logs the format and what decided it whenever either changes. Tests: the engine service writes the marker with formats [2, 3] and its version; the format comes from PACK_FORMAT over the health answer over the marker over 3, R2 missing or failing gives 3, a marker listing only formats the Builder cannot write gives 3, and an unreachable engine service leaves the marker to decide. --- DEPLOY.md | 16 +++++-- apps/builder/src/config.ts | 3 ++ apps/builder/src/formats.test.ts | 37 ++++++++++++--- apps/builder/src/formats.ts | 45 ++++++++++++++----- apps/builder/src/main.ts | 2 +- apps/engine/src/lib.rs | 37 +++++++++++++++ apps/engine/src/s3.rs | 18 ++++++++ apps/engine/tests/engine.rs | 15 +++++++ ...n-place-and-standard-screens-are-stored.md | 4 +- packages/server/src/reports.ts | 2 + 10 files changed, 156 insertions(+), 23 deletions(-) diff --git a/DEPLOY.md b/DEPLOY.md index ff0d3b7..3266f3c 100644 --- a/DEPLOY.md +++ b/DEPLOY.md @@ -237,7 +237,8 @@ Optional, with their defaults: | `ENGINE_NICE` | 10 | The engine runs at this lower priority (0 to 19), so git, the database and the Builder stay responsive | | `LINES_BUDGET_SECONDS` | 120 | How long a Build's line pass may count Lines Changed, the Mainline first, newest first. Lines show once the Mainline's are counted; the commits left are counted by a quiet Build queued a minute later (three at most), and by the next Build | | `MORE_LINES_BUDGET_SECONDS` | 600 | How long such a quiet Build may count, kept two minutes inside `TIME_LIMIT_SECONDS`: nobody waits for it, so it counts what is left in one go and publishes once | -| `ENGINE_URL` | none | The engine service, as the Site reaches it (`http://:4100`, or its private address from a second server). The Builder asks its health answer which pack formats it reads and writes format 2 while it reads no newer one, so a Builder deployed before its engine service still publishes packs the engine service reads; unset, it writes format 3 and the engine service must be deployed first | +| `PACK_FORMAT` | none | `2` or `3`: the pack format to write, whatever the engine service says. Set `2` while an engine service of the release before runs (a rollback), and unset it once the engine service is of this release | +| `ENGINE_URL` | none | Only where the Builder can reach the engine service (on one server, or over a private network): its address as the Site uses it. The Builder then asks its health answer which pack formats it reads, every five minutes, and writes the newest it also writes (format 2 for an engine service of the release before, which lists none) | | `ATLAS_QUALITY` | 5 | The brotli quality `commitscape atlas` packs each pack's Universe Atlas with, 1 to 11. On linux 5 gives a 7.8 MB map (the whole Atlas: 2.9 s, 98 MB); the Atlas is made once per pack, in a process of its own that waits for its share of `ENGINE_MEMORY_MB` | | `LARGE_REPOSITORY_MB` | 1500 | Repositories larger than this, by GitHub's size, are built in a lane of their own | | `LARGE_CONCURRENCY` | 1 | Builds at a time in that lane | @@ -321,7 +322,11 @@ Optional, with their defaults: The image has a health check (`commitscape-engine health`, which asks `/healthz`). Deploy it before the Site: the Site does not start without -`ENGINE_URL` and `ENGINE_TOKEN`. +`ENGINE_URL` and `ENGINE_TOKEN`. Each time it starts it writes +`engine/formats.json` to the bucket, with the pack formats it reads, for the +Builder, which cannot reach it from another server; its token needs write +access for that, and without it the log says so and the Builder writes +format 3. ## 6. The Site @@ -491,7 +496,12 @@ When a release is made, the Docker images workflow pushes `latest` and `vX.Y.Z` and then calls a Dokploy deploy webhook for each application, in this order: engine service, Builder, Site. The engine service goes first because it reads every pack format a Builder of the same or an earlier -release writes. In each application's +release writes. When it starts it also writes `engine/formats.json` to R2, +listing the pack formats it reads, and the Builder writes the newest of +those it can write, so a Builder that comes up first, or an engine service +rolled back, is caught. With no such file (an engine service of the release +before writes none) the Builder writes format 3, so roll back with +`PACK_FORMAT=2` on the Builder. In each application's Deployments tab in Dokploy, copy its webhook URL into this repository's secrets on GitHub: diff --git a/apps/builder/src/config.ts b/apps/builder/src/config.ts index 2bd7c8e..951a0ae 100644 --- a/apps/builder/src/config.ts +++ b/apps/builder/src/config.ts @@ -34,6 +34,7 @@ export function loadEnv(runtimeEnv: Record = process BULK_COMMIT_FILES: positive(50), ATLAS_QUALITY: z.coerce.number().int().min(1).max(11).default(5), ENGINE_URL: z.url().optional(), + PACK_FORMAT: z.enum(["2", "3"]).optional(), STATE_KEY: z.string().min(32).optional(), STATE_DISK_DAYS: positive(7), STATE_KEEP_DAYS: positive(180), @@ -95,6 +96,7 @@ export type GitSettings = { export type Config = { bin: string; engineUrl?: string | undefined; + packFormat?: 2 | 3 | undefined; threads: number | undefined; linesBudget: number; nice: number; @@ -142,6 +144,7 @@ export function configOf(env: Env): Config { moreLinesBudget: env.MORE_LINES_BUDGET_SECONDS, gitBase: env.GIT_BASE, engineUrl: env.ENGINE_URL, + packFormat: env.PACK_FORMAT === undefined ? undefined : env.PACK_FORMAT === "2" ? 2 : 3, state: env.STATE_KEY ? { secret: env.STATE_KEY, diskDays: env.STATE_DISK_DAYS, keepDays: env.STATE_KEEP_DAYS } : undefined, git: env.GIT_DATA ? { diff --git a/apps/builder/src/formats.test.ts b/apps/builder/src/formats.test.ts index e151281..d8f2c1c 100644 --- a/apps/builder/src/formats.test.ts +++ b/apps/builder/src/formats.test.ts @@ -1,4 +1,5 @@ import { expect, test } from "vitest"; +import { ENGINE_FORMATS_KEY, memoryStorage } from "@commitscape/server"; import { packFormatOf } from "./formats"; const answering = (body: unknown, status = 200) => { @@ -10,14 +11,36 @@ const answering = (body: unknown, status = 200) => { return { fetcher, asked: () => asked }; }; -test("format 3 only for an engine service that says it reads it, format 2 for an older one or one that cannot be asked", async () => { - expect(await packFormatOf(undefined)()).toBe(3); +const down = (async () => Promise.reject(new TypeError("fetch failed"))) as unknown as typeof fetch; + +const marked = (formats: unknown) => { + const storage = memoryStorage(); + void storage.put(ENGINE_FORMATS_KEY, JSON.stringify({ pack_formats: formats, version: "0.4.0" }), { type: "application/json" }); + return storage; +}; + +test("the format comes from PACK_FORMAT, else the engine service's health answer, else its marker in R2, else 3", async () => { + expect(await packFormatOf({})()).toBe(3); + expect(await packFormatOf({ storage: memoryStorage() })()).toBe(3); + expect(await packFormatOf({ storage: { get: () => Promise.reject(new Error("R2 is down")) } })()).toBe(3); + expect(await packFormatOf({ storage: marked([2]) })()).toBe(2); + expect(await packFormatOf({ storage: marked([2, 3]) })()).toBe(3); + expect(await packFormatOf({ storage: marked([3, 4]) })()).toBe(3); + expect(await packFormatOf({ storage: marked([4]) })()).toBe(3); + expect(await packFormatOf({ setting: 3, storage: marked([2]) })()).toBe(3); + expect(await packFormatOf({ setting: 2, storage: marked([2, 3]) })()).toBe(2); + expect(await packFormatOf({ setting: 2, url: "http://engine:4100", storage: marked([2, 3]) }, answering({ ok: true, pack_formats: [2, 3] }).fetcher)()).toBe(2); +}); + +test("an engine service the Builder can reach answers for itself, and one it cannot leaves the marker to say", async () => { const now = answering({ ok: true, pack_formats: [2, 3] }); - const format = packFormatOf("http://engine:4100", now.fetcher); + const lines: string[] = []; + const format = packFormatOf({ url: "http://engine:4100", storage: marked([2]), log: (l) => lines.push(l) }, now.fetcher); expect([await format(), await format()]).toEqual([3, 3]); expect(now.asked()).toBe(1); - expect(await packFormatOf("http://engine:4100", answering({ ok: true }).fetcher)()).toBe(2); - expect(await packFormatOf("http://engine:4100", answering({ ok: false }, 503).fetcher)()).toBe(2); - const down = (async () => Promise.reject(new TypeError("fetch failed"))) as unknown as typeof fetch; - expect(await packFormatOf("http://engine:4100", down)()).toBe(2); + expect(lines).toEqual(["packs: format 3, from the engine service's health answer"]); + expect(await packFormatOf({ url: "http://engine:4100", storage: marked([2, 3]) }, answering({ ok: true }).fetcher)()).toBe(2); + expect(await packFormatOf({ url: "http://engine:4100", storage: marked([2]) }, answering({ ok: false }, 503).fetcher)()).toBe(2); + expect(await packFormatOf({ url: "http://engine:4100", storage: marked([2, 3]) }, down)()).toBe(3); + expect(await packFormatOf({ url: "http://engine:4100" }, down)()).toBe(3); }); diff --git a/apps/builder/src/formats.ts b/apps/builder/src/formats.ts index b91c5c7..9e464a4 100644 --- a/apps/builder/src/formats.ts +++ b/apps/builder/src/formats.ts @@ -1,16 +1,41 @@ +import { ENGINE_FORMATS_KEY, type Storage } from "@commitscape/server"; + +export type PackFormat = 2 | 3; + +const WRITTEN: PackFormat[] = [3, 2]; + const KEPT_MS = 5 * 60_000; -/** The pack format to write: 3 when the engine service at `url` says it reads it, else 2, which every engine service reads, also when it cannot be asked; its health answer is asked at most every five minutes. Without an engine service to ask, 3. */ -export function packFormatOf(url: string | undefined, fetcher: typeof fetch = fetch): () => Promise<2 | 3> { - let known: { format: 2 | 3; at: number } | null = null; +const newest = (read: unknown): PackFormat | null => (Array.isArray(read) ? (WRITTEN.find((f) => read.includes(f)) ?? null) : null); + +export type FormatSources = { setting?: PackFormat | undefined; url?: string | undefined; storage?: Pick | undefined; log?: (line: string) => void }; + +/** The pack format to write, worked out at most every five minutes: `PACK_FORMAT` when set; else the newest the engine service reads, as its health answer says when `ENGINE_URL` reaches it (one listing no formats is of a release that reads only format 2), or as the marker it writes to R2 when it starts says; else 3. Says in the log when the format or what decided it changes. */ +export function packFormatOf(sources: FormatSources, fetcher: typeof fetch = fetch): () => Promise { + let known: { format: PackFormat; at: number; why: string } | null = null; + const fromHealth = async (url: string): Promise => + fetcher(new URL("/healthz", url), { signal: AbortSignal.timeout(5000) }) + .then(async (r) => (r.ok ? ((await r.json()) as { pack_formats?: unknown }) : null)) + .then((health) => (health ? (newest(health.pack_formats) ?? 2) : null)) + .catch(() => null); + const fromMarker = async (storage: Pick): Promise => + storage + .get(ENGINE_FORMATS_KEY) + .then((o) => (o ? newest((JSON.parse(new TextDecoder().decode(o.body)) as { pack_formats?: unknown }).pack_formats) : null)) + .catch(() => null); + const decide = async (): Promise<{ format: PackFormat; why: string }> => { + if (sources.setting) return { format: sources.setting, why: "PACK_FORMAT" }; + const asked = sources.url ? await fromHealth(sources.url) : null; + if (asked) return { format: asked, why: "the engine service's health answer" }; + const marked = sources.storage ? await fromMarker(sources.storage) : null; + if (marked) return { format: marked, why: `the engine service's ${ENGINE_FORMATS_KEY}` }; + return { format: 3, why: "no word from the engine service" }; + }; return async () => { - if (!url) return 3; if (known && Date.now() - known.at < KEPT_MS) return known.format; - const format = await fetcher(new URL("/healthz", url), { signal: AbortSignal.timeout(5000) }) - .then(async (r) => (r.ok ? ((await r.json()) as { pack_formats?: unknown }) : null)) - .then((health): 2 | 3 => (Array.isArray(health?.pack_formats) && health.pack_formats.includes(3) ? 3 : 2)) - .catch((): 2 => 2); - known = { format, at: Date.now() }; - return format; + const decided = await decide(); + if (known?.format !== decided.format || known.why !== decided.why) sources.log?.(`packs: format ${decided.format}, from ${decided.why}`); + known = { ...decided, at: Date.now() }; + return decided.format; }; } diff --git a/apps/builder/src/main.ts b/apps/builder/src/main.ts index e4b0405..77cae8f 100644 --- a/apps/builder/src/main.ts +++ b/apps/builder/src/main.ts @@ -142,7 +142,7 @@ async function work() { const queueAtlas = async (job: AtlasJob) => { await boss.send(ATLAS_QUEUE, job, { singletonKey: job.pack }); }; - const ctx = { db, pool, storage, cfg, app, run: engine, github, tokenSecret: env.TOKEN_SECRET, log, telemetry, queuePulls, queueCounts, queueBuild, queueAtlas, packFormat: packFormatOf(cfg.engineUrl), ...(saveState ? { saveState } : {}) }; + const ctx = { db, pool, storage, cfg, app, run: engine, github, tokenSecret: env.TOKEN_SECRET, log, telemetry, queuePulls, queueCounts, queueBuild, queueAtlas, packFormat: packFormatOf({ setting: cfg.packFormat, url: cfg.engineUrl, storage, log }), ...(saveState ? { saveState } : {}) }; const building = (queue: string, job: { id: string; data: BuildJob }) => inQueueSpan(job, queue, () => runJob(job.data.buildId, ctx, job.data.attempt ?? 1, { ...(job.data.userId ? { userId: job.data.userId } : {}), ...(job.data.more ? { more: job.data.more } : {}) })); await reapTimed(); diff --git a/apps/engine/src/lib.rs b/apps/engine/src/lib.rs index 2953bde..bbd44ed 100644 --- a/apps/engine/src/lib.rs +++ b/apps/engine/src/lib.rs @@ -18,6 +18,7 @@ pub mod work; use std::net::SocketAddr; use std::sync::Arc; +use std::time::{SystemTime, UNIX_EPOCH}; use packs::{Fetcher, Packs}; use routes::Engine; @@ -53,6 +54,33 @@ pub async fn engine(settings: &Settings) -> Result, String> { ))) } +/// Where the engine service says which pack formats it reads, beside the packs, for a Builder that cannot reach it. +pub const FORMATS_KEY: &str = "engine/formats.json"; + +/// Writes beside the packs (to R2, or into the folder packs are read from) the pack formats this engine service reads and its version, so a Builder writes only packs it reads. +pub fn announce_formats(source: &Source) -> Result<(), String> { + let at = SystemTime::now() + .duration_since(UNIX_EPOCH) + .map(|d| d.as_secs()) + .unwrap_or(0); + let body = serde_json::to_vec(&serde_json::json!({ + "pack_formats": commitscape_report::pack::FORMATS_READ, + "version": env!("CARGO_PKG_VERSION"), + "at": at, + })) + .map_err(|e| e.to_string())?; + match source { + Source::Dir(dir) => { + let path = dir.join(FORMATS_KEY); + if let Some(parent) = path.parent() { + std::fs::create_dir_all(parent).map_err(|e| e.to_string())?; + } + std::fs::write(path, body).map_err(|e| e.to_string()) + } + Source::S3(s3) => s3::S3Source::new(s3)?.put(FORMATS_KEY, &body, "application/json"), + } +} + async fn stopped() { let interrupt = async { let _ = tokio::signal::ctrl_c().await; @@ -84,6 +112,15 @@ pub async fn serve(settings: Settings) -> Result<(), String> { .await .map_err(|e| format!("could not listen on {address}: {e}"))?; tracing::info!(%address, threads = engine.work.threads(), "engine listening"); + let source = settings.source.clone(); + tokio::task::spawn_blocking(move || match announce_formats(&source) { + Ok(()) => tracing::info!(key = FORMATS_KEY, "pack formats announced"), + Err(why) => tracing::warn!( + %why, + key = FORMATS_KEY, + "could not write the pack formats this engine service reads: Builders that cannot ask it write format 3" + ), + }); let app = routes::router(engine.clone()); let served = axum::serve(listener, app) .with_graceful_shutdown(stopped()) diff --git a/apps/engine/src/s3.rs b/apps/engine/src/s3.rs index 22a0779..d6eec15 100644 --- a/apps/engine/src/s3.rs +++ b/apps/engine/src/s3.rs @@ -45,6 +45,24 @@ impl S3Source { }) } + /// Writes `body` as the object `key` with a signed PUT, blocking. + pub fn put(&self, key: &str, body: &[u8], content_type: &str) -> Result<(), String> { + let url = self + .bucket + .put_object(Some(&self.credentials), key) + .sign(SIGNED_FOR); + let response = self + .agent + .put(url.as_str()) + .header("content-type", content_type) + .send(body) + .map_err(|e| format!("could not reach the bucket: {e}"))?; + match response.status().as_u16() { + 200..=299 => Ok(()), + status => Err(format!("the bucket answered {status}")), + } + } + /// Downloads one object into `to` with a signed GET, blocking; `Missing` when the bucket has no such object. pub fn fetch(&self, key: &str, to: &Path) -> Result { let url = self diff --git a/apps/engine/tests/engine.rs b/apps/engine/tests/engine.rs index 70d185f..690a1d0 100644 --- a/apps/engine/tests/engine.rs +++ b/apps/engine/tests/engine.rs @@ -186,6 +186,21 @@ async fn ask(app: &Router, body: Value) -> (StatusCode, Value) { call(app, "/v1/answer", Some(TOKEN), Some(body)).await } +#[test] +fn the_engine_service_writes_beside_the_packs_which_formats_it_reads() { + let dir = tempfile::tempdir().expect("a folder"); + commitscape_engine::announce_formats(&Source::Dir(dir.path().to_path_buf())) + .expect("announced"); + assert_eq!(commitscape_engine::FORMATS_KEY, "engine/formats.json"); + let marker: serde_json::Value = serde_json::from_slice( + &std::fs::read(dir.path().join("engine/formats.json")).expect("written"), + ) + .expect("JSON"); + assert_eq!(marker["pack_formats"], serde_json::json!([2, 3])); + assert_eq!(marker["version"], env!("CARGO_PKG_VERSION")); + assert!(marker["at"].as_u64().unwrap_or(0) > 1_700_000_000); +} + #[tokio::test] async fn health_is_open_and_everything_else_needs_the_token() { let s = setup().await; diff --git a/docs/adr/0031-the-repo-state-and-packs-are-read-in-place-and-standard-screens-are-stored.md b/docs/adr/0031-the-repo-state-and-packs-are-read-in-place-and-standard-screens-are-stored.md index 094bf83..51bda50 100644 --- a/docs/adr/0031-the-repo-state-and-packs-are-read-in-place-and-standard-screens-are-stored.md +++ b/docs/adr/0031-the-repo-state-and-packs-are-read-in-place-and-standard-screens-are-stored.md @@ -17,7 +17,7 @@ The owner's target is a Build and an engine service that fit in about 250 MB, id - **The Ownership of lines is a file read in place,** commits sorted by id, files by path, each file's owners as varint runs; a new one is written file by file to disk and laid out at the end. Carried-over files copy their runs. A blame walk holds 16 MB of head text, and its rename detection asks git for a deleted file's size before reading it and keeps only the spans of those it reads. - **git's caches are small:** 1 to 8 MB per handle and thread. Speed is the same within noise, except a cold walk of linux (10% more wall time, the same CPU). - **The C allocator gives memory back:** the CLI and the engine service have glibc map every block of 1 MB or more on its own and trim its heap past 1 MB, and the blame walk hands its freed memory back when it ends. glibc otherwise keeps raising the size it maps blocks at and keeps hundreds of MB a long run no longer uses. musl builds are left as they are. -- **Packs are of format 3:** the bincode of everything but the long columns, then each column as zlib of its fixed records, compressed in R2 (3% larger than format 2). The engine service unpacks a pack once, streaming, into a page-aligned file on its volume and maps it; format 2 packs are still decoded. The engine service says in its health answer which formats it reads, and a Builder given `ENGINE_URL` writes format 2 while it reads no newer one, so the deploy order is checked rather than only written down. +- **Packs are of format 3:** the bincode of everything but the long columns, then each column as zlib of its fixed records, compressed in R2 (3% larger than format 2). The engine service unpacks a pack once, streaming, into a page-aligned file on its volume and maps it; format 2 packs are still decoded. When it starts, the engine service writes `engine/formats.json` to R2 with the formats it reads and its version, since in production the Builder cannot reach it. The Builder writes the newest format the engine service reads: `PACK_FORMAT` overrides, then the health answer where `ENGINE_URL` reaches it, then that file, else format 3. - **The Atlas is made in Rust from the pack.** `commitscape atlas` encodes the Universe's Atlas column by column from a pack read in place and packs it with brotli; a test checks it is byte for byte what the Site's TypeScript encoder makes from the same rows. The Builder no longer writes `universe.jsonl` or runs Node for it. - **Standard screens are stored beside the pack.** Before publishing a full pack, the Builder runs `commitscape screens` in a process of its own under the memory gate and stores the stats and the overview, activity, people and top of the map of all, 1y and 90d as one gzipped object beside the pack (`.screens`). The engine service fetches it with the pack, keeps it on its volume and answers those questions from it; the Site asks the engine service for every screen, so a stored screen costs no R2 read from the Site and its ETag is the pack's. A test checks every stored screen is the engine's own answer. @@ -34,7 +34,7 @@ The owner's target is a Build and an engine service that fit in about 250 MB, id - The engine service's volume holds packs unpacked, about 2.6 times their R2 size; `PACK_DISK_GB` counts them so. - A pack published before this release has no stored screens; the engine service works them out until the repository's next Build. - Kept only in the first release after 0.4.0, the one this decision ships in, so its deploy and the one `node builder.mjs rebuild` after it work. Each is removed in the release after that one, with step 3.2: - - Packs of format 2: reading them (`MAGIC_2` in `crates/commitscape-report/src/pack.rs`) and writing them for an older engine service (`write_pack_2`, `build --pack-format`, `apps/builder/src/formats.ts` and the Builder's `ENGINE_URL`). The engine service's `pack_formats` stays. + - Packs of format 2: reading them (`MAGIC_2` in `crates/commitscape-report/src/pack.rs`) and writing them for an older engine service (`write_pack_2`, `build --pack-format`, the Builder's `PACK_FORMAT` and format 2 in `apps/builder/src/formats.ts`). The engine service's `pack_formats` and `engine/formats.json` stay. - Reports stored in R2 before Stored Indexes had packs: the stored-Report answers in `apps/site/src/server/repos.ts` and `answers.ts`, and `packages/server/src/reports.ts`. - Caches in a clone's folder, where older Builders kept them (`cacheFor` in `apps/builder/src/disk.ts`), and the folders older Builders left in the work folder (`LEGACY` in `sweep`). - Export marks without a cache generation (`Mark::parse` taking four parts). Such a mark already makes a full export, so removing it changes only the parse. diff --git a/packages/server/src/reports.ts b/packages/server/src/reports.ts index d810ddf..7bca0e5 100644 --- a/packages/server/src/reports.ts +++ b/packages/server/src/reports.ts @@ -33,6 +33,8 @@ export const isQuickPack = (pack: string) => pack.endsWith("-quick.pack"); /** Where the standard screens a Build worked out ahead are kept: beside its pack, as one gzipped JSON object of answers under the keys the Site asks them by, which the engine service fetches with the pack and answers from. */ export const screensKey = (pack: string) => `${pack}.screens`; +export const ENGINE_FORMATS_KEY = "engine/formats.json"; + /** What is kept beside a Stored Index's pack, its Atlas and its screens, as prefixes to delete with the pack. */ export function besidePack(si: number, pack: string): string[] { return [`atlas/${si}/${sha256(pack).slice(0, 16)}/`, screensKey(pack)]; From 9ec55af87dabc1971ae6035d0499ec2408952167 Mon Sep 17 00:00:00 2001 From: Dev Talan <84081651+devchaudhary24k@users.noreply.github.com> Date: Tue, 27 Oct 2026 20:50:25 +0530 Subject: [PATCH 75/82] fix: lines of exported commits are sent again when the files left out change Which files' Lines Changed count (not generated, vendored or lockfiles, as the head says) can change on any commit: a .gitattributes change, or a file that gains a generated header. The cache and the pack then hold new line counts for commits Postgres already has, but the mark held, so an append export sent only the lines counted since, and the loader ignored lines for a commit it already had (ON CONFLICT DO NOTHING). The Site kept the old totals until the next full export. The mark's fingerprint now covers the files left out, by id and path (a generated file renamed away and another made at its path is a change), so when they change the mark no longer holds and the export sends every commit's lines again, as it does for a lost mark; the loader replaces the totals it is sent, counting only those that differ. Found by the differential test of incremental against clean builds (seeds 4 and 158). Tests: an append after a file turns generated sends the earlier commit's lines again, (5, 0) -> (2, 0), and fails without; the fingerprint changes with the files left out and a file's id; lines sent again replace what Postgres held, and the same lines change nothing (real Postgres). --- crates/commitscape/src/build.rs | 9 +++ crates/commitscape/src/mark.rs | 36 +++++++-- crates/commitscape/tests/build.rs | 96 ++++++++++++++++++++++++ docs/working.md | 5 +- packages/server/src/stored-index.test.ts | 8 +- packages/server/src/stored-index.ts | 5 +- 6 files changed, 145 insertions(+), 14 deletions(-) diff --git a/crates/commitscape/src/build.rs b/crates/commitscape/src/build.rs index 0df2596..2353f03 100644 --- a/crates/commitscape/src/build.rs +++ b/crates/commitscape/src/build.rs @@ -119,10 +119,19 @@ fn read(args: &ExportArgs) -> anyhow::Result { _ => None, }; let ignored = repo.blame_ignore_revs()?; + let skipped = commitscape_metrics::skipped_files(&loaded.index); + let left_out: Vec<(u32, &[u8])> = loaded + .index + .paths + .iter() + .filter(|(id, _)| skipped.get(id.idx()).copied().unwrap_or(false)) + .map(|(id, path)| (id.0, path)) + .collect(); let fingerprint = fingerprint( args.common.metrics().max_changeset_size, &ignored, truncated, + &left_out, ); let held = since.filter(|m| known.is_some() && m.fingerprint == fingerprint); let before = held.and_then(|m| m.head).filter(|_| !truncated); diff --git a/crates/commitscape/src/mark.rs b/crates/commitscape/src/mark.rs index ebb069c..250d171 100644 --- a/crates/commitscape/src/mark.rs +++ b/crates/commitscape/src/mark.rs @@ -60,10 +60,17 @@ impl fmt::Display for Mark { } } -/// What an export's rows depend on beside the commits themselves: the export format, the Bulk Commit size, the commits blame passes through and whether the history was cut short. -pub(crate) fn fingerprint(max_changeset_size: u32, ignored: &[Oid], truncated: bool) -> u64 { +/// What an export's rows depend on beside the commits themselves: the export format, the Bulk Commit size, the commits blame passes through, whether the history was cut short, and the files, by id and path, whose lines are left out (generated, vendored and lockfiles, as the head says). +pub(crate) fn fingerprint( + max_changeset_size: u32, + ignored: &[Oid], + truncated: bool, + left_out: &[(u32, &[u8])], +) -> u64 { let mut ignored = ignored.to_vec(); ignored.sort_unstable(); + let mut left_out = left_out.to_vec(); + left_out.sort_unstable(); let mut h = Sha256::new(); h.update(FORMAT.to_le_bytes()); h.update(max_changeset_size.to_le_bytes()); @@ -71,6 +78,11 @@ pub(crate) fn fingerprint(max_changeset_size: u32, ignored: &[Oid], truncated: b for id in &ignored { h.update(id.0); } + for (file, path) in &left_out { + h.update(file.to_le_bytes()); + h.update((path.len() as u64).to_le_bytes()); + h.update(path); + } let digest = h.finalize(); let mut first = [0u8; 8]; first.copy_from_slice(digest.get(..8).unwrap_or(&[0; 8])); @@ -90,7 +102,7 @@ mod tests { len: 1234, hash: 0xfeed, }), - fingerprint: fingerprint(100, &[Oid([1; 20])], false), + fingerprint: fingerprint(100, &[Oid([1; 20])], false, &[]), generation: Some(0x1234_abcd), }, Mark { @@ -119,10 +131,18 @@ mod tests { #[test] fn the_fingerprint_changes_with_what_the_rows_depend_on_and_not_with_order() { let (a, b) = (Oid([1; 20]), Oid([2; 20])); - let base = fingerprint(100, &[a, b], false); - assert_eq!(base, fingerprint(100, &[b, a], false)); - assert_ne!(base, fingerprint(101, &[a, b], false)); - assert_ne!(base, fingerprint(100, &[a], false)); - assert_ne!(base, fingerprint(100, &[a, b], true)); + let x: (u32, &[u8]) = (4, b"gen/x.rs"); + let y: (u32, &[u8]) = (9, b"Cargo.lock"); + let base = fingerprint(100, &[a, b], false, &[x, y]); + assert_eq!(base, fingerprint(100, &[b, a], false, &[y, x])); + assert_ne!(base, fingerprint(101, &[a, b], false, &[x, y])); + assert_ne!(base, fingerprint(100, &[a], false, &[x, y])); + assert_ne!(base, fingerprint(100, &[a, b], true, &[x, y])); + assert_ne!(base, fingerprint(100, &[a, b], false, &[x])); + assert_ne!(base, fingerprint(100, &[a, b], false, &[(5, x.1), y])); + assert_ne!( + fingerprint(100, &[], false, &[(1, b"ab"), (2, b"c")]), + fingerprint(100, &[], false, &[(1, b"a"), (2, b"bc")]) + ); } } diff --git a/crates/commitscape/tests/build.rs b/crates/commitscape/tests/build.rs index 440a66c..f72b0b0 100644 --- a/crates/commitscape/tests/build.rs +++ b/crates/commitscape/tests/build.rs @@ -1147,3 +1147,99 @@ fn a_cache_brought_back_from_an_older_state_never_appends_onto_rows_another_cach postgres.load(&out); assert_eq!(fifth["full"], false); } + +#[test] +fn a_file_that_becomes_generated_has_its_lines_sent_again_for_the_commits_already_exported() { + let dir = tempfile::tempdir().expect("a temporary directory"); + let repo = dir.path().join("repo"); + std::fs::create_dir(&repo).expect("a folder"); + git(&[ + "-C", + repo.to_str().expect("a path"), + "init", + "-q", + "-b", + "main", + ]); + committed_by( + &repo, + "ada", + "feat: a", + &[("a.rs", "1\n2\n"), ("gen.rs", "1\n2\n3\n")], + 1_700_000_000, + ); + let first = rows_of_commit(&dir, &repo, "first", None, "feat: a"); + assert_eq!(first.1, (5, 0)); + committed_by( + &repo, + "ada", + "chore: generated", + &[(".gitattributes", "gen.rs linguist-generated\n")], + 1_700_086_400, + ); + let second = rows_of_commit(&dir, &repo, "second", Some(&first.0), "feat: a"); + assert_eq!(second.0["full"], false); + assert_eq!(second.1, (2, 0)); +} + +fn rows_of_commit( + dir: &tempfile::TempDir, + repo: &Path, + name: &str, + after: Option<&Value>, + subject: &str, +) -> (Value, (i64, i64)) { + let out = dir.path().join(name); + let cache = dir.path().join("cache"); + let frontier = dir.path().join(format!("{name}.frontier")); + let mut args = vec!["build", "--offline", "--cache-key", "acme/generated"]; + let (lineage, mark); + let mut paths: Vec<&Path> = Vec::new(); + if let Some(m) = after { + let tips: Vec<&str> = m["frontier"] + .as_array() + .expect("a frontier") + .iter() + .filter_map(Value::as_str) + .collect(); + std::fs::write(&frontier, tips.join("\n")).expect("the frontier"); + lineage = m["lineage"].as_str().unwrap_or("").to_string(); + mark = m["mark"].as_str().unwrap_or("").to_string(); + args.extend_from_slice(&["--lineage", &lineage, "--since", &mark, "--after"]); + paths.push(&frontier); + } + paths.extend_from_slice(&[ + Path::new("--cache-dir"), + &cache, + Path::new("--out"), + &out, + repo, + ]); + commitscape(&args, &paths); + let manifest = json(&out.join("manifest.json")); + let sha = git(&[ + "-C", + repo.to_str().expect("a path"), + "log", + "--format=%H", + "--grep", + subject, + ]); + let sum = |a: &str| -> i64 { + a.trim_matches(|c| c == '{' || c == '}') + .split(',') + .filter_map(|n| n.parse::().ok()) + .sum() + }; + let wanted = format!("\\\\x{}", sha.trim()); + let from_commits = rows(&out.join("commits.tsv")) + .into_iter() + .find(|r| r[0] == wanted) + .map(|r| (sum(&r[11]), sum(&r[12]))); + let from_lines = rows(&out.join("lines.tsv")) + .into_iter() + .find(|r| r[0] == wanted) + .map(|r| (sum(&r[1]), sum(&r[2]))); + let sent = from_commits.or(from_lines).unwrap_or((-1, -1)); + (manifest, sent) +} diff --git a/docs/working.md b/docs/working.md index e18e3f9..d372f72 100644 --- a/docs/working.md +++ b/docs/working.md @@ -253,7 +253,10 @@ cache generation the export was read from, and the cache keeps the generations it passed through (`index.generations`): a run appends only when its cache descends from that generation, so a cache brought back from an older Repo State, whose signature and file ids may differ from the rows -Postgres holds, writes a full export instead. Beside the Index +Postgres holds, writes a full export instead. The mark's fingerprint covers +the files left out of Lines Changed (generated, vendored and lockfiles, by +id and path): when they change, every commit's lines are sent again and +the loader replaces what Postgres held. Beside the Index the cache keeps its commit graph (`graph`: each commit's parents by place, and the Mainline of the head it was last worked out for); a Build brings it up to date from the commits added since, so the Mainline and the commits diff --git a/packages/server/src/stored-index.test.ts b/packages/server/src/stored-index.test.ts index 93ea593..348f682 100644 --- a/packages/server/src/stored-index.test.ts +++ b/packages/server/src/stored-index.test.ts @@ -154,7 +154,7 @@ describe.skipIf(!url)("loading an export into Postgres", async () => { expect(tree).toEqual([{ id: 0, path: "", parent: null }, { id: 1, path: "src", parent: 0 }]); }); - test("lines counted after a quick load are filled in on the same Stored Index, and show once the Mainline's are all counted", async () => { + test("lines counted after a quick load are filled in on the same Stored Index, lines sent again replace what was there, and lines show once the Mainline's are all counted", async () => { await fresh(); const quick = await loadExport(pool, repo, writeExport({ lines: false, lines_counted: 0, lines_mainline: false, lines_left: null }, [{ n: 1, at: 86_400, signature: 0, files: [0], added: null }, { n: 2, at: 2 * 86_400, signature: 0, files: [0, 1], added: null }])); await makeLive(db, repo, quick.si); @@ -166,9 +166,11 @@ describe.skipIf(!url)("loading an export into Postgres", async () => { expect(mainline).toMatchObject({ si: quick.si, commits: 0, lines: 0 }); expect(await liveIndex(db, repo)).toMatchObject({ id: quick.si, lines: true, linesLeft: 1 }); const filled = await loadExport(pool, repo, writeExport({ full: false, lines: true, total: 2 }, [], { lines: [{ n: 1, added: [9] }, { n: 2, added: [1, 1] }] })); - expect(filled).toMatchObject({ si: quick.si, commits: 0, lines: 1 }); + expect(filled).toMatchObject({ si: quick.si, commits: 0, lines: 2 }); expect(await liveIndex(db, repo)).toMatchObject({ id: quick.si, lines: true, linesLeft: 0 }); - expect((await commitRows(quick.si)).map((r) => r.added)).toEqual([9, 15]); + expect((await commitRows(quick.si)).map((r) => r.added)).toEqual([9, 2]); + const same = await loadExport(pool, repo, writeExport({ full: false, lines: true, total: 2 }, [], { lines: [{ n: 1, added: [9] }] })); + expect(same).toMatchObject({ lines: 0 }); expect(await db.select().from(storedIndexes).where(eq(storedIndexes.repoId, repo))).toHaveLength(1); }); diff --git a/packages/server/src/stored-index.ts b/packages/server/src/stored-index.ts index a8865f6..37266d7 100644 --- a/packages/server/src/stored-index.ts +++ b/packages/server/src/stored-index.ts @@ -79,7 +79,7 @@ export function appendable(live: LiveIndex | null): live is LiveIndex { return live !== null && live.kept && live.frontier.length > 0; } -/** Loads what `commitscape export` wrote into Postgres in one transaction, as a new Stored Index that is not live until `makeLive` publishes it, or appended to the live one with its Mainline brought up to date and the Lines Changed counted since filled in. Its lines show once the Mainline's are all counted; how many commits still wait is kept beside. */ +/** Loads what `commitscape export` wrote into Postgres in one transaction, as a new Stored Index that is not live until `makeLive` publishes it, or appended to the live one with its Mainline brought up to date and the Lines Changed counted since filled in, those sent again (when the files left out of lines changed) replacing what was there. Its lines show once the Mainline's are all counted; how many commits still wait is kept beside. */ export async function loadExport(pool: pg.Pool, repoId: string, dir: string): Promise { const started = Date.now(); const manifest = await readManifest(dir); @@ -172,7 +172,8 @@ async function merge(db: Db, si: number, manifest: ExportManifest): Promise<{ ma SELECT ${si}, l.sha, coalesce((SELECT sum(x) FROM unnest(l.added) AS x), 0), coalesce((SELECT sum(x) FROM unnest(l.removed) AS x), 0) FROM ${from} l JOIN index_commits c ON c.si = ${si} AND c.sha = l.sha WHERE l.added IS NOT NULL - ON CONFLICT (si, sha) DO NOTHING`); + ON CONFLICT (si, sha) DO UPDATE SET added = excluded.added, removed = excluded.removed + WHERE (index_commit_lines.added, index_commit_lines.removed) IS DISTINCT FROM (excluded.added, excluded.removed)`); await lines(sql`s_commits`); const changed = { mainline: 0, lines: 0 }; if (!manifest.full) { From 1bc0fbd178b10b264c49b15c178fb2c312d5bb71 Mon Sep 17 00:00:00 2001 From: Dev Talan <84081651+devchaudhary24k@users.noreply.github.com> Date: Tue, 27 Oct 2026 20:50:32 +0530 Subject: [PATCH 76/82] fix(index): a file once left out has its lines counted wherever it moved The line store keeps the paths it was counted without (lines.left-out), and a commit whose change of a now-kept file it holds as uncounted is counted again. It matched only a file's current path, so a vendored file moved out of vendor/, or a file whose move into vendor/ a force push dropped, kept no lines in the cache, the pack and the Report for good, whenever the Build did not read the kept columns (which track files by id). It now records every path a left-out file has had, and matches any path a kept file has had; a wrong match only counts a commit again. Found by the differential test (seeds 186 and 313). Tests: a vendored file moved out, and one whose move into vendor/ was dropped by a force push, have their lines counted as a cold build counts them, (3, 0) instead of none; both fail without. --- .../commitscape-index/src/cache/line_store.rs | 2 +- crates/commitscape-index/src/lines.rs | 29 ++++- crates/commitscape/tests/build.rs | 104 ++++++++++++++++++ docs/working.md | 8 +- 4 files changed, 134 insertions(+), 9 deletions(-) diff --git a/crates/commitscape-index/src/cache/line_store.rs b/crates/commitscape-index/src/cache/line_store.rs index 556e0ba..7b91375 100644 --- a/crates/commitscape-index/src/cache/line_store.rs +++ b/crates/commitscape-index/src/cache/line_store.rs @@ -84,7 +84,7 @@ impl LineStore { } } - /// The paths the store's lines were last counted without (lockfiles, Generated Files), when it was told: a change of one of them it holds as uncounted was never counted, so it is counted again once the file is kept. + /// The paths the store's lines were last counted without (lockfiles, Generated Files), each file's earlier paths with its current one, when it was told: a change it holds as uncounted of a file that had one of them was never counted, so it is counted again once the file is kept. pub fn left_out(&self) -> Option>> { let bytes = std::fs::read(self.dir.join(LEFT_OUT)).ok()?; Some( diff --git a/crates/commitscape-index/src/lines.rs b/crates/commitscape-index/src/lines.rs index f1cbfed..e260237 100644 --- a/crates/commitscape-index/src/lines.rs +++ b/crates/commitscape-index/src/lines.rs @@ -200,12 +200,26 @@ fn forget_uncounted(index: &Index, plan: &LinePlan, store: &LineStore, known: &m let Some(was) = store.left_out() else { return; }; - let kept_now: Vec = (0..index.paths.len()) + let mut was_out: Vec = (0..index.paths.len()) .map(|i| { - let file = FileId(i as u32); - !plan.skips_file(file) && index.paths.path(file).is_some_and(|p| was.contains(p)) + index + .paths + .path(FileId(i as u32)) + .is_some_and(|p| was.contains(p)) }) .collect(); + for (file, path) in index.paths.departures() { + if was.contains(path) { + if let Some(slot) = was_out.get_mut(file.idx()) { + *slot = true; + } + } + } + let kept_now: Vec = was_out + .iter() + .enumerate() + .map(|(i, &out)| out && !plan.skips_file(FileId(i as u32))) + .collect(); if !kept_now.contains(&true) { return; } @@ -226,13 +240,18 @@ fn forget_uncounted(index: &Index, plan: &LinePlan, store: &LineStore, known: &m } fn keep_left_out(index: &Index, plan: &LinePlan, store: &LineStore) { - let paths = (0..index.paths.len()).filter_map(|i| { + let current = (0..index.paths.len()).filter_map(|i| { let file = FileId(i as u32); plan.skips_file(file) .then(|| index.paths.path(file)) .flatten() }); - if let Err(e) = store.keep_left_out(paths) { + let departed = index + .paths + .departures() + .filter(|(file, _)| plan.skips_file(*file)) + .map(|(_, path)| path); + if let Err(e) = store.keep_left_out(current.chain(departed)) { tracing::warn!("the files left out of the line store were not recorded: {e}"); } } diff --git a/crates/commitscape/tests/build.rs b/crates/commitscape/tests/build.rs index f72b0b0..c98de02 100644 --- a/crates/commitscape/tests/build.rs +++ b/crates/commitscape/tests/build.rs @@ -1243,3 +1243,107 @@ fn rows_of_commit( let sent = from_commits.or(from_lines).unwrap_or((-1, -1)); (manifest, sent) } + +#[test] +fn a_file_left_out_and_then_moved_out_of_its_vendored_folder_has_its_lines_counted() { + let dir = tempfile::tempdir().expect("a temporary directory"); + let repo = dir.path().join("repo"); + std::fs::create_dir_all(repo.join("vendor")).expect("a folder"); + git(&[ + "-C", + repo.to_str().expect("a path"), + "init", + "-q", + "-b", + "main", + ]); + committed( + &repo, + &[("a.rs", "1\n2\n"), ("vendor/v.js", "v\nw\nx\n")], + 1_700_000_000, + ); + let build = |cache: &str, name: &str| -> LinesOf { + let out = dir.path().join(name); + let cache_dir = dir.path().join(cache); + commitscape( + &[ + "build", + "--offline", + "--anchor", + "1800000000", + "--cache-key", + "acme/moved", + "--cache-dir", + ], + &[&cache_dir, Path::new("--out"), &out, &repo], + ); + lines_of(&out) + }; + let first = build("warm", "first"); + std::fs::create_dir_all(repo.join("src")).expect("a folder"); + std::fs::rename(repo.join("vendor/v.js"), repo.join("src/v.js")).expect("moved"); + committed(&repo, &[], 1_700_086_400); + for f in kept_files(&dir.path().join("warm")) { + std::fs::remove_file(f).expect("removing kept columns"); + } + let warm = build("warm", "second"); + let cold = build("cold", "cold"); + let added = git(&[ + "-C", + repo.to_str().expect("a path"), + "rev-list", + "--max-parents=0", + "HEAD", + ]); + let added = added.trim(); + assert!(first[added].contains(&None)); + assert!(!cold[added].contains(&None)); + assert_eq!(warm, cold); +} + +#[test] +fn a_file_moved_into_a_vendored_folder_by_commits_a_force_push_drops_has_its_lines_counted() { + let dir = tempfile::tempdir().expect("a temporary directory"); + let repo = dir.path().join("repo"); + std::fs::create_dir_all(repo.join("src")).expect("a folder"); + let at = repo.to_str().expect("a path"); + git(&["-C", at, "init", "-q", "-b", "main"]); + committed( + &repo, + &[("a.rs", "1\n2\n"), ("src/b.rs", "v\nw\nx\n")], + 1_700_000_000, + ); + let added = git(&["-C", at, "rev-parse", "HEAD"]); + let added = added.trim(); + std::fs::create_dir_all(repo.join("vendor")).expect("a folder"); + std::fs::rename(repo.join("src/b.rs"), repo.join("vendor/v.js")).expect("moved"); + committed(&repo, &[], 1_700_086_400); + let build = |cache: &str, name: &str| -> LinesOf { + let out = dir.path().join(name); + let cache_dir = dir.path().join(cache); + commitscape( + &[ + "build", + "--offline", + "--anchor", + "1800000000", + "--cache-key", + "acme/dropped", + "--cache-dir", + ], + &[&cache_dir, Path::new("--out"), &out, &repo], + ); + lines_of(&out) + }; + let first = build("warm", "first"); + assert!(first[added].contains(&None)); + git(&["-C", at, "reset", "-q", "--hard", added]); + committed(&repo, &[("a.rs", "1\n2\n3\n")], 1_700_172_800); + for f in kept_files(&dir.path().join("warm")) { + std::fs::remove_file(f).expect("removing kept columns"); + } + let warm = build("warm", "second"); + let cold = build("cold", "cold"); + assert!(!cold[added].contains(&None)); + assert_eq!(warm, cold); +} diff --git a/docs/working.md b/docs/working.md index d372f72..cfc151d 100644 --- a/docs/working.md +++ b/docs/working.md @@ -268,9 +268,11 @@ a warm Build reads it without decoding, a Build with new commits streams the old file and the new commits into the next one, and the line pass counts only the commits not settled and writes them back in place. The line store keeps the paths it was counted without beside it -(`lines.left-out`): a file that stops being left out (its attributes -changed, or a new classifier) has the commits it changed counted again, -from the kept columns or without them, never kept as having no lines. +(`lines.left-out`), every earlier path of each file as well as its +current one: a file that stops being left out (its attributes changed, a +new classifier, a rename out of `vendor/`, or a force push dropping the +rename into it) has the commits it changed counted again, from the kept +columns or without them, never kept as having no lines. `commitscape screens PACK --out FILE` works out a pack's standard screens as one JSON object. `--anchor SECONDS` ends every Window there instead of now, so the output comes out the same every time. From 645ae051c977471b90fd3db7bce90fd782013682 Mon Sep 17 00:00:00 2001 From: Dev Talan <84081651+devchaudhary24k@users.noreply.github.com> Date: Tue, 27 Oct 2026 20:50:40 +0530 Subject: [PATCH 77/82] fix(index): a cache classified by new rules starts a new lineage When the commit classifier changes, the cache classifies its commits again, but kept its lineage, so the next export appended: it never sends rows of commits Postgres already holds, and their kinds stayed the old ones until a full export. A reclassified cache now takes a new lineage, so the export after it is full, once per classifier change. Test: a cache classified by older rules is classified again without walking, under a new lineage that the next warm load keeps. --- crates/commitscape-index/src/cache/mod.rs | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/crates/commitscape-index/src/cache/mod.rs b/crates/commitscape-index/src/cache/mod.rs index 897fb7f..bf3a583 100644 --- a/crates/commitscape-index/src/cache/mod.rs +++ b/crates/commitscape-index/src/cache/mod.rs @@ -453,7 +453,11 @@ fn resume( let old_blocks = head.blocks.clone(); let id_runs = head.id_runs.clone(); let mut classify = head.classify.clone(); - let lineage = head.lineage; + let lineage = if reclassify { + format::new_generation() + } else { + head.lineage + }; let indexed = match format::read_ids(ctx.dir, &head) { Ok(ids) => ids, Err(_) => return rebuild(source, ctx, RebuildReason::Unreadable, progress), @@ -683,6 +687,7 @@ mod tests { .cache_key(), ); let mut head = format::read_head(&cache).expect("a cache"); + let lineage = head.lineage; head.classify.version = 0; let previous = Previous { data_file: head.data_file.clone(), @@ -702,7 +707,12 @@ mod tests { let again = load_in(&repo, dir.path()); assert_eq!(again.freshness, Freshness::Updated { added: 0 }); assert_eq!(repo.blobs_read() - read, 2, "both files read again"); + assert_ne!( + again.lineage, lineage, + "commit rows exported before are not appended to" + ); let warm = load_in(&repo, dir.path()); assert_eq!(warm.freshness, Freshness::Warm, "and saved"); + assert_eq!(warm.lineage, again.lineage); } } From 3e247776141c6fa4e904b8c423a6ce257a923043 Mon Sep 17 00:00:00 2001 From: Dev Talan <84081651+devchaudhary24k@users.noreply.github.com> Date: Tue, 27 Oct 2026 20:50:40 +0530 Subject: [PATCH 78/82] test(builder): the Repo State tests delete their folders Each run left a folder of about 49 MB in the system's temporary folder: 4.6 GB on the development box after a day of runs. --- apps/builder/src/state.test.ts | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) diff --git a/apps/builder/src/state.test.ts b/apps/builder/src/state.test.ts index d797a3e..03e514c 100644 --- a/apps/builder/src/state.test.ts +++ b/apps/builder/src/state.test.ts @@ -1,17 +1,27 @@ import { randomBytes } from "node:crypto"; -import { appendFile, mkdir, mkdtemp, readFile, writeFile } from "node:fs/promises"; +import { appendFile, mkdir, mkdtemp as made, readFile, rm, writeFile } from "node:fs/promises"; import { tmpdir } from "node:os"; import { join } from "node:path"; import { fileURLToPath } from "node:url"; import { PGlite } from "@electric-sql/pglite"; import { drizzle } from "drizzle-orm/pglite"; import { migrate } from "drizzle-orm/pglite/migrator"; -import { expect, test } from "vitest"; +import { afterAll, expect, test } from "vitest"; import { memoryStorage, schema, type Db } from "@commitscape/server"; import { CHUNK_BYTES, forgetStates, hasCache, restoreState, saveState, statePrefix, stateKeys } from "./state"; const migrations = fileURLToPath(new URL("../../../packages/server/drizzle", import.meta.url)); +const folders: string[] = []; + +const mkdtemp = async (prefix: string) => { + const dir = await made(prefix); + folders.push(dir); + return dir; +}; + +afterAll(() => Promise.all(folders.map((dir) => rm(dir, { recursive: true, force: true })))); + async function database(): Promise { const db = drizzle(new PGlite(), { schema }); await migrate(db, { migrationsFolder: migrations }); From 9de794f40506b9ee867cefb7c5cb420f864c5c33 Mon Sep 17 00:00:00 2001 From: Dev Talan <84081651+devchaudhary24k@users.noreply.github.com> Date: Tue, 27 Oct 2026 20:50:40 +0530 Subject: [PATCH 79/82] test: builds after random histories write what a clean build writes A differential test of the incremental path. It scripts random histories (commits by six people with an alias and a bot, renames, merges, force pushes, .gitattributes and .mailmap changes) and random operations (a build killed partway, the cache brought back from any earlier Repo State), loads every export as the Builder does into a model of Postgres (appends need the live lineage, line totals replaced, Mainline updated), counts everyone's Surviving Lines, and compares the loaded rows, the pack, meta.json and Surviving Lines with a clean build of the same history, anchored at a fixed time. Ids are handed out in the order a cache first met them and must stay fixed within a lineage, so a clean build numbers them differently; the test compares them by what they name (a signature by its name and first commit, a person by its signatures, a file by its path and birth), and when they come out the same the pack and meta.json must be the same bytes. Folders no file is in, which nothing reads, and colour ties, broken by person id, are not differences. 8 seeds of 30 steps run with cargo test in 6 s; the ignored test runs SEEDS (200) from SEEDS_FROM (100), 40 steps each, in about 4 minutes. Seeds 100-499, 1000-1199 and 2000-2199 pass. Its git runs without automatic maintenance (gc.auto=0, maintenance.auto=false), as the Builder's do: git 2.54 otherwise repacks in the background after commits and objects go missing under the test. --- crates/commitscape/tests/differential.rs | 1135 ++++++++++++++++++++++ docs/working.md | 12 + 2 files changed, 1147 insertions(+) create mode 100644 crates/commitscape/tests/differential.rs diff --git a/crates/commitscape/tests/differential.rs b/crates/commitscape/tests/differential.rs new file mode 100644 index 0000000..8d1f616 --- /dev/null +++ b/crates/commitscape/tests/differential.rs @@ -0,0 +1,1135 @@ +#![allow(clippy::expect_used)] +#![allow(clippy::indexing_slicing)] + +use std::collections::{BTreeMap, BTreeSet, HashMap}; +use std::path::{Path, PathBuf}; +use std::process::{Command, Output, Stdio}; +use std::time::Duration; + +use commitscape_core::SignatureId; +use commitscape_report::pack::{read_pack, write_pack, Pack}; +use serde_json::Value; + +const ANCHOR: &str = "1800000000"; +const KEY: &str = "acme/differential"; +const BULK: &str = "4"; + +const PEOPLE: [(&str, &str); 6] = [ + ("Ada", "ada@example.com"), + ("Ada L", "ada@old.example.com"), + ("Pat", "pat@example.com"), + ("Quinn", "quinn@example.com"), + ("Ren", "ren@example.com"), + ( + "dependabot[bot]", + "49699333+dependabot[bot]@users.noreply.github.com", + ), +]; + +const PATHS: [&str; 10] = [ + "src/a.rs", + "src/b.rs", + "src/deep/c.rs", + "docs/guide.md", + "e.py", + "gen/f.gen", + "vendor/v.js", + "Cargo.lock", + "README.md", + "src/deep/er/d.rs", +]; + +const SUBJECTS: [&str; 7] = [ + "feat: more", + "fix: a bug", + "chore: tidy", + "docs: words", + "refactor: move", + "update", + "Revert \"fix: a bug\"", +]; + +const ATTRIBUTES: [&str; 5] = [ + "*.gen linguist-generated", + "vendor/** linguist-vendored", + "docs/** linguist-documentation", + "e.py linguist-generated", + "src/deep/** linguist-vendored", +]; + +const MAILMAP: [&str; 4] = [ + "Ada ", + "Pat Smith ", + "Quinn Ren ", + "Ada ", +]; + +struct Rng(u64); + +impl Rng { + fn next(&mut self) -> u64 { + self.0 = self.0.wrapping_add(0x9e37_79b9_7f4a_7c15); + let mut z = self.0; + z = (z ^ (z >> 30)).wrapping_mul(0xbf58_476d_1ce4_e5b9); + z = (z ^ (z >> 27)).wrapping_mul(0x94d0_49bb_1331_11eb); + z ^ (z >> 31) + } + + fn below(&mut self, n: usize) -> usize { + usize::try_from(self.next() % (n.max(1) as u64)).unwrap_or(0) + } + + fn one_in(&mut self, n: usize) -> bool { + self.below(n) == 0 + } + + fn pick<'a, T>(&mut self, from: &'a [T]) -> &'a T { + &from[self.below(from.len())] + } +} + +struct Repo { + dir: PathBuf, + clock: u64, + sides: usize, + moved: usize, +} + +impl Repo { + fn new(dir: PathBuf) -> Repo { + std::fs::create_dir_all(&dir).expect("a folder"); + let repo = Repo { + dir, + clock: 1_600_000_000, + sides: 0, + moved: 0, + }; + repo.git(&["init", "-q", "-b", "main"], PEOPLE[0]); + repo + } + + fn run(&self, args: &[&str], who: (&str, &str)) -> Output { + let date = format!("@{} +0000", self.clock); + Command::new("git") + .current_dir(&self.dir) + .args(args) + .env("GIT_CONFIG_GLOBAL", "/dev/null") + .env("GIT_CONFIG_NOSYSTEM", "1") + .env("GIT_CONFIG_COUNT", "2") + .env("GIT_CONFIG_KEY_0", "gc.auto") + .env("GIT_CONFIG_VALUE_0", "0") + .env("GIT_CONFIG_KEY_1", "maintenance.auto") + .env("GIT_CONFIG_VALUE_1", "false") + .env("GIT_AUTHOR_NAME", who.0) + .env("GIT_AUTHOR_EMAIL", who.1) + .env("GIT_COMMITTER_NAME", who.0) + .env("GIT_COMMITTER_EMAIL", who.1) + .env("GIT_AUTHOR_DATE", &date) + .env("GIT_COMMITTER_DATE", &date) + .output() + .expect("git") + } + + fn git(&self, args: &[&str], who: (&str, &str)) -> String { + let out = self.run(args, who); + assert!( + out.status.success(), + "git {args:?}: {}", + String::from_utf8_lossy(&out.stderr) + ); + String::from_utf8_lossy(&out.stdout).trim().to_string() + } + + fn tracked(&self) -> Vec { + self.git(&["ls-files"], PEOPLE[0]) + .lines() + .filter(|p| !p.starts_with('.')) + .map(str::to_string) + .collect() + } + + fn depth(&self) -> usize { + self.git( + &["rev-list", "--first-parent", "--count", "HEAD"], + PEOPLE[0], + ) + .parse() + .unwrap_or(0) + } + + fn write(&self, path: &str, text: &str) { + let at = self.dir.join(path); + if let Some(parent) = at.parent() { + std::fs::create_dir_all(parent).expect("a folder"); + } + std::fs::write(at, text).expect("a file"); + } + + fn edit(&self, rng: &mut Rng, path: &str) { + let at = self.dir.join(path); + let mut lines: Vec = std::fs::read_to_string(&at) + .unwrap_or_default() + .lines() + .map(str::to_string) + .collect(); + if lines.is_empty() || rng.one_in(8) { + lines = (0..1 + rng.below(12)) + .map(|_| format!("let v{} = {};", rng.below(50), rng.below(1000))) + .collect(); + } else { + for _ in 0..1 + rng.below(4) { + let at = rng.below(lines.len() + 1); + let line = format!("let w{} = {};", rng.below(50), rng.below(1000)); + match rng.below(3) { + 0 if at < lines.len() => lines[at] = line, + 1 if at < lines.len() && lines.len() > 1 => { + lines.remove(at); + } + _ => lines.insert(at, line), + } + } + } + let mut text = lines.join("\n"); + text.push('\n'); + self.write(path, &text); + } + + fn commit(&mut self, rng: &mut Rng, subject: &str, who: (&str, &str)) { + self.clock += 3600 + rng.below(86_400) as u64; + self.git(&["add", "-A"], who); + self.git(&["commit", "-q", "--allow-empty", "-m", subject], who); + } + + fn change(&mut self, rng: &mut Rng, avoid: &BTreeSet) -> BTreeSet { + let mut touched = BTreeSet::new(); + for _ in 0..1 + rng.below(3) { + let path = (*rng.pick(&PATHS)).to_string(); + if avoid.contains(&path) { + continue; + } + if self.dir.join(&path).exists() && rng.one_in(7) { + std::fs::remove_file(self.dir.join(&path)).expect("a file"); + } else { + self.edit(rng, &path); + } + touched.insert(path); + } + let who = *rng.pick(&PEOPLE); + let subject = *rng.pick(&SUBJECTS); + self.commit(rng, subject, who); + touched + } + + fn rename(&mut self, rng: &mut Rng) -> bool { + let tracked = self.tracked(); + if tracked.is_empty() { + return false; + } + let from = rng.pick(&tracked).clone(); + let to = match PATHS + .iter() + .find(|p| !self.dir.join(p).exists() && rng.one_in(2)) + { + Some(p) => (*p).to_string(), + None => { + self.moved += 1; + format!("src/moved/m{}.rs", self.moved) + } + }; + if let Some(parent) = self.dir.join(&to).parent() { + std::fs::create_dir_all(parent).expect("a folder"); + } + self.git(&["mv", &from, &to], PEOPLE[0]); + if rng.one_in(2) { + self.edit(rng, &to); + } + let who = *rng.pick(&PEOPLE); + self.commit(rng, "refactor: rename", who); + true + } + + fn listed(&mut self, rng: &mut Rng, file: &str, from: &[&str]) { + let chosen: Vec<&str> = from.iter().copied().filter(|_| rng.one_in(2)).collect(); + if chosen.is_empty() { + let _ = std::fs::remove_file(self.dir.join(file)); + } else { + self.write(file, &format!("{}\n", chosen.join("\n"))); + } + let who = *rng.pick(&PEOPLE); + self.commit(rng, "chore: settings", who); + } + + fn merge(&mut self, rng: &mut Rng) { + self.sides += 1; + let side = format!("side{}", self.sides); + self.git(&["checkout", "-q", "-b", &side], PEOPLE[0]); + let mut touched = BTreeSet::new(); + for _ in 0..1 + rng.below(2) { + touched.extend(self.change(rng, &BTreeSet::new())); + } + self.git(&["checkout", "-q", "main"], PEOPLE[0]); + if rng.one_in(2) { + self.change(rng, &touched); + } + self.clock += 600; + let who = *rng.pick(&PEOPLE); + let message = format!("Merge branch '{side}'"); + let merged = self.run(&["merge", "-q", "--no-ff", "-m", &message, &side], who); + if !merged.status.success() { + self.git(&["merge", "--abort"], who); + } + self.git(&["branch", "-q", "-D", &side], PEOPLE[0]); + } + + fn force_push(&mut self, rng: &mut Rng) -> bool { + let depth = self.depth(); + if depth < 3 { + return false; + } + let back = 1 + rng.below((depth - 2).min(3)); + self.git( + &["reset", "-q", "--hard", &format!("HEAD~{back}")], + PEOPLE[0], + ); + self.git(&["clean", "-q", "-fd"], PEOPLE[0]); + self.change(rng, &BTreeSet::new()); + true + } +} + +fn commitscape(args: &[String]) -> Output { + Command::new(env!("CARGO_BIN_EXE_commitscape")) + .env("COMMITSCAPE_SITE", "http://127.0.0.1:9") + .env("COMMITSCAPE_TELEMETRY", "0") + .env("COMMITSCAPE_THREADS", "2") + .stdin(Stdio::null()) + .args(args) + .output() + .expect("running commitscape") +} + +fn ok(run: Output, what: &str) -> String { + assert!( + run.status.success(), + "{what}: {}", + String::from_utf8_lossy(&run.stderr) + ); + String::from_utf8_lossy(&run.stdout).into_owned() +} + +fn rows(path: &Path) -> Vec> { + std::fs::read_to_string(path) + .unwrap_or_default() + .lines() + .map(|l| l.split('\t').map(str::to_string).collect()) + .collect() +} + +fn sum(array: &str) -> i64 { + array + .trim_matches(|c| c == '{' || c == '}') + .split(',') + .filter_map(|n| n.parse::().ok()) + .sum() +} + +#[derive(Clone)] +struct Live { + lineage: String, + kept: bool, + frontier: Vec, + mark: String, +} + +#[derive(Default, Debug, PartialEq, Clone)] +struct Stored { + commits: BTreeMap>, + lines: BTreeMap, + folders: BTreeMap, + files: BTreeMap>, + file_paths: BTreeSet<(String, String)>, + persons: BTreeSet>, + people: BTreeSet>, + head_files: BTreeSet>, +} + +impl Stored { + fn add_lines(&mut self, sha: &str, added: &str, removed: &str) { + if added == "\\N" || !self.commits.contains_key(sha) { + return; + } + self.lines + .insert(sha.to_string(), (sum(added), sum(removed))); + } + + fn load(&mut self, live: &mut Option, out: &Path) { + let manifest: Value = + serde_json::from_slice(&std::fs::read(out.join("manifest.json")).expect("a manifest")) + .expect("JSON"); + let full = manifest["full"] == true; + let lineage = manifest["lineage"].as_str().unwrap_or("").to_string(); + if full { + *self = Stored::default(); + } else { + assert_eq!( + live.as_ref().map(|l| l.lineage.as_str()), + Some(lineage.as_str()), + "an export of what is new needs the live Stored Index it was made after" + ); + } + for row in rows(&out.join("commits.tsv")) { + self.commits + .entry(row[0].clone()) + .or_insert_with(|| row[1..11].to_vec()); + } + for row in rows(&out.join("commits.tsv")) { + self.add_lines(&row[0], &row[11], &row[12]); + } + if !full { + for row in rows(&out.join("mainline.tsv")) { + if let Some(c) = self.commits.get_mut(&row[0]) { + c[5].clone_from(&row[1]); + c[6].clone_from(&row[2]); + } + } + for row in rows(&out.join("lines.tsv")) { + self.add_lines(&row[0], &row[1], &row[2]); + } + } + for row in rows(&out.join("folders.tsv")) { + self.folders + .entry(row[0].clone()) + .or_insert((row[1].clone(), row[2].clone())); + } + for row in rows(&out.join("files.tsv")) { + if self.folders.contains_key(&row[2]) { + self.files.insert(row[0].clone(), row[1..].to_vec()); + } + } + for row in rows(&out.join("file_paths.tsv")) { + self.file_paths.insert((row[0].clone(), row[1].clone())); + } + self.persons = rows(&out.join("persons.tsv")).into_iter().collect(); + self.people = rows(&out.join("people.tsv")).into_iter().collect(); + self.head_files = rows(&out.join("head_files.tsv")).into_iter().collect(); + *live = Some(Live { + lineage, + kept: manifest["kept"] == true, + frontier: manifest["frontier"] + .as_array() + .map(|f| { + f.iter() + .filter_map(Value::as_str) + .map(str::to_string) + .collect() + }) + .unwrap_or_default(), + mark: manifest["mark"].as_str().unwrap_or("").to_string(), + }); + } +} + +struct Site { + dir: PathBuf, + accounts: PathBuf, + runs: usize, +} + +impl Site { + fn args(&mut self, cache: &Path, repo: &Path, live: Option<&Live>) -> (Vec, PathBuf) { + self.runs += 1; + let out = self.dir.join(format!("out{}", self.runs)); + let mut args: Vec = [ + "build", + "--offline", + "--anchor", + ANCHOR, + "--max-changeset-size", + BULK, + "--cache-key", + KEY, + ] + .map(str::to_string) + .to_vec(); + for (flag, path) in [ + ("--cache-dir", cache), + ("--accounts", &self.accounts), + ("--out", &out), + ] { + args.push(flag.to_string()); + args.push(path.to_string_lossy().into_owned()); + } + if let Some(l) = live.filter(|l| l.kept && !l.frontier.is_empty()) { + let frontier = self.dir.join(format!("frontier{}", self.runs)); + std::fs::write(&frontier, l.frontier.join("\n")).expect("a frontier"); + args.push("--after".to_string()); + args.push(frontier.to_string_lossy().into_owned()); + args.push("--lineage".to_string()); + args.push(l.lineage.clone()); + if !l.mark.is_empty() { + args.push("--since".to_string()); + args.push(l.mark.clone()); + } + } + args.push("--".to_string()); + args.push(repo.to_string_lossy().into_owned()); + (args, out) + } + + fn build(&mut self, cache: &Path, repo: &Path, live: Option<&Live>) -> PathBuf { + let (args, out) = self.args(cache, repo, live); + ok(commitscape(&args), "build"); + out + } + + fn killed(&mut self, cache: &Path, repo: &Path, live: Option<&Live>, after: Duration) { + let (args, out) = self.args(cache, repo, live); + let mut child = Command::new(env!("CARGO_BIN_EXE_commitscape")) + .env("COMMITSCAPE_SITE", "http://127.0.0.1:9") + .env("COMMITSCAPE_TELEMETRY", "0") + .env("COMMITSCAPE_THREADS", "2") + .stdin(Stdio::null()) + .stdout(Stdio::null()) + .stderr(Stdio::null()) + .args(&args) + .spawn() + .expect("running commitscape"); + std::thread::sleep(after); + let _ = child.kill(); + let _ = child.wait(); + let _ = std::fs::remove_dir_all(out); + } + + fn surviving(&self, cache: &Path, repo: &Path) -> Value { + let args: Vec = [ + "surviving", + "--everyone", + "--offline", + "--budget-seconds", + "600", + "--max-changeset-size", + BULK, + "--cache-key", + KEY, + "--cache-dir", + &cache.to_string_lossy(), + "--accounts", + &self.accounts.to_string_lossy(), + &repo.to_string_lossy(), + ] + .map(|s| s.to_string()) + .to_vec(); + let mut answer: Value = + serde_json::from_str(&ok(commitscape(&args), "surviving")).expect("JSON"); + for person in answer["people"].as_array_mut().into_iter().flatten() { + person["seconds"] = Value::Null; + } + answer + } +} + +fn copy_dir(from: &Path, to: &Path) { + std::fs::create_dir_all(to).expect("a folder"); + for entry in std::fs::read_dir(from).expect("a folder").flatten() { + let target = to.join(entry.file_name()); + if entry.file_type().expect("a type").is_dir() { + copy_dir(&entry.path(), &target); + } else { + std::fs::copy(entry.path(), &target).expect("a copy"); + } + } +} + +type Tables = BTreeMap<&'static str, BTreeSet>; + +#[derive(PartialEq)] +struct Names { + signatures: HashMap, + persons: HashMap, + files: HashMap, + paths: Vec>, +} + +impl Names { + fn of(pack: &Pack) -> Names { + let authors = &pack.index.authors; + let mut wrote: HashMap = HashMap::new(); + for c in pack.index.commits.iter() { + let sha = c.id.to_hex(); + let e = wrote.entry(c.signature.0).or_insert((0, sha.clone())); + e.0 += 1; + if sha < e.1 { + e.1 = sha; + } + } + let signature = |s: SignatureId| { + let name = authors.signature(s).map_or("?", |r| r.name); + match wrote.get(&s.0) { + Some((n, first)) => format!("{name}, {n} from {}", first.get(..8).unwrap_or("")), + None => format!("{name}, none"), + } + }; + let signatures = (0..authors.signature_count()) + .map(|i| { + let id = u32::try_from(i).unwrap_or(u32::MAX); + (id.to_string(), signature(SignatureId(id))) + }) + .collect(); + let persons = authors + .iter() + .map(|(id, a)| { + let mut members: Vec = a.signatures.iter().map(|s| signature(*s)).collect(); + members.sort(); + (id.0.to_string(), members.join(", ")) + }) + .collect(); + let files = pack + .index + .paths + .iter() + .map(|(id, path)| { + let born = pack + .index + .file_history + .get(id.idx()) + .map_or(0, |h| h.first_seen); + ( + id.0.to_string(), + format!("{}@{born}", String::from_utf8_lossy(path)), + ) + }) + .collect(); + Names { + signatures, + persons, + files, + paths: pack + .index + .paths + .path_names() + .map(|(_, p)| p.to_vec()) + .collect(), + } + } + + fn named(map: &HashMap, id: &str) -> String { + map.get(id) + .cloned() + .unwrap_or_else(|| format!("unknown {id}")) + } + + fn signature(&self, id: &str) -> String { + Names::named(&self.signatures, id) + } + + fn person(&self, id: &str) -> String { + Names::named(&self.persons, id) + } + + fn file(&self, id: &str) -> String { + Names::named(&self.files, id) + } + + fn changes(&self, files: &str, kinds: &str) -> String { + let list = |a: &str| -> Vec { + a.trim_matches(|c| c == '{' || c == '}') + .split(',') + .filter(|s| !s.is_empty()) + .map(str::to_string) + .collect() + }; + let mut pairs: Vec = list(files) + .iter() + .zip(list(kinds)) + .map(|(f, k)| format!("{}:{k}", self.file(f))) + .collect(); + pairs.sort(); + pairs.join(" ") + } +} + +fn add(tables: &mut Tables, table: &'static str, row: String) { + tables.entry(table).or_default().insert(row); +} + +fn loaded_rows(stored: &Stored, names: &Names) -> Tables { + let mut t = Tables::new(); + for (sha, c) in &stored.commits { + let row = format!( + "{sha} {} {} {} [{}] {} {} {} {:?} [{}]", + c[0], + c[1], + c[2], + names.signature(&c[3]), + c[4], + c[5], + c[6], + c[7], + names.changes(&c[8], &c[9]) + ); + add(&mut t, "commits", row); + } + for (sha, (a, r)) in &stored.lines { + add(&mut t, "lines", format!("{sha} +{a} -{r}")); + } + let mut used: BTreeSet<&String> = stored.files.values().filter_map(|f| f.get(1)).collect(); + let mut walk: Vec<&String> = used.iter().copied().collect(); + while let Some(path) = walk.pop() { + if let Some((parent, _)) = stored.folders.get(path) { + if used.insert(parent) { + walk.push(parent); + } + } + } + for path in used { + if let Some((parent, depth)) = stored.folders.get(path) { + add(&mut t, "folders", format!("{path:?} {parent:?} {depth}")); + } + } + for (id, f) in &stored.files { + add( + &mut t, + "files", + format!("[{}] {}", names.file(id), f.join(" ")), + ); + } + for (id, path) in &stored.file_paths { + add(&mut t, "file_paths", format!("[{}] {path}", names.file(id))); + } + for p in &stored.persons { + add( + &mut t, + "persons", + format!("[{}] {}", names.person(&p[0]), p[1..].join(" ")), + ); + } + for p in &stored.people { + let row = format!( + "[{}] {} [{}] {} {} {}", + names.signature(&p[0]), + p[1], + names.person(&p[2]), + p[3], + p[5], + p[6] + ); + add(&mut t, "people", row); + add(&mut t, "people colours", p[4].clone()); + } + for h in &stored.head_files { + add( + &mut t, + "head_files", + format!("[{}] {}", names.file(&h[0]), h[1..].join(" ")), + ); + } + t +} + +fn pack_rows(pack: &Pack, names: &Names) -> Tables { + let mut t = Tables::new(); + let index = &pack.index; + let mut order = Vec::new(); + for (i, c) in index.commits.iter().enumerate() { + let mut changes: Vec = index + .changes_of(c) + .iter() + .map(|ch| { + format!( + "{}:{:?}:{:?}", + names.file(&ch.file.0.to_string()), + ch.kind, + ch.lines().map(|d| (d.added, d.removed)) + ) + }) + .collect(); + changes.sort(); + let row = format!( + "{} {} {} {} [{}] {:?} {:?} {:?} [{}] {:?} {:?}", + c.id.to_hex(), + c.time, + c.offset_minutes, + c.author_delta, + names.signature(&c.signature.0.to_string()), + c.kind, + c.flags, + index.subject_of(c), + changes.join(" "), + pack.mainline.get(i), + pack.arrival.get(i) + ); + add(&mut t, "commits", row); + order.push(c.id.to_hex()); + } + add(&mut t, "commit order", order.join(" ")); + for (id, a) in index.authors.iter() { + let row = format!( + "[{}] {} {:?}", + names.person(&id.0.to_string()), + a.name, + a.traits + ); + add(&mut t, "persons", row); + } + for (id, login) in &pack.logins { + add( + &mut t, + "logins", + format!("[{}] {login}", names.person(&id.to_string())), + ); + } + for (_, colour) in &pack.colours { + add(&mut t, "colours", colour.to_string()); + } + for d in &index.authors.suspected_duplicates { + let mut same: Vec = d.iter().map(|a| names.person(&a.0.to_string())).collect(); + same.sort(); + add(&mut t, "suspected duplicates", same.join(" | ")); + } + for h in &index.head { + let row = format!( + "[{}] {:?} {} {} {} {} {} {} {:?}", + names.file(&h.file.0.to_string()), + index.paths.path_name(h.path).map(String::from_utf8_lossy), + h.blob.to_hex(), + h.bytes, + h.loc, + h.indent_levels, + h.indent_mean, + h.indent_stddev, + h.class + ); + add(&mut t, "head", row); + } + for (i, h) in index.file_history.iter().enumerate() { + let row = format!( + "[{}] {} {}", + names.file(&i.to_string()), + h.first_seen, + h.last_touched + ); + add(&mut t, "file history", row); + } + let rest = format!( + "{} {} {:?} {} {:?} {} {} {} {:?} {:?} {:?} {:?} {} {:?} {}", + pack.format, + pack.name, + pack.head, + pack.anchor, + pack.options, + pack.lines_counted, + pack.lines_complete, + pack.lines_mainline, + pack.releases, + pack.release_commits, + index.frontier, + index.head_commit, + index.history_truncated, + index.span, + index.schema_version + ); + add(&mut t, "pack", rest); + t +} + +fn meta_rows(out: &Path, names: &Names) -> Tables { + let mut meta: Value = + serde_json::from_slice(&std::fs::read(out.join("meta.json")).expect("a meta")) + .expect("JSON"); + let mut t = Tables::new(); + for person in meta["people"].as_array_mut().into_iter().flatten() { + let id = person["person_id"].to_string(); + person["person_id"] = names.person(&id).into(); + add(&mut t, "people", person.to_string()); + } + meta["people"] = Value::Null; + add(&mut t, "meta", meta.to_string()); + t +} + +fn surviving_rows(answer: &Value, names: &Names) -> Tables { + let mut t = Tables::new(); + let mut rest = answer.clone(); + for person in answer["people"].as_array().into_iter().flatten() { + let mut p = person.clone(); + p["id"] = names.person(&person["id"].to_string()).into(); + p["seconds"] = Value::Null; + add(&mut t, "people", p.to_string()); + } + rest["people"] = Value::Null; + add(&mut t, "surviving", rest.to_string()); + t +} + +fn differences(what: &str, a: &Tables, b: &Tables) -> String { + let mut out = String::new(); + let empty = BTreeSet::new(); + let tables: BTreeSet<&&str> = a.keys().chain(b.keys()).collect(); + for table in tables { + let (x, y) = ( + a.get(*table).unwrap_or(&empty), + b.get(*table).unwrap_or(&empty), + ); + if x == y { + continue; + } + out.push_str(&format!("{what}, {table}:\n")); + for row in x.difference(y).take(12) { + out.push_str(&format!(" only incremental {row}\n")); + } + for row in y.difference(x).take(12) { + out.push_str(&format!(" only clean {row}\n")); + } + } + out +} + +fn pack_of(out: &Path) -> (Pack, Vec) { + let mut pack = read_pack(&std::fs::read(out.join("pack.bin")).expect("a pack")).expect("read"); + pack.lineage = 0; + let mut bytes = Vec::new(); + write_pack(&mut pack, &mut bytes).expect("written"); + (pack, bytes) +} + +fn fields_apart(a: &Pack, b: &Pack) -> String { + let (x, y) = (&a.index, &b.index); + let fields = [ + ("paths", format!("{:?}", x.paths), format!("{:?}", y.paths)), + ( + "authors", + format!("{:?}", x.authors), + format!("{:?}", y.authors), + ), + ( + "commits", + format!("{:?}", x.commits), + format!("{:?}", y.commits), + ), + ( + "changes", + format!("{:?}", x.changes), + format!("{:?}", y.changes), + ), + ( + "subjects", + format!("{:?}", x.subjects), + format!("{:?}", y.subjects), + ), + ("head", format!("{:?}", x.head), format!("{:?}", y.head)), + ( + "file_history", + format!("{:?}", x.file_history), + format!("{:?}", y.file_history), + ), + ("repo", format!("{:?}", x.repo), format!("{:?}", y.repo)), + ( + "frontier", + format!("{:?}", x.frontier), + format!("{:?}", y.frontier), + ), + ( + "logins", + format!("{:?}", a.logins), + format!("{:?}", b.logins), + ), + ( + "colours", + format!("{:?}", a.colours), + format!("{:?}", b.colours), + ), + ( + "mainline", + format!("{:?}", (&a.mainline, &a.arrival)), + format!("{:?}", (&b.mainline, &b.arrival)), + ), + ]; + fields + .iter() + .filter(|(_, p, q)| p != q) + .map(|(name, p, q)| format!("{name}:\n incremental {p}\n clean {q}")) + .collect::>() + .join("\n") +} + +struct Built<'a> { + out: &'a Path, + stored: &'a Stored, + surviving: &'a Value, +} + +fn compare(seed: u64, log: &[String], site: &mut Site, repo: &Path, built: &Built<'_>) { + let clean_cache = site.dir.join("clean-cache"); + let _ = std::fs::remove_dir_all(&clean_cache); + let clean_out = site.build(&clean_cache, repo, None); + let mut clean = Stored::default(); + clean.load(&mut None, &clean_out); + let clean_surviving = site.surviving(&clean_cache, repo); + let (a, b) = (pack_of(built.out), pack_of(&clean_out)); + let (na, nb) = (Names::of(&a.0), Names::of(&b.0)); + let mut found = String::new(); + found.push_str(&differences( + "the loaded rows", + &loaded_rows(built.stored, &na), + &loaded_rows(&clean, &nb), + )); + found.push_str(&differences( + "the pack", + &pack_rows(&a.0, &na), + &pack_rows(&b.0, &nb), + )); + found.push_str(&differences( + "meta.json", + &meta_rows(built.out, &na), + &meta_rows(&clean_out, &nb), + )); + found.push_str(&differences( + "Surviving Lines", + &surviving_rows(built.surviving, &na), + &surviving_rows(&clean_surviving, &nb), + )); + let at = format!("seed {seed} after {}", log.join(", ")); + assert!(found.is_empty(), "{at}:\n{found}"); + if na == nb { + let meta = |dir: &Path| std::fs::read(dir.join("meta.json")).expect("written"); + assert!( + a.1 == b.1, + "{at}: the pack's bytes differ in {}", + fields_apart(&a.0, &b.0) + ); + assert!( + meta(built.out) == meta(&clean_out), + "{at}: meta.json's bytes differ" + ); + } + let _ = std::fs::remove_dir_all(clean_out); +} + +fn run(seed: u64, steps: usize) { + let mut rng = Rng(seed); + let dir = tempfile::tempdir_in(env!("CARGO_TARGET_TMPDIR")).expect("a temporary directory"); + let mut repo = Repo::new(dir.path().join("repo")); + let accounts = dir.path().join("accounts.json"); + std::fs::write( + &accounts, + r#"{"pat@example.com":"pat-gh","quinn@example.com":"quinn-gh"}"#, + ) + .expect("accounts"); + let mut site = Site { + dir: dir.path().to_path_buf(), + accounts, + runs: 0, + }; + let cache = dir.path().join("cache"); + let mut live: Option = None; + let mut stored = Stored::default(); + let mut states: Vec = Vec::new(); + let mut log: Vec = Vec::new(); + repo.change(&mut rng, &BTreeSet::new()); + log.push("commit".to_string()); + let mut last: Option<(PathBuf, Value)> = None; + for step in 0..steps { + let roll = rng.below(100); + let op = match roll { + 0..=34 => { + repo.change(&mut rng, &BTreeSet::new()); + "commit" + } + 35..=41 => { + if !repo.rename(&mut rng) { + continue; + } + "rename" + } + 42..=46 => { + repo.listed(&mut rng, ".gitattributes", &ATTRIBUTES); + ".gitattributes" + } + 47..=51 => { + repo.listed(&mut rng, ".mailmap", &MAILMAP); + ".mailmap" + } + 52..=58 => { + repo.merge(&mut rng); + "merge" + } + 59..=64 => { + if !repo.force_push(&mut rng) { + continue; + } + "force push" + } + 65..=70 => { + let after = Duration::from_millis(rng.below(400) as u64); + site.killed(&cache, &repo.dir, live.as_ref(), after); + "killed build" + } + 71..=75 => { + if states.is_empty() { + continue; + } + let from = rng.pick(&states).clone(); + let _ = std::fs::remove_dir_all(&cache); + copy_dir(&from, &cache); + "State restored" + } + _ => { + let out = site.build(&cache, &repo.dir, live.as_ref()); + stored.load(&mut live, &out); + let state = dir.path().join(format!("state{step}")); + copy_dir(&cache, &state); + states.push(state); + let surviving = site.surviving(&cache, &repo.dir); + if let Some((previous, _)) = last.replace((out, surviving)) { + let _ = std::fs::remove_dir_all(previous); + } + "build" + } + }; + log.push(op.to_string()); + if op == "build" { + if let Some((out, surviving)) = &last { + let built = Built { + out, + stored: &stored, + surviving, + }; + compare(seed, &log, &mut site, &repo.dir, &built); + } + } + } + let out = site.build(&cache, &repo.dir, live.as_ref()); + stored.load(&mut live, &out); + let surviving = site.surviving(&cache, &repo.dir); + log.push("build".to_string()); + let built = Built { + out: &out, + stored: &stored, + surviving: &surviving, + }; + compare(seed, &log, &mut site, &repo.dir, &built); +} + +#[test] +fn builds_after_random_histories_and_operations_write_what_a_clean_build_writes() { + for seed in 1..=8 { + run(seed, 30); + } +} + +#[test] +#[ignore = "hundreds of seeds; run with --ignored"] +fn many_seeds_of_random_histories_and_operations_write_what_a_clean_build_writes() { + let from: u64 = std::env::var("SEEDS_FROM") + .ok() + .and_then(|s| s.parse().ok()) + .unwrap_or(100); + let count: u64 = std::env::var("SEEDS") + .ok() + .and_then(|s| s.parse().ok()) + .unwrap_or(200); + for seed in from..from + count { + eprintln!("seed {seed}"); + run(seed, 40); + } +} diff --git a/docs/working.md b/docs/working.md index cfc151d..1606204 100644 --- a/docs/working.md +++ b/docs/working.md @@ -307,6 +307,18 @@ pnpm dev:landing # the landing page on http://localhost:3200 | `packages/server` against the real services | `TEST_DATABASE_URL=postgres://commitscape:commitscape@localhost:5434/commitscape TEST_S3_ENDPOINT=http://localhost:9100 pnpm --filter @commitscape/server test` | | The Site, the engine service and the Builder together | `cargo build --release -p commitscape -p commitscape-engine`, then `pnpm e2e` | | The Report's types after a Rust change | `COMMITSCAPE_UPDATE_TYPES=1 cargo test -p commitscape-report` | +| Builds after random histories against a clean build | `cargo test -p commitscape --test differential` (8 seeds); `SEEDS_FROM=100 SEEDS=200 cargo test -p commitscape --test differential -- --ignored` for more | + +The differential test scripts random histories (commits by several +people, renames, merges, force pushes, `.gitattributes` and `.mailmap` +changes) and random operations on them (a killed build, the cache brought +back from an earlier Repo State), loads every export as the Builder does +into a model of Postgres, and compares the rows, the pack, `meta.json` and +everyone's Surviving Lines with a clean build of the same history. Ids +(signatures, people, files) are handed out in the order a cache first met +them and stay fixed within a lineage, so it compares them by what they +name; when they come out the same, the pack and `meta.json` must be the +same bytes. When you run the binary on a real repository, set `COMMITSCAPE_CACHE_DIR` to a folder under `target/` so the cache stays in From 29b9cf01ea4bcec6a6c931a857baf98109010ced Mon Sep 17 00:00:00 2001 From: Dev Talan <84081651+devchaudhary24k@users.noreply.github.com> Date: Wed, 28 Oct 2026 07:49:37 +0530 Subject: [PATCH 80/82] fix(deps): update better-auth to 1.7.13 1.7.6 is open to two advisories: OAuth state used as a magic link to sign in as another user (GHSA-965c-763c-88jm, critical) and the OAuth proxy letting an attacker sign in as another user (GHSA-r4xp-prcw-77qf, high). Both are fixed from 1.7.7. --- pnpm-lock.yaml | 170 ++++++++++++++++++++++---------------------- pnpm-workspace.yaml | 2 +- 2 files changed, 85 insertions(+), 87 deletions(-) diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index f1c2d0d..38971c0 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -213,8 +213,8 @@ catalogs: specifier: 5.0.1 version: 5.0.1 better-auth: - specifier: 1.7.6 - version: 1.7.6 + specifier: 1.7.13 + version: 1.7.13 drizzle-kit: specifier: 0.31.11 version: 0.31.11 @@ -447,7 +447,7 @@ importers: version: 1.169.4(esbuild@0.28.2)(react-dom@19.3.0(react@19.3.0))(react@19.3.0)(rolldown@1.2.11)(supports-color@8.1.1)(vite@8.3.5(@types/node@24.13.6)(esbuild@0.28.2)(jiti@2.7.0)(tsx@4.23.15)) better-auth: specifier: 'catalog:' - version: 1.7.6(@opentelemetry/api@1.9.1)(@tanstack/react-start@1.169.4(esbuild@0.28.2)(react-dom@19.3.0(react@19.3.0))(react@19.3.0)(rolldown@1.2.11)(supports-color@8.1.1)(vite@8.3.5(@types/node@24.13.6)(esbuild@0.28.2)(jiti@2.7.0)(tsx@4.23.15)))(drizzle-kit@0.31.11)(drizzle-orm@0.45.3(@cloudflare/workers-types@5.20260925.2)(@electric-sql/pglite@0.5.8)(@opentelemetry/api@1.9.1)(@types/pg@8.23.1)(kysely@0.29.6)(pg@8.23.0))(pg@8.23.0)(react-dom@19.3.0(react@19.3.0))(react@19.3.0)(solid-js@1.9.15)(vitest@5.0.1) + version: 1.7.13(@opentelemetry/api@1.9.1)(@tanstack/react-start@1.169.4(esbuild@0.28.2)(react-dom@19.3.0(react@19.3.0))(react@19.3.0)(rolldown@1.2.11)(supports-color@8.1.1)(vite@8.3.5(@types/node@24.13.6)(esbuild@0.28.2)(jiti@2.7.0)(tsx@4.23.15)))(drizzle-kit@0.31.11)(drizzle-orm@0.45.3(@cloudflare/workers-types@5.20260925.2)(@electric-sql/pglite@0.5.8)(@opentelemetry/api@1.9.1)(@types/pg@8.23.1)(kysely@0.29.6)(pg@8.23.0))(pg@8.23.0)(react-dom@19.3.0(react@19.3.0))(react@19.3.0)(solid-js@1.9.15)(vitest@5.0.1) drizzle-orm: specifier: 'catalog:' version: 0.45.3(@cloudflare/workers-types@5.20260925.2)(@electric-sql/pglite@0.5.8)(@opentelemetry/api@1.9.1)(@types/pg@8.23.1)(kysely@0.29.6)(pg@8.23.0) @@ -859,13 +859,13 @@ packages: resolution: {integrity: sha512-6zABk/ECA/QYSCQ1NGiVwwbQerUCZ+TQbp64Q3AgmfNvurHH0j8TtXa1qbShXA6qqkpAj4V5W8pP6mLe1mcMqA==} engines: {node: '>=18'} - '@better-auth/core@1.7.6': - resolution: {integrity: sha512-yBDDO0J4VCHT1qEZtzj6aMexX4etyLesitoxehcWHzPrzYqrFHwe/hgskye+imlGhQVOysuljMg8M8BA6GrtIg==} + '@better-auth/core@1.7.13': + resolution: {integrity: sha512-h7zk+hwNxNxva2I49ELg1b3yNVG5CneluIp860DYcikWWZlCd3Kh6zYiDcY0Bvt/meRl0XBoQhjp7WlNk4a9fQ==} peerDependencies: - '@better-auth/utils': 0.4.2 - '@better-fetch/fetch': 1.3.2 + '@better-auth/utils': ^0.4.2 || ^0.5.0 + '@better-fetch/fetch': 1.3.3 '@opentelemetry/api': ^1.9.0 - better-call: 1.4.0 + better-call: 1.4.4 jose: ^6.1.0 kysely: ^0.28.5 || ^0.29.0 nanostores: ^1.0.1 @@ -873,47 +873,47 @@ packages: '@opentelemetry/api': optional: true - '@better-auth/drizzle-adapter@1.7.6': - resolution: {integrity: sha512-ENlhwC7kkTjquuiel3Efggik0hC4vtD7ppJ8FhsiHhRJA8K6RT4hbhzkfm6keNvjdnAeWwCejm7FmMO4GoSGpA==} + '@better-auth/drizzle-adapter@1.7.13': + resolution: {integrity: sha512-BCA2uJQJ9/GrIt/RvnDIVBlo7r1ZgkAICLG20wxjxLIvSLVVlpuZhjNUFf8FtaHYmRXOCYL566hZ114MAvl4lg==} peerDependencies: - '@better-auth/core': ^1.7.6 - '@better-auth/utils': 0.4.2 + '@better-auth/core': ^1.7.13 + '@better-auth/utils': ^0.4.2 || ^0.5.0 drizzle-orm: ^0.45.2 || >=1.0.0-rc.1 <2.0.0 peerDependenciesMeta: drizzle-orm: optional: true - '@better-auth/kysely-adapter@1.7.6': - resolution: {integrity: sha512-BV+DX2/z/6ozNC9DYSge78wjLerq6Bxd/lSPjzzuq9eEutkQDAJTuiaETzgGYqNV5LlEWi8TZFAQTEq/wavOEQ==} + '@better-auth/kysely-adapter@1.7.13': + resolution: {integrity: sha512-Pw6roVatSW+B3McdTJv+sS0V5EnwSPS3v/IcYCLcoWTy9LaMSUa/jmGZQarQJ0jAawtv+PFTcYQKXS1Glvjpbg==} peerDependencies: - '@better-auth/core': ^1.7.6 - '@better-auth/utils': 0.4.2 + '@better-auth/core': ^1.7.13 + '@better-auth/utils': ^0.4.2 || ^0.5.0 kysely: ^0.28.17 || ^0.29.0 peerDependenciesMeta: kysely: optional: true - '@better-auth/memory-adapter@1.7.6': - resolution: {integrity: sha512-ng1xv8k2JsEIjnqzJzdoVOQrnoCLRuk4EiQL9yYAThyg6zYzV00LynlhH+O9OMUZ+yGVpGqGZmr5xcTiUSV2uA==} + '@better-auth/memory-adapter@1.7.13': + resolution: {integrity: sha512-9rnOCaXgeiXNTr4EZOAI75xyt+pg7+ILhuY/AP4fpBVnrA9B5RZNg6wrPVUwo9YU5HsK/Ho1Ov4ikAOUicJixQ==} peerDependencies: - '@better-auth/core': ^1.7.6 - '@better-auth/utils': 0.4.2 + '@better-auth/core': ^1.7.13 + '@better-auth/utils': ^0.4.2 || ^0.5.0 - '@better-auth/mongo-adapter@1.7.6': - resolution: {integrity: sha512-GvBwZli8i4XINMAj9tlW7eV9E8Dr+JWqavXjUs2o81GZt/Vh8wiX+31KK1jQ4iOuejfjpLoXcoFtlIPgf/pVog==} + '@better-auth/mongo-adapter@1.7.13': + resolution: {integrity: sha512-U/wnes25UBiKA7Kfz8tiimSs8BF1+h05ro99arzFis186XwRpFdD/YvtErmcXH5jMVAvIoCUZNmso+SNQQtsgA==} peerDependencies: - '@better-auth/core': ^1.7.6 - '@better-auth/utils': 0.4.2 + '@better-auth/core': ^1.7.13 + '@better-auth/utils': ^0.4.2 || ^0.5.0 mongodb: ^6.0.0 || ^7.0.0 peerDependenciesMeta: mongodb: optional: true - '@better-auth/prisma-adapter@1.7.6': - resolution: {integrity: sha512-31rz2OXIx2Q1L4Jhd5F71dafIWqder/Bo6vJ+eCgO5iZ0gvnv7fUmM95DvbVUoPC69XYpcIM/6PJmQ3M6RydWg==} + '@better-auth/prisma-adapter@1.7.13': + resolution: {integrity: sha512-401uXNuw8TR/u/dRasmLPRhDW+eqr6NUX6o0D7bq9gCTf4vP4DK1vYSOmG0SJJt5KC1mM1g4n4HtQI2Tq2eLZw==} peerDependencies: - '@better-auth/core': ^1.7.6 - '@better-auth/utils': 0.4.2 + '@better-auth/core': ^1.7.13 + '@better-auth/utils': ^0.4.2 || ^0.5.0 '@prisma/client': ^5.0.0 || ^6.0.0 || ^7.0.0 prisma: ^5.0.0 || ^6.0.0 || ^7.0.0 peerDependenciesMeta: @@ -922,22 +922,25 @@ packages: prisma: optional: true - '@better-auth/telemetry@1.7.6': - resolution: {integrity: sha512-xgRwPja2wTJtcu+OQZR2IiNpAmviddnW3n5Do5umXRugJFW3v9KlSmYjYm580mVsPnU4upvZkvSRl9v8DgSDtA==} + '@better-auth/telemetry@1.7.13': + resolution: {integrity: sha512-+v9bIV837pBPLWAB1MLpqY+4MDgetiqv1A2tw3gFYseiz/+2FxfAt0FXbpYHGf9fEaGtPaPWMvBE9dNyIE74MQ==} peerDependencies: - '@better-auth/core': ^1.7.6 - '@better-auth/utils': 0.4.2 - '@better-fetch/fetch': 1.3.2 - - '@better-auth/utils@0.4.2': - resolution: {integrity: sha512-AUxrvu+HaaODsUyzDxFgwd/8RZ1yZaYo42LXKSrU2oGgR38pS1ij8nqQKNgtTWoYGpNevNXtCfgTy6loHveW9A==} + '@better-auth/core': ^1.7.13 + '@better-auth/utils': ^0.4.2 || ^0.5.0 + '@better-fetch/fetch': 1.3.3 '@better-auth/utils@0.5.0': resolution: {integrity: sha512-BL8W4EfIZFwlu0r54m3v1ztjDhu6dDe/amLTm0xybmbZaNgYUqhD3SjpAsnq0q8YD6/ki4iwIgxJNLP/N3TxiA==} + '@better-auth/utils@0.5.1': + resolution: {integrity: sha512-WETqw5vQ52uQ/xwWR4E8rTgT6fDEr/wnS+otDNkBCa/69281FCF32OKDdQUcahMCnjsvqXBNiEvAQHFB0EVRRg==} + '@better-fetch/fetch@1.3.2': resolution: {integrity: sha512-Gs7n99b5tqUC6cQAPbV0uED3IraHB6xQbHLQ/C3l7ZFafHScOx9pQ+DYmP5blbLFShVWLqxNUlI9wi4xU/X+ow==} + '@better-fetch/fetch@1.3.3': + resolution: {integrity: sha512-U6SlDt/GUWtK2JAxS/NhdoYTEim+EL1G5byz2TUj83KjLZBUpYzb5SmX0aXaCnbGkAjFKnV/o/0+cyXMbEcqqg==} + '@cloudflare/kv-asset-handler@0.5.0': resolution: {integrity: sha512-jxQYkj8dSIzc0cD6cMMNdOc1UVjqSqu8BZdor5s8cGjW2I8BjODt/kWPVdY+u9zj3ms75Q5qaZgnxUad83+eAg==} engines: {node: '>=22.0.0'} @@ -1755,10 +1758,6 @@ packages: resolution: {integrity: sha512-gLyJlPHPZYdAk1JENA9LeHejZe1Ti77/pTeFm/nMXmQH/HFZlcS/O2XJB+L8fkbrNSqhdtlvjBVjxwUYanNH5Q==} engines: {node: '>=8.0.0'} - '@opentelemetry/semantic-conventions@1.43.0': - resolution: {integrity: sha512-eSYWTm620tTk45EKSedaUL8MFYI8hW164hIXsgIHyxu3VobUB3fFCu5t0hQby6OoWRPsG1KkKUG2M5UadiLiVg==} - engines: {node: '>=14'} - '@oxc-parser/binding-android-arm-eabi@0.120.0': resolution: {integrity: sha512-WU3qtINx802wOl8RxAF1v0VvmC2O4D9M8Sv486nLeQ7iPHVmncYZrtBhB4SYyX+XZxj2PNnCcN+PW21jHgiOxg==} engines: {node: ^20.19.0 || >=22.12.0} @@ -3290,12 +3289,12 @@ packages: engines: {node: '>=6.0.0'} hasBin: true - better-auth@1.7.6: - resolution: {integrity: sha512-WTMqOpmTTj+oBoX7zzPOzL85342Upyf+/v0IkH1kvGRA85lV4JGRFIYMIRKqvjZ6ShsuL5VX/c9C13jtoZXcKA==} + better-auth@1.7.13: + resolution: {integrity: sha512-ncevUrVAWmYbC6Jjxadeh2QLBGMbsfenu8pwgAHJRexXJ4ifPCMbT4e4u79QKPuGpR5Wjw9yPReedVoh6m/qBg==} peerDependencies: '@lynx-js/react': '*' '@prisma/client': ^5.0.0 || ^6.0.0 || ^7.0.0 - '@sveltejs/kit': ^2.0.0 + '@sveltejs/kit': ^2.0.0 || ^3.0.0 '@tanstack/react-start': ^1.0.0 '@tanstack/solid-start': ^1.0.0 drizzle-kit: '>=0.31.4 || >=1.0.0-beta.1' @@ -3349,8 +3348,8 @@ packages: vue: optional: true - better-call@1.4.0: - resolution: {integrity: sha512-bBKOT4vv1kZLDgxVePdilk/Jwkn+dtRRsmi3DzHcDP+WnswyVl6dR59l2HEeP/0cB+bDoopASAesWDPIdd/zZA==} + better-call@1.4.4: + resolution: {integrity: sha512-Gq4XdGFy4dmUxFEAX2nj0ycFcFbD9ZWh8YROouZoyXeF1M11TpYbplk0pDByTFF8Wz+MYa6W9052c9m7dD+mfw==} peerDependencies: zod: 4.6.7 peerDependenciesMeta: @@ -5503,13 +5502,12 @@ snapshots: '@bcoe/v8-coverage@1.0.2': {} - '@better-auth/core@1.7.6(@better-auth/utils@0.4.2)(@better-fetch/fetch@1.3.2)(@opentelemetry/api@1.9.1)(better-call@1.4.0(zod@4.6.7))(jose@6.2.12)(kysely@0.29.6)(nanostores@1.5.4)': + '@better-auth/core@1.7.13(@better-auth/utils@0.5.1)(@better-fetch/fetch@1.3.3)(@opentelemetry/api@1.9.1)(better-call@1.4.4(zod@4.6.7))(jose@6.2.12)(kysely@0.29.6)(nanostores@1.5.4)': dependencies: - '@better-auth/utils': 0.4.2 - '@better-fetch/fetch': 1.3.2 - '@opentelemetry/semantic-conventions': 1.43.0 + '@better-auth/utils': 0.5.1 + '@better-fetch/fetch': 1.3.3 '@standard-schema/spec': 1.1.0 - better-call: 1.4.0(zod@4.6.7) + better-call: 1.4.4(zod@4.6.7) jose: 6.2.12 kysely: 0.29.6 nanostores: 1.5.4 @@ -5517,51 +5515,53 @@ snapshots: optionalDependencies: '@opentelemetry/api': 1.9.1 - '@better-auth/drizzle-adapter@1.7.6(@better-auth/core@1.7.6(@better-auth/utils@0.4.2)(@better-fetch/fetch@1.3.2)(@opentelemetry/api@1.9.1)(better-call@1.4.0(zod@4.6.7))(jose@6.2.12)(kysely@0.29.6)(nanostores@1.5.4))(@better-auth/utils@0.4.2)(drizzle-orm@0.45.3(@cloudflare/workers-types@5.20260925.2)(@electric-sql/pglite@0.5.8)(@opentelemetry/api@1.9.1)(@types/pg@8.23.1)(kysely@0.29.6)(pg@8.23.0))': + '@better-auth/drizzle-adapter@1.7.13(@better-auth/core@1.7.13(@better-auth/utils@0.5.1)(@better-fetch/fetch@1.3.3)(@opentelemetry/api@1.9.1)(better-call@1.4.4(zod@4.6.7))(jose@6.2.12)(kysely@0.29.6)(nanostores@1.5.4))(@better-auth/utils@0.5.1)(drizzle-orm@0.45.3(@cloudflare/workers-types@5.20260925.2)(@electric-sql/pglite@0.5.8)(@opentelemetry/api@1.9.1)(@types/pg@8.23.1)(kysely@0.29.6)(pg@8.23.0))': dependencies: - '@better-auth/core': 1.7.6(@better-auth/utils@0.4.2)(@better-fetch/fetch@1.3.2)(@opentelemetry/api@1.9.1)(better-call@1.4.0(zod@4.6.7))(jose@6.2.12)(kysely@0.29.6)(nanostores@1.5.4) - '@better-auth/utils': 0.4.2 + '@better-auth/core': 1.7.13(@better-auth/utils@0.5.1)(@better-fetch/fetch@1.3.3)(@opentelemetry/api@1.9.1)(better-call@1.4.4(zod@4.6.7))(jose@6.2.12)(kysely@0.29.6)(nanostores@1.5.4) + '@better-auth/utils': 0.5.1 optionalDependencies: drizzle-orm: 0.45.3(@cloudflare/workers-types@5.20260925.2)(@electric-sql/pglite@0.5.8)(@opentelemetry/api@1.9.1)(@types/pg@8.23.1)(kysely@0.29.6)(pg@8.23.0) - '@better-auth/kysely-adapter@1.7.6(@better-auth/core@1.7.6(@better-auth/utils@0.4.2)(@better-fetch/fetch@1.3.2)(@opentelemetry/api@1.9.1)(better-call@1.4.0(zod@4.6.7))(jose@6.2.12)(kysely@0.29.6)(nanostores@1.5.4))(@better-auth/utils@0.4.2)(kysely@0.29.6)': + '@better-auth/kysely-adapter@1.7.13(@better-auth/core@1.7.13(@better-auth/utils@0.5.1)(@better-fetch/fetch@1.3.3)(@opentelemetry/api@1.9.1)(better-call@1.4.4(zod@4.6.7))(jose@6.2.12)(kysely@0.29.6)(nanostores@1.5.4))(@better-auth/utils@0.5.1)(kysely@0.29.6)': dependencies: - '@better-auth/core': 1.7.6(@better-auth/utils@0.4.2)(@better-fetch/fetch@1.3.2)(@opentelemetry/api@1.9.1)(better-call@1.4.0(zod@4.6.7))(jose@6.2.12)(kysely@0.29.6)(nanostores@1.5.4) - '@better-auth/utils': 0.4.2 + '@better-auth/core': 1.7.13(@better-auth/utils@0.5.1)(@better-fetch/fetch@1.3.3)(@opentelemetry/api@1.9.1)(better-call@1.4.4(zod@4.6.7))(jose@6.2.12)(kysely@0.29.6)(nanostores@1.5.4) + '@better-auth/utils': 0.5.1 optionalDependencies: kysely: 0.29.6 - '@better-auth/memory-adapter@1.7.6(@better-auth/core@1.7.6(@better-auth/utils@0.4.2)(@better-fetch/fetch@1.3.2)(@opentelemetry/api@1.9.1)(better-call@1.4.0(zod@4.6.7))(jose@6.2.12)(kysely@0.29.6)(nanostores@1.5.4))(@better-auth/utils@0.4.2)': + '@better-auth/memory-adapter@1.7.13(@better-auth/core@1.7.13(@better-auth/utils@0.5.1)(@better-fetch/fetch@1.3.3)(@opentelemetry/api@1.9.1)(better-call@1.4.4(zod@4.6.7))(jose@6.2.12)(kysely@0.29.6)(nanostores@1.5.4))(@better-auth/utils@0.5.1)': dependencies: - '@better-auth/core': 1.7.6(@better-auth/utils@0.4.2)(@better-fetch/fetch@1.3.2)(@opentelemetry/api@1.9.1)(better-call@1.4.0(zod@4.6.7))(jose@6.2.12)(kysely@0.29.6)(nanostores@1.5.4) - '@better-auth/utils': 0.4.2 + '@better-auth/core': 1.7.13(@better-auth/utils@0.5.1)(@better-fetch/fetch@1.3.3)(@opentelemetry/api@1.9.1)(better-call@1.4.4(zod@4.6.7))(jose@6.2.12)(kysely@0.29.6)(nanostores@1.5.4) + '@better-auth/utils': 0.5.1 - '@better-auth/mongo-adapter@1.7.6(@better-auth/core@1.7.6(@better-auth/utils@0.4.2)(@better-fetch/fetch@1.3.2)(@opentelemetry/api@1.9.1)(better-call@1.4.0(zod@4.6.7))(jose@6.2.12)(kysely@0.29.6)(nanostores@1.5.4))(@better-auth/utils@0.4.2)': + '@better-auth/mongo-adapter@1.7.13(@better-auth/core@1.7.13(@better-auth/utils@0.5.1)(@better-fetch/fetch@1.3.3)(@opentelemetry/api@1.9.1)(better-call@1.4.4(zod@4.6.7))(jose@6.2.12)(kysely@0.29.6)(nanostores@1.5.4))(@better-auth/utils@0.5.1)': dependencies: - '@better-auth/core': 1.7.6(@better-auth/utils@0.4.2)(@better-fetch/fetch@1.3.2)(@opentelemetry/api@1.9.1)(better-call@1.4.0(zod@4.6.7))(jose@6.2.12)(kysely@0.29.6)(nanostores@1.5.4) - '@better-auth/utils': 0.4.2 + '@better-auth/core': 1.7.13(@better-auth/utils@0.5.1)(@better-fetch/fetch@1.3.3)(@opentelemetry/api@1.9.1)(better-call@1.4.4(zod@4.6.7))(jose@6.2.12)(kysely@0.29.6)(nanostores@1.5.4) + '@better-auth/utils': 0.5.1 - '@better-auth/prisma-adapter@1.7.6(@better-auth/core@1.7.6(@better-auth/utils@0.4.2)(@better-fetch/fetch@1.3.2)(@opentelemetry/api@1.9.1)(better-call@1.4.0(zod@4.6.7))(jose@6.2.12)(kysely@0.29.6)(nanostores@1.5.4))(@better-auth/utils@0.4.2)': + '@better-auth/prisma-adapter@1.7.13(@better-auth/core@1.7.13(@better-auth/utils@0.5.1)(@better-fetch/fetch@1.3.3)(@opentelemetry/api@1.9.1)(better-call@1.4.4(zod@4.6.7))(jose@6.2.12)(kysely@0.29.6)(nanostores@1.5.4))(@better-auth/utils@0.5.1)': dependencies: - '@better-auth/core': 1.7.6(@better-auth/utils@0.4.2)(@better-fetch/fetch@1.3.2)(@opentelemetry/api@1.9.1)(better-call@1.4.0(zod@4.6.7))(jose@6.2.12)(kysely@0.29.6)(nanostores@1.5.4) - '@better-auth/utils': 0.4.2 + '@better-auth/core': 1.7.13(@better-auth/utils@0.5.1)(@better-fetch/fetch@1.3.3)(@opentelemetry/api@1.9.1)(better-call@1.4.4(zod@4.6.7))(jose@6.2.12)(kysely@0.29.6)(nanostores@1.5.4) + '@better-auth/utils': 0.5.1 - '@better-auth/telemetry@1.7.6(@better-auth/core@1.7.6(@better-auth/utils@0.4.2)(@better-fetch/fetch@1.3.2)(@opentelemetry/api@1.9.1)(better-call@1.4.0(zod@4.6.7))(jose@6.2.12)(kysely@0.29.6)(nanostores@1.5.4))(@better-auth/utils@0.4.2)(@better-fetch/fetch@1.3.2)': + '@better-auth/telemetry@1.7.13(@better-auth/core@1.7.13(@better-auth/utils@0.5.1)(@better-fetch/fetch@1.3.3)(@opentelemetry/api@1.9.1)(better-call@1.4.4(zod@4.6.7))(jose@6.2.12)(kysely@0.29.6)(nanostores@1.5.4))(@better-auth/utils@0.5.1)(@better-fetch/fetch@1.3.3)': dependencies: - '@better-auth/core': 1.7.6(@better-auth/utils@0.4.2)(@better-fetch/fetch@1.3.2)(@opentelemetry/api@1.9.1)(better-call@1.4.0(zod@4.6.7))(jose@6.2.12)(kysely@0.29.6)(nanostores@1.5.4) - '@better-auth/utils': 0.4.2 - '@better-fetch/fetch': 1.3.2 + '@better-auth/core': 1.7.13(@better-auth/utils@0.5.1)(@better-fetch/fetch@1.3.3)(@opentelemetry/api@1.9.1)(better-call@1.4.4(zod@4.6.7))(jose@6.2.12)(kysely@0.29.6)(nanostores@1.5.4) + '@better-auth/utils': 0.5.1 + '@better-fetch/fetch': 1.3.3 - '@better-auth/utils@0.4.2': + '@better-auth/utils@0.5.0': dependencies: '@noble/hashes': 2.4.0 - '@better-auth/utils@0.5.0': + '@better-auth/utils@0.5.1': dependencies: '@noble/hashes': 2.4.0 '@better-fetch/fetch@1.3.2': {} + '@better-fetch/fetch@1.3.3': {} + '@cloudflare/kv-asset-handler@0.5.0': {} '@cloudflare/unenv-preset@2.16.2(unenv@2.0.0-rc.24)(workerd@1.20261019.1)': @@ -6102,8 +6102,6 @@ snapshots: '@opentelemetry/api@1.9.1': {} - '@opentelemetry/semantic-conventions@1.43.0': {} - '@oxc-parser/binding-android-arm-eabi@0.120.0': optional: true @@ -7413,20 +7411,20 @@ snapshots: baseline-browser-mapping@2.11.25: {} - better-auth@1.7.6(@opentelemetry/api@1.9.1)(@tanstack/react-start@1.169.4(esbuild@0.28.2)(react-dom@19.3.0(react@19.3.0))(react@19.3.0)(rolldown@1.2.11)(supports-color@8.1.1)(vite@8.3.5(@types/node@24.13.6)(esbuild@0.28.2)(jiti@2.7.0)(tsx@4.23.15)))(drizzle-kit@0.31.11)(drizzle-orm@0.45.3(@cloudflare/workers-types@5.20260925.2)(@electric-sql/pglite@0.5.8)(@opentelemetry/api@1.9.1)(@types/pg@8.23.1)(kysely@0.29.6)(pg@8.23.0))(pg@8.23.0)(react-dom@19.3.0(react@19.3.0))(react@19.3.0)(solid-js@1.9.15)(vitest@5.0.1): - dependencies: - '@better-auth/core': 1.7.6(@better-auth/utils@0.4.2)(@better-fetch/fetch@1.3.2)(@opentelemetry/api@1.9.1)(better-call@1.4.0(zod@4.6.7))(jose@6.2.12)(kysely@0.29.6)(nanostores@1.5.4) - '@better-auth/drizzle-adapter': 1.7.6(@better-auth/core@1.7.6(@better-auth/utils@0.4.2)(@better-fetch/fetch@1.3.2)(@opentelemetry/api@1.9.1)(better-call@1.4.0(zod@4.6.7))(jose@6.2.12)(kysely@0.29.6)(nanostores@1.5.4))(@better-auth/utils@0.4.2)(drizzle-orm@0.45.3(@cloudflare/workers-types@5.20260925.2)(@electric-sql/pglite@0.5.8)(@opentelemetry/api@1.9.1)(@types/pg@8.23.1)(kysely@0.29.6)(pg@8.23.0)) - '@better-auth/kysely-adapter': 1.7.6(@better-auth/core@1.7.6(@better-auth/utils@0.4.2)(@better-fetch/fetch@1.3.2)(@opentelemetry/api@1.9.1)(better-call@1.4.0(zod@4.6.7))(jose@6.2.12)(kysely@0.29.6)(nanostores@1.5.4))(@better-auth/utils@0.4.2)(kysely@0.29.6) - '@better-auth/memory-adapter': 1.7.6(@better-auth/core@1.7.6(@better-auth/utils@0.4.2)(@better-fetch/fetch@1.3.2)(@opentelemetry/api@1.9.1)(better-call@1.4.0(zod@4.6.7))(jose@6.2.12)(kysely@0.29.6)(nanostores@1.5.4))(@better-auth/utils@0.4.2) - '@better-auth/mongo-adapter': 1.7.6(@better-auth/core@1.7.6(@better-auth/utils@0.4.2)(@better-fetch/fetch@1.3.2)(@opentelemetry/api@1.9.1)(better-call@1.4.0(zod@4.6.7))(jose@6.2.12)(kysely@0.29.6)(nanostores@1.5.4))(@better-auth/utils@0.4.2) - '@better-auth/prisma-adapter': 1.7.6(@better-auth/core@1.7.6(@better-auth/utils@0.4.2)(@better-fetch/fetch@1.3.2)(@opentelemetry/api@1.9.1)(better-call@1.4.0(zod@4.6.7))(jose@6.2.12)(kysely@0.29.6)(nanostores@1.5.4))(@better-auth/utils@0.4.2) - '@better-auth/telemetry': 1.7.6(@better-auth/core@1.7.6(@better-auth/utils@0.4.2)(@better-fetch/fetch@1.3.2)(@opentelemetry/api@1.9.1)(better-call@1.4.0(zod@4.6.7))(jose@6.2.12)(kysely@0.29.6)(nanostores@1.5.4))(@better-auth/utils@0.4.2)(@better-fetch/fetch@1.3.2) - '@better-auth/utils': 0.4.2 - '@better-fetch/fetch': 1.3.2 + better-auth@1.7.13(@opentelemetry/api@1.9.1)(@tanstack/react-start@1.169.4(esbuild@0.28.2)(react-dom@19.3.0(react@19.3.0))(react@19.3.0)(rolldown@1.2.11)(supports-color@8.1.1)(vite@8.3.5(@types/node@24.13.6)(esbuild@0.28.2)(jiti@2.7.0)(tsx@4.23.15)))(drizzle-kit@0.31.11)(drizzle-orm@0.45.3(@cloudflare/workers-types@5.20260925.2)(@electric-sql/pglite@0.5.8)(@opentelemetry/api@1.9.1)(@types/pg@8.23.1)(kysely@0.29.6)(pg@8.23.0))(pg@8.23.0)(react-dom@19.3.0(react@19.3.0))(react@19.3.0)(solid-js@1.9.15)(vitest@5.0.1): + dependencies: + '@better-auth/core': 1.7.13(@better-auth/utils@0.5.1)(@better-fetch/fetch@1.3.3)(@opentelemetry/api@1.9.1)(better-call@1.4.4(zod@4.6.7))(jose@6.2.12)(kysely@0.29.6)(nanostores@1.5.4) + '@better-auth/drizzle-adapter': 1.7.13(@better-auth/core@1.7.13(@better-auth/utils@0.5.1)(@better-fetch/fetch@1.3.3)(@opentelemetry/api@1.9.1)(better-call@1.4.4(zod@4.6.7))(jose@6.2.12)(kysely@0.29.6)(nanostores@1.5.4))(@better-auth/utils@0.5.1)(drizzle-orm@0.45.3(@cloudflare/workers-types@5.20260925.2)(@electric-sql/pglite@0.5.8)(@opentelemetry/api@1.9.1)(@types/pg@8.23.1)(kysely@0.29.6)(pg@8.23.0)) + '@better-auth/kysely-adapter': 1.7.13(@better-auth/core@1.7.13(@better-auth/utils@0.5.1)(@better-fetch/fetch@1.3.3)(@opentelemetry/api@1.9.1)(better-call@1.4.4(zod@4.6.7))(jose@6.2.12)(kysely@0.29.6)(nanostores@1.5.4))(@better-auth/utils@0.5.1)(kysely@0.29.6) + '@better-auth/memory-adapter': 1.7.13(@better-auth/core@1.7.13(@better-auth/utils@0.5.1)(@better-fetch/fetch@1.3.3)(@opentelemetry/api@1.9.1)(better-call@1.4.4(zod@4.6.7))(jose@6.2.12)(kysely@0.29.6)(nanostores@1.5.4))(@better-auth/utils@0.5.1) + '@better-auth/mongo-adapter': 1.7.13(@better-auth/core@1.7.13(@better-auth/utils@0.5.1)(@better-fetch/fetch@1.3.3)(@opentelemetry/api@1.9.1)(better-call@1.4.4(zod@4.6.7))(jose@6.2.12)(kysely@0.29.6)(nanostores@1.5.4))(@better-auth/utils@0.5.1) + '@better-auth/prisma-adapter': 1.7.13(@better-auth/core@1.7.13(@better-auth/utils@0.5.1)(@better-fetch/fetch@1.3.3)(@opentelemetry/api@1.9.1)(better-call@1.4.4(zod@4.6.7))(jose@6.2.12)(kysely@0.29.6)(nanostores@1.5.4))(@better-auth/utils@0.5.1) + '@better-auth/telemetry': 1.7.13(@better-auth/core@1.7.13(@better-auth/utils@0.5.1)(@better-fetch/fetch@1.3.3)(@opentelemetry/api@1.9.1)(better-call@1.4.4(zod@4.6.7))(jose@6.2.12)(kysely@0.29.6)(nanostores@1.5.4))(@better-auth/utils@0.5.1)(@better-fetch/fetch@1.3.3) + '@better-auth/utils': 0.5.1 + '@better-fetch/fetch': 1.3.3 '@noble/ciphers': 2.4.0 '@noble/hashes': 2.4.0 - better-call: 1.4.0(zod@4.6.7) + better-call: 1.4.4(zod@4.6.7) defu: 6.1.7 jose: 6.2.12 kysely: 0.29.6 @@ -7444,7 +7442,7 @@ snapshots: transitivePeerDependencies: - '@opentelemetry/api' - better-call@1.4.0(zod@4.6.7): + better-call@1.4.4(zod@4.6.7): dependencies: '@better-auth/utils': 0.5.0 '@better-fetch/fetch': 1.3.2 diff --git a/pnpm-workspace.yaml b/pnpm-workspace.yaml index cb915e3..64f9da1 100644 --- a/pnpm-workspace.yaml +++ b/pnpm-workspace.yaml @@ -21,7 +21,7 @@ catalog: "@electric-sql/pglite": 0.5.8 "@tanstack/react-query": 5.104.0 "@types/pg": 8.23.1 - better-auth: 1.7.6 + better-auth: 1.7.13 drizzle-kit: 0.31.11 drizzle-orm: 0.45.3 lru-cache: 11.5.3 From 7ca9bf98d9eff350ca5cdba62cf2f4dddfc3a3fd Mon Sep 17 00:00:00 2001 From: Dev Talan <84081651+devchaudhary24k@users.noreply.github.com> Date: Wed, 28 Oct 2026 07:49:37 +0530 Subject: [PATCH 81/82] test: let the test clones' git serve filters on every platform The blobless clone test checks its clone out, which fetches the missing file versions from the fixture. On Windows that fetch's upload-pack did not get the setting the clone was given, so it refused the filter. The tests' git now hands uploadpack.allowFilter and allowAnySHA1InWant to every git it starts. --- crates/commitscape/tests/build.rs | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/crates/commitscape/tests/build.rs b/crates/commitscape/tests/build.rs index c98de02..95aa564 100644 --- a/crates/commitscape/tests/build.rs +++ b/crates/commitscape/tests/build.rs @@ -66,7 +66,15 @@ fn field(events: &[Value], span: &str, name: &str) -> Value { } fn git(args: &[&str]) -> String { - let out = Command::new("git").args(args).output().expect("git"); + let out = Command::new("git") + .env("GIT_CONFIG_COUNT", "2") + .env("GIT_CONFIG_KEY_0", "uploadpack.allowFilter") + .env("GIT_CONFIG_VALUE_0", "true") + .env("GIT_CONFIG_KEY_1", "uploadpack.allowAnySHA1InWant") + .env("GIT_CONFIG_VALUE_1", "true") + .args(args) + .output() + .expect("git"); assert!( out.status.success(), "{}", From a1b46e9e43fc6eebd3218856d567fca28658096f Mon Sep 17 00:00:00 2001 From: Dev Talan <84081651+devchaudhary24k@users.noreply.github.com> Date: Wed, 28 Oct 2026 08:04:59 +0530 Subject: [PATCH 82/82] test: run the blobless clone tests where the Builder runs On Windows, git does not fetch a blobless clone's missing file versions from a file:// remote, with or without the remote's filter settings, so the two tests that check a blobless clone out cannot set themselves up there. Blobless clones are the Builder's, which runs on Linux; the tests still run on Linux and macOS. The environment the tests' git was given did not help (git does not pass it to another local repository) and is gone again. --- crates/commitscape/tests/build.rs | 14 +++++--------- crates/commitscape/tests/surviving.rs | 4 ++++ 2 files changed, 9 insertions(+), 9 deletions(-) diff --git a/crates/commitscape/tests/build.rs b/crates/commitscape/tests/build.rs index 95aa564..59d96d4 100644 --- a/crates/commitscape/tests/build.rs +++ b/crates/commitscape/tests/build.rs @@ -66,15 +66,7 @@ fn field(events: &[Value], span: &str, name: &str) -> Value { } fn git(args: &[&str]) -> String { - let out = Command::new("git") - .env("GIT_CONFIG_COUNT", "2") - .env("GIT_CONFIG_KEY_0", "uploadpack.allowFilter") - .env("GIT_CONFIG_VALUE_0", "true") - .env("GIT_CONFIG_KEY_1", "uploadpack.allowAnySHA1InWant") - .env("GIT_CONFIG_VALUE_1", "true") - .args(args) - .output() - .expect("git"); + let out = Command::new("git").args(args).output().expect("git"); assert!( out.status.success(), "{}", @@ -689,6 +681,10 @@ fn lines_of(out: &Path) -> LinesOf { } #[test] +#[cfg_attr( + windows, + ignore = "git for Windows does not fetch a blobless clone's missing file versions from a file:// remote; blobless clones are the Builder's, which runs on Linux" +)] fn a_blobless_clone_counts_only_the_lines_it_can_read_and_a_full_clone_fills_in_the_rest() { let dir = tempfile::tempdir().expect("a temporary directory"); let origin = format!("file://{}", fixture("lines").display()); diff --git a/crates/commitscape/tests/surviving.rs b/crates/commitscape/tests/surviving.rs index 970069e..22a3dad 100644 --- a/crates/commitscape/tests/surviving.rs +++ b/crates/commitscape/tests/surviving.rs @@ -325,6 +325,10 @@ fn git_in(dir: &Path, args: &[&str]) -> std::process::Output { } #[test] +#[cfg_attr( + windows, + ignore = "git for Windows does not fetch a blobless clone's missing file versions from a file:// remote; blobless clones are the Builder's, which runs on Linux" +)] fn offline_never_fetches_a_file_version_a_blobless_clone_lacks() { let dir = tempfile::tempdir().expect("a folder"); let bare = dir.path().join("source.git");