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
Establish root test fixtures for repeated process and environment setup #8289
I'd like to take sequential PR 1, the onboarding child-process harness. Following up from #8290, which established the fixture conventions this epic's maintainer audit endorsed.
Plan for the pilot:
Add a support module owning the child-process setup mechanics the onboarding suites currently hand-roll: temporary home creation and cleanup, fake-bin directory with a stub writer, environment composition (HOME, PATH prepend, deterministic vars), a spawn runner returning status and output, and registry/session readers.
Pilot on four suites with the same inline shape: onboard-remote-recreate-credential-reuse, onboard-reservation-recreate, onboard-prepared-gateway-handoff, and onboard-gateway-port-conflict-fast-fail.
Stub script contents, scenario env values, and assertions stay in each test per the acceptance criteria; helpers return fresh state and restore the environment.
Will open the PR once the affected suites pass in normal and shuffled order with a negative net LOC delta.
Sequential PR 1 is up as #8537. Continuing with sequential PR 2, the in-memory onboarding-machine runtime fixture; I will open it once PR 1 lands so any review conventions from PR 1 carry over.
The changes add no generic mock DSL or automatic behavior default.
Each PR records targeted test, type-check, repository-check, and documentation writer review evidence.
PR #8559 records the remaining scope decision. It did not create a shared corporate-CA asset because the PEM blocks are scenario-specific. Sharing one block would change the tested certificate content.
Activity
JulienAu commentedon Aug 7, 2026
I'd like to take sequential PR 1, the onboarding child-process harness. Following up from #8290, which established the fixture conventions this epic's maintainer audit endorsed.
Plan for the pilot:
onboard-remote-recreate-credential-reuse,onboard-reservation-recreate,onboard-prepared-gateway-handoff, andonboard-gateway-port-conflict-fast-fail.Will open the PR once the affected suites pass in normal and shuffled order with a negative net LOC delta.
JulienAu commentedon Aug 7, 2026
Sequential PR 1 is up as #8537. Continuing with sequential PR 2, the in-memory onboarding-machine runtime fixture; I will open it once PR 1 lands so any review conventions from PR 1 carry over.
test(onboard): add an in-memory machine runtime fixture
test(onboard): add a child-process harness for four pilot suites (#8537)
test(install): add installer run and npm-stub fixtures
test(onboard): add an in-memory machine runtime fixture (#8546)
test(openclaw): add a config-generation environment fixture
test(install): keep caller-provided homes caller-owned on remove
test(install): add installer run and npm-stub fixtures (#8556)
test(openclaw): add a config-generation environment fixture (#8559)
test(integration): consolidate isolated host process scenarios (#8881)
jyaunches commentedon Aug 20, 2026
Completion review
All four planned migrations merged:
PR #8881 later consolidated the remaining host-process scenarios and removed 697 net lines.
The acceptance review found:
PR #8559 records the remaining scope decision. It did not create a shared corporate-CA asset because the PEM blocks are scenario-specific. Sharing one block would change the tested certificate content.
Closing as completed.