tvl-depot/tvix/glue/src/tests
Aspen Smith dfe137786c refactor(tvix/eval): Builderize Evaluation
Make constructing of a new Evaluation use the builder pattern rather
than setting public mutable fields. This is currently a pure
refactor (no functionality has changed) but has a few advantages:

- We've encapsulated the internals of the fields in Evaluation, meaning
  we can change them without too much breakage of clients
- We have type safety that prevents us from ever changing the fields of
  an Evaluation after it's built (which matters more in a world where we
  reuse Evaluations).

More importantly, this paves the road for doing different things with
the construction of an Evaluation - notably, sharing certain things like
the GlobalsMap across subsequent evaluations in eg the REPL.

Fixes: b/262
Change-Id: I4a27116faac14cdd144fc7c992d14ae095a1aca4
Reviewed-on: https://cl.tvl.fyi/c/depot/+/11956
Tested-by: BuildkiteCI
Autosubmit: aspen <root@gws.fyi>
Reviewed-by: flokli <flokli@flokli.de>
2024-07-06 15:03:46 +00:00
..
nix_tests feat(tvix/eval): implement appendContext 2024-04-04 17:24:26 +00:00
tvix_tests fix(tvix/glue): reject unknown attrset args for fetch builtins 2024-06-26 16:06:52 +00:00
0hm2f1psjpcwg8fijsmr4wwxrx59s092-bar.drv feat(tvix/build/protos): add some missing fields 2023-12-26 10:20:41 +00:00
blob.tar.bz2 feat(tvix/glue): Add AsyncRead wrapper to decompress streams 2024-03-11 11:35:18 +00:00
blob.tar.gz feat(tvix/glue): Add AsyncRead wrapper to decompress streams 2024-03-11 11:35:18 +00:00
blob.tar.xz feat(tvix/glue): Add AsyncRead wrapper to decompress streams 2024-03-11 11:35:18 +00:00
ch49594n9avinrf8ip0aslidkc4lxkqv-foo.drv feat(tvix/build): add derivation_to_build_request 2023-12-11 22:35:39 +00:00
empty-file feat(tvix/glue): Implement builtins.storePath 2024-06-05 17:50:15 +00:00
mod.rs refactor(tvix/eval): Builderize Evaluation 2024-07-06 15:03:46 +00:00
ss2p4wmxijn652haqyd7dckxwl4c7hxx-bar.drv test(tvix/glue/known_paths): add tests 2024-02-17 07:54:05 +00:00