Uploaded image for project: 'Skara'
  1. Skara
  2. SKARA-1450

Jcheck status message can be too big for Gitlab

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P4 P4
    • 1.0
    • None
    • bots
    • None

      If a Gitlab MR contains a lot of whitespace problems, the generated status message can get too big for a Gitlab comment. We have just seen this happen with this message:

      {"message":"400 Bad request - Failed to save note {:note=\u003e[\"is too long (maximum is 1000000 characters)\"]}"}

      The MR in question contained Windows line endings in every touched file, which can easily become a very big chunk of text.

      We need to make sure we limit the size of this message before trying to post it to Gitlab.

            zsong Zhao Song
            erikj Erik Joelsson
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: