cmds.secrets.CmdCompileTemplates: Support -k / --keep-going #160

Merged
Jan Lindemann merged 1 commit from jan/feature/20261029-cmds-secrets-cmdcompiletemplates-support-k-keep-going into master 2026-10-29 11:22:16 +01:00 AGit
Owner

cmds.secrets.CmdCompileTemplates: Support -k / --keep-going

jw-pkg secrets compile-templates iterates over all selected templates and compiles secrets from it - unless it encounters one that can't be compiled for whatever reason, in which case the iteration errors out without compiling the remaining secrets.

Add a -k / --keep-going option that makes the iteration not abort over failed compilations but continue through the remaining templates, then report an error status at the end.

The integration test gains a good sibling of the failing fixture template: a fail-fast run must not reach it, and a keep-going run must compile it and still fail the command.

#### cmds.secrets.CmdCompileTemplates: Support -k / --keep-going `jw-pkg` secrets compile-templates iterates over all selected templates and compiles secrets from it - unless it encounters one that can't be compiled for whatever reason, in which case the iteration errors out without compiling the remaining secrets. Add a -k / `--keep-going` option that makes the iteration not abort over failed compilations but continue through the remaining templates, then report an error status at the end. The integration test gains a good sibling of the failing fixture template: a fail-fast run must not reach it, and a keep-going run must compile it and still fail the command.
cmds.secrets.CmdCompileTemplates: Support -k / --keep-going
Some checks failed
CI / Packaging - Kali Linux (pull_request) Failing after 4m57s
CI / Packaging - OpenSUSE Tumbleweed (pull_request) Failing after 5m15s
CI / Packaging test (pull_request) Failing after 0s
a29af550c4
jw-pkg secrets compile-templates iterates over all selected templates and
compiles secrets from it - unless it encounters one that can't be compiled
for whatever reason, in which case the iteration errors out without
compiling the remaining secrets.

Add a -k / --keep-going option that makes the iteration not abort over
failed compilations but continue through the remaining templates, then
report an error status at the end.

The integration test gains a good sibling of the failing fixture template:
a fail-fast run must not reach it, and a keep-going run must compile it and
still fail the command.

Assisted-by: unsloth/Qwen3.8-27B-GGUF:Q4_K_M with pi.dev v1.4.0
Signed-off-by: Jan Lindemann <jan@janware.com>
Jan Lindemann scheduled this pull request to auto merge when all checks succeed 2026-10-29 10:26:06 +01:00
Jan Lindemann force-pushed jan/feature/20261029-cmds-secrets-cmdcompiletemplates-support-k-keep-going from a29af550c4
Some checks failed
CI / Packaging - Kali Linux (pull_request) Failing after 4m57s
CI / Packaging - OpenSUSE Tumbleweed (pull_request) Failing after 5m15s
CI / Packaging test (pull_request) Failing after 0s
to 4691f38eec
All checks were successful
CI / Packaging - Kali Linux (pull_request) Successful in 5m8s
CI / Packaging - OpenSUSE Tumbleweed (pull_request) Successful in 5m21s
CI / Packaging test (pull_request) Successful in 0s
2026-10-29 11:11:44 +01:00
Compare
Sign in to join this conversation.
No reviewers
No labels
No milestone
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
janware/jw-pkg!160
No description provided.