Skip to main content

formatGateReport

@forge/monorepo


@forge/monorepo / backend/src / formatGateReport

Function: formatGateReport()

formatGateReport(decision, run): string

Defined in: backend/src/evaluation/gate.ts:270

The gate's report, as a CI log reads it.

Plain text rather than JSON, because the first thing a person does with a failing gate is read the log. The artifact carries the structured version.

Parameters

decision

GateDecision

run

EvalRun

Returns

string