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
test(cli): assert friendly message contract on hybrid fail-fast (PDFDLOSP-21)
CodeRabbit nit on PR #511: the regression guarded against stack-trace
leakage but didn't lock in the friendly message contract this PR
promises. CLIMain emits the hybrid unavailability message via
LOGGER.SEVERE, which JUL routes to stderr — out of reach of the existing
stdout-only capture helper. Attach a LogRecord handler scoped to the
CLIMain logger so the test can assert that the captured SEVERE message
contains both 'Hybrid server is not available' and the '--hybrid-fallback'
hint, while keeping the existing stdout stack-trace guard intact.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
0 commit comments