Hi,
On 2026-06-18 14:37:13 +0300, Nazir Bilal Yavuz wrote:
> On Sat, 13 Jun 2026 at 00:54, Andres Freund <andres@anarazel.de> wrote:
> >
> > > > - I comparison to cirrus-ci it's considerably more painful (and it wasn't
> > > > exactly pain-free on cirrus either) to access the logs of failed tasks. One
> > > > can't just link to the failure or such.
> > > >
> > > > I have wondered about determining which test failed first, and uploading the
> > > > most crucial logs for that test separately, so one could at least look and
> > > > link to those without unpacking a .zip.
> > >
> > > I have questions about this. If we do this for all jobs then we can
> > > end up having just too many uploaded files to look at. In this case,
> > > unpacking .zip would be easier to access the logs of failed tasks.
> >
> > I was thinking we'd do this only for the first failure...
>
> I assume you mean first failure for the GHA run, not the first failure
> per GHA job. Then, this makes sense. I just wonder how this can be
> implemented.
I meant per-job. I think it'd basically be a question of a script to identify
the logs for the first failure and then uploading that with a separate name,
and a subsequent conditional step printing the URL out in a readable (perhaps
clickable) way.
Greetings,
Andres Freund