Skip to content

[review] fix(arc-dind): mount workspace correctly and unify artifact roots#43228

Open
github-actions[bot] wants to merge 15 commits into
mainfrom
fix/arc-dind-workspace-mount-review-1783093749995
Open

[review] fix(arc-dind): mount workspace correctly and unify artifact roots#43228
github-actions[bot] wants to merge 15 commits into
mainfrom
fix/arc-dind-workspace-mount-review-1783093749995

Conversation

@github-actions

@github-actions github-actions Bot commented Jul 3, 2026

Copy link
Copy Markdown
Contributor

Caution

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

Reason: agent_failure

Review the workflow run logs for details.

This PR contains changes that were originally intended for PR #43222 (fix/arc-dind-workspace-mount).
Please review the changes carefully before merging.


Generated by 👨‍🍳 PR Sous Chef · 7.23 AIC · ⌖ 3.11 AIC · ⊞ 6.6K ·
Comment /souschef to run again


Generated by 👨‍🍳 PR Sous Chef · 3.07 AIC · ⌖ 4.15 AIC · ⊞ 4.3K ·
Comment /souschef to run again


Generated by 👨‍🍳 PR Sous Chef · 11.4 AIC · ⌖ 4.86 AIC · ⊞ 3.4K ·
Comment /souschef to run again


Generated by 👨‍🍳 PR Sous Chef · 15.7 AIC · ⌖ 5.01 AIC · ⊞ 3.4K ·
Comment /souschef to run again


Generated by 👨‍🍳 PR Sous Chef · 8.21 AIC · ⌖ 6.19 AIC · ⊞ 3.4K ·
Comment /souschef to run again


Generated by 👨‍🍳 PR Sous Chef · 8.37 AIC · ⌖ 7.92 AIC · ⊞ 3.7K ·
Comment /souschef to run again


Generated by 👨‍🍳 PR Sous Chef · 3.83 AIC · ⌖ 6.47 AIC · ⊞ 3.7K ·
Comment /souschef to run again


Generated by 👨‍🍳 PR Sous Chef · 6.18 AIC · ⌖ 6.22 AIC · ⊞ 3.7K ·
Comment /souschef to run again

lpcox and others added 3 commits July 3, 2026 08:33
Bug A: The agent sees an empty workspace because dockerHostPathPrefix
translates the workspace mount source to a non-existent path. With
sysroot-stage active, the Docker daemon can see all needed paths via:
  - Shared work volume (/home/runner/_work/) for workspace & RUNNER_TEMP
  - Sysroot named volume for system binaries
  - Kernel VFS for /dev, /sys
Remove dockerHostPathPrefix from the AWF config — it's unnecessary and
harmful when sysroot provides all system paths.

Bug B: The agent artifact upload spans two path roots (/tmp/gh-aw/ and
${{ runner.temp }}/gh-aw/), causing upload-artifact to compute '/' as
the common ancestor. This creates a nested directory layout that breaks
downstream artifact downloads (detection job can't find agent_output.json).
Fix by:
  1. Rewriting all /tmp/gh-aw/ artifact paths to ${{ runner.temp }}/gh-aw/
  2. Adding a consolidation step that copies /tmp/gh-aw/ contents to the
     runner.temp location before upload

Fixes: gh-aw#34896
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
Base automatically changed from fix/arc-dind-workspace-mount to main July 3, 2026 16:03
@gh-aw-bot

Copy link
Copy Markdown
Collaborator

@copilot please run the pr-finisher skill, address unresolved review comments, and rerun checks once the branch is up to date.

Generated by 👨‍🍳 PR Sous Chef · 7.23 AIC · ⌖ 3.11 AIC · ⊞ 6.6K ·
Comment /souschef to run again

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

Copilot AI commented Jul 3, 2026

Copy link
Copy Markdown
Contributor

@copilot please run the pr-finisher skill, address unresolved review comments, and rerun checks once the branch is up to date.

...

Done. Found one lint failure (modernize: HasPrefix+TrimPrefix can be simplified to CutPrefix) in arc_dind_artifacts.go, fixed in commit fix(arc-dind): use strings.CutPrefix to satisfy modernize linter. No unresolved review threads. Local validation passes:

  • ✅ Reviews — no unresolved review threads
  • ✅ Checks (local) — make fmt, make lint (0 issues), make test-unit all pass
  • ❓ Checks (CI) — stale after agent push; needs human re-trigger. Prior failures: fixed (lint was the root cause)
  • ✅ Mergeable — branch is up to date with base, no conflicts

Hand-off: CI must be re-triggered by a maintainer (close/reopen PR, workflow_dispatch, or push) before merge.

@gh-aw-bot

Copy link
Copy Markdown
Collaborator

@copilot please run the pr-finisher skill, address unresolved review comments, and rerun checks once the branch is up to date.

Generated by 👨‍🍳 PR Sous Chef · 3.07 AIC · ⌖ 4.15 AIC · ⊞ 4.3K ·
Comment /souschef to run again

…e-mount-review-1783093749995

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

Copilot AI commented Jul 4, 2026

Copy link
Copy Markdown
Contributor

@copilot please run the pr-finisher skill, address unresolved review comments, and rerun checks once the branch is up to date.

...

Done. The branch had a merge conflict with origin/main in arc_dind_artifacts.go — both sides used strings.CutPrefix, so I resolved by taking the upstream variant (variable name after, rewritten++ increment for the first case). Local validation all passes: make fmt, make lint (0 issues), make test-unit.

  • ✅ Reviews — no unresolved review threads
  • ✅ Checks (local) — make fmt, make lint, make test-unit all pass
  • ❓ Checks (CI) — stale after agent push; needs human re-trigger. Prior failures: fixed
  • ✅ Mergeable — conflict resolved, branch updated from main

Hand-off: CI must be re-triggered by a maintainer before merge.

@gh-aw-bot

Copy link
Copy Markdown
Collaborator

@copilot please run the pr-finisher skill, address outstanding review feedback, refresh the branch if needed, and rerun checks once updated.

Generated by 👨‍🍳 PR Sous Chef · 11.4 AIC · ⌖ 4.86 AIC · ⊞ 3.4K ·
Comment /souschef to run again

Copilot AI commented Jul 4, 2026

Copy link
Copy Markdown
Contributor

@copilot please run the pr-finisher skill, address outstanding review feedback, refresh the branch if needed, and rerun checks once updated.

...

All clear. Branch is up to date with main, working tree clean, no unresolved review threads.

  • ✅ Reviews — no unresolved review threads
  • ✅ Checks (local) — make fmt, make lint (0 issues), make test-unit all pass
  • ❓ Checks (CI) — stale after last agent push; needs human re-trigger
  • ✅ Mergeable — no conflicts, branch is at origin/main tip

Hand-off: CI must be re-triggered by a maintainer before merge. Still needed: human approval.

@gh-aw-bot

Copy link
Copy Markdown
Collaborator

@copilot please run the pr-finisher skill, address any remaining review feedback, and rerun checks once the branch is up to date.

Generated by 👨‍🍳 PR Sous Chef · 15.7 AIC · ⌖ 5.01 AIC · ⊞ 3.4K ·
Comment /souschef to run again

Copilot AI commented Jul 4, 2026

Copy link
Copy Markdown
Contributor

@copilot please run the pr-finisher skill, address any remaining review feedback, and rerun checks once the branch is up to date.

...

  • ✅ Reviews — no unresolved review threads
  • ✅ Checks (local) — make fmt, make lint (0 issues), make test-unit all pass
  • ❓ Checks (CI) — Smoke CI shows action_required (pending maintainer approval for PR workflow runs, not actual test failures); stale after agent push. Prior failures: none found at log level
  • ✅ Mergeable — branch is up to date with main (merged at 098f5a6), no conflicts

Actions taken: no new changes needed — branch was already clean.
Hand-off: CI must be re-triggered by a maintainer (close/reopen PR, workflow_dispatch, or push) before merge.
Still needed: human approval and maintainer CI approval for workflow runs.

@gh-aw-bot

Copy link
Copy Markdown
Collaborator

@copilot please
run the pr-finisher skill, address any outstanding review feedback, and rerun checks once the branch is up to date.

Generated by 👨🍳 PR Sous Chef

Generated by 👨‍🍳 PR Sous Chef · 5.38 AIC · ⌖ 4.28 AIC · ⊞ 3.4K ·
Comment /souschef to run again

@gh-aw-bot

Copy link
Copy Markdown
Collaborator

@copilot please run the pr-finisher skill, address any unresolved review feedback, ensure the branch is up to date with the base branch, and rerun checks.

Generated by 👨‍🍳 PR Sous Chef · 8.37 AIC · ⌖ 7.92 AIC · ⊞ 3.7K ·
Comment /souschef to run again

…w (process all PRs)

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

Copilot AI commented Jul 5, 2026

Copy link
Copy Markdown
Contributor

@copilot please run the pr-finisher skill, address any unresolved review feedback, ensure the branch is up to date with the base branch, and rerun checks.

...

Fixed a pre-existing test failure introduced by main. TestPRSousChefWorkflowAddCommentTargetContract was still asserting the old "Process at most 5 PRs per run." text, but pr-sous-chef.md was updated in #43492 to "Process all eligible PRs per run." — updated the test to match in fix(test): update pr-sous-chef contract test to match current workflow.

  • ✅ Reviews — no unresolved review threads (0 threads)
  • ✅ Checks (local) — make fmt (clean), make lint (0 issues), make test-unit (all pass)
  • ❓ Checks (CI) — stale after agent push; needs human re-trigger. Prior runs on HEAD c6fa00f all concluded success
  • ✅ Mergeable — branch is up to date with main, no conflicts

Still needed: human approval.

@gh-aw-bot

Copy link
Copy Markdown
Collaborator

@copilot please run the pr-finisher skill, Update the branch if needed, complete the remaining work, and rerun checks.

Generated by 👨‍🍳 PR Sous Chef · 3.83 AIC · ⌖ 6.47 AIC · ⊞ 3.7K ·
Comment /souschef to run again

Copilot AI and others added 2 commits July 5, 2026 16:14
…e-mount-review-1783093749995

# Conflicts:
#	pkg/cli/pr_sous_chef_workflow_contract_test.go

Co-authored-by: gh-aw-bot <259018956+gh-aw-bot@users.noreply.github.com>
…ll eligible PRs per run

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

Copilot AI commented Jul 5, 2026

Copy link
Copy Markdown
Contributor

@copilot please run the pr-finisher skill, Update the branch if needed, complete the remaining work, and rerun checks.

...

Branch updated from main and pre-existing test failure fixed:

  • Merged conflict in pr_sous_chef_workflow_contract_test.go (same string both sides, took upstream message wording)

  • Fixed pr-sous-chef.md: updated "Process at most 5 PRs per run." → "Process all eligible PRs per run." to align the source with the compiled .lock.yml (changed in pr-sous-chef: process all PRs, treat marker-only comments as informational #43492) and the contract test (updated in b8641b2baf on main). Recompiled pr-sous-chef.lock.yml.

  • ✅ Reviews — no unresolved review threads (0 threads)

  • ✅ Checks (local) — make fmt (clean), make lint (0 issues), make test-unit (all pass)

  • ❓ Checks (CI) — stale after agent push; needs human re-trigger

  • ✅ Mergeable — branch is up to date with main, no conflicts

Still needed: human approval.

@gh-aw-bot

Copy link
Copy Markdown
Collaborator

@copilot please run the pr-finisher skill, review the latest feedback, and rerun checks once the branch is ready.

Generated by 👨‍🍳 PR Sous Chef · 5.29 AIC · ⌖ 5.03 AIC · ⊞ 7.1K ·
Comment /souschef to run again

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

Copilot AI commented Jul 5, 2026

Copy link
Copy Markdown
Contributor

@copilot please run the pr-finisher skill, review the latest feedback, and rerun checks once the branch is ready.

...

  • ✅ Reviews — no unresolved review threads (0 threads)
  • ✅ Checks (local) — make fmt (clean), make lint (0 errors), make test-unit (all pass)
  • ❓ Checks (CI) — stale after agent push; needs human re-trigger. Prior runs on HEAD c6fa00f all concluded success. Applied one additional make fmt cleanup: stripped trailing whitespace from pr-sous-chef.lock.yml (commit 46e7059)
  • ✅ Mergeable — branch is up to date with main, no conflicts

Actions taken: committed trailing-space cleanup in pr-sous-chef.lock.yml that make fmt surfaced.
Hand-off: CI must be re-triggered by a maintainer (close/reopen PR, workflow_dispatch, or push) before merge.
Still needed: human approval.

@gh-aw-bot

Copy link
Copy Markdown
Collaborator

@copilot please run the skill, address unresolved review comments, and rerun checks once the branch is up to date.

Generated by 👨‍🍳 PR Sous Chef · 6.18 AIC · ⌖ 6.22 AIC · ⊞ 3.7K ·
Comment /souschef to run again

Copilot AI commented Jul 5, 2026

Copy link
Copy Markdown
Contributor

@copilot please run the skill, address unresolved review comments, and rerun checks once the branch is up to date.

...

  • ✅ Reviews — no unresolved review threads (0 threads)
  • ✅ Checks (local) — make fmt (clean), make lint (0 errors), make test-unit (all pass)
  • ❓ Checks (CI) — stale after agent push; needs human re-trigger. Branch merged latest main (HEAD 2813fc2), no new failures introduced
  • ✅ Mergeable — branch is up to date with main, no conflicts

Actions taken: no file changes needed — working tree clean, all local checks passed without modification.
Hand-off: CI must be re-triggered by a maintainer (close/reopen PR, workflow_dispatch, or push) before merge.
Still needed: human approval.

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