Watch
0
0
Fork
You've already forked hyperhive
0

archive: test the metric functions and the backup output filter, and skip absent summary fields

This commit is contained in:
atlas 2026-11-14 11:35:46 +01:00
commit b60779093e

View file

@ -83,6 +83,9 @@ in
# Runs ./host-modules/lib/otlp-gauges.nix's `otlp_gauges` against a stub `curl`: the
# payload shape, a failed push and a bad value both return 0, no endpoint pushes nothing.
script-test-otlp-gauges = import ./script-tests/otlp-gauges.nix { inherit pkgs; };
# Runs the metric functions of the archive backup and prune scripts: the gauges for a
# success, a failure and a partial summary, the newest snapshot, and the output filter.
script-test-archive-metrics = import ./script-tests/archive-metrics.nix { inherit pkgs; };
# Runs ./host-modules/lib/retry-in-job.nix's `retry_in_job`, which the agent
# trust-bundle fetch retries through inside its start job: success after two
# failures, the wait schedule, and a return of 1 once the budget is spent.