Author SHA1 Message Date
sneak 039ed9c66a Correct --cron flag help to name warnings as unsuppressed (closes #87)
The --cron help string claimed "silent unless error", but cron mode sets
UI.SetQuiet(true), which suppresses only the seven quiet-aware UI methods;
Warningf and Errorf still print. The snapshot terminus deliberately routes
its end-of-run summary through Warningf so cron delivers something on
success, so a user trusting the old text could read normal output as a
failure signal. The string now reads "silent unless warning or error",
matching the README wording corrected in #84. No behavior change.

Model: opus-4-8
2026-09-21 07:23:02 +00:00
4 changed files with 3 additions and 11 deletions
+2 -2
View File
@@ -1,9 +1,9 @@
name: check
on:
push:
branches: [main, next]
branches: [main]
pull_request:
branches: [main, next]
branches: [main]
jobs:
check:
runs-on: ubuntu-latest
-2
View File
@@ -716,8 +716,6 @@ them. We provide:
then the product image). Either failing fails the script. It runs the
checks in the same containers CI does, from a clean copy of the tree,
so it also catches anything that depends on host state.
`.gitea/workflows/check.yml` runs it on every push to `main` and
`next` and on every pull request against either.
It passes a fresh `--build-arg CHECK_EPOCH` to each build, unique per
invocation, which both files declare immediately above their check
-6
View File
@@ -25,12 +25,6 @@ release" is exactly the contradiction
# Completed Steps
- 2026-09-21: Made `.gitea/workflows/check.yml` run on pushes to `main`
and `next` and on pull requests against either, so unit PRs (whose
base is `next`) and `next` itself get a CI run instead of relying on a
local `make check`
([issue #122](https://git.eeqj.de/sneak/vaultik/issues/122)).
- 2026-08-10: Moved every lint run into its own container, as a build
step ([issue #113](https://git.eeqj.de/sneak/vaultik/issues/113)).
New root `Dockerfile.lint`, built by `script/lint`, runs
+1 -1
View File
@@ -135,7 +135,7 @@ specifying a path using --config or by setting VAULTIK_CONFIG to a path.`,
}
cmd.Flags().BoolVar(&opts.Cron, "cron", false,
"Run in cron mode (silent unless error)")
"Run in cron mode (silent unless warning or error)")
cmd.Flags().BoolVar(&opts.Prune, "prune", false,
"After backup, drop older snapshots of the same name and remove "+
"orphaned blobs")