Watch
0
0
Fork
You've already forked hyperhive
0
Commit graph hyperhive/nix/script-tests/store-seeded-secret.nix
Author SHA1 Message Date
maia
df9cd8c7e6 archive: an empty prefix lists as no users, not as a failure
swarm-archive-users and hive-archive-backup read "No value found" on
stderr to tell a prefix that holds nothing from an error. With
`kv list -format=json`, bao answers such a prefix with status 2, `{}` on
stdout and nothing on stderr, so on a swarm whose archive has no users
yet the unit failed every 30 seconds forever, and every switch reported
it.

store_list, in the shared store helper, prints the names as a JSON array
and `[]` for a prefix that holds nothing: failed, empty stderr, stdout
`{}`. It is not decided on status 2 alone, which a refused token, a
sealed store and an unreachable store end with as well (their error is on
stderr). The two scripts use it. The script test runs it against a stub
that answers as bao does, with controls for a refusal, a sealed store and
a warning beside an empty answer, and the archive VM test's stub no
longer prints the table format's message for a JSON list. full-setup
waits for the users file to be rendered on a fresh swarm.

Closes #6840
2026-11-24 18:19:26 +01:00
atlas
197caa1e52 fetch the secrets unit's store leaves concurrently and log how long each phase takes 2026-11-04 17:04:35 +01:00
atlas
5f9629dfc7 store_seeded: report a failed read instead of minting over it 2026-11-03 15:53:33 +01:00
atlas
99fab06348 keep authelia's keys in bao, seeded from the existing key files 2026-10-27 16:01:57 +01:00