Skip to content

limit of 65535 characters for meta_value of build_meta with mysql #94

Description

@SimonHeimberg

In my instance, the value of phpunit-data is silently cut to 65535 characters. This results in invalid json, so no results for phpunit are shown on the information tab.

The value for phpunit-data is stored in build_meta.meta_value. This field has type text.
The size limit for text is 65535: https://dev.mysql.com/doc/refman/5.7/en/string-type-overview.html#idm140523574444128

How should this be fixed?

  • Store less data in this column for phpunit-data?
  • Use another column type for mysql (MEDIUMTEXT, ...)? Is there anything undesired when doing this?
  • Indicate that not all could be saved and only show part of the result?
  • Recommend user to not run this many tests?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions