Skip to content

error with bump/diff when docs.json line is longer than 65535 (in 0.19.1 but not 0.19.0) #2132

Open
@aforemny

Description

@aforemny

Quick Summary: Ran into a known bug that prevents publishing my package with Elm 0.19.1. This just adds another data-point to issue #2055 (like #2098).

SSCCE

$ elm diff aforemny/material-components-web-elm 4.0.0 5.0.0
-- PROBLEM LOADING DOCS --------------------------------------------------------

I need the docs for 4.0.0 to compute this diff, so I fetched:

    https://package.elm-lang.org/packages/aforemny/material-components-web-elm/4.0.0/docs.json

I got the data back, but it was not what I was expecting. The response body
contains 208191 bytes. Here is the beginning:

    [{"name":"Material.Button","comment":" Buttons allow users to take action...

Does this error keep showing up? Maybe there is something weird with your
internet connection. We have gotten reports that schools, businesses, airports,
etc. sometimes intercept requests and add things to the body or change its
contents entirely. Could that be the problem?
  • Elm: 0.19.1
  • Browser: N/A
  • Operating System: NixOS 20.09

Additional Details

Publishing succeeds with the Elm 0.19.0 binary.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions