Declarative feedback loop manager
Go to file
2022-03-05 19:50:03 +01:00
feedback Keep track of the current process 2022-03-05 19:50:03 +01:00
nix Debouncing and filtering of events 2022-03-05 17:03:53 +01:00
.gitignore Initial commit 2022-03-05 15:12:28 +01:00
.hlint.yaml Debouncing and filtering of events 2022-03-05 17:03:53 +01:00
ci.nix Initial commit 2022-03-05 15:12:28 +01:00
default.nix Initial commit 2022-03-05 15:12:28 +01:00
README.md Keep track of the current process 2022-03-05 19:50:03 +01:00
shell.nix Initial commit 2022-03-05 15:12:28 +01:00
stack.yaml Debouncing and filtering of events 2022-03-05 17:03:53 +01:00

Feedback loop

Example

Working on nix code?

feedback nix-build

Comparison with other tools

TODO

Design ideas

  • General feedback loop system for arbitrary files and commands.
  • I want to have a good idea of the current state of things:
    • Is something running or not?
    • How many runs are queued?
    • Is it blocking on CPU, on memory, on network?
  • Clear previous feedback next time.
  • Make it possible to queue feedback and cancel the previous one.
  • Low latency between change and rerun.
  • Cancelling failed feedback loops from before.
  • No-nonsense interface to call the program, no no short-hand flags.
  • Named feedback loops via a configuration file
  • Optionally gitignore-aware
  • Ideally pipes still work in the loop, so we can do feedback "nix-build | cachix push mycache".