The GitHub Actions job "Validate GitHub Actions" on 
grails-core.git/fix/aot-live-instance-beans-8.0.x has failed.
Run started by GitHub user codeconsole (triggered by codeconsole).

Head commit for run:
cb374b1c3a05744224bb199228cfcdb140ab5010 / Scott Murphy Heiberg 
<[email protected]>
Trace what was asked for, or say that it was not

Three ways a trace reported success having recorded something else.

A page behind a login was asked for before the form that makes it reachable was
submitted, so it answered with a redirect to the login page. That counted as
traced: only a 5xx failed the run, and redirects were not followed, so the 
status
recorded was the 302. What the image was then built without was every 
authenticated
path -- controller, binding, persistence and view -- and the first sign of it is
somebody signing in. Forms are now submitted before paths are asked for, 
whichever
order they were written in, and the session one establishes is carried through 
the
rest of the trace.

A page carrying more than one form had its first submitted. A layout's search 
box
or sign-out sits above the page's own form and declares almost nothing, so the
binding the page was listed for was never exercised while the run reported a
submission. The form declaring the most fields is submitted now, which form it 
was
is said in the output, and a page whose wanted form is not the fullest names it:
forms = ['/book/create#bookForm'].

A page listed under forms that carried no form, a named form that was not there,
and a request answering 404 all passed. They now fail: what a trace records is 
only
worth anything if it is what was asked for.

Requests go through java.net.http.HttpClient, whose cookie store belongs to the
client rather than to the JVM. That carries the session, follows redirects, and
leaves the daemon's own cookie handler alone -- so the save and restore added 
for
that is gone, and two traces at once can no longer share a store. Where a 
request
landed is reported too, since a followed redirect otherwise records the wrong 
page
under the right name.

Report URL: https://github.com/apache/grails-core/actions/runs/31622264959

With regards,
GitHub Actions via GitBox

Reply via email to