Skip to content

Use stable AWF sandbox for Auth Doctor Updater - #8684

Merged
lpcox merged 4 commits into
mainfrom
copilot/debug-auth-doctor-updater
Sep 17, 2026
Merged

lpcox merged 4 commits into
mainfrom
copilot/debug-auth-doctor-updater

Conversation

Copilot AI commented Sep 17, 2026 •

Copy link
Copy Markdown
Contributor

The scheduled Auth Doctor Updater failed before producing agent output because its agent job entered the Cloud Hypervisor preview path and died during runtime startup. This changes the updater back to the stable AWF sandbox path while keeping firewall isolation enabled.

  • Workflow runtime
    • Removed the Auth Doctor Updater’s cloud-hypervisor runtime pin.
    • Regenerated the lock workflow so the agent job no longer performs KVM preflight, Cloud Hypervisor bundle setup, or --container-runtime cloud-hypervisor.
sandbox:
  agent:
    id: awf
  • Runtime preparation

    • Ensured the rootless AWF path pre-creates the agent, cache-memory, and log directories referenced later in the job.
  • Regression coverage

    • Added workflow assertions that the source and generated lock stay on the stable AWF sandbox path and do not reintroduce Cloud Hypervisor.

Copilot AI linked an issue Sep 17, 2026 that may be closed by this pull request
Copilot AI changed the title [WIP] Debug Auth Doctor Updater workflow failure Use stable AWF sandbox for Auth Doctor Updater Sep 17, 2026
Copilot AI requested a review from lpcox September 17, 2026 04:13
@lpcox
lpcox marked this pull request as ready for review September 17, 2026 04:17
Copilot AI balanced review requested due to automatic review settings September 17, 2026 04:17

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.

🔵 Needs a closer look

Regression tests should also assert that Cloud Hypervisor and related setup steps are absent.

Pull request overview

Switches the Auth Doctor Updater from Cloud Hypervisor to stable rootless AWF execution while preserving firewall isolation.

Changes:

  • Removes Cloud Hypervisor runtime setup and flags.
  • Pre-creates required AWF directories.
  • Adds source and lock workflow regression assertions.
File summaries
File Summary
scripts/ci/auth-doctor-updater-workflow.test.ts Verifies stable runtime configuration.
.github/workflows/auth-doctor-updater.md Uses stable AWF and prepares runtime directories.
.github/workflows/auth-doctor-updater.lock.yml Regenerated without Cloud Hypervisor execution.
Review details

Suppressed comments (1)

scripts/ci/auth-doctor-updater-workflow.test.ts:68

  • This only rejects the runtime flag, so a future compiled lock could still retain the KVM grant, host preflight, or bundle-download steps and fail before AWF starts—the original failure mode. Assert that the lock contains no Cloud Hypervisor references (or explicitly assert those three steps are absent) to cover the full stable-path contract.
    expect(lock).not.toContain('--container-runtime cloud-hypervisor');
  • Files reviewed: 3/3 changed files
  • Comments generated: 0
  • Review effort level: Lite (auto)

Note

Copilot is running an experiment and ran this review at Lite.


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

@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.19% 94.21% 📈 +0.02%
Statements 92.87% 92.88% ➡️ +0.01%
Functions 93.48% 93.48% ➡️ +0.00%
Branches 86.72% 86.73% 📈 +0.01%
📁 Per-file Coverage Changes (1 files)
File Lines (Before → After) Statements (Before → After)
src/log-directory-setup.ts 96.2% → 100.0% (+3.78%) 96.3% → 100.0% (+3.71%)

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

@lpcox
lpcox merged commit 3e6220b into main Sep 17, 2026
26 of 29 checks passed
@lpcox
lpcox deleted the copilot/debug-auth-doctor-updater branch September 17, 2026 04:29
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.

[aw] Auth Doctor Updater failed

3 participants