fix(test): remove expected_rc bypass mechanism from common E2E resource #909

Merged
freemo merged 3 commits from fix/e2e-remove-rc-bypass into master 2026-03-14 03:50:52 +00:00
Owner

Summary

Fixes #899

  • Removed the IF expected_rc != None guard around the return code assertion in Run CleverAgents Command
  • The RC assertion now executes unconditionally — callers can still specify expected_rc=${1} for expected failures, but cannot pass expected_rc=None to skip verification entirely
  • This closes the latent bypass mechanism that could be reintroduced by future test authors after the E2E cleanup (Epic #739)

Part of Epic #892.

## Summary Fixes #899 - Removed the `IF expected_rc != None` guard around the return code assertion in `Run CleverAgents Command` - The RC assertion now executes unconditionally — callers can still specify `expected_rc=${1}` for expected failures, but cannot pass `expected_rc=None` to skip verification entirely - This closes the latent bypass mechanism that could be reintroduced by future test authors after the E2E cleanup (Epic #739) Part of Epic #892.
freemo scheduled this pull request to auto merge when all checks succeed 2026-03-14 03:05:42 +00:00
freemo force-pushed fix/e2e-remove-rc-bypass from 3416c39a05
All checks were successful
CI / benchmark-publish (pull_request) Has been skipped
CI / lint (pull_request) Successful in 14s
CI / build (pull_request) Successful in 14s
CI / quality (pull_request) Successful in 17s
CI / e2e_tests (pull_request) Successful in 26s
CI / security (pull_request) Successful in 30s
CI / typecheck (pull_request) Successful in 31s
CI / unit_tests (pull_request) Successful in 2m12s
CI / docker (pull_request) Successful in 53s
CI / integration_tests (pull_request) Successful in 3m24s
CI / coverage (pull_request) Successful in 4m57s
CI / benchmark-regression (pull_request) Successful in 36m40s
to 8c9d9c8c33
Some checks failed
CI / benchmark-publish (pull_request) Has been skipped
CI / lint (pull_request) Successful in 15s
CI / quality (pull_request) Successful in 16s
CI / build (pull_request) Successful in 23s
CI / e2e_tests (pull_request) Successful in 26s
CI / security (pull_request) Successful in 32s
CI / typecheck (pull_request) Successful in 33s
CI / unit_tests (pull_request) Successful in 2m35s
CI / docker (pull_request) Successful in 36s
CI / integration_tests (pull_request) Successful in 3m27s
CI / coverage (pull_request) Successful in 4m56s
CI / lint (push) Successful in 11s
CI / build (push) Successful in 15s
CI / quality (push) Successful in 17s
CI / e2e_tests (push) Successful in 25s
CI / typecheck (push) Successful in 31s
CI / benchmark-regression (push) Has been skipped
CI / security (push) Successful in 35s
CI / integration_tests (push) Successful in 2m39s
CI / unit_tests (push) Successful in 3m9s
CI / docker (push) Successful in 35s
CI / coverage (push) Successful in 4m58s
CI / benchmark-publish (push) Has been cancelled
CI / benchmark-regression (pull_request) Successful in 35m21s
2026-03-14 03:45:20 +00:00
Compare
freemo merged commit 8c9d9c8c33 into master 2026-03-14 03:50:52 +00:00
freemo deleted branch fix/e2e-remove-rc-bypass 2026-03-14 03:50:53 +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!909
No description provided.