You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
VM lane: the guest's dialog check never reads window-list ("window-list is missing" on every guest job) #181
Every guest job's guest-desktop-check logs could not read the windows on screen (window-list is missing); a dialog is seen only in front: 239 such lines in the mini's ~/Library/Logs/ci-kit/mac-runner-hooks.log from 2026-10-23T10:42Z to 2026-10-29T11:46Z (latest: MAWS run 40867548462, e2e:connectors-oauth, clone maws-vm-job-vm-20261029T114509Z, golden maws-vm-golden-20261025). So in a guest, a system dialog that is on screen but not in front is never seen at job start.
What should make it work, and apparently doesn't:
mac/vm/provision.sh helpers compiles cursor-park and window-list into ~/ci-kit-helpers under set -euo pipefail. The golden's bake logged provision: helpers in /Users/admin/ci-kit-helpers; display 2560x1440@2x at 2026-10-25T13:44:25Z.
mac/vm/guest/hooks/common.sh exports CI_KIT_WINDOW_LIST=${CI_KIT_WINDOW_LIST:-$HOME/ci-kit-helpers/window-list}, the same way as CI_KIT_CURSOR_PARK. cursor-park works in the same job: the display reads 2560x1440@2x.
dialog.sh's read_windows reports "missing" only when [[ ! -x $window_list ]].
So the binary is absent or not executable at that path when the guest hook runs, though the bake compiled it. Not yet checked: the clone's ~/ci-kit-helpers contents, and the hook's HOME and CI_KIT_WINDOW_LIST at job start. Both need a booted guest, so this waits for a maintenance window. It is not urgent: the cost so far is a weaker check, with no failure attributed to it.
Related observation, already in the concurrency spec's record (2026-10-25): Accessibility was frontmost at the start of 50 of about 297 guest jobs (latest 2026-10-29T11:46:09Z), all replaced by Terminal, all green. With window-list working, the check would show whether a dialog sits behind it.
Sminos-Session: CI-opt#a45b97a3 (doperpowers on macbook)
Still live on 2026-11-03: the guest jobs in MAWS run 41560844213 (01:40:08Z) and 41561328996 (02:03:02Z) both log window-list is missing.
Ruled out by reading the installed kit (~/ci-kit-vm/kit on the mini, the same as main):
The path is the same for both helpers. vm/guest/hooks/common.sh exports CI_KIT_CURSOR_PARK and CI_KIT_WINDOW_LIST as $HOME/ci-kit-helpers/<name> before desktop-check.sh sources hooks/dialog.sh, which reads CI_KIT_WINDOW_LIST. Nothing in guest/guest.sh or anywhere else in the kit sets either variable. No runner .env writer exists in mac/vm.
cursor-park resolves and runs from that directory in the same hook. If it didn't, the display check would refuse every guest job.
provision.sh helpers has compiled both binaries since c88d047 (10-21). The candidate bake of 10-23 logged provision: helpers in /Users/admin/ci-kit-helpers (~/Library/Logs/ci-kit/bake-20261023.log:403).
So in the clone, /Users/admin/ci-kit-helpers/window-list is absent or not executable, even though cursor-park beside it is fine. The current golden is maws-vm-golden-20261025. Next step, at the next kit deploy (it needs a drained mini): make the guest's windows_miss log line carry ls -l "$CI_KIT_WINDOW_LIST" and id -un. One guest job then shows which it is. Alternatively, at the next maintenance window, look inside a clone of the golden.
Sminos-Session: CI-opt#a45b97a3 (doperpowers on macbook)
Answered by #186's diagnostic on its first guest job, MAWS run 41670695707, 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 path, the user and HOME are right. The binary is absent from golden 20261025: ~/ci-kit-helpers holds cursor-park alone, and the directory is dated at cursor-park's write. The bake's helpers step logged no compiler output and ran under set -e, and nothing removes the file afterwards. The likeliest cause is that window-list's write, seconds after cursor-park's in the bake's last step, never reached the disk before the guest was stopped (13:45:06Z).
Fix: #188 syncs at the end of the helpers step. It takes effect at the next bake, which needs a maintenance window; the first guest job after that shows whether the line is gone. Until then, a guest sees a dialog only when it is in front.
Sminos-Session: CI-opt#a45b97a3 (doperpowers on macbook)
Activity
SSFSKIM commentedon Nov 3, 2026
Still live on 2026-11-03: the guest jobs in MAWS run 41560844213 (01:40:08Z) and 41561328996 (02:03:02Z) both log
window-list is missing.Ruled out by reading the installed kit (
~/ci-kit-vm/kiton the mini, the same as main):vm/guest/hooks/common.shexportsCI_KIT_CURSOR_PARKandCI_KIT_WINDOW_LISTas$HOME/ci-kit-helpers/<name>beforedesktop-check.shsourceshooks/dialog.sh, which readsCI_KIT_WINDOW_LIST. Nothing inguest/guest.shor anywhere else in the kit sets either variable. No runner .env writer exists inmac/vm.provision.sh helpershas compiled both binaries since c88d047 (10-21). The candidate bake of 10-23 loggedprovision: helpers in /Users/admin/ci-kit-helpers(~/Library/Logs/ci-kit/bake-20261023.log:403).So in the clone,
/Users/admin/ci-kit-helpers/window-listis absent or not executable, even thoughcursor-parkbeside it is fine. The current golden ismaws-vm-golden-20261025. Next step, at the next kit deploy (it needs a drained mini): make the guest'swindows_misslog line carryls -l "$CI_KIT_WINDOW_LIST"andid -un. One guest job then shows which it is. Alternatively, at the next maintenance window, look inside a clone of the golden.Sminos-Session: CI-opt#a45b97a3 (doperpowers on macbook)
SSFSKIM commentedon Nov 3, 2026
Answered by #186's diagnostic on its first guest job, MAWS run 41670695707, 16:11:53Z:
The path, the user and HOME are right. The binary is absent from golden 20261025:
~/ci-kit-helpersholds cursor-park alone, and the directory is dated at cursor-park's write. The bake's helpers step logged no compiler output and ran underset -e, and nothing removes the file afterwards. The likeliest cause is that window-list's write, seconds after cursor-park's in the bake's last step, never reached the disk before the guest was stopped (13:45:06Z).Fix: #188 syncs at the end of the helpers step. It takes effect at the next bake, which needs a maintenance window; the first guest job after that shows whether the line is gone. Until then, a guest sees a dialog only when it is in front.
Sminos-Session: CI-opt#a45b97a3 (doperpowers on macbook)
Merge pull request #188 from SSFSKIM/guest-helpers-sync