Skip to content

Exclude host runtime TMPDIR from AWF sandbox env - #79277

Merged
pelikhan merged 2 commits into
mainfrom
pelikhan/improved-fiesta
Nov 19, 2026
Merged

pelikhan merged 2 commits into
mainfrom
pelikhan/improved-fiesta

Conversation

@pelikhan

Copy link
Copy Markdown
Collaborator

Agent jobs using the Copilot SDK driver fail before the first model turn. The driver hits EACCES creating $TMPDIR/gh-aw/sandbox/agent/logs/copilot-session-state/<id>. The harness retries 4 times and the job fails. Example: https://github.com/github/gh-aw/actions/runs/44527777305/job/135573454637?pr=79268

Why

install_awf_binary.sh exports a host-private TMPDIR=/tmp/gh-aw-runtime-* (mode 0700) via GITHUB_ENV. AWF's --env-all forwards it into the sandbox. The sandbox's /tmp is a private tmpfs that shares only /tmp/gh-aw, so the forwarded path is not usable there. AWF also places its own workDir under that path and hides it with a tmpfs mount, which likely leaves a root-owned parent directory. Even if the path were writable, session state written there would not reach the host-side readers, which expect /tmp/gh-aw/....

Changes

  • Compiler: Always add --exclude-env for TMPDIR, GH_AW_RUNTIME_TMP_DIR, and GH_AW_RUNTIME_TMP_ID in appendEnvAndMountArgs. This covers both the agent and detection sandboxes. The agent falls back to its own /tmp. Host-side steps keep the private runtime dir.
  • Runtime JS: Pin the Copilot session-state path to /tmp/gh-aw/... instead of os.tmpdir() in copilot_sdk_session.cjs and handle_agent_failure.cjs, to match the other readers (parse_token_usage.cjs, unified_session.cjs).
  • Recompiled lock files: they only gain the three new --exclude-env flags.

Notes for reviewers

  • This hasn't been run in a workflow yet. Validation so far is the new Go test, the impacted Go and JS tests, and Go lint.
  • make agent-report-progress still fails on the custom Go linters. Those findings exist on main too (for example, BuildAWFCommand is already over the line limit). This PR only touches the sort.Strings call in the edited block, which now uses slices.Sort.
  • Other path.join(os.tmpdir(), "gh-aw") call sites (subagent discovery in the Copilot harness, engine_subagent_models.cjs) behave correctly once TMPDIR is excluded from the sandbox. They are left unchanged.

Firewall-side follow-up: github/gh-aw-firewall#11824

install_awf_binary.sh exports TMPDIR=/tmp/gh-aw-runtime-* (host-private, 0700)
via GITHUB_ENV. AWF --env-all forwarded it into the sandbox, whose /tmp is a
private tmpfs, so the Copilot SDK driver failed with EACCES creating
$TMPDIR/gh-aw/sandbox/agent/logs/copilot-session-state/<id>.

- Exclude TMPDIR, GH_AW_RUNTIME_TMP_DIR and GH_AW_RUNTIME_TMP_ID from the agent
  and detection sandboxes.
- Pin the Copilot session-state path to /tmp/gh-aw instead of os.tmpdir() in
  copilot_sdk_session.cjs and handle_agent_failure.cjs.

Refs github/gh-aw-firewall#11824

Co-authored-by: copilot-swe-agent[bot] <[email protected]>
@pelikhan
pelikhan marked this pull request as ready for review November 19, 2026 13:52
Copilot AI adaptive review requested due to automatic review settings November 19, 2026 13:52
@github-actions

github-actions Bot commented Nov 19, 2026 •

Copy link
Copy Markdown
Contributor

🧠 Matt Pocock Skills Reviewer has completed the skills-based review. ✅

🧠 Reviewed using Matt Pocock's skills by Matt Pocock Skills Reviewer · copilot · routed: haiku55 xhigh · ~12 AIC · ⌖ ~2 AIC · ⊞ 6.6K · ◷

@github-actions

github-actions Bot commented Nov 19, 2026 •

Copy link
Copy Markdown
Contributor

✅ PR Code Quality Reviewer completed the code quality review.

PR Code Quality Reviewer

Outcome: reported_action

The agent completed and reported one or more actions. The no-op output is a completion signal, not a claim that no action was taken.

Agent messages are omitted from this comment. The category uses structured run status, not interpretation of agent prose.

🔎 Code quality review by PR Code Quality Reviewer · copilot · gpt56 · ~3 AIC · ⌖ ~1 AIC · ⊞ 1.6K · ◷

@github-actions

github-actions Bot commented Nov 19, 2026 •

Copy link
Copy Markdown
Contributor

✅ PR Specification Reviewer completed successfully!

Caution

agentic threat detected
Threat detection flagged this output in warn mode. Manual review is REQUIRED before any follow-up automation.

Details

Potential security threats were detected in the agent output. Detected threat types: prompt injection.

Review the workflow run logs for details.

PR Specification Reviewer

Outcome: reported_action

The agent completed and reported one or more actions. The no-op output is a completion signal, not a claim that no action was taken.

Agent messages are omitted from this comment. The category uses structured run status, not interpretation of agent prose.

Generated by PR Specification Reviewer for #79277 · copilot · gpt56 · ~3 AIC · ⌖ ~2 AIC · ⊞ 1.7K · ◷

@github-actions

github-actions Bot commented Nov 19, 2026 •

Copy link
Copy Markdown
Contributor

✅ Ponytail Reviewer completed successfully!

Ponytail Reviewer

Outcome: reported_no_action

The agent completed and reported no action. A no-op output alone does not verify that all required work was completed or that publication was possible.

Agent messages are omitted from this comment. The category uses structured run status, not interpretation of agent prose.

Generated by Ponytail Reviewer for #79277 · codex · routed: gpt61 medium · ~6 AIC · ⌖ ~1 AIC · ⊞ 185 · ◷

@github-actions

github-actions Bot commented Nov 19, 2026 •

Copy link
Copy Markdown
Contributor

✅ Test Quality Sentinel completed test quality analysis.

Test Quality Sentinel

Outcome: reported_no_action

The agent completed and reported no action. A no-op output alone does not verify that all required work was completed or that publication was possible.

Agent messages are omitted from this comment. The category uses structured run status, not interpretation of agent prose.

🧪 Test quality analysis by Test Quality Sentinel · copilot · routed: haiku55 xhigh · ~1 AIC · ⌖ ~2 AIC · ⊞ 7.2K · ◷

@github-actions

Copy link
Copy Markdown
Contributor

Comment Memory

Peek at saved memory (pr-code-quality-reviewer)
reviewed_at: 2026-11-19T13:55:41Z
review_event: REQUEST_CHANGES
top_themes:
  - AWF compatibility when --exclude-env is unavailable
files_reviewed:
  - actions/setup/js/copilot_sdk_session.cjs
  - actions/setup/js/handle_agent_failure.cjs
  - pkg/workflow/awf_command_builder.go
  - pkg/workflow/awf_env_test.go
comment_count: 1
History

Note

This comment is managed by comment memory.

Expand the saved memory block to view or edit the persistent context for this thread.
Edit only the text inside the backtick fences; workflow metadata and the footer are regenerated automatically.

Learn more about comment memory

🔎 Code quality review by PR Code Quality Reviewer · copilot · gpt50 · ~3 AIC · ⌖ ~1 AIC · ⊞ 1.6K · ◷
Comment /review 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.

Found one blocking compatibility issue: older AWF versions still inherit the host-private TMPDIR because --exclude-env is unavailable, so the targeted sandbox write failure can persist. See the inline comment for the required fallback or version enforcement.

🔎 Code quality review by PR Code Quality Reviewer · copilot · gpt50 · ~3 AIC · ⌖ ~1 AIC · ⊞ 1.6K
Comment /review to run again

sortedExclude = append(sortedExclude, name)
}
}
slices.Sort(sortedExclude)

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.

This still forwards the host-private TMPDIR to sandboxes whenever the configured AWF is older than the --exclude-env minimum, so the EACCES failure this change targets remains possible for supported older AWF versions.

💡 Why this matters

The new exclusions are only appended inside if awfSupportsExcludeEnv(...); the fallback logs and emits no exclusions while --env-all remains active. Either enforce the minimum AWF version for this path, fail compilation when these exclusions cannot be emitted, or provide an equivalent safe fallback for older images. Please add a regression test for the old-version branch.

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.

Added an old-AWF fallback that unsets the host temp variables before the sandboxed engine starts, with agent and detection coverage in a6a8c77.

@github-actions

Copy link
Copy Markdown
Contributor

Comment Memory

Peek at saved memory (review-history)
{"id":"ldg-3a538d8d-5d12-4990-8e7a-9495c150ed0f","parents":[],"payload":{"id":"ldg-77180199-df73-48ca-b179-f79fd0af5ae0","operation":"append","value":{"finding_count":1,"head_sha":"65a8c03aeeb8184a1236f6671666e0f012a4edd3","outcome":"findings"}},"sha":"sha256:fa7c0b9c6190125a6cc14b07fca906746af0ea586c945205b8ac62d2da33f913","timestamp":"2026-11-19T14:01:13.884Z","type":"ledger_append","version":1}
History

@github-actions

Copy link
Copy Markdown
Contributor

Comment Memory

Peek at saved memory (spec-review-history)
{"id":"ldg-0d98c388-f7de-483c-a846-b332e884ffa8","parents":[],"payload":{"id":"ldg-6894e62d-146b-421a-adc0-4bb77c049e59","operation":"append","value":{"finding_count":0,"head_sha":"65a8c03aeeb8184a1236f6671666e0f012a4edd3","outcome":"aligned"}},"sha":"sha256:bd4e3442c3bd77f4c472d3000506c086a5fb88a0621a69eaed58a075cbc04ec1","timestamp":"2026-11-19T14:01:56.959Z","type":"ledger_append","version":1}
History

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.

🟡 Changes recommended

Session fixture paths diverge from the loader when TMPDIR differs from /tmp, and the exclusion test cannot detect removal of automatic TMPDIR exclusion.

2 open issues
What changed in this PR

This PR addresses Copilot SDK startup failures by keeping host-private temporary-directory settings out of AWF sandboxes and aligning session-state storage with the shared /tmp/gh-aw directory.

Changes:

  • Exclude three host runtime variables from agent and detection sandboxes, with Go regression coverage.
  • Pin Copilot session-state writing and failure analysis to the shared directory.
  • Regenerate workflow lock files with the new environment exclusions.
File Description
pkg/​workflow/​awf_env_test.go Tests sandbox exclusions and deduplication.
pkg/​workflow/​awf_command_builder.go Adds host runtime environment exclusions.
actions/​setup/​js/​handle_agent_failure.cjs Reads session state from the shared path.
actions/​setup/​js/​copilot_sdk_session.cjs Defaults session writes to the shared path.
.github/​workflows/​workflow-normalizer.lock.yml Adds agent and detection exclusions.
.github/​workflows/​update-astro.lock.yml Adds agent and detection exclusions.
.github/​workflows/​spec-enforcer.lock.yml Adds agent and detection exclusions.
.github/​workflows/​smoke-work-queue-worker.lock.yml Adds agent exclusions.
.github/​workflows/​smoke-work-queue-dispatcher.lock.yml Adds agent exclusions.
.github/​workflows/​smoke-github-codex.lock.yml Adds agent exclusions.
.github/​workflows/​smoke-gemini.lock.yml Adds agent and detection exclusions.
.github/​workflows/​smoke-codex-bare-auto.lock.yml Adds agent exclusions.
.github/​workflows/​smoke-codex-auto.lock.yml Adds agent exclusions.
.github/​workflows/​smoke-claude-sub-agents.lock.yml Adds agent exclusions.
.github/​workflows/​smoke-claude-copilot.lock.yml Adds agent exclusions.
.github/​workflows/​smoke-claude-copilot-auto.lock.yml Adds agent exclusions.
.github/​workflows/​smoke-claude-auto.lock.yml Adds agent exclusions.
.github/​workflows/​smoke-azure-codex.lock.yml Adds agent exclusions.
.github/​workflows/​smoke-agy.lock.yml Adds agent exclusions.
.github/​workflows/​security-review.lock.yml Adds agent and detection exclusions.
.github/​workflows/​release.lock.yml Adds agent exclusions.
.github/​workflows/​purelock.lock.yml Adds agent and detection exclusions.
.github/​workflows/​pdf-summary.lock.yml Adds agent and detection exclusions.
.github/​workflows/​notion-issue-summary.lock.yml Adds agent exclusions.
.github/​workflows/​lint-monster.lock.yml Adds agent and detection exclusions.
.github/​workflows/​issue-arborist.lock.yml Adds agent and detection exclusions.
.github/​workflows/​gpclean.lock.yml Adds agent and detection exclusions.
.github/​workflows/​functional-pragmatist.lock.yml Adds agent and detection exclusions.
.github/​workflows/​firewall.lock.yml Adds SDK agent exclusions.
.github/​workflows/​feature-grower.lock.yml Adds agent and detection exclusions.
.github/​workflows/​example-permissions-warning.lock.yml Adds agent exclusions.
.github/​workflows/​eslint-monster.lock.yml Adds agent and detection exclusions.
.github/​workflows/​engine-conformance-pydantic-ai.lock.yml Adds agent exclusions.
.github/​workflows/​engine-conformance-opencode.lock.yml Adds agent exclusions.
.github/​workflows/​engine-conformance-mini-swe-agent.lock.yml Adds agent exclusions.
.github/​workflows/​engine-conformance-kiro.lock.yml Adds agent exclusions.
.github/​workflows/​engine-conformance-goose.lock.yml Adds agent exclusions.
.github/​workflows/​engine-conformance-gemini.lock.yml Adds agent exclusions.
.github/​workflows/​engine-conformance-factory.lock.yml Adds agent exclusions.
.github/​workflows/​engine-conformance-deepseek-harness.lock.yml Adds agent exclusions.
.github/​workflows/​engine-conformance-cursor.lock.yml Adds agent exclusions.
.github/​workflows/​engine-conformance-crush.lock.yml Adds agent exclusions.
.github/​workflows/​engine-conformance-copilot.lock.yml Adds agent exclusions.
.github/​workflows/​engine-conformance-codex.lock.yml Adds agent exclusions.
.github/​workflows/​engine-conformance-claude.lock.yml Adds agent exclusions.
.github/​workflows/​engine-conformance-aider.lock.yml Adds agent exclusions.
.github/​workflows/​engine-conformance-agy.lock.yml Adds agent exclusions.
.github/​workflows/​daily-token-consumption-report.lock.yml Adds agent and detection exclusions.
.github/​workflows/​daily-team-evolution-insights.lock.yml Adds agent and detection exclusions.
.github/​workflows/​daily-semgrep-scan.lock.yml Adds agent and detection exclusions.
.github/​workflows/​daily-max-ai-credits-test.lock.yml Adds agent and detection exclusions.
.github/​workflows/​daily-malicious-code-scan.lock.yml Adds SDK agent exclusions.
.github/​workflows/​daily-harness-experiment-proposer.lock.yml Adds agent exclusions.
.github/​workflows/​daily-go-test-stubs-aider.lock.yml Adds agent and detection exclusions.
.github/​workflows/​daily-doc-updater.lock.yml Adds agent and detection exclusions.
.github/​workflows/​daily-code-debt-aider.lock.yml Adds agent and detection exclusions.
.github/​workflows/​daily-cache-strategy-analyzer.lock.yml Adds agent and detection exclusions.
.github/​workflows/​daily-architecture-diagram.lock.yml Adds agent and detection exclusions.
.github/​workflows/​codex-github-remote-mcp-test.lock.yml Adds agent exclusions.
.github/​workflows/​cloclo.lock.yml Adds agent and detection exclusions.
.github/​workflows/​changeset.lock.yml Adds agent and detection exclusions.
.github/​workflows/​bot-detection.lock.yml Adds agent exclusions.
.github/​workflows/​artifacts-summary.lock.yml Adds agent and detection exclusions.
.github/​workflows/​agy-conformance-reusable.lock.yml Adds agent exclusions.
.github/​workflows/​agentic-token-trend-audit.lock.yml Adds agent and detection exclusions.
.github/​workflows/​agentic-token-optimizer.lock.yml Adds agent exclusions.
.github/​workflows/​ace-editor.lock.yml Adds agent exclusions.
.github/​workflows/​ab-testing-advisor.lock.yml Adds agent and detection exclusions.

Review effort: Balanced (adaptive)

@@ -93,7 +92,7 @@ const FAILURE_ISSUE_WINDOW_MS = FAILURE_ISSUE_DEDUP_WINDOW_HOURS * 60 * 60 * 100
const DEFAULT_OTEL_JSONL_PATH = "/tmp/gh-aw/otel.jsonl";
/** Path to the failure categories file written by handle_agent_failure and read by the OTLP conclusion span. */
const FAILURE_CATEGORIES_PATH = "/tmp/gh-aw/failure_categories.json";
const COPILOT_SESSION_STATE_DIR = path.join(os.tmpdir(), "gh-aw", "sandbox", "agent", "logs", "copilot-session-state");
const COPILOT_SESSION_STATE_DIR = "/tmp/gh-aw/sandbox/agent/logs/copilot-session-state";

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.

Fixtures now use an isolated injected session directory; the production default remains shared. Fixed in a6a8c77.

Comment thread pkg/workflow/awf_env_test.go Outdated
Comment on lines +409 to +413
excluded := ComputeAWFExcludeEnvVarNames(phase.data, []string{"COPILOT_GITHUB_TOKEN", "TMPDIR"})
joined := strings.Join(BuildAWFArgs(AWFCommandConfig{WorkflowData: phase.data, ExcludeEnvVarNames: excluded}), " ")
for _, name := range []string{"TMPDIR", "GH_AW_RUNTIME_TMP_DIR", "GH_AW_RUNTIME_TMP_ID"} {
assert.Equal(t, 1, strings.Count(joined, "--exclude-env "+name+" "), name)
}

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.

Added cases with and without caller-provided TMPDIR, covering automatic exclusion and deduplication in a6a8c77.

@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.

Skills-Based Review 🧠

Applied /tdd, /diagnosing-bugs, and /codebase-design. Requesting changes: the golden snapshots are stale, and the JS test fixtures do not match the new session-state path.

📋 Key Themes & Verification

Blocking

  • Stale golden snapshots: TestWasmGolden_AllEngines and TestWasmGolden_CompileFixtures fail because the goldens lack the new TMPDIR, GH_AW_RUNTIME_TMP_DIR, and GH_AW_RUNTIME_TMP_ID excludes.
  • JS fixtures vs. code path: handle_agent_failure.test.cjs builds session fixtures under os.tmpdir(), but the code now reads /tmp/gh-aw.

Non-blocking

  • AWF version gate: on AWF older than v0.25.3 the fix is silently off. The PR description should state the minimum version.
  • Test input: the new Go test passes TMPDIR as input, so the auto-add path is not proven by it.
  • Path literal: /tmp/gh-aw duplicates TMP_GH_AW_PATH in constants.cjs.

Verification

  • ✅ TestHostRuntimeTmpEnvExcludedFromAWFSandboxes passes; gofmt is clean.
  • ✅ Lock files at HEAD carry the new flags.
  • ⚠️ JS tests not run: sandbox TLS blocked npm ci.
  • ⚠️ TestBuildDynamicEnclaveExpiryScriptResolvesMinOfConfiguredAndJobExpiry appears clock-dependent and is unrelated to this change.

@copilot please address the review comments above.

🧠 Reviewed using Matt Pocock's skills by Matt Pocock Skills Reviewer · copilot · routed: haiku55 xhigh · ~12 AIC · ⌖ ~2 AIC · ⊞ 6.6K
Comment /matt to run again

Comment thread pkg/workflow/awf_env_test.go Resolved
sortedExclude = append(sortedExclude, name)
}
}
slices.Sort(sortedExclude)

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.

[/tdd] TestWasmGolden_AllEngines and TestWasmGolden_CompileFixtures now fail. The snapshots under pkg/workflow/testdata/ (for example TestWasmGolden_AllEngines/copilot.golden and TestWasmGolden_CompileFixtures/smoke-copilot.golden) do not include the three new --exclude-env flags, so they are stale.

💡 Suggested fix

Regenerate the goldens with the -update flag described in wasm_golden_test.go, then review the diff. It should add exactly the TMPDIR, GH_AW_RUNTIME_TMP_DIR, and GH_AW_RUNTIME_TMP_ID excludes and nothing else.

@copilot please address this.

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.

Regenerated and verified the WASM goldens in a6a8c77; their only changes add the three exclusions.

@@ -93,7 +92,7 @@ const FAILURE_ISSUE_WINDOW_MS = FAILURE_ISSUE_DEDUP_WINDOW_HOURS * 60 * 60 * 100
const DEFAULT_OTEL_JSONL_PATH = "/tmp/gh-aw/otel.jsonl";
/** Path to the failure categories file written by handle_agent_failure and read by the OTLP conclusion span. */
const FAILURE_CATEGORIES_PATH = "/tmp/gh-aw/failure_categories.json";
const COPILOT_SESSION_STATE_DIR = path.join(os.tmpdir(), "gh-aw", "sandbox", "agent", "logs", "copilot-session-state");
const COPILOT_SESSION_STATE_DIR = "/tmp/gh-aw/sandbox/agent/logs/copilot-session-state";

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.

[/tdd] COPILOT_SESSION_STATE_DIR is now pinned to /tmp/gh-aw, but handle_agent_failure.test.cjs still builds its session fixtures under os.tmpdir() (lines 7083, 7096, 7113, 7167, 7200, 7231, 7250). Those fixtures only match the code when os.tmpdir() resolves to /tmp, so they break as soon as TMPDIR is set to anything else.

💡 Suggested fix

Switch those fixtures to the same /tmp/gh-aw/sandbox/agent/logs/copilot-session-state path, or reuse TMP_GH_AW_PATH from constants.cjs. Also add one test that sets TMPDIR to a non-/tmp directory and checks that session state is still found. That locks in the fix.

@copilot please address this.

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.

Isolated the fixtures and added a non-default TMPDIR regression in a6a8c77. Vitest could not run because the configured npm feed failed DNS resolution.

Comment thread pkg/workflow/awf_command_builder.go Resolved
@gh-aw-bot

Copy link
Copy Markdown
Collaborator

Warning

Threat detection engine error

Threat detection could not complete its analysis due to a tooling error. This is not a security finding.

What happened

The threat detection engine failed to produce results.

Review the workflow run logs to troubleshoot the error.

@copilot

🍳 A little prep to help this PR along! Copilot assignment requested for the following outstanding work:

  1. Update this branch with the latest main using make merge-main, resolving any conflicts and preserving the intended changes.
  2. Review (pkg/workflow/awf_command_builder.go:679): address unresolved feedback - Review comment
  3. Review (actions/setup/js/handle_agent_failure.cjs:95): address unresolved feedback - Review comment
  4. Review (pkg/workflow/awf_env_test.go:413): address unresolved feedback - Review comment
  5. Review (pkg/workflow/awf_env_test.go:409): address unresolved feedback - Review comment
  6. Review (pkg/workflow/awf_command_builder.go:679): address unresolved feedback - Review comment
  7. Review (actions/setup/js/copilot_sdk_session.cjs:238): address unresolved feedback - Review comment
  8. Review (actions/setup/js/handle_agent_failure.cjs:95): address unresolved feedback - Review comment
  9. Review (pkg/workflow/awf_command_builder.go:674): address unresolved feedback - Review comment
  10. Fix failing check build-wasm (FAILURE): Check run.
  11. Fix failing check build-wasm (FAILURE): Check run.
  12. Fix failing check impacted-go-tests (FAILURE): Check run.
  13. Fix failing check Unit tests (H-M) (FAILURE): Check run.
  14. Fix failing check Unit tests (S-Z and other) (FAILURE): Check run.
  15. Fix failing check Unit tests (S-Z and other) (FAILURE): Check run.

Keeping the changes focused; human review and CI get the final taste test. No merging or CI triggering.

Structured data
{
  "completed_task": 0,
  "head": "65a8c03aeeb8184a1236f6671666e0f012a4edd3",
  "kind": "requested",
  "schema_version": "1",
  "state": "d3e2b22202c0176b0afbf393191b560644c3f17331e6844a9bb9a0ba5c25e0a1",
  "work": [
    "0215fa6a7e95d212b943e1dcdbb6a5dd7a082cda1dd71a971263c5c8122eb0a6",
    "122e82abf3c4e92e83cccb423d4d8aa1667ea93635c3bdecf438b5c1fbe1c16f",
    "3ff3c3b6cdebed1172a09f6248858740266cfa66aba6c1282b3ef1af476645ca",
    "42e5d572d9d75b7168fe7d0aeda0717cc07e65ed240f6d299e6fec661214f1ac",
    "48a183c3e95bbf17204364ee4c81061de61a873e8585852342c81727b022959c",
    "7a95db8fb42aec859dfc6dd726e72f74d89638781d962669dfcc239ee540bc8e",
    "8827da35a4d4c37b92a85b3c8015dc2d5a976ceaf962fa1d9e606a885647b83e",
    "8875b452785eda03cf73263b6bb7c13a26f289f997e0e68e09aeb0cc06d99d5c",
    "8acb61a077717e3a460018aacdfde96fd489f77606cd36169e2328d9079b75bb",
    "c53197dd9781a89942e30f3cfd7adc0d27aa9ab41b4b5818f89783ed5cbf49a5",
    "d9c31bbc53ddd2bf9bc40c2821b7e8b65d1fef2e4915d88f1c5cb4c05e1ed752",
    "df791f28f7a159a665362210729350a7098683f08371cb7a64439d7a59a5c05d"
  ],
  "workflow": "pr-sous-chef"
}

Generated by 👨🍳 PR Sous Chef · pi · routed: haiku55 xhigh · ~4 AIC · ⊞ 7K · ◷
Comment /souschef to run again

Copilot AI commented Nov 19, 2026

Copy link
Copy Markdown
Contributor

[!WARNING]
Threat detection engine error
...

Addressed the review feedback and refreshed WASM goldens in a6a8c77. Focused Go/WASM tests passed. Merge-main was blocked by a missing object on the Git remote; Vitest and the final gate were blocked by npm feed DNS failure. The separate connector test passed on rerun. No CI was triggered.

const defaultSessionStateBase = path.join(os.tmpdir(), "gh-aw", "sandbox", "agent", "logs", "copilot-session-state");
// Pinned to /tmp/gh-aw (the shared host handoff dir), never os.tmpdir(): TMPDIR may
// point at a host-private runtime dir that is not shared with or writable in the sandbox.
const defaultSessionStateBase = path.join(TMP_GH_AW_PATH, "sandbox", "agent", "logs", "copilot-session-state");
@pelikhan

Copy link
Copy Markdown
Collaborator Author

@copilot review other agentic engines using os.tmpDir()

@pelikhan
pelikhan merged commit c59c29d into main Nov 19, 2026
139 of 140 checks passed
@pelikhan
pelikhan deleted the pelikhan/improved-fiesta branch November 19, 2026 16:35
Copilot stopped work on behalf of pelikhan due to an error November 19, 2026 16:35
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.

5 participants