Commit graph

84 commits

Author SHA1 Message Date
cy
d9ca033a14 add additional case in closure test and run nix-store against the
derivation
2025-05-04 13:04:38 -04:00
cy
6cfe67af0e improve closure test
We now compare against the output of `nix-store --query --requisites
--include-outputs`. Our closure should include everything this command
would output.
2025-05-04 12:03:01 -04:00
cy
96ae0ca647 disable closure test
Size of the closure is not deterministic at all. I guess it's because if
the package was sourced from a cache, some dependencies may or may not
exist in the local nix store.
2025-05-04 03:39:40 -04:00
cy
688fcd8706 add test workflow 2025-05-04 03:39:40 -04:00
cy
d03058d125 add build workflow 2025-05-04 03:23:35 -04:00
cy
3c40776981 update readme 2025-05-04 03:06:55 -04:00
cy
9b0c6aece6 add .editorconfig 2025-05-04 02:37:54 -04:00
cy
14d6e9d29e path_info: check for and resolve symlink 2025-05-04 02:36:59 -04:00
cy
0e97d11745 skip integration tests in nix package
These tests need a connection to the nix store and we can't have that in
the nix build environment.
2025-05-04 01:49:35 -04:00
cy
a0794b0356 fix closure test check; rm RUST_LOG envar in devshell 2025-05-04 01:17:12 -04:00
cy
05589641cf move "nix build" to tests/common 2025-05-04 01:13:02 -04:00
cy
76cbc85032 use hashset for closure 2025-05-04 01:13:02 -04:00
cy
09181ae785 add nar tests 2025-05-04 01:13:02 -04:00
cy
54d4c714af rename from_path to from_derivation 2025-04-28 21:29:52 -04:00
cy
878e096494 add path_info tests 2025-04-28 13:35:49 -04:00
cy
7285c29e88 use io::Error::other 2025-04-28 13:30:48 -04:00
cy
9d2e9e38bd
split lib.rs and main.rs 2025-04-28 03:01:24 -04:00
cy
01443d0d99
use 10 permits but skip nars bigger than 15mb 2025-04-28 02:46:11 -04:00
cy
b49be95d09
simplify here since the problem was somewhere else 2025-04-27 02:33:19 -04:00
cy
e5336d304d
improve concurrency control; use nar_size from cpathinfo 2025-04-27 01:23:45 -04:00
cy
ca97aebd7a
limit directories even more 2025-04-26 23:07:56 -04:00
cy
85fefe9e77
use cpp bindings to make nar 2025-04-26 21:08:01 -04:00
cy
0fedae9334
try to fix fd issues 2025-04-26 18:21:49 -04:00
cy
0fae7ac3b0
fix build with tokio unstable 2025-04-26 18:21:27 -04:00
cy
7dec14fc1a
set path to nar in narinfo 2025-04-26 15:46:23 -04:00
cy
d524222a86
make tokio console optional and make it actually work 2025-04-26 15:37:54 -04:00
cy
5a3e6089b4
don't clean cpp files 2025-04-26 14:40:38 -04:00
cy
fc304df35e
refactor flake 2025-04-26 14:21:18 -04:00
cy
b8877f33a3
enable lto 2025-04-26 14:10:20 -04:00
cy
846c465ea0
fix flake 2025-04-26 13:11:54 -04:00
cy
81ce855dae
refactor and bunch more improvements; use object_store for s3 2025-04-26 12:37:07 -04:00
cy
b1e59d0a6c
use nix path-info cmd for derivation; console_subscriber 2025-04-18 00:50:11 -04:00
cy
6806b96892
limit uploads with semaphore 2025-04-16 15:49:01 -04:00
cy
84bbe5dcb4
fix build 2025-04-16 12:42:44 -04:00
cy
a771785352
use libstore cxx bindings 2025-04-16 03:47:42 -04:00
cy
8ac9253ea3
change stuff to our way 2025-04-16 03:46:56 -04:00
cy
c956d6741a
bring code from attic 2025-04-15 23:50:43 -04:00
cy
39792cdd40
cargo update 2025-04-15 20:09:09 -04:00
cy
55a097d45c
Merge branch '2025-04-12' 2025-04-15 20:07:08 -04:00
cy
20c13a86be
use experimental-features flag when executing nix run 2025-04-15 20:06:46 -04:00
cy
4895720831
fix upload count 2025-04-15 20:00:55 -04:00
cy
03530a2afa
don't limit stuff with semaphore and use println for uploading output 2025-04-15 18:53:45 -04:00
cy
2f7ae745f5
Merge branch '2025-04-12' 2025-04-15 18:17:50 -04:00
cy
d4cac65247
use lix 2025-04-15 16:52:26 -04:00
cy
c37a05ba9f
make signatures optional when deserializing 2025-04-15 14:40:18 -04:00
cy
307109d9f1
we don't ever serialize pathinfo 2025-04-15 14:13:15 -04:00
cy
6b959f583b
make deriver optional cause it won't be there if path is a derivation 2025-04-14 19:29:33 -04:00
cy
df8d3a0bc6
don't do anything cahash cause serde fails to parse sometimes 2025-04-14 16:47:59 -04:00
cy
5111af1d34
add a trace 2025-04-14 16:32:12 -04:00
cy
abdff736f5
aws doesn't use defaults 2025-04-14 15:11:01 -04:00