Skip to content

VM bake: flush the guest's disk at the end of the helpers step (#181) - #188

Merged
SSFSKIM merged 2 commits into
mainfrom
guest-helpers-sync
Nov 3, 2026
Merged

SSFSKIM merged 2 commits into
mainfrom
guest-helpers-sync

Conversation

@SSFSKIM

@SSFSKIM SSFSKIM commented Nov 3, 2026

Copy link
Copy Markdown
Owner

Refs #181. #186's diagnostic answered on its first guest job, MAWS run 41670695707 at 16:11:53Z:

window-list is missing at /Users/admin/ci-kit-helpers/window-list, as admin with HOME=/Users/admin: total 112;drwxr-xr-x 3 admin staff 96 Oct 25 13:44 .;drwxr-x---+ 31 admin staff 992 Oct 25 13:55 ..;-rwxr-xr-x 1 admin staff 53792 Oct 25 13:44 cursor-park;

The user and path are right. golden 20261025's ~/ci-kit-helpers holds cursor-park alone, and the directory's date is cursor-park's write (13:44). The bake log has no compiler output for the step, and provision.sh runs under set -e, so both compiles and moves succeeded. Nothing in the bake or provision removes the file. The likeliest reading is that window-list, written a few seconds after cursor-park in the bake's last step, was not yet on disk when the bake stopped the guest (13:45:06Z).

provision.sh helpers now runs sync before it returns. The fix takes effect at the next bake, which needs a maintenance window. The first guest job after that bake shows whether the line is gone.

Sminos-Session: CI-opt#a45b97a3 (doperpowers on macbook)

The guest's job-start check showed why window-list is missing in every
clone (#181, from #186's diagnostic): ~/ci-kit-helpers in golden
20261025 holds cursor-park alone, and the directory is dated at
cursor-park's write. window-list, compiled seconds later in the bake's
last step, never reached the disk before the guest was stopped. The step
now syncs before it returns. It takes effect at the next bake.

Sminos-Session: CI-opt#a45b97a3 (doperpowers on macbook)
@chatgpt-codex-connector

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ⚠️ Failed 2026-11-03T16:56:00.390111Z
We couldn’t complete this review. Comment @codex review to try again.
5cd3d95 PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@chatgpt-codex-connector

Copy link
Copy Markdown

You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard.
To continue using code reviews, add credits to your account and enable them for code reviews in your settings.

Review: `tart stop` is a power-off to the guest, and `sync` may return
before every buffer is written. The bake now asks the guest to shut down
after its last step and waits for it, as --first-run already did (both
through shutdown_guest), then verifies the stop. The helpers step's sync
stays for a shutdown that does not answer.

Sminos-Session: CI-opt#a45b97a3 (doperpowers on macbook)
@SSFSKIM
SSFSKIM merged commit f4b6ac8 into main Nov 3, 2026
3 checks passed
@SSFSKIM
SSFSKIM deleted the guest-helpers-sync branch November 3, 2026 17:15
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.

1 participant