Repository navigation
Conversation
… model call A target that went stale before dispatch, or a single provider failure while locating it, ended the test as could_not_run, which --retries never repeats. Fail the step instead; an action that may have started stays uncertain. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01U7KCKub793DH4xshQbHCGd
Architecture Data flow Tip The CLI's 🪧 More tips
Thanks for using PR Lens! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out on X, Bluesky, Mastodon, Reddit or LinkedIn |
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01U7KCKub793DH4xshQbHCGd
|
Thanks a lot for this, @bagrat. The diagnosis was right on: a transient We landed #169 the next day from the same field report (the 133-test suite). It already covers most of this PR:
The one part #169 didn't cover is the locator's Since this PR now conflicts with |
A locator provider_error that is not run-wide (for example a timeout) now fails the step instead of marking the test could_not_run, so --retries can repeat it. Run-wide provider failures still stop the run. Follow-up to #169, taking the remaining part of #167. Amp-Thread-ID: https://ampcode.com/threads/T-8894897a-ba72-47ec-b40f-2aacd96b4545 Co-authored-by: Amp <amp@ampcode.com> Co-authored-by: Bagrat <bagrat@timeline.co>
What
These step outcomes now fail the step, instead of marking the test
could_not_run:staleorprovider_error;staleStepExecutionError from the action itself.As a result,
--retriesrepeats the test.action_uncertain(an action that may have started) and run-wide provider errors behave as before.Why
--retriesonly repeats failed tests;could_not_runis final. So one transient hiccup ended a test even with--retries 3:In one full run of our 133-test suite, 3 tests ended this way (2 stale clicks, 1 provider error), and all passed on a re-run.
staleis always detected before dispatch, so nothing was clicked and repeating the test is safe. A one-off locatorprovider_erroris scoped to the step; run-wide provider failures still stop the run.Verification
could_not_runfor these cases. They now assertfailed, and keep their other checks: no re-resolve, no second dispatch, no cache write, no stale replay or evidence frame.pnpm typecheckandpnpm lintare clean, andpnpm testpasses (1,444).