IF Commons GitHub

ci/release-gate

Written to: 1 requirement: 1 proved, 0 partly, 0 failing, 0 with no test recorded. 0002-libraries-ci-findings FR-008

The release gate (commons 0038-build-policy FR-010): bun commons/libraries/src/ci/release-gate.ts [--day YYYY-MM-DD] [--history REF] says what the release policy lets the run do on the day, and ends 1 (its own decision, a gate and not a finding) where it does not: after the day of the policy nothing proceeds silently, and the run carries the finding owner-review-due. Where the history branch is there it also says how many findings are open for each module, so that what is published regardless is seen when it is.

import { gateReport } from "./release-gate.ts";
gateReport("2026-11-22", []).proceed; // true

Source: commons/libraries/src/ci/release-gate.ts

0 of 1 exports are imported by a test of the run. A test that imports an export may not call it or check what it returns.

gateReportfunctionno test imports it
function gateReport(day: string, history: readonly FindingsFile[]): { readonly proceed: boolean; readonly lines: readonly string[]; }

What the gate says on a day, with the open findings of each module of the history it was given.

Titles, headings, exports, tables, columns and requirements. Esc closes.