Zcash × Brave WalletPersonal project

Type to search. Use ↑ ↓ and Enter to open a result.

Test best-practice violations in engine_consumer_conversation_api_unittest.cc

In a Nightly build Issue Testnet, tests & tooling

Lead item brave-browser#61079 · opened by netzenbot · last source update

Issue state

Closed (completed)

Closed .

Implementation

  • brave-core#42088 merged 2026-11-26 into master by netzenbot
    Fix test best-practice violations across 26 unit-test files
    Linked by: GitHub closing reference, “Resolves/Fixes” line in the PR description

Release notes

No platform changelog lists this item.

Validation

Not QA-tested (QA/No).

No QA pass labels.

QA labels are Brave’s own validation records per OS. They are not independent verification by this tracker.

Target

No milestone set.

Platforms (OS labels): Android, Desktop, iOS

Owner: unassigned · PR authors: netzenbot

Build presence

Whether a merged pull request in this group is an ancestor of the brave-core tag of each platform’s current build (from versions.brave.com). Code presence is not the same as a feature being exposed on that platform.

PlatformReleaseBetaNightly
DesktopNot included 1.100.59not in v1.102.44 (merged 2026-11-26T18:21Z, after v1.102.44 was published); earlier builds cannot include it (brave-core#42088)Not included 1.101.57not in v1.102.44 (merged 2026-11-26T18:21Z, after v1.102.44 was published); earlier builds cannot include it (brave-core#42088)Included 1.102.46in v1.102.45 (GitHub compare v1.102.45...10802653: behind); later builds of the same history include it (brave-core#42088)
AndroidNot included 1.100.59not in v1.102.44 (merged 2026-11-26T18:21Z, after v1.102.44 was published); earlier builds cannot include it (brave-core#42088)Not included 1.101.57not in v1.102.44 (merged 2026-11-26T18:21Z, after v1.102.44 was published); earlier builds cannot include it (brave-core#42088)Not included 1.102.43not in v1.102.44 (merged 2026-11-26T18:21Z, after v1.102.44 was published); earlier builds cannot include it (brave-core#42088)
iOSNo buildNo tagged build (iOS App Store versions have no published build number).Not included 1.101.57not in v1.102.44 (merged 2026-11-26T18:21Z, after v1.102.44 was published); earlier builds cannot include it (brave-core#42088)Included 1.102.46in v1.102.45 (GitHub compare v1.102.45...10802653: behind); later builds of the same history include it (brave-core#42088)

Members and their history

Issue

brave-browser#61079 Test best-practice violations in engine_consumer_conversation_api_unittest.cc

State: closed (completed) · created · closed · updated · discovered via linked:brave/brave-core#42088

tests QA/No release-notes/exclude OS/Android OS/Desktop OS/iOS tests/test-quality tests/best-practice-violation

Unit tests in components/ai_chat/core/browser/engine/engine_consumer_conversation_api_unittest.cc break test best practices documented in docs/best-practices. EngineConsumerConversationAPIUnitTest.GenerateAssistantResponse_HistoryWithSelectedText (medium severity) L457 - Rule: TI-034: Use ASSERT for Preconditions That Subsequent Code Depends On - Problem: GenerateAssistantResponse_HistoryWithSelectedText checks messages.size() with a non-fatal EXPECT_EQ and then indexes…

Timeline (7 of 10 events)
  1. 2026-11-05 14:30 Label added QA/No by netzenbot
  2. 2026-11-05 14:30 Label added release-notes/exclude by netzenbot
  3. 2026-11-26 04:01 Referenced by brave-core#42088 by netzenbot
  4. 2026-11-26 18:21 Closed completed by bbondy
  5. 2026-11-26 18:29 Label added OS/Android by netzenbot
  6. 2026-11-26 18:29 Label added OS/Desktop by netzenbot
  7. 2026-11-26 18:29 Label added OS/iOS by netzenbot
Pull request

brave-core#42088 Fix test best-practice violations across 26 unit-test files

State: merged 2026-11-26 · created · closed · updated · discovered via path:components/brave_wallet/browser/zcash, search:zcash is:pr

Fix test best-practice violations across 26 unit-test files One commit per issue. Each fixes only the rules below, in every instance found in that file; other rules the issues list are left for follow-ups. - TI-034: ASSERT for preconditions that later code depends on - TI-025: ASSERT_TRUE before accessing optionals - TA-009: base::test::TestFuture instead of RunLoop for one-shot callbacks - TI-037: fail on unexpected requests in mock server handlers - TI-020 / CSA-051:…

Timeline (4 of 4 events)
  1. 2026-11-26 14:34 Referenced by brave-core#42104 by brave-builds
  2. 2026-11-26 18:21 Merged master by bbondy
  3. 2026-11-26 18:21 Closed by bbondy
  4. 2026-11-27 22:03 Referenced by brave-core#42171 by netzenbot

Recorded changes

  1. In a build Release

    In iOS Nightly 1.102.46: Test best-practice violations in engine_consumer_conversation_api_unittest.cc

    The merged code (brave-core#42088) is now part of the iOS Nightly build 1.102.46. This shows the code is in the build, not that every platform exposes the feature.

    brave-browser#61079
    Evidence
    • in v1.102.45 (GitHub compare v1.102.45...10802653: behind); later builds of the same history include it

    Source time: · Detected: · Observed between refreshes

    2026-11-27T13:20:17Z
  2. In a build Release

    In Desktop Nightly 1.102.46: Test best-practice violations in engine_consumer_conversation_api_unittest.cc

    The merged code (brave-core#42088) is now part of the Desktop Nightly build 1.102.46. This shows the code is in the build, not that every platform exposes the feature.

    brave-browser#61079
    Evidence
    • in v1.102.45 (GitHub compare v1.102.45...10802653: behind); later builds of the same history include it

    Source time: · Detected: · Observed between refreshes

    2026-11-27T13:20:17Z
  3. Issue closed

    Closed (completed): Test best-practice violations in engine_consumer_conversation_api_unittest.cc

    Closed as completed; linked PR merged 2026-11-26. Not yet confirmed in a Release build.

    brave-browser#61079
    Evidence
    • closed by bbondy at 2026-11-26T18:21:31Z
    • state reason: completed

    Source time: · Detected: · Observed between refreshes

    2026-11-26T18:21:31Z
  4. PR merged

    Merged: Fix test best-practice violations across 26 unit-test files

    Merged into brave-core master on 2026-11-26. Only builds cut from master after this merge (Nightly first) can contain it; whether a published build does is checked per build (see build presence on the item). Beta and Release get it only after a branch cut or an uplift.

    brave-core#42088
    Evidence
    • merged 2026-11-26T18:21:28Z
    • repository brave/brave-core
    • base branch master

    Source time: · Detected: · Observed between refreshes

    2026-11-26T18:21:28Z
  5. New issue

    New issue: Test best-practice violations in engine_consumer_conversation_api_unittest.cc

    Opened in brave-browser#61079. This is a report or request, not a confirmed change to Brave Wallet.

    brave-browser#61079
    Evidence
    • created 2026-11-05T14:30:07Z

    Source time: · Detected: · Backfilled from source history

    2026-11-05T14:30:07Z