Repository navigation
test(desk-hub): keep ordering checks independent of unrelated pushes - #138
Merged
Merged
Conversation
Sminos-Session: GUI AI agent workspace charter#37052769 (MAWS on macbook)
SSFSKIM
added a commit
that referenced
this pull request
Oct 24, 2026
… interference from earlier tests' grace expiries; five consecutive green unit gates) Sminos-Session: GUI AI agent workspace charter#37052769 (MAWS on macbook)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Root cause: test interference, not duplicate client delivery
org-directory.test.tsshares oneLocalHubacross the file. Earlier tests close machines whose project leases remain online for the normal 15-second close grace. When those grace timers expire,Project.alarmreports the offline state;Registry.refreshOnlinecallsdirectoryChanged, which correctly pushes a new whole directory to every connected machine.The failing assertion counted every call to
Machine.directorythrough the fault-injection seam, before the production version guard. It therefore required the whole org to stop changing during the ordering test's retry window. A pool run's scheduling can put an unrelated close-grace expiry inside that window.Before-fix evidence
od-1,od-4,od-5, andod-7/od-8, respectively. The targetod-26stayed offline with the sameseenin all five received directories. The ordering assertion again passed. The diagnostic delay and logging are not in this PR.Change
frames.slice(frames.findIndex(newer)).every(newer)ordering assertion unchanged and keep the existing 1,500 ms retry observation unchanged. No timeout was widened and no production behavior changed.Only
apps/desk-hub/test/org-directory.test.tschanges. The parallel PTY fix and the tech-debt tracker are untouched.Validation
The corrected file passed locally (17/17), then passed ten consecutive complete-file stress runs (170 tests), all through
/tmp/maws-review/with-slot.sh. No broad suite was run locally.Five consecutive green full unit gates on final head
1f0581ea519d6ea1a1a48543522d4a9cfc225e95, all on the pool and all on attempt 1:The first run used
scripts/ci-gate.sh <worktree> --gates static,unit,probes --class1a pool; the next four used--gates unit --class1a poolon the same pinned head. Each invocation created the script's fresh nonce commit; no affected-only selection was used. There were no red/preempted jobs to discount.Independent
doperpowers:reviewer-mediumreview over9a564bc4398b59e060d45d52208554ed36e544b8..1f0581ea519d6ea1a1a48543522d4a9cfc225e95: correct, no material findings. The reviewer also ran the 17-test file through the slot wrapper successfully. No fixes or further review rounds were needed.The existing directory row in friction tracker #92 now records the diagnosed cause and this fix; the tech-debt tracker was not edited. This PR remains open and is not merged.
Sminos-Session: GUI AI agent workspace charter#37052769 (MAWS on macbook)