Skip to content

docs: add D13 sbx daemon egress diagnosis - #8358

Merged
lpcox merged 3 commits into
mainfrom
copilot/runner-doctor-update-lesson
Sep 10, 2026
Merged

docs: add D13 sbx daemon egress diagnosis#8358
lpcox merged 3 commits into
mainfrom
copilot/runner-doctor-update-lesson

Conversation

Copilot AI commented Sep 9, 2026

Copy link
Copy Markdown
Contributor

Documents the Docker sbx fail-closed egress signature that occurs when the long-lived sbx daemon restarts without AWF’s Squid proxy configuration, despite healthy Squid checks.

DOCKER_SANDBOXES_PROXY=http://host.docker.internal:3128 \
  nohup sbx daemon start > /tmp/sbx-daemon.log 2>&1 &

Co-authored-by: lpcox <15877973+lpcox@users.noreply.github.com>
Copilot AI changed the title [WIP] Update Runner Doctor with new lesson on Squid egress enforcement docs: add D13 sbx daemon egress diagnosis Sep 9, 2026
Copilot AI requested a review from lpcox September 9, 2026 22:38
@lpcox
lpcox marked this pull request as ready for review September 9, 2026 22:44
Copilot AI balanced review requested due to automatic review settings September 9, 2026 22:44

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

The required portable doctor copy and its synchronization assertions are missing.

Once you've addressed the issues Copilot identified, you can request another Copilot review.

Pull request overview

Documents D13, the fail-closed sbx daemon egress diagnostic.

Changes:

  • Adds D13 symptoms, cause, remediation, and lookup guidance.
  • Adds regression assertions for workflow documentation.
File summaries
File Description
scripts/ci/self-hosted-runner-doctor-workflow.test.ts Tests D13 documentation.
.github/workflows/shared/self-hosted-failure-modes.md Adds D13 to the shared catalog.
.github/workflows/self-hosted-runner-doctor.md Adds D13 diagnostic guidance.
Review details
  • Files reviewed: 3/3 changed files
  • Comments generated: 1
  • Review effort level: Balanced

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

Comment on lines +206 to +208
expect(shared).toContain('| D13 | Under `--container-runtime sbx` with `network.verifySbxEgress`/`--verify-sbx-egress` enabled, AWF reports `Direct sbx egress reached 1.1.1.1 without proxy environment variables`');
expect(shared).toContain('github/gh-aw-firewall#8250, github/gh-aw-firewall#8252');
expect(shared).toContain('| `Direct sbx egress reached 1.1.1.1 without proxy environment variables` (or a similar denied-destination reach) despite Squid healthchecks passing | D13');
@lpcox

lpcox commented Sep 9, 2026

Copy link
Copy Markdown
Collaborator

@copilot address review feedback

Co-authored-by: lpcox <15877973+lpcox@users.noreply.github.com>

Copilot AI commented Sep 9, 2026

Copy link
Copy Markdown
Contributor Author

@copilot address review feedback

Mirrored the D13 catalog row, quick-lookup entry, and playbook paragraph into the portable .github/agents/self-hosted-runner-doctor.md, and extended the regression assertions to check portableAgent in addition to shared/source (fd91303).

@github-actions

Copy link
Copy Markdown
Contributor

✅ Copilot review passed with no inline comments.

@copilot Add the ready-for-aw label to this PR to trigger agentic CI smoke tests.

@github-actions

Copy link
Copy Markdown
Contributor

✅ Coverage Check Passed

Overall Coverage

Metric Base PR Delta
Lines 94.04% 94.06% 📈 +0.02%
Statements 92.72% 92.73% 📈 +0.01%
Functions 93.41% 93.41% ➡️ +0.00%
Branches 86.63% 86.65% 📈 +0.02%
📁 Per-file Coverage Changes (2 files)
File Lines (Before → After) Statements (Before → After)
src/services/agent-volumes/workspace-mounts.ts 97.0% → 96.5% (-0.41%) 97.0% → 96.6% (-0.40%)
src/log-directory-setup.ts 96.2% → 100.0% (+3.78%) 96.3% → 100.0% (+3.71%)
✨ New Files (1 files)
  • src/services/agent-path-policy.ts: 100.0% lines

Coverage comparison generated by scripts/ci/compare-coverage.ts

@lpcox
lpcox merged commit 71f5806 into main Sep 10, 2026
23 of 25 checks passed
@lpcox
lpcox deleted the copilot/runner-doctor-update-lesson branch September 10, 2026 18:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

🩺 Runner Doctor Update1 new lesson (D13 sbx daemon Squid egress enforcement)

3 participants