You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
docs: external-analyzer CI support (reusable workflow inputs, Node/Python init --ci scaffolds) #460
Gaze issue unbound-force/gaze#375 (ci-external-analyzer-support) adds non-Go CI support to the reusable AI-report workflow and gaze init --ci:
Reusable workflow (reusable_gaze_ai_report.yml) gains six optional workflow_call inputs with Go-preserving defaults: analyzer, language, packages (replaces the hard-coded ./... positional), setup (analyzer-install snippet run in the report job), node-version, python-version. Conditional Set up Node/Set up Python/Setup analyzer steps; --coverprofile is passed only in Go mode; the report runs gaze report <packages> --analyzer=<analyzer>.
gaze init --ci now detects the project variant (go.mod > package.json > pyproject.toml) and scaffolds Node (analyzer: gaze-analyzer-typescript, Node 20) or Python (analyzer: gaze-analyzer-python, Python 3.12) caller workflows, each with a test job, a staged/uploaded coverage artifact, and a setup: input that installs the analyzer on the report-job runner. Unrecognized roots keep the skip-with-warning behavior.
Why it matters
This is the first supported CI path for non-Go repositories (TypeScript via an analyzer such as reading-stone, Python via an analyzer such as snake-eyes). Website pages that describe the CI integration as Go-only, or that document gaze init --ci as scaffolding a Go workflow, are now incomplete.
Pages needing updates
CI integration / reusable-workflow guide: document the six new inputs, the analyzer-mode report command (gaze report ./src/... --analyzer=...), the required-in-practice setup: input, and the artifact handoff (analyzer mode reads coverage from the artifact contents; no --coverprofile).
gaze init docs: Node/Python scaffold variants, variant detection order, and the skip-with-warning behavior for unrecognized roots.
Any quickstart/install page showing the scaffolded workflow example: add a non-Go example caller.
In-repo docs landed with the change (gaze repo: docs/guides/ci-integration.md, docs/reference/cli/init.md, README.md).
Activity