elm / compiler

Compiler for Elm, a functional language for reliable webapps.
https://elm-lang.org/
BSD 3-Clause "New" or "Revised" License
7.48k stars 658 forks source link

`elm publish` hangs indefinitely at GitHub tag check with large package #2300

Open rektdeckard opened 1 year ago

rektdeckard commented 1 year ago

Quick Summary: Large packages fail to publish in 0.19.1, with the CLI getting hung forever at the GitHub tag version check.

SSCCE

> elm publish
  + Found README.md
  + Found LICENSE
  + Verified documentation    
  + Version number 2.0.0 verified (MAJOR change, 1.0.2 => 2.0.0)
  - Is version 2.0.0 tagged on GitHub?

Additional Details

I have a large package, an icon library consisting of a single 3.8MB Elm file worth of generated code. When attempting to elm publish with the correct GitHub version tag, passing code and docs, etc. the CLI hangs indefinitely at "Is version x.x.x tagged on GitHub?". Downgrading to Elm 0.19.0 fixes the problem and the package publishes almost instantaneously.

Repo is phosphor-elm.

github-actions[bot] commented 1 year ago

Thanks for reporting this! To set expectations:

Finally, please be patient with the core team. They are trying their best with limited resources.

jfmengels commented 1 year ago

Hey @rektdeckard , I think it could be useful to point to your repository in order to have something reproducible. A SSCCE would probably help even more.

rektdeckard commented 1 year ago

@jfmengels added the repo in details above. I'm not sure what to add as SSCCE? There's nothing in my code to point to, since the code is correct and the only thing I can figure out to reproduce this is to have a large Elm file, and try to publish on 0.19.1.

nunntom commented 1 year ago

@rektdeckard I'm having similar problems publishing an icon library but I get an error instead of it hanging, see issue #2299