input-output-hk / tullia

Standard library and CLI for Cicero
Apache License 2.0
10 stars 5 forks source link

Action invokation builds unrelated tasks #14

Open Pacman99 opened 1 year ago

Pacman99 commented 1 year ago

In plutus the ci action is causing the benchmark task to be built This is shown here:

It doesn't make sense that these tasks are being built the ci action. I don't know if there is some config error in plutus thats causing this or cicero is over eagerly building tasks.

Also might be related, we use IFD in the benchmark task to get the current PR revision.

Pacman99 commented 1 year ago

The plutus ci task closure doesn't include anything related to the benchmark task either,

❯ nix eval .#tullia.x86_64-linux.task.ci.closure.storePaths
warning: Using saved setting for 'allow-import-from-derivation = true' from ~/.local/share/nix/trusted-settings.json.
warning: Using saved setting for 'extra-substituters = https://cache.iog.io' from ~/.local/share/nix/trusted-settings.json.
warning: Using saved setting for 'extra-trusted-public-keys = hydra.iohk.io:f/Ea+s+dFdN+3Y/G+FDgSq+a5NEWhJGzdjvKNGv0/EQ=' from ~/.local/share/nix/trusted-settings.json.
[ "/nix/store/0cifjclznsrddss4sarpj39psyxqflpf-aws-crt-cpp-0.17.32" "/nix/store/0h73sj1n8hzc6fs36cjvsvcvz3av7n47-bash-interactive-5.1-p16" "/nix/store/0kdhac9n1nsia05p9isxq2rklcnpz05v-pcsclite-1.9.5" "/nix/store/0kf1dqj4b7ggxr2s65gsly36jrssilv4-json-c-0.16" "/nix/store/0l0angx5fwjcif7hkaggn8z4vbn5z3v2-libssh2-1.10.0" "/nix/store/0sanzskjvb1864izjalgni4nsvwqyyq9-kbd-2.5.1" "/nix/store/0yi321ikhmjzy4f17mwwx2vz1ifg8ack-openssl-3.0.5-dev" "/nix/store/1pcpcbhqgvkh2fzlzbljzn9gsymzzw5n-libkrb5-1.20" "/nix/store/1q2mmbz3c71rzlpd1mkf1av9sjci0alr-perl-5.36.0" "/nix/store/1q40xxdv1bbsmf63gwivdkfbvaypfl5h-pcre-8.45" "/nix/store/1xqr1166ji7xy80dp8d2nn1a6x8m6m5w-coreutils-9.1" "/nix/store/248sr2rasb5xap7gmyik7n4r7m2n32g4-github-status-report-bulk" "/nix/store/2d5r1a3ihch8vwkfz3ipf148m7x95lsl-util-linux-minimal-2.38.1-bin" "/nix/store/2f1iddv8aip18r6kkj2z1i387shd5hgf-kexec-tools-2.0.23" "/nix/store/2ispfz80kmwrsvwndxkxs56irn86h43p-bash-5.1-p16" "/nix/store/2pfi035vxnq9q49kv40hjglhalbdgg88-db-4.8.30" "/nix/store/2yyr6ikdcby6s1ix8040wlry2q6i95vj-audit-2.8.5" "/nix/store/31xck5riz7p0hrlk6gc2rxb5f2rrm050-libpcap-1.10.1" "/nix/store/348rj7g1gg2fnz91qilrnd0sc8nchls1-jq-1.6-bin" "/nix/store/3bb3jppylvpzx2ky1p3w3cg029hkxgz1-gnugrep-3.7" "/nix/store/3cac527kk6fsgvxgf1x7v0r1mg2j42ng-libffi-3.4.2" "/nix/store/3fzw8vfc3dhi28dc2g4krpsafy1z0daz-libassuan-2.5.5" "/nix/store/3h985ga4wbpnpvi0llvbamhva69wl2k2-nix-2.11.0" "/nix/store/3pl46xvpzm4zmv8zlndnr7cwxcpx8vg4-kmod-30" "/nix/store/464ylccdk3r1hrdz5nnl6fw2i2g0r9hr-libmnl-1.0.5" "/nix/store/4as05yh9sniirjr1fdmplj1881bbn6wa-libcbor-0.9.0" "/nix/store/4v2bk6almk03mfnz4122dfz8vcxynvs3-gcc-11.3.0-lib" "/nix/store/4wgzh1phzn12rp7wlf5whgwvzzf39lkb-aws-c-auth-0.6.16" "/nix/store/5763sf2167wflxq9vzl7k0q2g1wkzv10-cryptsetup-2.5.0" "/nix/store/5mgbisml783jj5mscxjsr4hlbmn25cyr-gnused-4.8" "/nix/store/5nh3xmnx2lybwzl3p328q7b9rfh1ssyb-openssl-3.0.5" "/nix/store/5nh40v6bl3mx888skb32l98xif05i1pa-xz-5.2.6" "/nix/store/5vjfrajngmxxq3a09cslnsk6zdl1agc8-npth-1.6" "/nix/store/5x1jpz4grhzl1psmrxj42wzmvllqgbhm-jq-1.6-bin" "/nix/store/6761i1m2w357mxx3p78h532w98lw989f-openssh-9.0p1" "/nix/store/68g622hswmhhf8idmkj0xwqydw12gf7g-ci" "/nix/store/78ks8593pj1r285y2k6g5n4zklsn0wl8-gzip-1.12" "/nix/store/7ca5ndfgb5g8lzfwkwy0svcpyphhqanv-gnutls-3.7.7" "/nix/store/7cclxw97n6c98zqdgvhxj04i4sjf9h0v-libedit-20210910-3.1" "/nix/store/7haj92ifcmakpyrn76zy31cfzaf9kxmz-github-status-report-bulk-bulk" "/nix/store/7pbb3yp3k1sn0idzcyfy0m14is5xwk9n-readline-8.1p2" "/nix/store/7pjbsjdpycjn62326663p1qi8d4jk92n-zlib-1.2.12" "/nix/store/7ssh9vyr7b0rpcm1s7q9bxjbc5q72qw6-libnetfilter_conntrack-1.0.9" "/nix/store/81nnnypy3wvp5lr52zi3dmqc2q50iafd-libidn2-2.3.2" "/nix/store/8yhkcr2yq647wvd4wrbsaglccaf28j2d-sqlite-3.39.2" "/nix/store/9pjsrvfaz586qzhr953kkcxwvz6gawfi-libcap-ng-0.8.3" "/nix/store/9pnxcr22an84ia0skzp2yymy8w505kd3-libgpg-error-1.45" "/nix/store/9q56fhpyx870wilk7358wn9pyzkyxw40-bzip2-1.0.8-bin" "/nix/store/9yj3jdmm5g0jfbcmhxg0bqd75yjhlx9g-ncurses-6.3-p20220507" "/nix/store/a14s9yryiz8j0ldcvkbn7g8jq5m6dbs3-aws-c-common-0.7.4" "/nix/store/a2fs6ryb8s3bbra58cap8d388g9kjw8p-libcap-2.65-lib" "/nix/store/a60blj59rlczhf411gr1lb9ghiy56mgy-libxml2-2.9.14" "/nix/store/a7w17qr6i3746j6lizxlvmzf8198k531-nettle-3.8.1" "/nix/store/a8lr57px3zwg0dw0dd0y8c8y7hcdj5gb-util-linux-2.38.1-lib" "/nix/store/agnw2xgqz1z42l28b62mnyzqqcjjibxd-unbound-1.16.2-lib" "/nix/store/alpkqaf8m7c2dl7zy6x07aqbgvmg90qd-github-status-report-bulk-each" "/nix/store/avja4yw1vaf2rkzrw4x9xvawhdqh3q12-libfido2-1.11.0" "/nix/store/ax4n0ay7lmr1qjv8gvqmc9xj74w97k8q-aws-c-s3-0.1.46" "/nix/store/b1v50py41fbcy5cpym829gq3xa6462ka-libapparmor-3.0.7" "/nix/store/b4rrfgjgjkrxqwx06davr3pqvlrp40aa-libfido2-1.11.0" "/nix/store/b8x63qa81r09iymrhyd7nd3bnfrdam81-jq-1.6-lib" "/nix/store/bb996xyb7vmbgjl0nch03dyk7mywpgx9-linux-pam-1.5.2" "/nix/store/bmpa4qn3ca9kgw60anp9r2cxjkjr2fmq-zstd-1.5.2-bin" "/nix/store/bzd91shky9j9d43girrrj6vmqlw7x9m8-glibc-2.35-163" "/nix/store/c0s8vp0jj0p0vd3zkf3c1p0j3a8bbgs0-libidn2-2.3.2" "/nix/store/c9q4vy3k3dipjmlx1dyqm16akmmv57d6-openssl-3.0.5-bin" "/nix/store/cb7qnvishl8p3sql9a4s46j2ffxmnldc-kmod-30-lib" "/nix/store/cdwhbkb1i8say7azamdfhamps3p2wva4-attr-2.5.1" "/nix/store/cip172k7nqvszgxhzhkx3lkawiz69ahh-ci" "/nix/store/cxi1z71qjqcs3jqsvn72knjilp0spx4l-gmp-with-cxx-stage4-6.2.1" "/nix/store/cxshsk71wngf5a2h3mwyaya841a6mg5n-acl-2.3.1" "/nix/store/czwxzsnqwj806v0gnf09pl2mwd3nnwap-attr-2.5.1" "/nix/store/d1haqdscw4g5bpdmlgzi79wmxyw1v2f4-editline-1.17.1" "/nix/store/dkmm7ai9jvg7xln9mafiiqg4vqf240rf-elfutils-0.187" "/nix/store/dmjwrp8pwdq4jn551ykw2amc4lzv3p80-ci" "/nix/store/dqd8kcb0wj5kv2l2m6chiifi7i53brqz-zstd-1.5.2-bin" "/nix/store/f2lsylnhxwq65jfzf2d05niy46j71p5k-gnupg-2.3.7" "/nix/store/f47am3dazgb1vvw5jqdqddfybc155b5m-curl-7.85.0" "/nix/store/f583gj5yi7zhidmsn196c8k8vv6g9fm2-readline-8.1p2" "/nix/store/fa6mj1q1byhi2r0fn5m5s4g028d6wy3w-env" "/nix/store/fqp5ccdi638ibl9gyja2wb3gmk3p4l7x-ci" "/nix/store/fw7wl6m3jc2zcrj5zq794xcpb281dnh5-ncurses-6.3-p20220507" "/nix/store/fzf9g2c3r6q7zghpvwp1jspypzs5d34d-iptables-1.8.8" "/nix/store/g076rwdfcjllc9pbbg59rwz9jxaiqn5b-libbpf-0.8.1" "/nix/store/g4gxdjdd6nwfy665mjnbjjdpxjfbjlvb-libseccomp-2.5.4-lib" "/nix/store/g8fdilg4w55l8haq7710r8dgfj7sxlvg-libcap-ng-0.8.3" "/nix/store/gb4zp7iygbkr3bqfv9p38q3ci04m4m5s-gnutar-1.34" "/nix/store/gd8xbg6y246ri68pz4qkwdczydwm6liq-openssl-3.0.5-dev" "/nix/store/gdrxvhnf6zh41r861a86zvcv0w0cy0rp-gmp-with-cxx-6.2.1" "/nix/store/ggf3vi91ghb3zh22k8sa31xqa7byf38q-s2n-tls-1.3.20" "/nix/store/gkb6vk6ncnarpmpf3bhnr16hcddqnpnr-dns-root-data-2019-01-11" "/nix/store/glnknyx742009d61mrg0dccd0nlhchsr-gcc-11.3.0-lib" "/nix/store/gxyy49dsfjx75j689cbsvnsxm34w9s01-tpm2-tss-3.2.0" "/nix/store/gyhjavgvck7zddfs9vdwg7x25fibd4kh-aws-c-compression-0.2.15" "/nix/store/h0gf3xj1ap3n1s4d535cq788m87z3bsn-aws-sdk-cpp-1.9.294" "/nix/store/h2q8ibk04al290rdkzj5rjb51dzrv8xj-nlohmann_json-3.10.5" "/nix/store/hadw0s30h4568rrggi2kym032b4rxira-getent-glibc-2.35-163" "/nix/store/hi1y056abyvd6268x62ffgax24y7wkl8-lvm2-2.03.16-lib" "/nix/store/i4gcz7g651sx0ibkrmldrkibv5x0vnj1-libmicrohttpd-0.9.71" "/nix/store/i4z63ryyjzcwazahvhm27rlis6zqvhb4-nss-cacert-3.80" "/nix/store/i5kz3ykypdbq6ih18z9qkzfynh7w7d4c-curl-7.84.0" "/nix/store/ikyr9pia1b8q4d44kw7ikkb2ylbb67sm-libnftnl-1.2.3" "/nix/store/iqmx9p8xwl2mwn9kzymjpph78r1j2yiz-jq-1.6-lib" "/nix/store/isgkrcfhszjahkvs7xlszxn915jfg3p3-aws-c-mqtt-0.7.12" "/nix/store/iv3fq9icbnj66dawlkzf7770als548v3-xz-5.2.6-bin" "/nix/store/ix6nn9lwp2w04agkfb1wzwvcnis0mmxw-gnugrep-3.7" "/nix/store/j05r45lpi5x66pd9sb9bx4ggazbw0yqm-libssh2-1.10.0" "/nix/store/j13rdrn5imy878ivfss4i6iixn3lpyy8-kbd-2.4.0" "/nix/store/jd24gnb84pjzrviqz495xkkkkmwym9c6-aws-c-http-0.6.20" "/nix/store/jqb18w342wz9sc9jlc8blq80ms44pak3-glibc-2.35-163-bin" "/nix/store/jqbgmjrf1466acvbfzs50yp51hkb1xdj-libkrb5-1.20" "/nix/store/jyiybh44fcvypizjnl3yrffqr8mndhid-zlib-1.2.12" "/nix/store/k03s3ld59dchjry28jyhvvilzg276q08-nghttp2-1.47.0-lib" "/nix/store/k0kcw8sgypyrx1s7nyiwg6zanlhgq3gz-glibc-2.35-163-bin" "/nix/store/k21yr6kqq0bfdaq3myj4b30s8n99zy7j-systemd-minimal-251.4" "/nix/store/k36qw0syljvv66qpi4ijsl8m7y33z2sy-audit-2.8.5" "/nix/store/k38kdqn4sx3d1jfillv7fgp3ak60b3s5-util-linux-minimal-2.38.1-lib" "/nix/store/k6dxxvq6w6xn85dy556iks5l4ydp7pw6-aws-checksums-0.1.13" "/nix/store/k9w84gyml5bs0prg8f3rxvi6v215s89h-nix-2.11.0-man" "/nix/store/kg509j0pval48pap38kl7n9fm29hl6n2-util-linux-2.38.1-bin" "/nix/store/krmrjfh2knimmjfsqbknwf9irhkqhvh5-lz4-1.9.4" "/nix/store/l1b97ymfgm2ayrywj969mjd4qabqrw3a-p11-kit-0.24.1" "/nix/store/l6k4zizgc5fmbb0ya4ks7w7p555sv54r-libseccomp-2.5.4-lib" "/nix/store/lagfxnb4iy7ark9jv92zxddwjq2q662k-libgcrypt-1.10.1" "/nix/store/lgpbdadv1bsajslwqjc9siplqikjcqyb-libarchive-3.6.1-lib" "/nix/store/lh7i8vfpqzs2if7yq8xg44r4qv8ypgfh-bzip2-1.0.8" "/nix/store/lhym9fg2h4fdsnpmvnn45ckrqml53xbm-zstd-1.5.2" "/nix/store/lkxc9m0lm2c9lxzhfxs4hsll6nx3fjsl-glibc-2.35-163" "/nix/store/ll4f6p78i6pmlam2bmjs5j5xn76c3sba-aws-c-sdkutils-0.1.3" "/nix/store/m8i6qgm8hvnazv38fxk3x2chk9357pmn-aws-c-event-stream-0.2.14" "/nix/store/mj4ya3iaika04wzdc52rk8l40y7chgk6-kmod-30" "/nix/store/mklikhwvv2kp7sysdnjd59c44fr8ryk7-keyutils-1.6.3-lib" "/nix/store/mp6maylkz7zhfby8jgxxjslfyxq3zb0m-onig-6.9.8" "/nix/store/mp7ax76vvrbx957wrzxk97pzraksbk77-libcbor-0.9.0" "/nix/store/mwkfjcx81j453lf3l670nxyfj210fz7h-openssl-3.0.5-bin" "/nix/store/mx3a4jlrscl4cwzcqj599wclzca1pl4d-getent-glibc-2.35-163" "/nix/store/n1q2fkdjjlmd5wdvrsbd7xw1z8bfp3py-libsodium-1.0.18" "/nix/store/n3j01dcz14cgdic6cnpz29i4g216v484-libevent-2.1.12" "/nix/store/n95s7s6ilkjc7xwqml93acxzj6k0hsfn-coreutils-9.1" "/nix/store/nbk1wr732i5izh54ml89vrbhnm3va2rn-nix-systems" "/nix/store/nc3xqj1cq6h418qmqlha193mvmbhx4bp-gzip-1.12" "/nix/store/nd8a9mi9xi3cm2gsdpal5cyfxff39ywc-libnfnetlink-1.0.2" "/nix/store/nsfy9bk6kw94y8f08z8sg4vlaw9v1c36-ci" "/nix/store/nyhrpxrh0hda98lznwmi12d6shw51pah-libtasn1-4.19.0" "/nix/store/p2aliya0vb865mia69iy72sdg6bzbpyn-libunistring-1.0" "/nix/store/p340wmmzgg9aw2lm9g9jxmjdwdp2xk79-git-minimal-2.37.2" "/nix/store/p743jnywg5z2axcrdcfyjjqkgdlpjy8r-perl-5.36.0" "/nix/store/p7bpdnxqd3i5hwm92mrscf7mvxk66404-bash-5.1-p16" "/nix/store/pbg7c5iydsh2nsyizv099lsv9wvclamv-pcre-8.45" "/nix/store/phzv3yxyxphzj6j871vzvjawr1qbbj3v-curl-7.84.0" "/nix/store/pic5iq749nk8b4x3i7043w3mgaircq0c-pcre2-10.40" "/nix/store/pip2zpgmhw2i10ygzq8rpy55kcizh166-aws-c-cal-0.5.19" "/nix/store/q2kifb8icgibl0xini4x7gxlszc68glb-aws-c-io-0.13.3" "/nix/store/q4m8mhkb71yd7vgx5wmm5c7hzs7hsj45-xz-5.2.6-bin" "/nix/store/r2ycdxgxm4yy6lzrd9xijfhw0cyisqh8-kmod-30-lib" "/nix/store/r70y5cvr0pwxfg72iawl5ijs1kzhmssz-kexec-tools-2.0.23" "/nix/store/s1nfg83v9sd2i8brky65jdlqak9hzrxm-util-linux-minimal-2.38.1-lib" "/nix/store/s6kgyh0z22d85bj8g0byq4rqf4v9dfb1-systemd-minimal-251.4" "/nix/store/s6wf13c9fk6pnz5f94rnv3zv0zbky73w-lowdown-1.0.0-lib" "/nix/store/scphgcsdllg55axw45vrr07jhl17i8i7-bzip2-1.0.8" "/nix/store/shkayl138d07l29bph4f92x3hwbqlk0j-bzip2-1.0.8-bin" "/nix/store/skb4mxgggvm22qxvdrqh7ga6y30mf06n-xz-5.2.6" "/nix/store/sxccd6nic47zmbnb9hfmmai7bhzzycxl-openssl-3.0.5" "/nix/store/v1f6d5spnxrfyl0rjs0as1lvzik0z50m-nghttp2-1.49.0-lib" "/nix/store/va1pcagx4z1al5lb1z3151881kc30y16-onig-6.9.8" "/nix/store/vd4p2dirng26fkfk024l00hvz0z7f5ks-curl-7.84.0-bin" "/nix/store/vjx0flz0h48b7jkcm1b7gll47kj0ba76-github-status-report" "/nix/store/vm5yb2szhwfk24pd7iw7gr3rnhykc06j-bash-interactive-5.1-p16" "/nix/store/vy9qgqmwsxhpmmc6s353z2vw649rqmq9-libcap-2.65-lib" "/nix/store/wf8pi5swsdy9s2mwhbs6xa47vsdnvbgy-busybox-static-x86_64-unknown-linux-musl-1.35.0" "/nix/store/wil61v788xz0zllfpl0aqj4flyaxnkxq-keyutils-1.6.3-lib" "/nix/store/wv5321690mvbf1da065dg53h7drcdl9z-systemd-251.4" "/nix/store/x8yc0pilrm4mzk8kmizy1d4x7yg57202-brotli-1.0.9-lib" "/nix/store/xbda20kmr76d6v2m0q9m3calbf17f134-util-linux-minimal-2.38.1-bin" "/nix/store/xh696lkivvygg8bkpvj95vv3qspp2awx-gettext-0.21" "/nix/store/xlj08vfj9qzw2ynwxki60jvzzn2hlj1i-linux-pam-1.5.2" "/nix/store/xnb26iy4bbr22k8h7rimp0y30cv0zzki-db-4.8.30" "/nix/store/xvbn6yyiig3n3v9njx0a8jdp1zpa9fdn-libcpuid-0.5.1" "/nix/store/y1iq99faxkdrf28h2jz9gji0245jms6f-zstd-1.5.2" "/nix/store/y3walj6hirsr1dgkhh9yf4nhwg5xyr1w-shadow-4.11.1" "/nix/store/y9qgrdd1zaq333bivsnvggdygj35rdik-brotli-1.0.9-lib" "/nix/store/yk8ps7v1jhwpj82pigmqjb68ln7bgjbn-acl-2.3.1" "/nix/store/yspplf2pm47kdln3xs7j2c2ls20akz0l-pcsclite-1.9.5" "/nix/store/z7yqsvislmgyml2y2w8nz7wzbjmsyk9z-shadow-4.11.1" "/nix/store/zbjchqncl0k2hf3zbysjzmg1am1cn7gw-expat-2.4.8" "/nix/store/zikw43cl58ck931cipbicjbi61g87l8b-gmp-with-cxx-stage4-6.2.1" "/nix/store/zp7wz2lszz4j9asaql7a6fbqlc9caf7d-boehm-gc-8.0.6" "/nix/store/zs9nlj4x7v7ywpwxjif3n216p84f2cs1-libunistring-1.0" ]

But for some reason image-ci.json depends on the benchmark task derivation

dermetfan commented 1 year ago

This is a tullia issue because the problem is entirely within tullia's code. It should evaluate tasks lazily and independently of each other instead of evaluating them all eagerly, which was never intended.