Skip to content

Fix compiler-generated lint warnings when compiling repo-assist #71710

Closed

Description

@dsyme

Reproduction

Using gh-aw v0.93.3, run gh aw compile workflows/repo-assist.md against the repo-assist workflow in githubnext/gh-aw-samples (also reproduced by a customized copy). Compilation succeeds but reports 10 built-in lint warnings:

  • One obfuscation warning: activation prompt creation emits GH_AW_WIKI_NOTE: ${{ '' }} for non-wiki repository memory.
  • Eight needs-consistency warnings: agent and detection budget environments, plus conclusion usage-summary metadata, reference needs.activation.outputs.admission-* even when admission is disabled and those outputs are not declared.
  • One artipacked warning: the static safe-output PR checkout sets persist-credentials: true, although the following Configure Git credentials step explicitly authenticates subsequent fetch/push operations.

Expected behavior

Compiler-owned YAML should compile without these warnings, without disabling lint or enabling admission unnecessarily. Preserve admission-enabled budget/session wiring, empty wiki-note substitution, and authenticated safe-output PR operations. Add regression coverage for both admission states and credential handling.

Activity

  1. dsyme commented on Oct 24, 2026

    @dsyme
    CollaboratorAuthor

    Implemented in draft PR #71711. The patched compiler validates the supplied repo-assist source without any of the ten reported built-in lint warnings. Focused regressions, native build, and go vet pass; the PR documents the remaining local toolchain/custom-lint and expanded-suite DNS teardown limitations.

  2. github-actions commented on Oct 27, 2026

    @github-actions
    Contributor

    Assigning to @pelikhan, who recently merged compiler and safe-outputs changes (for example #72157 and #72282), which matches this issue's compiler and safe-outputs labels.

    Generated by 🔧 Daily Assign Issue To User · copilot · auto · ~10 AIC · ⌖ ~1 AIC · ⊞ 7K · ◷

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions