Skip to content

v0.66.1

Latest

Choose a tag to compare

@github-actions github-actions released this 04 Apr 00:41
· 45 commits to main since this release
d688a4a

🌟 Release Highlights

This release focuses on richer observability from gh aw logs β€” flat classification fields, per-tool-call metrics, and consolidated security reporting β€” along with several community-driven bug fixes and feature additions.

⚠️ Breaking Changes

gh aw audit report has been removed. Cross-run security reports are now generated directly by gh aw logs --format:

# Before
gh aw audit report --workflow "agent-task" --last 10
gh aw audit report --format pretty
gh aw audit report --last 5 --json

# After
gh aw logs agent-task --format markdown --count 10
gh aw logs --format pretty
gh aw logs --format markdown --last 5 --json

The new --last flag is available as an alias for --count to ease migration. All existing --json output continues to work.

✨ What's New

  • Flat run classification in gh aw logs --json: Each run now carries a top-level classification string ("risky", "normal", "baseline", or "unclassified"), eliminating the need to null-guard against deeply nested comparison.classification.label. Query it directly:

    gh aw logs --json | jq '.runs[] | {id: .database_id, classification}'
  • Per-tool-call metrics in logs: Episode responses now include granular tool-call metrics β€” token usage, failure counts, and latency per tool β€” making it possible to identify which tools consume the most resources or fail most frequently.

  • Discussion thread reply support: The add-comment safe output now accepts a reply_to_id field, enabling agents to post threaded replies within GitHub Discussions.

  • auth field accepted in HTTP MCP server config: Frontmatter validation no longer rejects the auth field on HTTP MCP servers, unblocking workflows that use authenticated remote MCP endpoints.

  • Fuzzy schedule no longer requires an origin remote: Workflows using fuzzy/relative schedules now work correctly in repositories without a configured origin remote.

πŸ› Bug Fixes & Improvements

  • Token analysis workflows fixed: All four token workflows (Copilot/Claude analyzers and optimizers) now correctly parse gh aw logs --json output β€” extracting .runs[] and using snake_case field names. A new shared token-logs-fetch workflow pre-fetches logs once daily to avoid redundant API calls.
  • Null-safe jq aggregations: Token optimizer workflows no longer crash with a division-by-zero error when runs have zero token usage.

πŸ“š Documentation

  • Agent-assisted workflow import guide: The packaging and imports guide now includes a step-by-step walkthrough for using a coding agent to import and adapt a workflow from another repository, with tabbed prompt examples for common use cases.

🌍 Community Contributions

A huge thank you to the community members who reported issues that were resolved in this release!

@bbonafed

@corygehr

@jaroslawgajewski

@jeffhandley


For complete details, see CHANGELOG.

Generated by Release Β· ● 1.9M


What's Changed

  • [log] Add debug logging to agentdrain package by @github-actions[bot] in #24383
  • Wrap token usage step summary in a details section by @Copilot in #24375
  • fix: add auth field to http_mcp_tool frontmatter schema by @Copilot in #24369
  • [actions] Update GitHub Actions versions - 2026-04-03 by @github-actions[bot] in #24378
  • Proactively ignore .dockerbuild artifacts in logs download by @Copilot in #24386
  • feat(add-comment): support reply_to_id for discussion threading from any trigger by @Copilot in #24367
  • fix: reduce API rate limit pressure in train-drain3-weights workflow by @Copilot in #24392
  • feat(mcp): Surface repository and organization in logs tool response by @Copilot in #24391
  • fix: fuzzy schedule scattering works with non-origin remote names by @Copilot in #24390
  • feat(logs): add top-level classification field to RunData in logs response by @Copilot in #24394
  • feat(mcp): Add per-tool-call metrics to logs episode response by @Copilot in #24389
  • docs: add agent-assisted import & adapt section to packaging-imports guide by @Copilot in #24397
  • feat: merge gh aw audit report into gh aw logs --format by @Copilot in #24396
  • fix: align token workflows with gh-aw logs --json schema and add shared log caching by @lpcox in #24395

Full Changelog: v0.66.0...v0.66.1