We classified this failure as an environment issue rather than a code change because the failing task (tanstack-vue-start-e2e-basic:test:e2e--rsbuild-ssr) belongs to a Vue Start e2e project that was not touched by this PR, which only adds React Router unit tests. The root cause is a port conflict (EADDRINUSE :::37965) caused by a stale process in the CI runner, unrelated to any of our changes — a clean rerun should resolve it.
Failed after
SSheraffView latesttest(react-router): cover context during pending and not-found loads
8243e1ff33dOpen on GitHubSelf-Healing CI
An empty commit was applied to the branch to trigger a new CI pipeline execution to resolve the environment issue.
The failing task tanstack-vue-start-e2e-basic:test:e2e--rsbuild-ssr was not classified as a code change for the following reasons:
Unrelated project: The PR exclusively adds new test files under
packages/react-router/tests/. The failing task belongs to thetanstack-vue-start-e2e-basicproject — a Vue Start e2e test suite that shares no code path with the React Router changes introduced here.Empty touched_projects: The
touched_projectslist is empty ([]), confirming that no files belonging totanstack-vue-start-e2e-basicwere modified by this PR.Port conflict error, not a code error: The failure is caused by
EADDRINUSE: address already in use :::37965. The test web server could not bind to port 37965 because another process in the CI environment was already occupying it. This is an infrastructure-level problem, not a consequence of any code change.Zero flakiness rate: The task has a recorded flakiness rate of 0%, which rules out a non-deterministic race condition within the test itself (which would otherwise suggest
flaky_task).Not present in the base branch: The similar task failure detector confirmed that the same task does not fail in branch "8165" (the branch this PR stacks on), so this is not a regression introduced by an ancestor branch either.
All evidence points to the CI runner having a stale or conflicting process holding port 37965 at the time this job executed — an environment state problem that resolves itself on a clean rerun.