I like this output from https://github.com/DeterminateSystems/flake-iter:
2025-03-13T16:57:22.773389Z DEBUG flake_iter::cmd::build: Building derivation 1 of 4 drv="/nix/store/3bp7mzy56dk29qwwzry4qdhm598s2wmq-nix-unit-check.drv^*"
2025-03-13T16:57:24.100699Z DEBUG flake_iter::cmd::build: Building derivation 2 of 4 drv="/nix/store/k3h08g3dwwapa92797y6c959m2hd0g6a-treefmt-check.drv^*"
2025-03-13T16:57:24.562771Z DEBUG flake_iter::cmd::build: Building derivation 3 of 4 drv="/nix/store/3lp1hbdxc5p8dl464l2crj6hhq4b77ng-nix-shell.drv^*"
2025-03-13T16:57:25.819596Z DEBUG flake_iter::cmd::build: Building derivation 4 of 4 drv="/nix/store/5rv7zx5vawdjscj43g4s5gbihv4qylmh-treefmt.drv^*"
Would it make sense to highlight/expose this on GitHub Actions as a job summary?
I was thinking of something like this:
|
x86_64-linux |
aarch64-linux |
| foo.drv |
✅ |
✅ |
| bar.drv |
🛑 |
✅ |
Bonus would be to also include the flake-schema info, if supplied.
Happy to take a swing at this, just wanted to reach out first to get a sense what the vision for GHA feedback to flake-iter build is in general.
How I think I'd go about this:
- teach
flake-iter build to output a form of the above summary to a markdown file (or the $GITHUB_SUMMARY_STEP env var on GHA).
- ... I think there is no step two? The summary should already be rendered ...
(Caveat: not sure whether it would be easily possible to create something like the above table already, but at least some markdown output in that direction).
I like this output from https://github.com/DeterminateSystems/flake-iter:
Would it make sense to highlight/expose this on GitHub Actions as a job summary?
I was thinking of something like this:
x86_64-linuxaarch64-linuxBonus would be to also include the flake-schema info, if supplied.
Happy to take a swing at this, just wanted to reach out first to get a sense what the vision for GHA feedback to
flake-iter buildis in general.How I think I'd go about this:
flake-iter buildto output a form of the above summary to a markdown file (or the$GITHUB_SUMMARY_STEPenv var on GHA).(Caveat: not sure whether it would be easily possible to create something like the above table already, but at least some markdown output in that direction).