Repository navigation
Commit 1948a8e
Rescue Errno::ENOENT in system-test entrypoint controller
The Rails 8.1 CI cell intermittently fails ViewComponentSystemTest with
Ferrum::PendingConnectionsError. Traced to validate_file_path raising
Errno::ENOENT from File.realpath when the browser issues a late
request (favicon retry, teardown screenshot) after
with_rendered_component_path's ensure block has unlinked the temp file.
Rescue Errno::ENOENT the same way we already rescue nefarious-path
errors: return 404. The pending late request completes cleanly instead
of cascading into a Ferrum timeout during teardown.
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>1 parent 6d92d61 commit 1948a8e
1 file changed
Lines changed: 1 addition & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
| 14 | + | |
14 | 15 | | |
15 | 16 | | |
16 | 17 | | |
| |||
0 commit comments