Skip to content
← Public packages

@kody/kody-factory

Forkable multi-project software factory: signals, priority queue, project UI, sweep job. Agent runners and Sentry reach it by events.

FollowFork

Files

weekly-run.ts

16 lines · 603 B · TypeScript
/**
 * The live weekly CI review (started by the `ci-review-weekly` job through a
 * durable workflow). One report per week; a quiet week is still recorded.
 * Throws when the report could not be posted, so the run shows red.
 *
 * @example
 * import weeklyRun from 'kody:@kody/kody-factory/ci-review/weekly-run'
 * await weeklyRun()
 */
import { runCiReview } from '../../ci-review/run.ts'

export default async function weeklyRun() {
	const result = await runCiReview({ dryRun: false })
	if ('error' in result && result.error) throw new Error(`ci-review weekly run: ${result.error}`)
	return result
}