!NhAsaYbbgmzHtXTPQJ:funklause.de

Nix NodeJS

209 Members
59 Servers

Load older messages


SenderMessageTime
9 Oct 2023
@lily:lily.flowersLily Foster(sorry i'm a disaster...)15:12:20
@lily:lily.flowersLily Foster
In reply to @c0ba1t:matrix.org
Interesting, it failed to build:
Command: nix run --refresh github:lilyinstarlight/nixpkgs/tmp/fix/prefetch-npm-deps-hell#prefetch-npm-deps &> prefetch.txt
Okay try again
15:13:09
@c0ba1t:matrix.orgCobaltDownload 1-prefetch-successful.txt15:16:49
@c0ba1t:matrix.orgCobaltFirst attempt was (unfortunately) successful 15:16:51
@c0ba1t:matrix.orgCobaltSecond als15:16:57
@c0ba1t:matrix.orgCobalt * Second also15:17:00
@c0ba1t:matrix.orgCobaltDownload prefetch.txt15:17:14
@c0ba1t:matrix.orgCobaltnice, the third got a panic15:17:29
@lily:lily.flowersLily FosterIf just adding backtrace makes the issue never happen, I'm gonna cry15:17:31
@lily:lily.flowersLily FosterOh good15:17:34
@lily:lily.flowersLily Foster ohhhhh i know exactly what is happening now 15:18:58
@c0ba1t:matrix.orgCobaltokay, after a few reruns the error ratio is around 50%15:18:55
@c0ba1t:matrix.orgCobaltSame error every time15:18:59
@lily:lily.flowersLily FosterUgh i hate this15:19:03
@lily:lily.flowersLily FosterSo retry is only done after http stuff is finished, but if a failure occurs while reading a large body, it bubbles back out since it's already left the code that does the retry15:20:00
@lily:lily.flowersLily Foster * So retry is only done until http stuff is finished, but if a failure occurs while reading a large body, it bubbles back out since it's already left the code that does the retry15:20:09
@lily:lily.flowersLily FosterI guess I'll just make it always read the full body into memory?15:20:32
@lily:lily.flowersLily FosterPrior to exiting that code15:21:01
@c0ba1t:matrix.orgCobaltIdk, I'm trying to grok the code at the moment. 15:21:14
@lily:lily.flowersLily Fosterme too, and i wrote this part...15:24:35
@c0ba1t:matrix.orgCobaltThis error seems frustrating, when running the code outside of nix (run|build) it doesn't appear to be reproducible. Ig my network needs to become more unstable15:39:50
@lily:lily.flowersLily Foster Okay I think we're fixed now! Try it again Cobalt, same branch 15:42:26
@lily:lily.flowersLily Foster
In reply to @c0ba1t:matrix.org
This error seems frustrating, when running the code outside of nix (run|build) it doesn't appear to be reproducible. Ig my network needs to become more unstable
Yeah no clue why it would be related to that. Except maybe namespacing shenanigans
15:42:51
@lily:lily.flowersLily FosterOh you mean when built from nix, not when run in a nix build15:43:17
@lily:lily.flowersLily FosterYeah no clue there15:43:20
@lily:lily.flowersLily FosterExcept http/2 shenanigans since if you build it with static libcurl, then it'll build without libnghttp2 support15:43:39
@lily:lily.flowersLily FosterBut our libcurl does use it15:43:42
@lily:lily.flowersLily FosterEither way it's not the core issue, just side effects15:43:50
@c0ba1t:matrix.orgCobaltFirst run was successful, reruns may take a few minutes 15:45:22
@lily:lily.flowersLily FosterNo worries! If you're able, feel free to rerun it as much as you can in loop and just come back to it when you can. I'm pretty sure I think I got it now15:45:46

Show newer messages


Back to Room ListRoom Version: 6