github github/gh-aw v0.79.8

latest releases: v0.82.8, v0.82.7, v0.82.6...
one month ago

๐ŸŒŸ Release Highlights

v0.79.8 brings two new Go linters for code quality enforcement, a wave of targeted bug fixes improving reliability and portability, a performance boost for workflow run queries, and codemod improvements to complete the max-effective-tokens โ†’ max-ai-credits migration.

โœจ What's New

  • httpnoctx linter (#38888) โ€” Automatically flags Go HTTP calls made without a context.Context parameter, helping catch a common source of non-cancellable requests before they reach production.
  • hardcodedfilepath linter (#38742) โ€” Detects hard-coded file path string literals in Go code, surfacing brittle path assumptions that break across environments.
  • Code Simplifier budget caps (#38851) โ€” Per-run hard budgets with graceful noop exit prevent runaway simplification loops from consuming unbounded AI credits.
  • --gh-aw-ref resolved to commit SHA at compile time (#38689) โ€” Branch and tag references passed via --gh-aw-ref are now pinned to their commit SHA during compilation, ensuring deterministic and auditable workflow builds.
  • AOAI Entra smoke workflow (#38706) โ€” New end-to-end smoke workflow validates Azure OpenAI Entra authentication for Copilot, extending CI coverage to AOAI-backed runs.

๐Ÿ› Bug Fixes & Improvements

  • environment: propagation fixed (#38918) โ€” Top-level environment: blocks are now correctly propagated to the detection job, resolving a compilation gap that silently dropped environment bindings.
  • set_issue_field GraphQL fix (#38882) โ€” Corrects an invalid GraphQL query in fetchIssueFields that caused set_issue_field calls to fail at runtime.
  • String-form create_issue.labels handled (#38738) โ€” Safe-output validation and schema definitions now correctly handle labels provided as a comma-separated string in addition to arrays, fixing label assignment failures.
  • False-positive AI credits failures eliminated (#38737) โ€” Prevents erroneous failure issues from being filed on successful runs that happened to trigger unknown-model detection logic.
  • Copilot supports arbitrary HOME directories (#38725) โ€” The Copilot engine integration no longer assumes /home/runner as the home directory, improving portability for non-standard runner environments.
  • Designer Drift Audit permissions fix (#38855) โ€” Added the missing pull-requests: read scope so the Designer Drift Audit workflow can read PR data without permission errors.

โšก Performance

  • Faster workflow run queries (#38779) โ€” listWorkflowRuns pagination now stops as soon as the 24-hour cutoff is reached rather than fetching all pages, significantly reducing API calls on active repositories.

๐Ÿ”ง Migration

  • max-effective-tokens: -1 codemod completed (#38850) โ€” The effective-tokens-to-ai-credits codemod (gh aw fix --write) now correctly rewrites the -1 sentinel value for max-effective-tokens, closing the last gap in the legacy budget migration. Run gh aw fix --write if you still see max-effective-tokens: -1 in your workflows.

๐Ÿ“š Documentation

  • Updated docs covering features shipped through 2026-06-12 (#38828) including spec audits for fileutil, constants, timeutil, and tty packages (#38848).

Generated by ๐Ÿš€ Release ยท 110.8 AIC ยท โŠž 28.8K


What's Changed

  • Prevent false-positive AI credits/unknown-model failure issues on successful runs by @Copilot in #38737
  • Scale homepage hero slides correctly on mobile by @Copilot in #38740
  • Add hardcodedfilepath linter to detect hard-coded file path string literals by @Copilot in #38742
  • fix(copilot): support arbitrary HOME directory, not just /home/runner by @Copilot in #38725
  • Add AOAI Entra smoke workflow for Copilot by @Copilot in #38706
  • Handle string-form create_issue.labels across safe-output validation and schema/tool definitions by @Copilot in #38738
  • [community] Update community contributions in README by @github-actions[bot] in #38771
  • Resolve --gh-aw-ref branch/tag to commit SHA at compile time by @dsyme in #38689
  • Fix lint-go CGO failure by normalizing ResolveGhAwRef formatting and string construction by @Copilot in #38778
  • [spec-enforcer] Enforce specifications for styles, syncutil, testutil by @github-actions[bot] in #38831
  • [docs] Update documentation for features from 2026-06-12 by @github-actions[bot] in #38828
  • [spec-extractor] Update package specifications for tty, types, typeutil, workflow by @github-actions[bot] in #38822
  • optimize: stop paginating listWorkflowRuns once 24h cutoff is reached by @Copilot in #38779
  • Add debug-scoped /tmp/gh-aw file inventory to setup post cleanup by @Copilot in #38780
  • refactor: semantic function clustering โ€” dedup, shared helpers, and generics consolidation by @Copilot in #38776
  • deps(go): bump golang.org/x/tools to v0.46.0 by @Copilot in #38849
  • Add SEC-004 transport-body exemption to artifact client by @Copilot in #38853
  • docs: spec audit โ€” add github README, update fileutil/constants/timeutil/tty specs by @Copilot in #38848
  • Add missing pull-requests: read scope to Designer Drift Audit workflow by @Copilot in #38855
  • [aw-compat] Migrate max-effective-tokens: -1 to max-ai-credits: -1 in codemod by @Copilot in #38850
  • Add SEC-005 exemption annotation for apply_samples replay driver by @Copilot in #38852
  • [dead-code] chore: remove dead functions โ€” 1 function removed by @github-actions[bot] in #38858
  • Cap Code Simplifier runaways with hard per-run budgets and graceful noop exit by @Copilot in #38851
  • [jsweep] Clean validate_context_variables.cjs by @github-actions[bot] in #38785
  • [linter-miner] feat(linters): add httpnoctx linter โ€” flag HTTP calls without context by @github-actions[bot] in #38888
  • ctxbackground: resolve Background() calls by package identity, not identifier text by @Copilot in #38854
  • Refactor engine log parsing to canonical Copilot event format by @Copilot in #38781
  • [caveman] Optimize instruction verbosity โ€” serena-tool, skills, subagents (2026-06-12) by @github-actions[bot] in #38930
  • Move auto-generated notice to first line with debugging skill URL by @Copilot in #38923
  • fix: propagate top-level environment: to the detection job by @Copilot in #38918
  • Correct OTLP CLI version attribution for scope/service/span fields by @Copilot in #38916
  • fix(set_issue_field): fix invalid GraphQL query in fetchIssueFields by @Copilot in #38882

Full Changelog: v0.79.7...v0.79.8

Don't miss a new gh-aw release

NewReleases is sending notifications on new releases.