run.ts
This file
Path
packages/sdk/src/run.ts
20 lines · 756 bytes · TypeScript
Last changed by
Merge build/comments-packages-rest into mainoscabrielbefore adoption38cd503
History of this fileTake it
The walk stopped after 200 commits: lines older than 678c8b8 point at it.
Merge build/614-env-service: deciders set write-only values for @sensitive items, the public sees the env shape, and checks see only placeholdersoscabrielbefore adoption678c8b8
lines 1–17why, one step back1import { FromCI } from "@repo/protocol/domain/policy";2import type { RunBlock } from "@repo/protocol/domain/run";34/** A test command, which names the one check file it runs with `{path}`: `bun test {path}`. */5export type TestCommand = `${string}{path}${string}`;67/**8 * A run block written out: `setup` once before the network closes, `test`9 * for one check file, and each lane's command in `checks`, by lane.10 */11export type RunBlockInput = Omit<typeof RunBlock.Encoded, "test"> & {12 readonly test: TestCommand;13};1415export type RunInput = RunBlockInput | typeof FromCI.Encoded;1617export const run = {Merge build/comments-packages-rest into mainoscabrielbefore adoption38cd503
line 18why, one step back18 /** The run block the platform finds in the project's scripts and CI, for the initializer to confirm. The default. */Merge build/614-env-service: deciders set write-only values for @sensitive items, the public sees the env shape, and checks see only placeholdersoscabrielbefore adoption678c8b8
lines 19–20why, one step back19 fromCI: FromCI.make({}),20};