Skip to content

test(ci): log test app requests to the CI artifacts - #340

Merged
route merged 1 commit into
mainfrom
ci-puma-log
Oct 15, 2026
Merged

route merged 1 commit into
mainfrom
ci-puma-log

Conversation

@route

@route route commented Oct 15, 2026

Copy link
Copy Markdown
Member

On CI, every request to the test app is now logged to /tmp/cuprite/test_app.log, which is uploaded with the other artifacts when a job fails.

This is for investigating a flaky failure: #dismiss_confirm should return the message presented on Ruby 3.1 (run). The CDP log in that run's artifacts shows Chrome failing to load /test.js with net::ERR_INVALID_HTTP_RESPONSE, while jquery.js and jquery-ui.js, requested at the same moment, came back 200. Without test.js, the "Open confirm" handler is never attached, so confirm() never runs and the spec raises Capybara::ModalNotFound. Puma logged no error at the time.

The request log will show whether the failing request reached the app and what it returned, i.e. whether the broken response comes from the app or from Puma's connection handling.

@route
route merged commit 7059511 into main Oct 15, 2026
7 checks passed
@route
route deleted the ci-puma-log branch October 15, 2026 20:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant