Skip to content

Add usage artifact download step to conclusion job#38454

Closed
Copilot wants to merge 3 commits into
mainfrom
copilot/add-step-download-usage-artifact
Closed

Add usage artifact download step to conclusion job#38454
Copilot wants to merge 3 commits into
mainfrom
copilot/add-step-download-usage-artifact

Conversation

Copilot AI commented Jun 10, 2026

Copy link
Copy Markdown
Contributor

aw-info.jsonl and agent_usage.jsonl are written by the AWF container during agent execution but were never uploaded to any artifact, so the conclusion job's collect step silently skipped them and the final usage artifact was incomplete.

Changes

New constants (pkg/constants/job_constants.go)

  • AWInfoFilename (aw-info.jsonl) — AWF event log
  • AgentUsageStreamFilename (agent_usage.jsonl) — per-call streaming token usage; distinct from the aggregated agent_usage.json
  • AgentUsageArtifactName (agent-usage) — name of the compact artifact uploaded by the agent job; distinct from the final usage artifact produced by the conclusion job

Agent job: pre-upload compact usage artifact (compiler_yaml_main_job.go)

  • generateUsageArtifactPreUpload: when firewall is enabled, uploads aw-info.jsonl and agent_usage.jsonl to the agent-usage artifact after execution

Conclusion job: download step + overwrite (safe_outputs_steps.go, notify_comment.go)

  • buildUsageArtifactDownloadSteps: new "Download usage artifact" step inserted between the agent artifact download and the collect step — downloads from the agent-usage artifact and places both files at /tmp/gh-aw/ where the collect step expects them
  • overwrite: true on the conclusion job's upload so its complete set (firewall token-usage JSONL, detection data, etc.) replaces the agent job's initial upload

Flow

agent job  → uploads compact agent-usage artifact  {aw-info.jsonl, agent_usage.jsonl}
conclusion → downloads agent artifact               {agent_output.json, firewall logs, …}
conclusion → downloads agent-usage artifact  ← NEW {aw-info.jsonl, agent_usage.jsonl}
conclusion → collects + uploads final usage artifact (overwrite: true)


✨ PR Review Safe Output Test - Run 27315872424

Warning

Firewall blocked 6 domains

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

  • accounts.google.com
  • android.clients.google.com
  • clients2.google.com
  • contentautofill.googleapis.com
  • safebrowsingohttpgateway.googleapis.com
  • www.google.com

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

network:
  allowed:
    - defaults
    - "accounts.google.com"
    - "android.clients.google.com"
    - "clients2.google.com"
    - "contentautofill.googleapis.com"
    - "safebrowsingohttpgateway.googleapis.com"
    - "www.google.com"

See Network Configuration for more information.

💥 [THE END] — Illustrated by Smoke Claude · 79.8 AIC · ⌖ 25.5 AIC ·


Changeset\n\n- Type: patch\n- Description: Fix usage artifact collection so the conclusion job downloads the agent-generated and before building the final artifact.

Generated by 📋 Changeset Generator for issue #38454 ·

- Add AWInfoFilename and AgentUsageStreamFilename constants
- generateUsageArtifactPreUpload: agent job uploads aw-info.jsonl and
  agent_usage.jsonl to the 'usage' artifact (firewall-gated)
- buildUsageArtifactDownloadSteps: conclusion job downloads the usage
  artifact before collecting/re-uploading the complete usage artifact
- buildUsageArtifactUploadSteps: add overwrite:true so the conclusion
  job's complete upload replaces the agent job's initial upload
- Update golden files and add/update tests

Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
Copilot AI changed the title Add step to download usage artifact in conclusion job Add usage artifact download step to conclusion job Jun 10, 2026
Copilot AI requested a review from pelikhan June 10, 2026 22:55
@pelikhan pelikhan marked this pull request as ready for review June 10, 2026 22:57
Copilot AI review requested due to automatic review settings June 10, 2026 22:57
@pelikhan

Copy link
Copy Markdown
Collaborator

@copilot Rename the usage artifact created by the agent-job to agent-usage to avoid a naming conflict, and update all references where it is downloaded.

Copilot AI left a comment

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.

Pull request overview

This PR ensures AWF-produced usage logs (aw-info.jsonl, agent_usage.jsonl) are actually preserved by wiring them into a dedicated usage artifact flow: the agent job uploads a minimal usage artifact after execution, and the conclusion job downloads it before collecting and re-uploading the final, complete usage artifact (with overwrite: true) so the “usage” artifact is no longer silently incomplete.

Changes:

  • Added new filename constants for AWF event log + streaming token usage JSONL.
  • Added a conclusion-job step to download the agent job’s compact usage artifact prior to collecting/uploading the final usage artifact.
  • Updated workflow lockfiles and golden fixtures to reflect the additional artifact steps and overwrite behavior.
Show a summary per file
File Description
pkg/constants/job_constants.go Adds constants for aw-info.jsonl and agent_usage.jsonl filenames.
pkg/workflow/safe_outputs_steps.go Adds buildUsageArtifactDownloadSteps helper for downloading the usage artifact into /tmp/gh-aw/.
pkg/workflow/notify_comment.go Inserts “Download usage artifact” into the conclusion job and enables overwrite: true on the final usage upload.
pkg/workflow/notify_comment_test.go Extends tests to assert the download step and overwrite behavior are present.
pkg/workflow/testdata/TestWasmGolden_CompileFixtures/with-imports.golden Updates golden workflow to include the agent-job “Upload usage artifact” step.
pkg/workflow/testdata/TestWasmGolden_CompileFixtures/smoke-copilot.golden Updates golden workflow to include the agent-job “Upload usage artifact” step.
pkg/workflow/testdata/TestWasmGolden_CompileFixtures/playwright-cli-mode.golden Updates golden workflow to include the agent-job “Upload usage artifact” step.
pkg/workflow/testdata/TestWasmGolden_CompileFixtures/basic-copilot.golden Updates golden workflow to include the agent-job “Upload usage artifact” step.
pkg/workflow/testdata/TestWasmGolden_AllEngines/pi.golden Updates golden workflow to include the agent-job “Upload usage artifact” step.
pkg/workflow/testdata/TestWasmGolden_AllEngines/gemini.golden Updates golden workflow to include the agent-job “Upload usage artifact” step.
pkg/workflow/testdata/TestWasmGolden_AllEngines/copilot.golden Updates golden workflow to include the agent-job “Upload usage artifact” step.
pkg/workflow/testdata/TestWasmGolden_AllEngines/codex.golden Updates golden workflow to include the agent-job “Upload usage artifact” step.
pkg/workflow/testdata/TestWasmGolden_AllEngines/claude.golden Updates golden workflow to include the agent-job “Upload usage artifact” step.
.github/workflows/workflow-normalizer.lock.yml Adds upload/download usage artifact steps and enables overwrite on the final usage upload.
.github/workflows/workflow-health-manager.lock.yml Adds upload/download usage artifact steps and enables overwrite on the final usage upload.
.github/workflows/workflow-generator.lock.yml Adds upload/download usage artifact steps and enables overwrite on the final usage upload.
.github/workflows/weekly-issue-summary.lock.yml Adds upload/download usage artifact steps and enables overwrite on the final usage upload.
.github/workflows/weekly-editors-health-check.lock.yml Adds upload/download usage artifact steps and enables overwrite on the final usage upload.
.github/workflows/weekly-blog-post-writer.lock.yml Adds upload/download usage artifact steps and enables overwrite on the final usage upload.
.github/workflows/video-analyzer.lock.yml Adds upload/download usage artifact steps and enables overwrite on the final usage upload.
.github/workflows/update-astro.lock.yml Adds upload/download usage artifact steps and enables overwrite on the final usage upload.
.github/workflows/unbloat-docs.lock.yml Adds upload/download usage artifact steps and enables overwrite on the final usage upload.
.github/workflows/typist.lock.yml Adds upload/download usage artifact steps and enables overwrite on the final usage upload.
.github/workflows/tidy.lock.yml Adds upload/download usage artifact steps and enables overwrite on the final usage upload.
.github/workflows/test-workflow.lock.yml Adds upload/download usage artifact steps and enables overwrite on the final usage upload.
.github/workflows/test-quality-sentinel.lock.yml Adds upload/download usage artifact steps and enables overwrite on the final usage upload.
.github/workflows/test-project-url-default.lock.yml Adds upload/download usage artifact steps and enables overwrite on the final usage upload.
.github/workflows/test-dispatcher.lock.yml Adds upload/download usage artifact steps and enables overwrite on the final usage upload.
.github/workflows/test-create-pr-error-handling.lock.yml Adds upload/download usage artifact steps and enables overwrite on the final usage upload.
.github/workflows/technical-doc-writer.lock.yml Adds upload/download usage artifact steps and enables overwrite on the final usage upload.
.github/workflows/super-linter.lock.yml Adds upload/download usage artifact steps and enables overwrite on the final usage upload.
.github/workflows/step-name-alignment.lock.yml Adds upload/download usage artifact steps and enables overwrite on the final usage upload.
.github/workflows/static-analysis-report.lock.yml Adds upload/download usage artifact steps and enables overwrite on the final usage upload.
.github/workflows/spec-librarian.lock.yml Adds upload/download usage artifact steps and enables overwrite on the final usage upload.
.github/workflows/spec-extractor.lock.yml Adds upload/download usage artifact steps and enables overwrite on the final usage upload.
.github/workflows/spec-enforcer.lock.yml Adds upload/download usage artifact steps and enables overwrite on the final usage upload.
.github/workflows/smoke-project.lock.yml Adds upload/download usage artifact steps and enables overwrite on the final usage upload.
.github/workflows/smoke-pi.lock.yml Adds upload/download usage artifact steps and enables overwrite on the final usage upload.
.github/workflows/smoke-gemini.lock.yml Adds upload/download usage artifact steps and enables overwrite on the final usage upload.
.github/workflows/smoke-codex.lock.yml Adds upload/download usage artifact steps and enables overwrite on the final usage upload.
.github/workflows/smoke-claude.lock.yml Adds upload/download usage artifact steps and enables overwrite on the final usage upload.
.github/workflows/smoke-ci.lock.yml Adds upload/download usage artifact steps and enables overwrite on the final usage upload.
.github/workflows/smoke-antigravity.lock.yml Adds upload/download usage artifact steps and enables overwrite on the final usage upload.
.github/workflows/slide-deck-maintainer.lock.yml Adds upload/download usage artifact steps and enables overwrite on the final usage upload.
.github/workflows/sergo.lock.yml Adds upload/download usage artifact steps and enables overwrite on the final usage upload.
.github/workflows/security-review.lock.yml Adds upload/download usage artifact steps and enables overwrite on the final usage upload.
.github/workflows/security-compliance.lock.yml Adds upload/download usage artifact steps and enables overwrite on the final usage upload.
.github/workflows/scout.lock.yml Adds upload/download usage artifact steps and enables overwrite on the final usage upload.
.github/workflows/schema-feature-coverage.lock.yml Adds upload/download usage artifact steps and enables overwrite on the final usage upload.
.github/workflows/schema-consistency-checker.lock.yml Adds upload/download usage artifact steps and enables overwrite on the final usage upload.
.github/workflows/safe-output-health.lock.yml Adds upload/download usage artifact steps and enables overwrite on the final usage upload.
.github/workflows/research.lock.yml Adds upload/download usage artifact steps and enables overwrite on the final usage upload.
.github/workflows/repo-tree-map.lock.yml Adds upload/download usage artifact steps and enables overwrite on the final usage upload.
.github/workflows/release.lock.yml Adds upload/download usage artifact steps and enables overwrite on the final usage upload.
.github/workflows/refiner.lock.yml Adds upload/download usage artifact steps and enables overwrite on the final usage upload.
.github/workflows/refactoring-cadence.lock.yml Adds upload/download usage artifact steps and enables overwrite on the final usage upload.
.github/workflows/q.lock.yml Adds upload/download usage artifact steps and enables overwrite on the final usage upload.
.github/workflows/python-data-charts.lock.yml Adds upload/download usage artifact steps and enables overwrite on the final usage upload.
.github/workflows/prompt-clustering-analysis.lock.yml Adds upload/download usage artifact steps and enables overwrite on the final usage upload.
.github/workflows/pr-triage-agent.lock.yml Adds upload/download usage artifact steps and enables overwrite on the final usage upload.
.github/workflows/poem-bot.lock.yml Adds upload/download usage artifact steps and enables overwrite on the final usage upload.
.github/workflows/plan.lock.yml Adds upload/download usage artifact steps and enables overwrite on the final usage upload.
.github/workflows/pdf-summary.lock.yml Adds upload/download usage artifact steps and enables overwrite on the final usage upload.
.github/workflows/outcome-collector.lock.yml Adds upload/download usage artifact steps and enables overwrite on the final usage upload.
.github/workflows/org-health-report.lock.yml Adds upload/download usage artifact steps and enables overwrite on the final usage upload.
.github/workflows/objective-impact-report.lock.yml Adds upload/download usage artifact steps and enables overwrite on the final usage upload.
.github/workflows/notion-issue-summary.lock.yml Adds upload/download usage artifact steps and enables overwrite on the final usage upload.
.github/workflows/necromancer.lock.yml Adds upload/download usage artifact steps and enables overwrite on the final usage upload.
.github/workflows/metrics-collector.lock.yml Adds upload/download usage artifact steps and enables overwrite on the final usage upload.
.github/workflows/mergefest.lock.yml Adds upload/download usage artifact steps and enables overwrite on the final usage upload.
.github/workflows/mcp-inspector.lock.yml Adds upload/download usage artifact steps and enables overwrite on the final usage upload.
.github/workflows/lockfile-stats.lock.yml Adds upload/download usage artifact steps and enables overwrite on the final usage upload.
.github/workflows/linter-miner.lock.yml Adds upload/download usage artifact steps and enables overwrite on the final usage upload.
.github/workflows/lint-monster.lock.yml Adds upload/download usage artifact steps and enables overwrite on the final usage upload.
.github/workflows/layout-spec-maintainer.lock.yml Adds upload/download usage artifact steps and enables overwrite on the final usage upload.
.github/workflows/jsweep.lock.yml Adds upload/download usage artifact steps and enables overwrite on the final usage upload.
.github/workflows/issue-monster.lock.yml Adds upload/download usage artifact steps and enables overwrite on the final usage upload.
.github/workflows/instructions-janitor.lock.yml Adds upload/download usage artifact steps and enables overwrite on the final usage upload.
.github/workflows/hippo-embed.lock.yml Adds upload/download usage artifact steps and enables overwrite on the final usage upload.
.github/workflows/grumpy-reviewer.lock.yml Adds upload/download usage artifact steps and enables overwrite on the final usage upload.
.github/workflows/gpclean.lock.yml Adds upload/download usage artifact steps and enables overwrite on the final usage upload.
.github/workflows/go-pattern-detector.lock.yml Adds upload/download usage artifact steps and enables overwrite on the final usage upload.
.github/workflows/go-logger.lock.yml Adds upload/download usage artifact steps and enables overwrite on the final usage upload.
.github/workflows/go-fan.lock.yml Adds upload/download usage artifact steps and enables overwrite on the final usage upload.
.github/workflows/glossary-maintainer.lock.yml Adds upload/download usage artifact steps and enables overwrite on the final usage upload.
.github/workflows/github-mcp-tools-report.lock.yml Adds upload/download usage artifact steps and enables overwrite on the final usage upload.
.github/workflows/firewall.lock.yml Adds upload/download usage artifact steps and enables overwrite on the final usage upload.
.github/workflows/firewall-escape.lock.yml Adds upload/download usage artifact steps and enables overwrite on the final usage upload.
.github/workflows/example-permissions-warning.lock.yml Adds upload/download usage artifact steps and enables overwrite on the final usage upload.
.github/workflows/docs-noob-tester.lock.yml Adds upload/download usage artifact steps and enables overwrite on the final usage upload.
.github/workflows/discussion-task-miner.lock.yml Adds upload/download usage artifact steps and enables overwrite on the final usage upload.
.github/workflows/dictation-prompt.lock.yml Adds upload/download usage artifact steps and enables overwrite on the final usage upload.
.github/workflows/dev.lock.yml Adds upload/download usage artifact steps and enables overwrite on the final usage upload.
.github/workflows/dev-hawk.lock.yml Adds upload/download usage artifact steps and enables overwrite on the final usage upload.
.github/workflows/delight.lock.yml Adds upload/download usage artifact steps and enables overwrite on the final usage upload.
.github/workflows/deep-report.lock.yml Adds upload/download usage artifact steps and enables overwrite on the final usage upload.
.github/workflows/dead-code-remover.lock.yml Adds upload/download usage artifact steps and enables overwrite on the final usage upload.
.github/workflows/daily-team-status.lock.yml Adds upload/download usage artifact steps and enables overwrite on the final usage upload.
.github/workflows/daily-sentrux-report.lock.yml Adds upload/download usage artifact steps and enables overwrite on the final usage upload.
.github/workflows/daily-security-red-team.lock.yml Adds upload/download usage artifact steps and enables overwrite on the final usage upload.
.github/workflows/daily-security-observability.lock.yml Adds upload/download usage artifact steps and enables overwrite on the final usage upload.
.github/workflows/daily-secrets-analysis.lock.yml Adds upload/download usage artifact steps and enables overwrite on the final usage upload.
.github/workflows/daily-safe-output-optimizer.lock.yml Adds upload/download usage artifact steps and enables overwrite on the final usage upload.
.github/workflows/daily-regulatory.lock.yml Adds upload/download usage artifact steps and enables overwrite on the final usage upload.
.github/workflows/daily-performance-summary.lock.yml Adds upload/download usage artifact steps and enables overwrite on the final usage upload.
.github/workflows/daily-news.lock.yml Adds upload/download usage artifact steps and enables overwrite on the final usage upload.
.github/workflows/daily-issues-report.lock.yml Adds upload/download usage artifact steps and enables overwrite on the final usage upload.
.github/workflows/daily-function-namer.lock.yml Adds upload/download usage artifact steps and enables overwrite on the final usage upload.
.github/workflows/daily-firewall-report.lock.yml Adds upload/download usage artifact steps and enables overwrite on the final usage upload.
.github/workflows/daily-fact.lock.yml Adds upload/download usage artifact steps and enables overwrite on the final usage upload.
.github/workflows/daily-experiment-report.lock.yml Adds upload/download usage artifact steps and enables overwrite on the final usage upload.
.github/workflows/daily-doc-updater.lock.yml Adds upload/download usage artifact steps and enables overwrite on the final usage upload.
.github/workflows/daily-doc-healer.lock.yml Adds upload/download usage artifact steps and enables overwrite on the final usage upload.
.github/workflows/daily-credit-limit-test.lock.yml Adds upload/download usage artifact steps and enables overwrite on the final usage upload.
.github/workflows/daily-compiler-quality.lock.yml Adds upload/download usage artifact steps and enables overwrite on the final usage upload.
.github/workflows/daily-community-attribution.lock.yml Adds upload/download usage artifact steps and enables overwrite on the final usage upload.
.github/workflows/daily-code-metrics.lock.yml Adds upload/download usage artifact steps and enables overwrite on the final usage upload.
.github/workflows/daily-cli-performance.lock.yml Adds upload/download usage artifact steps and enables overwrite on the final usage upload.
.github/workflows/daily-choice-test.lock.yml Adds upload/download usage artifact steps and enables overwrite on the final usage upload.
.github/workflows/daily-architecture-diagram.lock.yml Adds upload/download usage artifact steps and enables overwrite on the final usage upload.
.github/workflows/craft.lock.yml Adds upload/download usage artifact steps and enables overwrite on the final usage upload.
.github/workflows/copilot-session-insights.lock.yml Adds upload/download usage artifact steps and enables overwrite on the final usage upload.
.github/workflows/copilot-pr-prompt-analysis.lock.yml Adds upload/download usage artifact steps and enables overwrite on the final usage upload.
.github/workflows/copilot-pr-nlp-analysis.lock.yml Adds upload/download usage artifact steps and enables overwrite on the final usage upload.
.github/workflows/copilot-pr-merged-report.lock.yml Adds upload/download usage artifact steps and enables overwrite on the final usage upload.
.github/workflows/copilot-opt.lock.yml Adds upload/download usage artifact steps and enables overwrite on the final usage upload.
.github/workflows/copilot-agent-analysis.lock.yml Adds upload/download usage artifact steps and enables overwrite on the final usage upload.
.github/workflows/contribution-check.lock.yml Adds upload/download usage artifact steps and enables overwrite on the final usage upload.
.github/workflows/constraint-solving-potd.lock.yml Adds upload/download usage artifact steps and enables overwrite on the final usage upload.
.github/workflows/codex-github-remote-mcp-test.lock.yml Adds upload/download usage artifact steps and enables overwrite on the final usage upload.
.github/workflows/code-simplifier.lock.yml Adds upload/download usage artifact steps and enables overwrite on the final usage upload.
.github/workflows/code-scanning-fixer.lock.yml Adds upload/download usage artifact steps and enables overwrite on the final usage upload.
.github/workflows/cloclo.lock.yml Adds upload/download usage artifact steps and enables overwrite on the final usage upload.
.github/workflows/cli-version-checker.lock.yml Adds upload/download usage artifact steps and enables overwrite on the final usage upload.
.github/workflows/ci-doctor.lock.yml Adds upload/download usage artifact steps and enables overwrite on the final usage upload.
.github/workflows/ci-coach.lock.yml Adds upload/download usage artifact steps and enables overwrite on the final usage upload.
.github/workflows/changeset.lock.yml Adds upload/download usage artifact steps and enables overwrite on the final usage upload.
.github/workflows/brave.lock.yml Adds upload/download usage artifact steps and enables overwrite on the final usage upload.
.github/workflows/bot-detection.lock.yml Adds upload/download usage artifact steps and enables overwrite on the final usage upload.
.github/workflows/avenger.lock.yml Adds upload/download usage artifact steps and enables overwrite on the final usage upload.
.github/workflows/audit-workflows.lock.yml Adds upload/download usage artifact steps and enables overwrite on the final usage upload.
.github/workflows/artifacts-summary.lock.yml Adds upload/download usage artifact steps and enables overwrite on the final usage upload.
.github/workflows/archie.lock.yml Adds upload/download usage artifact steps and enables overwrite on the final usage upload.
.github/workflows/approach-validator.lock.yml Adds upload/download usage artifact steps and enables overwrite on the final usage upload.
.github/workflows/api-consumption-report.lock.yml Adds upload/download usage artifact steps and enables overwrite on the final usage upload.
.github/workflows/agent-persona-explorer.lock.yml Adds upload/download usage artifact steps and enables overwrite on the final usage upload.
.github/workflows/agent-performance-analyzer.lock.yml Adds upload/download usage artifact steps and enables overwrite on the final usage upload.
.github/workflows/ace-editor.lock.yml Adds upload/download usage artifact steps and enables overwrite on the final usage upload.
.github/workflows/ab-testing-advisor.lock.yml Adds upload/download usage artifact steps and enables overwrite on the final usage upload.

Copilot's findings

Tip

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

  • Files reviewed: 260/260 changed files
  • Comments generated: 1

Comment on lines 73 to 81
// Add artifact download steps once (shared by noop and conclusion steps).
// In workflow_call context, use the per-invocation prefix to avoid artifact name clashes.
steps = append(steps, buildAgentOutputDownloadSteps(artifactPrefixExprForDownstreamJob(data), c.getActionPin)...)
// Download the usage artifact uploaded by the agent job (aw-info.jsonl, agent_usage.jsonl)
// so they are available when the usage artifact is assembled below.
steps = append(steps, buildUsageArtifactDownloadSteps(artifactPrefixExprForDownstreamJob(data), c.getActionPin)...)
// Package a compact usage artifact so forecasting/analytics commands can fetch
// token usage and aw_info without downloading full agent artifacts.
steps = append(steps, buildUsageArtifactUploadSteps(artifactPrefixExprForDownstreamJob(data), c.getActionPin)...)
Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>

Copilot AI commented Jun 10, 2026

Copy link
Copy Markdown
Contributor Author

@copilot Rename the usage artifact created by the agent-job to agent-usage to avoid a naming conflict, and update all references where it is downloaded.

Done in the latest commit. Added AgentUsageArtifactName = "agent-usage" constant and updated the agent job's pre-upload step to use it. The conclusion job's download step now fetches agent-usage, while the final upload still writes to usage — eliminating the naming conflict.

@pelikhan

Copy link
Copy Markdown
Collaborator

@copilot run pr-finisher skill

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

Copilot AI commented Jun 11, 2026

Copy link
Copy Markdown
Contributor Author

@copilot run pr-finisher skill

Done. The buildUsageArtifactDownloadSteps call in notify_comment.go is now gated on isFirewallEnabled(data), matching the guard on the agent job's upload. Updated TestConclusionJobIncludesUsageArtifactSteps to assert the step is absent for non-firewall workflows, and added TestConclusionJobDownloadsUsageArtifactWhenFirewallEnabled to cover the firewall-enabled path. Lock files regenerated via make recompile.

@github-actions

github-actions Bot commented Jun 11, 2026

Copy link
Copy Markdown
Contributor

🚀 Smoke Pi MISSION COMPLETE! Pi delivered. 🥧

@github-actions

github-actions Bot commented Jun 11, 2026

Copy link
Copy Markdown
Contributor

🚀 Smoke Antigravity MISSION COMPLETE! Antigravity has spoken. ✨

@github-actions

github-actions Bot commented Jun 11, 2026

Copy link
Copy Markdown
Contributor

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

@github-actions

github-actions Bot commented Jun 11, 2026

Copy link
Copy Markdown
Contributor

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

@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 commented Jun 11, 2026

Copy link
Copy Markdown
Contributor

✅ All tools validated successfully! Agent Container Smoke Test confirms agent container is ready.

@github-actions

Copy link
Copy Markdown
Contributor

📰 BREAKING: Smoke Copilot - AOAI (apikey) is now investigating this pull request. Sources say the story is developing...

@github-actions

github-actions Bot commented Jun 11, 2026

Copy link
Copy Markdown
Contributor

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

@github-actions

Copy link
Copy Markdown
Contributor

Agent Container Tool Check

Tool Status Version
bash 5.2.21
sh available
git 2.54.0
jq 1.7
yq 4.53.3
curl 8.5.0
gh 2.93.0
node 22.22.3
python3 3.11.15 (PyPy 7.3.23)
go 1.24.13
java 10.0.300
dotnet 10.0.300

Result: 12/12 tools available ✅

Overall Status: PASS

🔧 Tool validation by Agent Container Smoke Test · 28.6 AIC · ⌖ 13.1 AIC ·

@github-actions

Copy link
Copy Markdown
Contributor

💥 Smoke Test: Claude — Run 27315872424

Core #1-12: ✅ all passed
PR Review #13-18: ✅ all passed | #19: ⚠️ skipped (no safe PR)

Overall: PARTIAL (1 conditional skip) — engine nominal! 🦸

Warning

Firewall blocked 6 domains

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

  • accounts.google.com
  • android.clients.google.com
  • clients2.google.com
  • contentautofill.googleapis.com
  • safebrowsingohttpgateway.googleapis.com
  • www.google.com

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

network:
  allowed:
    - defaults
    - "accounts.google.com"
    - "android.clients.google.com"
    - "clients2.google.com"
    - "contentautofill.googleapis.com"
    - "safebrowsingohttpgateway.googleapis.com"
    - "www.google.com"

See Network Configuration for more information.

💥 [THE END] — Illustrated by Smoke Claude · 79.8 AIC · ⌖ 25.5 AIC ·

@github-actions github-actions Bot left a comment

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.

💥 Automated smoke test review - all systems nominal!

Warning

Firewall blocked 6 domains

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

  • accounts.google.com
  • android.clients.google.com
  • clients2.google.com
  • contentautofill.googleapis.com
  • safebrowsingohttpgateway.googleapis.com
  • www.google.com

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

network:
  allowed:
    - defaults
    - "accounts.google.com"
    - "android.clients.google.com"
    - "clients2.google.com"
    - "contentautofill.googleapis.com"
    - "safebrowsingohttpgateway.googleapis.com"
    - "www.google.com"

See Network Configuration for more information.

💥 [THE END] — Illustrated by Smoke Claude · 79.8 AIC · ⌖ 25.5 AIC

name: cache-memory
include-hidden-files: true
path: /tmp/gh-aw/cache-memory
- name: Upload usage artifact

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.

The new "Upload usage artifact" step uses continue-on-error and if-no-files-found: ignore — good defensive defaults so non-firewall runs do not fail when these JSONL files are absent.

mkdir -p /tmp/gh-aw/
find "/tmp/gh-aw/" -type f -print
echo "GH_AW_AGENT_OUTPUT=/tmp/gh-aw/agent_output.json" >> "$GITHUB_OUTPUT"
- name: Download usage artifact

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.

Consider gating this "Download usage artifact" step on isFirewallEnabled to match the upload step, avoiding noisy artifact-not-found logs in non-firewall workflows.

@github-actions

Copy link
Copy Markdown
Contributor

Commit pushed: d6e37c0

Generated by Changeset Generator

@pelikhan pelikhan closed this Jun 11, 2026
@github-actions

Copy link
Copy Markdown
Contributor

Smoke 27315898580
PR: Add usage artifact download step to conclusion job
1 ❌ 2 ✅ 3 ✅ 4 ✅ 5 ✅
6 ✅ 7 ✅ 8 ✅ 9 ✅ 10 ❌
11 ✅ 12 ✅ 13 ❌ 14 ✅ 15 ✅
Overall: FAIL
Author: @Copilot | Assignees: @pelikhan @Copilot

Warning

Firewall blocked 6 domains

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

  • accounts.google.com
  • android.clients.google.com
  • clients2.google.com
  • contentautofill.googleapis.com
  • safebrowsingohttpgateway.googleapis.com
  • www.google.com

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

network:
  allowed:
    - defaults
    - "accounts.google.com"
    - "android.clients.google.com"
    - "clients2.google.com"
    - "contentautofill.googleapis.com"
    - "safebrowsingohttpgateway.googleapis.com"
    - "www.google.com"

See Network Configuration for more information.

📰 BREAKING: Report filed by Smoke Copilot · 201.8 AIC · ⌖ 22.3 AIC ·

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