Skip to content

Fix deferred-cleanup drain: tolerate can't find session + run reaper on 4h health check #1906

Fix deferred-cleanup drain: tolerate can't find session + run reaper on 4h health check

Fix deferred-cleanup drain: tolerate can't find session + run reaper on 4h health check #1906

Workflow file for this run

name: CI
on:
push:
branches: [main, TypeScript-migration]
pull_request:
branches: [main]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: oven-sh/setup-bun@v2
with:
bun-version: latest
- name: Install dependencies
run: bun install --frozen-lockfile
- name: Type check
run: bun run typecheck
- name: Build binary
run: bun run build
- name: Lint CLI/README drift
run: bun run lint:cli-readme
- name: Lint CLI sub-command drift
run: bun run lint:cli-subcommands
- name: Lint skill body CLI references
run: bun run lint:skill-cli-refs
- name: Lint skill body shell variables
run: bun run lint:skill-shell
- name: Lint — test spawn coverage
run: bun run lint:test-spawn-coverage
- name: Lint config reference drift
run: bun run lint:config-reference
- name: Lint template variable safety
run: bun run lint:template-safety
- name: Lint — no mock.module() in tests
run: bun run lint:no-mock-module
- name: Lint — no NUL bytes in tracked text files
run: bun run lint:no-nul-bytes
- name: Lint worker/orchestrator contracts
run: bun run lint:contracts
- name: Lint — no util.ts function shadows
run: bun run lint:no-shadow-util
- name: Lint — test isolation
run: bun run lint:test-isolation
- name: Lint — vendor sync
run: bun run lint:vendor-sync
- name: Lint — state migration
run: bun run lint:state-migration
env:
GIT_BASE: ${{ github.event.pull_request.base.sha || format('origin/{0}', github.event.repository.default_branch) }}
- name: Lint — eslint
run: bun run lint