Repository navigation
Conversation
…r-fixtures and abandoned-suite-hook its (#2586) Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Ls2e229wzYv2yVyhs4CJmP
|
Warning Review limit reachedYou've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository. Next included review available in 46 minutes. View limit details
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. |
…f an empty catch Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Ls2e229wzYv2yVyhs4CJmP
|
The only red check, Generated by Claude Code |
|
The only red check, Generated by Claude Code |
Closes #2586
What
Suite hooks (
beforeAll/afterAll) and worker-fixture teardowns now work on an engine whose state outlives an attempt (isolation: worker) in the in-memory run. Most of the host (OpenAsync,ISuiteAttemptSession, short attempt) was already on main. This PR closes the remaining gaps:report.run.errorswith its phase (upstream'srunErrors), not only on stderr and the exit code.appandscreenfrom the short attempt's session.Upstream parity
Verdict: partial, gaps tracked in issues (formal
/upstream-parity-checkand/code-reviewruns were not done in this scheduled session).runError(phase, error)records into run errors (run/runner.tsrecordRunError)app/screenbuilt-ins in the suite attempttest.setTimeoutinbeforeAll: test.setTimeout inside a beforeAll hook (RunningSuiteHook / inSuiteHook) and HOOK_FAILED scope names #2672maxFailuresinterrupt test: Port 'opens no attempt for afterAll or the worker teardown after an interrupt' (needs maxFailures in the in-memory run) #2671Upstream tests
itWorkerFixturesTests.Partial_Still_runs_afterAll...(noassertValidReport)AbandonedSuiteHookTests.Partial_Aborts_the_engine_calls...(one virtual file; late call stopped before the engine)Not ported: worker-fixtures "opens no attempt ... after an interrupt" (#2671); "hands suite hooks ... engine's fixtures" needs serial groups (#2512, #2511).
Test infrastructure (.NET-only):
CoreFakeEnginegainedEvents,OnStartAttemptAt,CoreGadget.PokeAsync, andAbortedAtCall/UrlonOperations.https://claude.ai/code/session_01Ls2e229wzYv2yVyhs4CJmP
Generated by Claude Code