Skip to content

fix(tool): tolerate stringified nested-union tool arguments #542

fix(tool): tolerate stringified nested-union tool arguments

fix(tool): tolerate stringified nested-union tool arguments #542

Workflow file for this run

# ============================================================================
# 🔍 CI · Typecheck
# ----------------------------------------------------------------------------
# Purpose : TypeScript type checking across all packages (bun typecheck),
# oxlint warning ratchet, and the DAG core behavior/coverage gate
# Trigger : Push to `main`/`dev`, PRs targeting `main`/`dev`, manual dispatch
# Jobs : typecheck — single Linux runner, `bun run lint` + `bun typecheck`
# Gate : Required status check on BOTH `dev` and `main` rulesets. The DAG
# core gate protects state-machine and persistence changes before
# they merge to dev; the full suite still gates dev → main.
# Notes : No push trigger on feat/* or fix/* (frequent changes); PRs cover
# them.
# ============================================================================
name: 🔍 CI · Typecheck
on:
push:
branches:
- main
- dev
pull_request:
branches:
- main
- dev
workflow_dispatch:
jobs:
typecheck:
name: Typecheck
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4.3.1
- name: Setup Bun
uses: ./.github/actions/setup-bun
- name: Run lint
run: bun run lint
- name: Run typecheck
run: bun typecheck
- name: Run DAG core behavior and coverage gate
working-directory: packages/opencode
run: bun run test:dag-core
timeout-minutes: 10