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

Merged
freemo merged 1 commit 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
All checks were successful
CI / benchmark-publish (pull_request) Has been skipped
CI / lint (pull_request) Successful in 19s
CI / build (pull_request) Successful in 18s
CI / quality (pull_request) Successful in 21s
CI / e2e_tests (pull_request) Successful in 24s
CI / typecheck (pull_request) Successful in 36s
CI / security (pull_request) Successful in 45s
CI / integration_tests (pull_request) Successful in 2m44s
CI / unit_tests (pull_request) Successful in 2m53s
CI / docker (pull_request) Successful in 40s
CI / coverage (pull_request) Successful in 4m59s
CI / benchmark-regression (pull_request) Successful in 35m31s
to 39913789e7
Some checks failed
CI / benchmark-publish (pull_request) Has been skipped
CI / lint (pull_request) Successful in 14s
CI / build (pull_request) Successful in 16s
CI / quality (pull_request) Successful in 17s
CI / e2e_tests (pull_request) Successful in 24s
CI / typecheck (pull_request) Successful in 38s
CI / security (pull_request) Successful in 38s
CI / unit_tests (pull_request) Successful in 2m19s
CI / docker (pull_request) Successful in 30s
CI / integration_tests (pull_request) Successful in 3m0s
CI / coverage (pull_request) Successful in 5m8s
CI / benchmark-regression (pull_request) Has been cancelled
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
Some checks failed
CI / benchmark-publish (pull_request) Has been skipped
CI / lint (pull_request) Successful in 14s
CI / build (pull_request) Successful in 16s
CI / quality (pull_request) Successful in 17s
CI / e2e_tests (pull_request) Successful in 24s
CI / typecheck (pull_request) Successful in 38s
CI / security (pull_request) Successful in 38s
CI / unit_tests (pull_request) Successful in 2m19s
CI / docker (pull_request) Successful in 30s
CI / integration_tests (pull_request) Successful in 3m0s
CI / coverage (pull_request) Successful in 5m8s
CI / benchmark-regression (pull_request) Has been cancelled
to 80b72d9121
All checks were successful
CI / benchmark-publish (pull_request) Has been skipped
CI / quality (pull_request) Successful in 19s
CI / lint (pull_request) Successful in 24s
CI / e2e_tests (pull_request) Successful in 24s
CI / build (pull_request) Successful in 25s
CI / security (pull_request) Successful in 32s
CI / typecheck (pull_request) Successful in 40s
CI / integration_tests (pull_request) Successful in 3m25s
CI / unit_tests (pull_request) Successful in 5m16s
CI / docker (pull_request) Successful in 8s
CI / coverage (pull_request) Successful in 5m48s
CI / benchmark-regression (pull_request) Successful in 35m28s
2026-03-14 00:50:50 +00:00
Compare
freemo force-pushed fix/integration-core-cli-unchecked-rc from 80b72d9121
All checks were successful
CI / benchmark-publish (pull_request) Has been skipped
CI / quality (pull_request) Successful in 19s
CI / lint (pull_request) Successful in 24s
CI / e2e_tests (pull_request) Successful in 24s
CI / build (pull_request) Successful in 25s
CI / security (pull_request) Successful in 32s
CI / typecheck (pull_request) Successful in 40s
CI / integration_tests (pull_request) Successful in 3m25s
CI / unit_tests (pull_request) Successful in 5m16s
CI / docker (pull_request) Successful in 8s
CI / coverage (pull_request) Successful in 5m48s
CI / benchmark-regression (pull_request) Successful in 35m28s
to 586ea4557f
All checks were successful
CI / benchmark-publish (pull_request) Has been skipped
CI / lint (pull_request) Successful in 15s
CI / build (pull_request) Successful in 15s
CI / quality (pull_request) Successful in 17s
CI / e2e_tests (pull_request) Successful in 27s
CI / security (pull_request) Successful in 32s
CI / typecheck (pull_request) Successful in 32s
CI / unit_tests (pull_request) Successful in 2m2s
CI / docker (pull_request) Successful in 9s
CI / integration_tests (pull_request) Successful in 2m46s
CI / coverage (pull_request) Successful in 5m2s
CI / lint (push) Successful in 11s
CI / build (push) Successful in 15s
CI / quality (push) Successful in 15s
CI / e2e_tests (push) Successful in 23s
CI / security (push) Successful in 29s
CI / typecheck (push) Successful in 36s
CI / benchmark-regression (push) Has been skipped
CI / unit_tests (push) Successful in 2m10s
CI / integration_tests (push) Successful in 2m41s
CI / docker (push) Successful in 37s
CI / coverage (push) Successful in 6m58s
CI / benchmark-publish (push) Successful in 19m25s
CI / benchmark-regression (pull_request) Successful in 35m29s
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 milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
cleveragents/cleveragents-core!916
No description provided.