Repository navigation
test: harden remote lifecycle and process-owner fixtures - #8
Merged
Merged
Conversation
…ycle tests pass on a loaded macOS host The doctor and guard tests used the system jq as the socket-owner stand-in, which macOS now ships as a platform binary whose environment ps hides, so every owner read as unproven. They now share a holder helper that proves the environment is readable on the host. The lifecycle test waited 30 seconds for remote spawns and the watcher relaunch, which production allows 120 seconds; the waits now share one bound that only catches a hang. The Rex secondmate e2e also pins that a single teardown retires a secondmate completely.
Codex Review SummaryThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
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.
Intent
do it
Context: "it" is the queued Rex phase 2 follow-up work, which the Phase 2 worker (PR #2, second mates and away mode on the Rex backend) reported as left over: (1) teardown needs a rerun after a secondmate retire; (2) one transient remote relaunch refusal; (3) the remote secondmate lifecycle watcher-relaunch test and (4) the remote doctor --fix test fail on main independent of Rex.
What Changed
fm-teardownretires the secondmate, session, home, route, and records, and document the verified runtime evidence.Risk Assessment
✅ Low: The change is limited to test robustness, fixture helpers, documentation, and an opt-in Rex teardown regression check; no source runtime behavior or authorization boundary is altered, and the reviewed logic is internally consistent.
Testing
The Test agent exceeded its invocation budget before live validation completed; no evidence was gathered for this head.
Pipeline
Updates from git push no-mistakes
✅ **intent** - passed
✅ No issues found.
✅ **Rebase** - passed
✅ No issues found.
✅ **Review** - passed
✅ No issues found.
✅ **Document** - passed
✅ No issues found.
✅ **Lint** - passed
✅ No issues found.
✅ **Push** - passed
✅ No issues found.
Notes
tests/fm-remote-doctor.test.sh,tests/fm-remote-herdr-guard.test.sh,tests/fm-test-fixtures.test.sh,tests/fm-documentation-audiences.test.sh, the full 35-scenariotests/fm-remote-secondmate-lifecycle-e2e.test.sh, andFM_REX_SECONDMATE_E2E=1 tests/fm-rex-secondmate-e2e.test.shon abin/fm-rex-lab.shlab server (the pipeline environment has norexbinary).jq, which macOS now ships as a platform binary that hides its environment.Follow-ups noticed, not done
unknownon Rex, so a Pi relaunch on a Rex lab refuses at the exit gate.