docs: warn against --test_keep_going=false with quarantining#214
docs: warn against --test_keep_going=false with quarantining#214mintlify[bot] wants to merge 7 commits into
Conversation
|
Preview deployment for your docs. Learn more about Mintlify Previews.
💡 Tip: Enable Workflows to automatically generate PRs for you. |
|
Verification status (2026-06-05): Could not determine rollout state from available signals. Chaining to
Next: the content claim (Bazel stops at the first failure under |
|
Code verification (2026-06-05): 2 confirmed / 1 contradicted
The recommendation is right; the stated consequence is inverted. Leaving Suggested replacement callout ( <Warning>
Leave `--test_keep_going` at its default (`true`) when you quarantine tests. With `--test_keep_going=false` (or `--notest_keep_going`), Bazel stops at the first test failure, so the remaining tests never run and never reach the BEP report. If that first failure is a quarantined test, the only failure Trunk sees is already quarantined, so it marks the run as passing and your PR can merge even though the skipped tests never ran and may have failed.
</Warning>Heads up before publishing: the eng thread is still open. The last word is Matt's "let me keep thinking about this," and there is an unadopted alternative (splitting flaky vs non-flaky targets into two Source #1 — quarantine pass/fail is computed only over failures present in the report (contradicted)File: quarantine_results.group_is_quarantined =
quarantine_results.quarantine_results.len() == total_failures;
// use the exit code from the command if the group is not quarantined
// override exit code to be exit_success if the group is quarantined
let exit_code = if total_failures == 0 {
exit_code
} else if !quarantine_results.group_is_quarantined {
exit_code
} else if exit_code != EXIT_SUCCESS {
// All test failures were quarantined, overriding exit code to be exit_success
EXIT_SUCCESS
} else {
exit_code
};Reasoning: Source #2 — Bazel flag default and short-circuit behavior (confirmed)File: Bazel command-line reference, Reasoning: |
…ss risk The original Note claimed combining --test_keep_going=false with quarantining would break CI. The actual failure mode is the opposite: analytics-cli forces a passing exit code when every observed failure is quarantined (context_quarantine.rs group_is_quarantined check), so a quarantined first-failure makes the run go green while Bazel-skipped tests vanish from the BEP. Reframe as a Warning describing the silent unsafe-merge risk. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
|
Docs PR Verdict — 2026-06-08
Next sweep: 2026-06-09 Generated by Claude Code |
⚪ Verdict: unknown — June 9, 2026No feature flag reference or engineering PR link was found in this PR's description. Unable to verify whether the documented feature is live in production. Action needed: Please add a LaunchDarkly flag name or link to the engineering PR in the PR description so this sweep can auto-verify next run. Verified by Daily Docs Sweep · June 9, 2026 Generated by Claude Code |
❓ Verdict: unknown — June 10, 2026
Could not determine rollout state from available signals. No eng PR, no LD flag, no Linear ticket to verify against. Verified by Daily Docs Sweep · June 10, 2026 Generated by Claude Code |
❓ Verdict: unknown — June 11, 2026No LaunchDarkly flag identified. Eng PR dependency on trunk2 not verifiable (private repo). Manual review needed to confirm deployment state. Verified by Daily Docs Sweep · June 11, 2026 Generated by Claude Code |
Cut the run-on phrasing in the quarantine warning to active voice and remove the redundant tail. Same false-pass mechanic, fewer words. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Reworks the Bazel page to match the layout Tyler asked for: - Remove the redundant standalone `bazel test --nobuild...` code block (the same flag is shown in the Report File Path example). - Group flag guidance under a new "Bazel flags" section with two subsections: Build Without the Bytes and `--test_keep_going`. - Use Tyler's "avoid setting --test_keep_going=false" framing, with the verified false-pass explanation kept as supporting detail. Also fixes a broken line continuation in the Report File Path example (missing trailing backslash split the command). Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Match the "Build Without the Bytes" style with "Keep Going After Test Failures" instead of the raw flag name as the heading. The flag is still named in the body copy. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
The intro referenced `nobuild_event_json_file_path_conversion` without the leading `--`, inconsistent with the code blocks. Make it `--nobuild...`. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Adds a warning to the Bazel flaky tests guide explaining that
--test_keep_going=false(or--notest_keep_going) shouldn't be combined with quarantining, since Bazel will stop at the first failure and skipped tests won't appear in the BEP report for Trunk to quarantine.