Skip to content

feat: analyzer-mode canary for the reusable AI-report workflow #420

Backlog

Description

@jflowers

Follow-up from the ci-external-analyzer-support review council (recorded as residual risk in the change's design.md; this issue gives it a durable handle).

Problem

The reusable workflow's analyzer mode has no automated execution anywhere:

  • gaze's dogfood job (test.yml gaze-ai-report) runs Go mode with build-from-source: true
  • install-canary.yml exercises only the release go install path

The analyzer-mode shell plumbing — ANALYZER_ARG/LANGUAGE_ARG/COVERPROFILE_ARG assembly, eval "\$ANALYZER_SETUP", the download-conclusion arrival check — is verified exclusively by static contract tests pinning the workflow YAML. A shell defect outside the pinned fragments would ship green and surface first in a consumer's CI.

Proposal

A scheduled (or workflow_dispatch) canary, following the install-canary.yml precedent, that runs the reusable workflow once in analyzer mode against a fixture repository:

  • a small fixture TypeScript (and/or Python) repo with a test suite producing coverage and a gaze-analyzer-* binary available (published package or built from source in the canary)
  • invokes reusable_gaze_ai_report.yml with analyzer/packages/setup set
  • asserts the report step completes and the step summary is non-empty (secret-less fork-safety path can be exercised too)

Notes

  • Precedent: .github/workflows/install-canary.yml (daily schedule catches breakage between releases; release-published events do not trigger workflows because GoReleaser uses GITHUB_TOKEN).
  • Sizing: new workflow + fixture repo layout; belongs in its own change (risk floor: CI/CD, OpenSpec tier or quick depending on appetite).

Activity

  1. added 2 commits that reference this issue on Nov 26, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions