| 9 Oct 2023 |
Lily Foster | (sorry i'm a disaster...) | 15:12:20 |
Lily 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 |
Cobalt | Download 1-prefetch-successful.txt | 15:16:49 |
Cobalt | First attempt was (unfortunately) successful | 15:16:51 |
Cobalt | Second als | 15:16:57 |
Cobalt | * Second also | 15:17:00 |
Cobalt | Download prefetch.txt | 15:17:14 |
Cobalt | nice, the third got a panic | 15:17:29 |
Lily Foster | If just adding backtrace makes the issue never happen, I'm gonna cry | 15:17:31 |
Lily Foster | Oh good | 15:17:34 |
Lily Foster | ohhhhh i know exactly what is happening now | 15:18:58 |
Cobalt | okay, after a few reruns the error ratio is around 50% | 15:18:55 |
Cobalt | Same error every time | 15:18:59 |
Lily Foster | Ugh i hate this | 15:19:03 |
Lily Foster | So 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 retry | 15:20:00 |
Lily 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 retry | 15:20:09 |
Lily Foster | I guess I'll just make it always read the full body into memory? | 15:20:32 |
Lily Foster | Prior to exiting that code | 15:21:01 |
Cobalt | Idk, I'm trying to grok the code at the moment. | 15:21:14 |
Lily Foster | me too, and i wrote this part... | 15:24:35 |
Cobalt | 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 | 15:39:50 |
Lily Foster | Okay I think we're fixed now! Try it again Cobalt, same branch | 15:42:26 |
Lily 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 Foster | Oh you mean when built from nix, not when run in a nix build | 15:43:17 |
Lily Foster | Yeah no clue there | 15:43:20 |
Lily Foster | Except http/2 shenanigans since if you build it with static libcurl, then it'll build without libnghttp2 support | 15:43:39 |
Lily Foster | But our libcurl does use it | 15:43:42 |
Lily Foster | Either way it's not the core issue, just side effects | 15:43:50 |
Cobalt | First run was successful, reruns may take a few minutes | 15:45:22 |
Lily Foster | No 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 now | 15:45:46 |