Skip to content

a large number of failing tests might exceed the size limit #3

Closed
@keewis

Description

@keewis

As described in pydata/xarray#7238: a long list of failing tests might cause the github REST API to return

{"resource":"Issue","code":"custom","field":"body","message":"body is too long (maximum is 65536 characters)"}

A quick search tells me that we can either move that list somewhere else (which is not really useful, because then we could just look at the log), or we'd need to shorten / truncate the issue body.

In order not to blindly truncate, maybe we can summarize tests? For example, if we have variants of the same test that fail with the same message, we could summarize that as

xarray/tests/test_cftimeindex_resample.py::test_resample[<56 variants>]: TypeError: Grouper.__init__() got an unexpected keyword argument 'base'

Not sure what to do if the message changes, but this kind of "compression" would not lose too much information. Of course, if all of that still doesn't help we'd have to truncate (i.e. drop errors and add something like + another 285 failing tests / ... 285 failing tests omitted)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions