gleam-lang/gleam

`gleam remove` could invalidate the build cache

Geschlossen

#5.363 geöffnet am 12.02.2026

 (4 Kommentare) (3 Reaktionen) (0 zugewiesene Personen)Rust (960 Forks)batch import
help wanted

Repository-Metriken

Stars
 (21.417 Sterne)
PR-Merge-Metriken
 (Durchschn. Merge 10T 19h) (69 gemergte PRs in 30 T)

Beschreibung

Hi hello!

When removing a dependency with gleam remove, the build cache is not invalidated, so gleam check (and build and run) will continue to report no compile errors until a file in the project has been edited.

Reproduction:

$ gleam new wibble
$ cd wibble
$ gleam run
# ...
Hello from wibble!
$ gleam remove gleam_stdlib
$ gleam run
Hello from wibble!

I thought a dependency in a library was unused and did something similar tot he above to check if the tests still run without the dependency, only to realise that it's actually required after trying to gleam publish.

~ 💜

Contributor Guide