feat(cli): Add --remote flag hint on delete workflow failure#7673
Conversation
e403b4b to
99618ef
Compare
Signed-off-by: Yoav Levy <yoavlev2@gmail.com>
99618ef to
fbfab7d
Compare
🔍 CI failure analysis for fbfab7d: Integration test failures (TestActivityHeartbeatTimeouts) are unrelated to this PR's CLI error message changes. The failures appear to be flaky tests with timing/infrastructure issues.IssueThe CI job "Golang integration test with sqlite" failed with two test failures:
Both tests failed with timeout-related issues during the integration test suite execution. Root CauseThis failure is not related to the PR changes. The PR only modifies error message strings in The failing tests are in DetailsTest Failure Pattern:
Evidence this is unrelated to PR changes:
Likely causes:
This appears to be a flaky test issue that existed before this PR. Code Review 👍 Approved with suggestions 0 resolved / 1 findingsClean UX improvement adding helpful --remote flag hints to CLI error messages. Changes are consistent and correctly scoped. Pre-existing defer ordering issue (potential nil panic) remains unaddressed but is outside the scope of this PR.
|
| Auto-apply | Compact |
|
|
Was this helpful? React with 👍 / 👎 | Gitar
What changed?
Added a new constant remoteHint with a helpful message
Added the hint to these error paths (when not using --remote):
Failed to get workflow mutable state
Unable to initialize history manager
Unable to initialize execution manager
DeleteHistoryBranch error
Delete mutableState row failed
Delete current row failed
Why?
the adidition of --remote flag was not clear enough to the user.
Reviewer Validation
PR Description Quality (check these before reviewing code):
go testinvocation)