{"version":"2.1.334","anchor":"bash-tool-flags-hidden-test-failures-masked-by-shell-constru","canonical_anchor":"bash-tool-flags-hidden-test-failures-masked-by-shell-constru","heading":"Bash commands now flag test failures hidden by the way the command was written","tier":"notice","area":"Bash Tool","scope":"individual","heads_up":false,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.334\/e\/bash-tool-flags-hidden-test-failures-masked-by-shell-constru","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.334","markdown":"### Bash commands now flag test failures hidden by the way the command was written\n\nClaude Code now notices when a test run failed but the command hid its failure code, for example with `|| true` or a pipe\n\n**What**\n\nEvery shell command reports a code saying whether it worked. Some ways of writing a command hide that code, for example adding `|| true` or sending the output through a pipe to another program.\n\nWhen a command is written that way, Claude Code now checks whether its output looks like a failure from a test runner such as pytest, jest, go or cargo. If so, it marks the result of the command as a hidden failure, labelled either tests or other.\n\n**Why**\n\nA failing test run no longer looks like a success just because the failure code was swallowed, so Claude gets a signal that something actually failed.\n\n- Area: Bash Tool\n- Tier: You'll notice\n- Useful: 3\/5\n- Signal: 2\/5\n- Scope: individual\n- Heads-up: no"}