Skip to content

Fix Copilot session state collection - #64461

Open
dsyme wants to merge 13 commits into
mainfrom
copilot/fix-agentic-conversation-session-state
Open

dsyme wants to merge 13 commits into
mainfrom
copilot/fix-agentic-conversation-session-state

Conversation

@dsyme

@dsyme dsyme commented Sep 30, 2026 •

Copy link
Copy Markdown
Collaborator

Summary

  • configure AWF to persist Copilot CLI session state in a deterministic host-visible directory
  • copy the AWF-managed state into the parser's copilot-session-state logs, with a legacy $HOME fallback
  • version-gate --session-state-dir for AWF v0.25.15 and newer
  • recompile affected workflows and update compiler golden fixtures

The linked run preserved the real Copilot state under /tmp/awf-agent-session-state-*, while the summary step copied an empty host $HOME/.copilot/session-state. Without events.jsonl, the parser could not render Agentic Conversation.

Fixes #64460

Validation

  • make agent-report-progress
  • go test ./pkg/workflow -count=1
  • go test ./pkg/constants -count=1
  • bash -n actions/setup/sh/copy_copilot_session_state.sh
  • shellcheck actions/setup/sh/copy_copilot_session_state.sh
  • 300 workflows recompiled successfully; lock files are in sync

Run: https://github.com/github/gh-aw/actions/runs/36705489092

Generated by 👨‍🍳 PR Sous Chef · pi · gpt54 · 27.7 AIC · ⌖ 8.61 AIC · ⊞ 9.7K · ◷
Comment /souschef to run again


Branch refresh requested by PR Sous Chef run https://github.com/github/gh-aw/actions/runs/36721750745

Generated by 👨‍🍳 PR Sous Chef · pi · gpt54 · 10 AIC · ⌖ 8.46 AIC · ⊞ 9.2K · ◷
Comment /souschef to run again


Generated by 👨‍🍳 PR Sous Chef · pi · gpt54 · 22.4 AIC · ⌖ 8.52 AIC · ⊞ 9.2K · ◷
Comment /souschef to run again


Run: https://github.com/github/gh-aw/actions/runs/36736658192

Generated by 👨‍🍳 PR Sous Chef · pi · gpt54 · 21.3 AIC · ⌖ 8.67 AIC · ⊞ 9.2K · ◷
Comment /souschef to run again


Run: https://github.com/github/gh-aw/actions/runs/36746690122

Generated by 👨‍🍳 PR Sous Chef · pi · gpt54 · 11 AIC · ⌖ 8.47 AIC · ⊞ 9.2K · ◷
Comment /souschef to run again


Generated by 👨‍🍳 PR Sous Chef · pi · gpt54 · 13.9 AIC · ⌖ 8.55 AIC · ⊞ 9.5K · ◷
Comment /souschef to run again


Run: https://github.com/github/gh-aw/actions/runs/36765079107

Generated by 👨‍🍳 PR Sous Chef · pi · gpt54 · 11.4 AIC · ⌖ 6.87 AIC · ⊞ 9.2K · ◷
Comment /souschef to run again



Branch refresh requested by PR Sous Chef run https://github.com/github/gh-aw/actions/runs/36766302125

Generated by 👨🍳 PR Sous Chef · pi · gpt54

Generated by 👨‍🍳 PR Sous Chef · pi · gpt54 · 8.69 AIC · ⌖ 8.59 AIC · ⊞ 9.4K · ◷
Comment /souschef to run again


Generated by 👨‍🍳 PR Sous Chef · pi · gpt54 · 17 AIC · ⌖ 8.55 AIC · ⊞ 9.7K · ◷
Comment /souschef to run again


Branch refresh requested by PR Sous Chef run https://github.com/github/gh-aw/actions/runs/36774731083

Generated by 👨‍🍳 PR Sous Chef · pi · gpt54 · 17.1 AIC · ⌖ 8.61 AIC · ⊞ 9.5K · ◷
Comment /souschef to run again


Generated by 👨‍🍳 PR Sous Chef · pi · gpt54 · 13.8 AIC · ⌖ 6.81 AIC · ⊞ 9.7K · ◷
Comment /souschef to run again


Generated by 👨‍🍳 PR Sous Chef · pi · gpt54 · 21.2 AIC · ⌖ 8.39 AIC · ⊞ 9.4K · ◷
Comment /souschef to run again


Run: https://github.com/github/gh-aw/actions/runs/36785232614

Generated by 👨‍🍳 PR Sous Chef · pi · gpt54 · 17.5 AIC · ⌖ 7.01 AIC · ⊞ 9.7K · ◷
Comment /souschef to run again


Branch refresh requested by PR Sous Chef run https://github.com/github/gh-aw/actions/runs/36788332137

Generated by 👨‍🍳 PR Sous Chef · pi · gpt54 · 27.9 AIC · ⌖ 6.88 AIC · ⊞ 9.7K · ◷
Comment /souschef to run again


Generated by PR Sous Chef run https://github.com/github/gh-aw/actions/runs/36791546296

Generated by 👨‍🍳 PR Sous Chef · pi · gpt54 · 11.3 AIC · ⌖ 8.4 AIC · ⊞ 9.7K · ◷
Comment /souschef to run again


Run: https://github.com/github/gh-aw/actions/runs/36799719793

Generated by 👨‍🍳 PR Sous Chef · pi · gpt54 · 18.2 AIC · ⌖ 9.9 AIC · ⊞ 9.2K · ◷
Comment /souschef to run again



✨ PR Review Safe Output Test - Run 36812703027

Warning

Firewall blocked 1 domain

The following domain was blocked by the firewall during workflow execution:

  • clients2.google.com

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

network:
  allowed:
    - defaults
    - "clients2.google.com"

See Network Configuration for more information.

💥 [THE END] — Illustrated by Smoke Claude · claude · sonnet46 · 67.6 AIC · ⌖ 17.9 AIC · ⊞ 978 · ◷
Comment /smoke-claude to run again


Branch refresh requested by PR Sous Chef run https://github.com/github/gh-aw/actions/runs/36815294059

Generated by 👨‍🍳 PR Sous Chef · pi · gpt54 · 38.3 AIC · ⌖ 8.93 AIC · ⊞ 9.5K · ◷
Comment /souschef to run again


Generated by 👨‍🍳 PR Sous Chef · pi · gpt54 · 32.4 AIC · ⌖ 8.51 AIC · ⊞ 9.4K · ◷
Comment /souschef to run again


Generated by 👨‍🍳 PR Sous Chef · pi · gpt54 · 23.3 AIC · ⌖ 8.62 AIC · ⊞ 9.2K · ◷
Comment /souschef to run again

Configure AWF to persist Copilot session state in a deterministic host-visible directory, copy it into parser logs with a legacy fallback, and version-gate the new flag. Recompile affected workflows and update compiler goldens.

Fixes #64460

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Copilot AI balanced review requested due to automatic review settings September 30, 2026 10:47

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.

Copilot review overview

🟡 Changes recommended

The copy-script test does not exercise its newly introduced source-selection, fallback, or recursive-copy behavior.

Review effort: Balanced
Findings: 1 Medium severity

Open (1)
What changed in this PR

Adds deterministic, host-visible Copilot session-state persistence so structured events reach artifact parsing and the Agentic Conversation summary.

Changes:

  • Adds version-gated Copilot --session-state-dir support.
  • Copies AWF-managed state with legacy $HOME fallback.
  • Recompiles affected workflows and golden fixtures.
File Description
.github/​workflows/​agent-performance-analyzer.lock.yml Recompiled with session-state persistence.
.github/​workflows/​agent-persona-explorer.lock.yml Recompiled with session-state persistence.
.github/​workflows/​agentic-token-audit.lock.yml Recompiled with session-state persistence.
.github/​workflows/​agentic-token-optimizer.lock.yml Recompiled with session-state persistence.
.github/​workflows/​archie.lock.yml Recompiled with session-state persistence.
.github/​workflows/​architecture-guardian.lock.yml Recompiled with session-state persistence.
.github/​workflows/​breaking-change-checker.lock.yml Recompiled with session-state persistence.
.github/​workflows/​ci-coach.lock.yml Recompiled with session-state persistence.
.github/​workflows/​cli-consistency-checker.lock.yml Recompiled with session-state persistence.
.github/​workflows/​cli-version-checker.lock.yml Recompiled with session-state persistence.
.github/​workflows/​code-scanning-fixer.lock.yml Recompiled with session-state persistence.
.github/​workflows/​code-simplifier.lock.yml Recompiled with session-state persistence.
.github/​workflows/​constraint-solving-potd.lock.yml Recompiled with session-state persistence.
.github/​workflows/​contribution-check.lock.yml Recompiled with session-state persistence.
.github/​workflows/​copilot-cli-deep-research.lock.yml Recompiled with session-state persistence.
.github/​workflows/​copilot-opt.lock.yml Recompiled with session-state persistence.
.github/​workflows/​copilot-pr-merged-report.lock.yml Recompiled with session-state persistence.
.github/​workflows/​copilot-pr-nlp-analysis.lock.yml Recompiled with session-state persistence.
.github/​workflows/​copilot-pr-prompt-analysis.lock.yml Recompiled with session-state persistence.
.github/​workflows/​craft.lock.yml Recompiled with session-state persistence.
.github/​workflows/​daily-action-setup-security-audit.lock.yml Recompiled with session-state persistence.
.github/​workflows/​daily-agent-of-the-day-blog-writer.lock.yml Recompiled with session-state persistence.
.github/​workflows/​daily-ambient-context-optimizer.lock.yml Recompiled with session-state persistence.
.github/​workflows/​daily-arxiv-researcher.lock.yml Recompiled with session-state persistence.
.github/​workflows/​daily-assign-issue-to-user.lock.yml Recompiled with session-state persistence.
.github/​workflows/​daily-byok-ollama-test.lock.yml Recompiled with session-state persistence.
.github/​workflows/​daily-code-debt-aider.lock.yml Recompiled with session-state persistence.
.github/​workflows/​daily-code-metrics.lock.yml Recompiled with session-state persistence.
.github/​workflows/​daily-community-attribution.lock.yml Recompiled with session-state persistence.
.github/​workflows/​daily-compiler-quality.lock.yml Recompiled with session-state persistence.
.github/​workflows/​daily-compiler-threat-spec-optimizer.lock.yml Recompiled with session-state persistence.
.github/​workflows/​daily-credit-limit-test.lock.yml Recompiled with session-state persistence.
.github/​workflows/​daily-ecosystem-explorer.lock.yml Recompiled with session-state persistence.
.github/​workflows/​daily-experiment-report.lock.yml Recompiled with session-state persistence.
.github/​workflows/​daily-file-diet.lock.yml Recompiled with session-state persistence.
.github/​workflows/​daily-firewall-report.lock.yml Recompiled with session-state persistence.
.github/​workflows/​daily-formal-spec-verifier.lock.yml Recompiled with session-state persistence.
.github/​workflows/​daily-function-namer.lock.yml Recompiled with session-state persistence.
.github/​workflows/​daily-geo-optimizer.lock.yml Recompiled with session-state persistence.
.github/​workflows/​daily-github-docs-seo-optimizer.lock.yml Recompiled with session-state persistence.
.github/​workflows/​daily-go-test-stubs-aider.lock.yml Recompiled with session-state persistence.
.github/​workflows/​daily-graft-intelligence.lock.yml Recompiled with session-state persistence.
.github/​workflows/​daily-hippo-learn.lock.yml Recompiled with session-state persistence.
.github/​workflows/​daily-issues-report.lock.yml Recompiled with session-state persistence.
.github/​workflows/​daily-malicious-code-scan.lock.yml Recompiled with session-state persistence.
.github/​workflows/​daily-mcp-concurrency-analysis.lock.yml Recompiled with session-state persistence.
.github/​workflows/​daily-model-inventory.lock.yml Recompiled with session-state persistence.
.github/​workflows/​daily-model-resolution.lock.yml Recompiled with session-state persistence.
.github/​workflows/​daily-multi-device-docs-tester.lock.yml Recompiled with session-state persistence.
.github/​workflows/​daily-news.lock.yml Recompiled with session-state persistence.
.github/​workflows/​daily-performance-summary.lock.yml Recompiled with session-state persistence.
.github/​workflows/​daily-pr-review-cursor.lock.yml Recompiled with session-state persistence.
.github/​workflows/​daily-regression-audit-kiro.lock.yml Recompiled with session-state persistence.
.github/​workflows/​daily-reliability-review.lock.yml Recompiled with session-state persistence.
.github/​workflows/​daily-repo-chronicle.lock.yml Recompiled with session-state persistence.
.github/​workflows/​daily-safe-output-integrator.lock.yml Recompiled with session-state persistence.
.github/​workflows/​daily-schema-audit-cursor.lock.yml Recompiled with session-state persistence.
.github/​workflows/​daily-secrets-analysis.lock.yml Recompiled with session-state persistence.
.github/​workflows/​daily-security-observability.lock.yml Recompiled with session-state persistence.
.github/​workflows/​daily-security-red-team.lock.yml Recompiled with session-state persistence.
.github/​workflows/​daily-spdd-spec-planner.lock.yml Recompiled with session-state persistence.
.github/​workflows/​daily-spec-coverage-kiro.lock.yml Recompiled with session-state persistence.
.github/​workflows/​daily-squid-image-scan.lock.yml Recompiled with session-state persistence.
.github/​workflows/​daily-syntax-error-quality.lock.yml Recompiled with session-state persistence.
.github/​workflows/​daily-team-evolution-insights.lock.yml Recompiled with session-state persistence.
.github/​workflows/​daily-team-status.lock.yml Recompiled with session-state persistence.
.github/​workflows/​daily-testify-uber-super-expert.lock.yml Recompiled with session-state persistence.
.github/​workflows/​daily-token-consumption-report.lock.yml Recompiled with session-state persistence.
.github/​workflows/​daily-trajectory-grader-implementer.lock.yml Recompiled with session-state persistence.
.github/​workflows/​daily-workflow-updater.lock.yml Recompiled with session-state persistence.
.github/​workflows/​dataflow-pr-discussion-dataset.lock.yml Recompiled with session-state persistence.
.github/​workflows/​dead-code-remover.lock.yml Recompiled with session-state persistence.
.github/​workflows/​delight.lock.yml Recompiled with session-state persistence.
.github/​workflows/​dependabot-burner.lock.yml Recompiled with session-state persistence.
.github/​workflows/​deployment-incident-monitor.lock.yml Recompiled with session-state persistence.
.github/​workflows/​design-decision-gate.lock.yml Recompiled with session-state persistence.
.github/​workflows/​dev-hawk.lock.yml Recompiled with session-state persistence.
.github/​workflows/​dictation-prompt.lock.yml Recompiled with session-state persistence.
.github/​workflows/​docs-noob-tester.lock.yml Recompiled with session-state persistence.
.github/​workflows/​draft-pr-cleanup.lock.yml Recompiled with session-state persistence.
.github/​workflows/​duplicate-code-detector.lock.yml Recompiled with session-state persistence.
.github/​workflows/​eslint-miner.lock.yml Recompiled with session-state persistence.
.github/​workflows/​evoskill-evolver.lock.yml Recompiled with session-state persistence.
.github/​workflows/​firewall-escape.lock.yml Recompiled with session-state persistence.
.github/​workflows/​firewall.lock.yml Recompiled with session-state persistence.
.github/​workflows/​glossary-maintainer.lock.yml Recompiled with session-state persistence.
.github/​workflows/​impeccable-skills-reviewer.lock.yml Recompiled with session-state persistence.
.github/​workflows/​issue-monster.lock.yml Recompiled with session-state persistence.
.github/​workflows/​jsweep.lock.yml Recompiled with session-state persistence.
.github/​workflows/​layout-spec-maintainer.lock.yml Recompiled with session-state persistence.
.github/​workflows/​linter-miner.lock.yml Recompiled with session-state persistence.
.github/​workflows/​mattpocock-skills-reviewer.lock.yml Recompiled with session-state persistence.
.github/​workflows/​mcp-inspector.lock.yml Recompiled with session-state persistence.
.github/​workflows/​mergefest.lock.yml Recompiled with session-state persistence.
.github/​workflows/​necromancer.lock.yml Recompiled with session-state persistence.
.github/​workflows/​objective-impact-report.lock.yml Recompiled with session-state persistence.
.github/​workflows/​org-health-report.lock.yml Recompiled with session-state persistence.
.github/​workflows/​plan.lock.yml Recompiled with session-state persistence.
.github/​workflows/​pr-code-quality-reviewer.lock.yml Recompiled with session-state persistence.
.github/​workflows/​pr-description-caveman.lock.yml Recompiled with session-state persistence.
.github/​workflows/​pr-nitpick-reviewer.lock.yml Recompiled with session-state persistence.
.github/​workflows/​pr-sous-chef.lock.yml Recompiled with session-state persistence.
.github/​workflows/​pr-triage-agent.lock.yml Recompiled with session-state persistence.
.github/​workflows/​q.lock.yml Recompiled with session-state persistence.
.github/​workflows/​refactoring-cadence.lock.yml Recompiled with session-state persistence.
.github/​workflows/​refiner.lock.yml Recompiled with session-state persistence.
.github/​workflows/​release.lock.yml Recompiled with session-state persistence.
.github/​workflows/​repo-tree-map.lock.yml Recompiled with session-state persistence.
.github/​workflows/​repository-quality-improver.lock.yml Recompiled with session-state persistence.
.github/​workflows/​research.lock.yml Recompiled with session-state persistence.
.github/​workflows/​security-compliance.lock.yml Recompiled with session-state persistence.
.github/​workflows/​slide-deck-maintainer.lock.yml Recompiled with session-state persistence.
.github/​workflows/​smoke-aider.lock.yml Recompiled with session-state persistence.
.github/​workflows/​smoke-checkout-pr-dispatch.lock.yml Recompiled with session-state persistence.
.github/​workflows/​smoke-copilot-aoai-apikey.lock.yml Recompiled with session-state persistence.
.github/​workflows/​smoke-copilot-aoai-entra.lock.yml Recompiled with session-state persistence.
.github/​workflows/​smoke-copilot-arm.lock.yml Recompiled with session-state persistence.
.github/​workflows/​smoke-copilot-auto.lock.yml Recompiled with session-state persistence.
.github/​workflows/​smoke-copilot-mai.lock.yml Recompiled with session-state persistence.
.github/​workflows/​smoke-copilot-sdk.lock.yml Recompiled with session-state persistence.
.github/​workflows/​smoke-copilot-small.lock.yml Recompiled with session-state persistence.
.github/​workflows/​smoke-copilot-sub-agents.lock.yml Recompiled with session-state persistence.
.github/​workflows/​smoke-copilot.lock.yml Recompiled with session-state persistence.
.github/​workflows/​smoke-create-cross-repo-pr.lock.yml Recompiled with session-state persistence.
.github/​workflows/​smoke-crush.lock.yml Recompiled with session-state persistence.
.github/​workflows/​smoke-cursor.lock.yml Recompiled with session-state persistence.
.github/​workflows/​smoke-deepseek-harness.lock.yml Recompiled with session-state persistence.
.github/​workflows/​smoke-gemini.lock.yml Recompiled with session-state persistence.
.github/​workflows/​smoke-goose.lock.yml Recompiled with session-state persistence.
.github/​workflows/​smoke-issues.lock.yml Recompiled with session-state persistence.
.github/​workflows/​smoke-kiro.lock.yml Recompiled with session-state persistence.
.github/​workflows/​smoke-multi-pr.lock.yml Recompiled with session-state persistence.
.github/​workflows/​smoke-opencode.lock.yml Recompiled with session-state persistence.
.github/​workflows/​smoke-pi.lock.yml Recompiled with session-state persistence.
.github/​workflows/​smoke-project.lock.yml Recompiled with session-state persistence.
.github/​workflows/​smoke-pydantic.lock.yml Recompiled with session-state persistence.
.github/​workflows/​smoke-repo-memory-ledger.lock.yml Recompiled with session-state persistence.
.github/​workflows/​smoke-service-ports.lock.yml Recompiled with session-state persistence.
.github/​workflows/​smoke-temporary-id.lock.yml Recompiled with session-state persistence.
.github/​workflows/​smoke-test-tools.lock.yml Recompiled with session-state persistence.
.github/​workflows/​smoke-update-cross-repo-pr.lock.yml Recompiled with session-state persistence.
.github/​workflows/​smoke-workflow-call-with-inputs.lock.yml Recompiled with session-state persistence.
.github/​workflows/​spec-extractor.lock.yml Recompiled with session-state persistence.
.github/​workflows/​spec-librarian.lock.yml Recompiled with session-state persistence.
.github/​workflows/​squad-game-planner.lock.yml Recompiled with session-state persistence.
.github/​workflows/​squad-implement-worker.lock.yml Recompiled with session-state persistence.
.github/​workflows/​squad-plan.lock.yml Recompiled with session-state persistence.
.github/​workflows/​squad.lock.yml Recompiled with session-state persistence.
.github/​workflows/​stale-pr-cleanup.lock.yml Recompiled with session-state persistence.
.github/​workflows/​stale-repo-identifier.lock.yml Recompiled with session-state persistence.
.github/​workflows/​sub-issue-closer.lock.yml Recompiled with session-state persistence.
.github/​workflows/​super-linter.lock.yml Recompiled with session-state persistence.
.github/​workflows/​technical-doc-writer.lock.yml Recompiled with session-state persistence.
.github/​workflows/​terminal-stylist.lock.yml Recompiled with session-state persistence.
.github/​workflows/​test-quality-sentinel.lock.yml Recompiled with session-state persistence.
.github/​workflows/​tidy.lock.yml Recompiled with session-state persistence.
.github/​workflows/​ubuntu-image-analyzer.lock.yml Recompiled with session-state persistence.
.github/​workflows/​uk-ai-operational-resilience.lock.yml Recompiled with session-state persistence.
.github/​workflows/​unbloat-docs.lock.yml Recompiled with session-state persistence.
.github/​workflows/​video-analyzer.lock.yml Recompiled with session-state persistence.
.github/​workflows/​visual-regression-checker.lock.yml Recompiled with session-state persistence.
.github/​workflows/​weekly-blog-post-writer.lock.yml Recompiled with session-state persistence.
.github/​workflows/​weekly-editors-health-check.lock.yml Recompiled with session-state persistence.
.github/​workflows/​weekly-issue-summary.lock.yml Recompiled with session-state persistence.
.github/​workflows/​weekly-network-domains-audit.lock.yml Recompiled with session-state persistence.
.github/​workflows/​weekly-safe-outputs-spec-review.lock.yml Recompiled with session-state persistence.
.github/​workflows/​workflow-generator.lock.yml Recompiled with session-state persistence.
.github/​workflows/​workflow-health-manager.lock.yml Recompiled with session-state persistence.
.github/​workflows/​workflow-skill-extractor.lock.yml Recompiled with session-state persistence.
actions/​setup/​sh/​copy_copilot_session_state.sh Prefers AWF-managed state and retains legacy fallback.
pkg/​constants/​spec_test.go Verifies the minimum AWF version constant.
pkg/​constants/​version_constants.go Defines AWF v0.25.15 as the feature minimum.
pkg/​workflow/​awf_command_builder.go Adds the gated Copilot AWF argument.
pkg/​workflow/​awf_command_builder_test.go Covers argument emission by engine and version.
pkg/​workflow/​awf_feature_flags.go Adds session-state capability detection.
pkg/​workflow/​awf_feature_flags_test.go Tests feature-version boundaries.
pkg/​workflow/​copilot_engine_execution.go Updates session-copy documentation.
pkg/​workflow/​copilot_session_copy_test.go Adds static checks for copy-script paths.
pkg/​workflow/​testdata/​TestWasmGolden_AllEngines/​copilot.golden Updates generated Copilot output.
pkg/​workflow/​testdata/​TestWasmGolden_CompileFixtures/​basic-copilot.golden Updates basic Copilot output.
pkg/​workflow/​testdata/​TestWasmGolden_CompileFixtures/​playwright-cli-mode.golden Updates Playwright Copilot output.
pkg/​workflow/​testdata/​TestWasmGolden_CompileFixtures/​with-imports.golden Updates imported-workflow output.

Comment thread pkg/workflow/copilot_session_copy_test.go Outdated
@gh-aw-bot

Copy link
Copy Markdown
Collaborator

@copilot This PR still needs forward progress: please address the outstanding review feedback at #64461 (comment), refresh the branch if needed, and then run the pr-finisher skill.

Generated by 👨🍳 PR Sous Chef

Generated by 👨‍🍳 PR Sous Chef · pi · gpt54 · 27.7 AIC · ⌖ 8.61 AIC · ⊞ 9.7K · ◷
Comment /souschef to run again

Co-authored-by: gh-aw-bot <259018956+gh-aw-bot@users.noreply.github.com>
@gh-aw-bot

Copy link
Copy Markdown
Collaborator

@copilot This PR still needs forward progress: please address the outstanding review feedback from Copilot at #64461 (comment), refresh the branch if needed, and then run the pr-finisher skill.

Generated by 👨🍳 PR Sous Chef

Generated by 👨‍🍳 PR Sous Chef · pi · gpt54 · 9.63 AIC · ⌖ 8.6 AIC · ⊞ 9.4K · ◷
Comment /souschef to run again

Copilot AI commented Sep 30, 2026

Copy link
Copy Markdown
Contributor

@copilot This PR still needs forward progress: please address the outstanding review feedback at #64461 (comment), refresh the branch if needed, and th...

Addressed the linked review feedback and ran the PR-finisher checks. The changes are committed and pushed as d4adfe0; local formatting, lint, tests, and workflow recompilation passed.

Copilot AI commented Sep 30, 2026

Copy link
Copy Markdown
Contributor

@copilot This PR still needs forward progress: please address the outstanding review feedback from Copilot at #64461 (comment), refresh the branch if n...

This request was completed in d4adfe0: I added script-execution coverage for AWF precedence, legacy fallback, recursive copying, and empty sources. The linked review thread is resolved, and I reran the PR-finisher checks on the current commit; all passed.

@pelikhan

Copy link
Copy Markdown
Collaborator

@copilot

  • use a folder under /tmp/gh-aw/ so that it gets secret redaction
  • review and configure all other agentic engines

Copilot AI and others added 2 commits September 30, 2026 13:26
Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>

Copilot AI commented Sep 30, 2026

Copy link
Copy Markdown
Contributor

@copilot

  • use a folder under /tmp/gh-aw/ so that it gets secret redaction...

Updated in 5e03b59 (with refreshed compiler goldens in 95d5292). Claude, Gemini, Aider, Crush, Cursor, DeepSeek Harness, GenAIScript, Kiro, and OpenCode now route supported state/history paths under /tmp/gh-aw/; Codex/Copilot were already there, Pi and Goose disable persistent sessions. Cursor plugin staging follows its isolated HOME. Pydantic AI remains upstream-managed and depends on $HOME/.local for its installed runtime; I found no persistent conversation file path to relocate. The redactor scans supported text formats under /tmp/gh-aw/, not SQLite databases. Workflow package tests and impacted tests pass; final repo validation is blocked by three existing custom-linter findings in unchanged Claude code, and CodeQL timed out.

@gh-aw-bot

Copy link
Copy Markdown
Collaborator

@copilot This PR still needs forward progress: please address the outstanding review feedback, refresh the branch if needed, and then run the pr-finisher skill.

Generated by 👨‍🍳 PR Sous Chef · pi · gpt54 · 21.3 AIC · ⌖ 8.67 AIC · ⊞ 9.2K · ◷
Comment /souschef to run again

…onversation-session-state

# Conflicts:
#	.github/workflows/daily-arxiv-researcher.lock.yml

Co-authored-by: gh-aw-bot <259018956+gh-aw-bot@users.noreply.github.com>

Copilot AI commented Sep 30, 2026

Copy link
Copy Markdown
Contributor

@copilot This PR still needs forward progress: please address the outstanding review feedback, refresh the branch if needed, and then run the pr-finisher skill.

Generated by [👨‍🍳 PR Sous Ch...

Refreshed the branch from origin/main, regenerated the conflicted workflow lock, and updated the WASM golden; the merge is published as f2ae794. PR-finisher checks completed: the full make test, lint, impacted unit tests, and workflow recompile pass. make agent-report-progress still fails on an unchanged ESLint README-parity test inherited from main; CodeQL timed out. CI on this new commit needs a maintainer re-trigger.

@pelikhan

Copy link
Copy Markdown
Collaborator

@copilot create a shared agentic workflow that injects post agent steps that ensures the session file is available and fail tbe run i not. Inject in many argentic workflows using different sandbox runtimes as a sanity check.

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

This comment has been minimized.

@github-actions
github-actions Bot requested a balanced review from Copilot October 1, 2026 04:05
@github-actions

github-actions Bot commented Oct 1, 2026

Copy link
Copy Markdown
Contributor

💥 Smoke Test: Claude Engine — Run 36812703027

Core Tests (#1–12):

PR Review Tests (#13–19):

Overall: PARTIAL

Warning

Firewall blocked 1 domain

The following domain was blocked by the firewall during workflow execution:

  • clients2.google.com

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

network:
  allowed:
    - defaults
    - "clients2.google.com"

See Network Configuration for more information.

💥 [THE END] — Illustrated by Smoke Claude · claude · sonnet46 · 67.6 AIC · ⌖ 17.9 AIC · ⊞ 978 · ◷
Comment /smoke-claude to run again

@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! Run 36812703027 complete.

Warning

Firewall blocked 1 domain

The following domain was blocked by the firewall during workflow execution:

  • clients2.google.com

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

network:
  allowed:
    - defaults
    - "clients2.google.com"

See Network Configuration for more information.

💥 [THE END] — Illustrated by Smoke Claude · claude · sonnet46 · 67.6 AIC · ⌖ 17.9 AIC · ⊞ 978
Comment /smoke-claude to run again

BASH_DEFAULT_TIMEOUT_MS: 300000
BASH_MAX_TIMEOUT_MS: 300000
CLAUDE_CODE_DISABLE_FAST_MODE: 1
CLAUDE_CONFIG_DIR: /tmp/gh-aw/agent/claude

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 CLAUDE_CONFIG_DIR env var is correctly set to /tmp/gh-aw/agent, ensuring Copilot session state is persisted in a deterministic, host-visible directory. This aligns with the fix described in the PR summary.

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 CLAUDE_CONFIG_DIR change is removed in 2d9b179 along with the other out-of-scope non-Copilot state changes. Copilot session-state configuration is unchanged.

@@ -1135,7 +1135,7 @@ jobs:
GH_AW_AWF_LOG_FILE=/tmp/gh-aw/agent-stdio.log \

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 #2: The AWF log file and attempt log name environment variables look good. The change ensures consistent log naming across the agent performance analyzer workflow, supporting proper session state collection.

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 AWF log and attempt-name settings remain unchanged by this focused follow-up; the session-state routing change is limited to Copilot.

@github-actions

github-actions Bot commented Oct 1, 2026

Copy link
Copy Markdown
Contributor

Me smoke. Discussion reachable. ✅

Warning

Firewall blocked 1 domain

The following domain was blocked by the firewall during workflow execution:

  • clients2.google.com

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

network:
  allowed:
    - defaults
    - "clients2.google.com"

See Network Configuration for more information.

📰 BREAKING: Report filed by Smoke Copilot - AOAI (Entra) · copilot · o40mini · 22.2 AIC · ⌖ 2.61 AIC · ⊞ 19K · ◷
Comment /smoke-copilot-aoai-entra to run again
Add label smoke to run again

@github-actions

github-actions Bot commented Oct 1, 2026

Copy link
Copy Markdown
Contributor

Smoke Test: 1✅ 2✅ 3❌ 4✅ 5❌ 6✅ 7✅ 8✅ 9✅ 10❌ Overall: FAIL @dsyme @Copilot

Warning

Firewall blocked 1 domain

The following domain was blocked by the firewall during workflow execution:

  • clients2.google.com

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

network:
  allowed:
    - defaults
    - "clients2.google.com"

See Network Configuration for more information.

📰 BREAKING: Report filed by Smoke Copilot - AOAI (Entra) · copilot · o40mini · 22.2 AIC · ⌖ 2.61 AIC · ⊞ 19K · ◷
Comment /smoke-copilot-aoai-entra to run again
Add label smoke to run again

Copilot AI commented Oct 1, 2026

Copy link
Copy Markdown
Contributor

@copilot ensure that at least one agentic workflows recraTes the agentic engine + sandbox runtime + checker configuration to repro this issue

Added the shared copilot-events post-agent checker to Smoke Copilot Small in 6ae503c. It now runs Copilot (bare: true, model small) in the AWF default Docker sandbox and fails if the copied Copilot events.jsonl is missing or empty. The generated lock confirms --session-state-dir /tmp/gh-aw/sandbox/agent/session-state and places the checker after “Copy Copilot session state files to logs.” All 300 workflows recompiled, and impacted unit tests passed locally. The repository progress gate remains blocked by three pre-existing custom-linter findings in unchanged pkg/workflow/claude_engine.go; no new CI run was triggered.

@github-actions

github-actions Bot commented Oct 1, 2026

Copy link
Copy Markdown
Contributor

Smoke test run.

Warning

Firewall blocked 1 domain

The following domain was blocked by the firewall during workflow execution:

  • clients2.google.com

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

network:
  allowed:
    - defaults
    - "clients2.google.com"

See Network Configuration for more information.

📰 BREAKING: Report filed by Smoke Copilot - AOAI (apikey) · copilot · o40mini · 29.7 AIC · ⌖ 2.55 AIC · ⊞ 19.3K · ◷
Comment /smoke-copilot-aoai-apikey to run again
Add label smoke to run again

@github-actions

github-actions Bot commented Oct 1, 2026

Copy link
Copy Markdown
Contributor

Smoke tests:

  1. ✅ gh pr list
  2. ❌ mcpscripts pr list
  3. ❌ Serena find_symbol
  4. ✅ Playwright CLI
  5. ❌ curl GitHub
  6. ✅ File create/cat
  7. ✅ Discussion comment
  8. ✅ Build gh-aw
  9. ❌ Upload artifact
  10. ✅ Discussion create
  11. ✅ Dispatch workflow
  12. ✅ PR review comments
  13. ✅ Comment-memory haiku
  14. ❌ file-summarizer skill missing
  15. ✅ Check run
    Overall: FAIL
    @dsyme Copilot

Warning

Firewall blocked 1 domain

The following domain was blocked by the firewall during workflow execution:

  • clients2.google.com

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

network:
  allowed:
    - defaults
    - "clients2.google.com"

See Network Configuration for more information.

📰 BREAKING: Report filed by Smoke Copilot - AOAI (apikey) · copilot · o40mini · 29.7 AIC · ⌖ 2.55 AIC · ⊞ 19.3K · ◷
Comment /smoke-copilot-aoai-apikey to run again
Add label smoke to run again

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.


echo "Copying Copilot session state from $SESSION_STATE_DIR to $LOGS_DIR"
mkdir -p "$LOGS_DIR"
cp -r "$SESSION_STATE_DIR"/. "$LOGS_DIR/"

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.

Fixed in 2d9b179: the copy script now filters to extensions covered by redact_secrets.cjs. Execution tests verify that events.jsonl and checkpoint text are preserved while database, extensionless, and unsupported .yaml files are omitted.

Comment thread .github/workflows/shared/aider.md Outdated
Comment on lines +67 to +70
- --input-history-file
- /tmp/gh-aw/agent/aider-input-history.txt
- --chat-history-file
- /tmp/gh-aw/agent/aider-chat-history.md

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.

Removed the Aider history-path changes in 2d9b179 and regenerated workflow locks. This PR now limits session-state routing changes to Copilot.

Comment thread .github/workflows/shared/crush.md Outdated
Comment on lines +87 to +88
XDG_DATA_HOME: /tmp/gh-aw/agent/crush-data
CRUSH_GLOBAL_DATA: /tmp/gh-aw/agent/crush-data

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.

Removed the Crush data-directory overrides in 2d9b179 and regenerated workflow locks. This PR now limits session-state routing changes to Copilot.

Comment thread .github/workflows/shared/cursor.md Outdated
Comment on lines +49 to +51
env:
HOME: /tmp/gh-aw/agent/cursor-home
XDG_DATA_HOME: /tmp/gh-aw/agent/cursor-data

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.

Removed the Cursor home/data-directory overrides in 2d9b179 and regenerated workflow locks. This PR now limits session-state routing changes to Copilot.

}

const dshHome = join(workspace, ".dsh");
const dshHome = join("/tmp/gh-aw/agent", "deepseek-harness");

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.

Restored the original DeepSeek Harness state path in 2d9b179 and regenerated workflow locks. This PR now limits session-state routing changes to Copilot.

Comment thread .github/workflows/shared/genaiscript.md Outdated
run: genaiscript run /tmp/gh-aw/agent/aw-prompts/prompt.genai.md --mcp-config "$GH_AW_MCP_CONFIG" --out /tmp/gh-aw/agent/genaiscript-output.md
env:
DEBUG: genaiscript:*
HOME: /tmp/gh-aw/agent/genaiscript-home

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.

Removed the GenAIScript HOME override in 2d9b179 and regenerated workflow locks. This PR now limits session-state routing changes to Copilot.

Comment thread .github/workflows/shared/kiro.md Outdated
mcp-config-env-var: GH_AW_MCP_CONFIG
write-timestamp: true
env:
HOME: /tmp/gh-aw/agent/kiro-home

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.

Removed the Kiro HOME override in 2d9b179 and regenerated workflow locks. This PR now limits session-state routing changes to Copilot.

Comment thread .github/workflows/shared/opencode.md Outdated
provider-env-mode: universal-llm-consumer
env:
XDG_DATA_HOME: /tmp/opencode-data
XDG_DATA_HOME: /tmp/gh-aw/agent/opencode-data

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.

Restored the original OpenCode data directory in 2d9b179 and regenerated workflow locks. This PR now limits session-state routing changes to Copilot.

Comment thread pkg/workflow/claude_engine.go Outdated
@@ -489,6 +489,7 @@ func (e *ClaudeEngine) buildClaudeCommandEnv(workflowData *WorkflowData) map[str
func buildClaudeBaseEnvMap(provider LLMProvider, workflowData *WorkflowData) map[string]string {
return map[string]string{
"ANTHROPIC_API_KEY": llmProviderSecretExpression(provider, workflowData),
"CLAUDE_CONFIG_DIR": constants.TmpGhAwDir + "/agent/claude",

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.

Removed the Claude config directory override and other non-Copilot state changes in 2d9b179; the affected compiler golden is updated. This PR now limits session-state routing changes to Copilot.

Comment thread pkg/workflow/gemini_engine.go Outdated
@@ -296,6 +296,7 @@ touch %s
"GITHUB_WORKSPACE": "${{ github.workspace }}",
"RUNNER_TEMP": "${{ runner.temp }}",
"GH_AW_TIMEOUT_MINUTES": resolveStepTimeoutValue(workflowData),
"GEMINI_CLI_HOME": constants.TmpGhAwDir + "/agent/gemini",

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.

Removed the Gemini home override and other non-Copilot state changes in 2d9b179; the affected compiler golden is updated. This PR now limits session-state routing changes to Copilot.

@gh-aw-bot

Copy link
Copy Markdown
Collaborator

@copilot this PR still needs forward progress before a maintainer can investigate efficiently.

Please address the outstanding review feedback, then run the pr-finisher skill.

Outstanding review feedback

Please keep the non-Copilot-engine scope concern explicit in the follow-up and ensure uploaded session artifacts remain redaction-safe.

Generated by 👨‍🍳 PR Sous Chef · pi · gpt54 · 38.3 AIC · ⌖ 8.93 AIC · ⊞ 9.5K · ◷
Comment /souschef to run again

Co-authored-by: gh-aw-bot <259018956+gh-aw-bot@users.noreply.github.com>

Copilot AI commented Oct 1, 2026

Copy link
Copy Markdown
Contributor

@copilot this PR still needs forward progress before a maintainer can investigate efficiently.

Please address the outstanding review feedback, then run the pr-finisher skill....

Addressed in 2d9b179: Copilot session-state copying now includes only redactor-supported file types, with execution tests for omitted database/binary-style files, and the unrelated non-Copilot engine changes were reverted. The 300 workflow locks and affected goldens were regenerated. Local lint, tests, and compilation passed. The linked CI jobs are from an older SHA; their failures were engine/auth/gateway startup issues, so CI on the current head needs a maintainer re-trigger.

@github-actions

github-actions Bot commented Oct 1, 2026

Copy link
Copy Markdown
Contributor

Thanks for the fix, @dsyme! 👋 The Copilot session state collection change is well described and validated. Per CONTRIBUTING.md, non-core members should file issues rather than open PRs; if you are on the core team, please disregard.

Generated by ✅ Contribution Check · copilot · auto · 40.5 AIC · ⌖ 9.28 AIC · ⊞ 9.1K · ◷

@gh-aw-bot

Copy link
Copy Markdown
Collaborator

@copilot this PR still needs forward progress before a maintainer can investigate efficiently.

Please address the outstanding review feedback, then run the pr-finisher skill.

Outstanding review feedback

A branch refresh was also requested by PR Sous Chef in this run.

Generated by 👨🍳 PR Sous Chef

Generated by 👨‍🍳 PR Sous Chef · pi · gpt54 · 32.4 AIC · ⌖ 8.51 AIC · ⊞ 9.4K · ◷
Comment /souschef to run again

Copilot AI commented Oct 1, 2026

Copy link
Copy Markdown
Contributor

@copilot this PR still needs forward progress before a maintainer can investigate efficiently.

Please address the outstanding review feedback, then run the pr-finisher skill....

I checked the current PR review-thread data, but it does not include the three linked discussions (4151755483, 4151755485, or 4151755489); fetching their permalinks also failed. The visible review feedback has already been addressed and replied to in 2d9b179. Please repost the missing review text or ensure those threads are available so I can assess them. The PR base is current with main, so no branch refresh is needed.

@gh-aw-bot

Copy link
Copy Markdown
Collaborator

pr-sous-chef
@copilot this PR still needs forward progress before a maintainer can investigate efficiently.

Please address the outstanding review feedback, refresh the branch if needed, then run the pr-finisher skill.

Outstanding review threads:

A branch refresh was also requested by PR Sous Chef in this run.

Generated by 👨‍🍳 PR Sous Chef · pi · gpt54 · 23.3 AIC · ⌖ 8.62 AIC · ⊞ 9.2K · ◷
Comment /souschef to run again

Copilot AI commented Oct 1, 2026

Copy link
Copy Markdown
Contributor

pr-sous-chef
@copilot this PR still needs forward progress before a maintainer can investigate efficiently.
...

I repeated the PR review-thread query and it still returns only 13 threads; none contains comments 4151755483, 4151755485, or 4151755489. The linked pages and direct API requests are unavailable here, so their feedback text cannot be reviewed or safely acted on. The current PR metadata shows main at 55f35d4, which is already included in this branch. Please make those comment bodies visible or paste their text so I can address them.

This branch was successfully deployed

1 active (outdated) deployment
aoai-model — e4da7f04 Deployed Oct 1, 2026 by github-actions[bot] via agent #174
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.

Copilot Agentic Conversation missing when AWF preserves session state outside host HOME

5 participants