You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix(ansible): close review findings on the daemon log-level stage
- Exempt decdn-node from the journald-priority drop in journal_rules and
let daemon_level apply the same regex to its JSON level: every daemon
line is journald-info, so a guardrail containing `info` dropped its
warnings and errors before the JSON was ever read.
- Default the priority guardrail to 'debug|trace'. TRACE normalises to
`trace`, not a journald keyword, so it bypassed the old 'debug' default.
- Accept only the five tracing levels (trimmed, case-folded); anything else
keeps the journald level instead of becoming a label value.
- `{% endraw +%}`: trim_blocks glued the stage's closing brace onto the
template line in the rendered config.
- Fix comments: upstream's formats are pretty/json (no "text"), the
three places the unit name is hard-coded, and the empty-template path.
validate.sh: assert the stage is wired in both directions, run the rendered
journal_rules + daemon_level through the real Alloy for the defaults and a new
info-dropping render variant, cover TRACE/lowercase/no-level/non-string cases,
fail explicitly on readiness/entry-count timeouts and on an Alloy crash, and
dump the Alloy log before cleanup deletes it.
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
0 commit comments