Skip to content

Polling latest.json

Every run overwrites:

suitener-results/latest.json

Example Bun polling helper:

type SuitenerSummary = {
mode: "existing" | "generated";
summary: {
total: number;
passed: number;
failed: number;
duration_ms: number;
};
};
export async function readSuitenerLatest(path = "suitener-results/latest.json") {
return await Bun.file(path).json() as SuitenerSummary;
}

Use the run-specific file from paths.run when you need immutable history.