Zcash × Brave WalletPersonal project

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

Test best-practice violations in orchard_block_scanner_unittest.cc

In a Beta build Issue Testnet, tests & tooling

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

Issue state

Closed (completed)

Closed .

Implementation

  • brave-core#41400 merged 2026-11-10 into master by netzenbot
    Fix test best-practice violations in Brave Wallet unit tests
    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.101.41 (merged 2026-11-10T19:23Z, after v1.101.41 was published); earlier builds cannot include it (brave-core#41400)Included 1.101.57in v1.101.43 (GitHub compare v1.101.43...3ad4b5cd: behind); later builds of the same history include it (brave-core#41400)Included 1.102.46in v1.101.43 (GitHub compare v1.101.43...3ad4b5cd: behind); later builds of the same history include it (brave-core#41400)
AndroidNot included 1.100.59not in v1.101.41 (merged 2026-11-10T19:23Z, after v1.101.41 was published); earlier builds cannot include it (brave-core#41400)Included 1.101.57in v1.101.43 (GitHub compare v1.101.43...3ad4b5cd: behind); later builds of the same history include it (brave-core#41400)Included 1.102.43in v1.101.43 (GitHub compare v1.101.43...3ad4b5cd: behind); later builds of the same history include it (brave-core#41400)
iOSNo buildNo tagged build (iOS App Store versions have no published build number).Included 1.101.57in v1.101.43 (GitHub compare v1.101.43...3ad4b5cd: behind); later builds of the same history include it (brave-core#41400)Included 1.102.46in v1.101.43 (GitHub compare v1.101.43...3ad4b5cd: behind); later builds of the same history include it (brave-core#41400)

Members and their history

Issue

brave-browser#61165 Test best-practice violations in orchard_block_scanner_unittest.cc

State: closed (completed) · created · closed · updated · discovered via search:ironwood, search:orchard wallet · matched body:ironwood

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

Unit tests in components/brave_wallet/browser/internal/orchard_block_scanner_unittest.cc break test best practices documented in docs/best-practices. OrchardBlockScanner.FoundKnownNullifiers, OrchardBlockScannerTest.DiscoverNewNotes, OrchardBlockScanner.FoundKnownNullifiers_SameBatch (medium severity) L600 - Rule: TI-034: Use ASSERT for Preconditions That Subsequent Code Depends On - Problem: In orchard_block_scanner_unittest.cc, FoundKnownNullifiers checks…

Timeline (7 of 11 events)
  1. 2026-11-05 15:10 Label added QA/No by netzenbot
  2. 2026-11-05 15:10 Label added release-notes/exclude by netzenbot
  3. 2026-11-09 11:55 Referenced by brave-core#41400 by netzenbot
  4. 2026-11-10 19:23 Closed completed brave-core#41400 by bbondy
  5. 2026-11-23 16:40 Label added OS/Android by netzenbot
  6. 2026-11-23 16:40 Label added OS/Desktop by netzenbot
  7. 2026-11-23 16:40 Label added OS/iOS by netzenbot
Pull request

brave-core#41400 Fix test best-practice violations in Brave Wallet unit tests

State: merged 2026-11-10 · created · closed · updated · discovered via linked:brave/brave-browser#61165

release-notes/exclude QA/No

Fix test best-practice violations in Brave Wallet unit tests (50 issues, one initial commit each, plus review follow-ups). Mostly mechanical test-quality changes: assert before dereferencing optionals/pointers, ASSERT for preconditions, TestFuture / condition waits instead of RunLoop / RunUntilIdle, public getters instead of private test access, malformed-input cases, and interceptors that fail on unexpected RPCs. Production behavior is unchanged. Test friend declarations…

Timeline (7 of 7 events)
  1. 2026-11-09 15:12 Referenced by brave-core#41422 by brave-builds
  2. 2026-11-10 19:23 Merged master by bbondy
  3. 2026-11-10 19:23 Closed by bbondy
  4. 2026-11-10 19:23 Milestone set 1.101.x - Nightly by brave-builds
  5. 2026-11-11 14:52 Referenced by brave-core#41534 by netzenbot
  6. 2026-11-23 15:10 Label added QA/No by netzenbot
  7. 2026-11-23 15:10 Label added release-notes/exclude by netzenbot

Recorded changes

  1. In a build Release

    In Android Nightly 1.102.3: Test best-practice violations in orchard_block_scanner_unittest.cc

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

    brave-browser#61165
    Evidence
    • in v1.101.43 (GitHub compare v1.101.43...3ad4b5cd: behind); later builds of the same history include it

    Source time: · Detected: · Observed between refreshes

    2026-11-12T13:38:43Z
  2. In a build Release

    In iOS Nightly 1.102.2: Test best-practice violations in orchard_block_scanner_unittest.cc

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

    brave-browser#61165
    Evidence
    • in v1.101.43 (GitHub compare v1.101.43...3ad4b5cd: behind); later builds of the same history include it

    Source time: · Detected: · Observed between refreshes

    2026-11-12T13:23:36Z
  3. In a build Release

    In Desktop Beta 1.101.47: Test best-practice violations in orchard_block_scanner_unittest.cc

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

    brave-browser#61165
    Evidence
    • in v1.101.43 (GitHub compare v1.101.43...3ad4b5cd: behind); later builds of the same history include it

    Source time: · Detected: · Backfilled from source history

    2026-11-12T05:08:45Z
  4. In a build Release

    In Android Beta 1.101.47: Test best-practice violations in orchard_block_scanner_unittest.cc

    The merged code (brave-core#41400) is now part of the Android Beta build 1.101.47. This shows the code is in the build, not that every platform exposes the feature.

    brave-browser#61165
    Evidence
    • in v1.101.43 (GitHub compare v1.101.43...3ad4b5cd: behind); later builds of the same history include it

    Source time: · Detected: · Observed between refreshes

    2026-11-12T05:08:45Z
  5. In a build Release

    In iOS Beta 1.101.47: Test best-practice violations in orchard_block_scanner_unittest.cc

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

    brave-browser#61165
    Evidence
    • in v1.101.43 (GitHub compare v1.101.43...3ad4b5cd: behind); later builds of the same history include it

    Source time: · Detected: · Observed between refreshes

    2026-11-12T05:08:45Z
  6. In a build Release

    In Desktop Nightly 1.102.1: Test best-practice violations in orchard_block_scanner_unittest.cc

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

    brave-browser#61165
    Evidence
    • in v1.101.43 (GitHub compare v1.101.43...3ad4b5cd: behind); later builds of the same history include it

    Source time: · Detected: · Backfilled from source history

    2026-11-12T01:30:24Z