fix(test): add return code checks to intermediate commands in core CLI test #916

Merged
freemo merged 1 commits from fix/integration-core-cli-unchecked-rc into master 2026-03-14 01:41:30 +00:00
Owner

Summary

Fixes #897

  • Added return code assertions to ~11 intermediate Run Process calls that were used as setup steps without any RC verification
  • If any setup command (init, tell, build, context add, plan new) fails silently, subsequent test assertions could pass for wrong reasons
  • All setup commands now capture their result and assert rc == 0

Part of Epic #892.

## Summary Fixes #897 - Added return code assertions to ~11 intermediate `Run Process` calls that were used as setup steps without any RC verification - If any setup command (init, tell, build, context add, plan new) fails silently, subsequent test assertions could pass for wrong reasons - All setup commands now capture their result and assert `rc == 0` Part of Epic #892.
freemo force-pushed fix/integration-core-cli-unchecked-rc from 8f66603346 to 39913789e7 2026-03-14 00:38:54 +00:00 Compare
freemo scheduled this pull request to auto merge when all checks succeed 2026-03-14 00:39:07 +00:00
freemo force-pushed fix/integration-core-cli-unchecked-rc from 39913789e7 to 80b72d9121 2026-03-14 00:50:50 +00:00 Compare
freemo force-pushed fix/integration-core-cli-unchecked-rc from 80b72d9121 to 586ea4557f 2026-03-14 01:35:50 +00:00 Compare
freemo merged commit 586ea4557f into master 2026-03-14 01:41:30 +00:00
freemo deleted branch fix/integration-core-cli-unchecked-rc 2026-03-14 01:41:31 +00:00
Sign in to join this conversation.
No Reviewers
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: cleveragents/cleveragents-core#916