Zcash × Brave WalletPersonal project

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

Test best-practice violations in ad_block_devtools_browsertest.cc

In a Nightly build Issue Testnet, tests & tooling

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

Issue state

Closed (completed)

Closed .

Implementation

  • brave-core#41668 merged 2026-11-14 into master by netzenbot
    Assert before dependent access in tests (TI-025/TI-034)
    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

1.102.x - Nightly

For closed issues Brave sets the milestone to the earliest version line it believes the change landed in, and renames milestones as branches move from Nightly to Beta to Release. This tracker shows it but relies on build ancestry and release notes for availability.

Platforms (OS labels): Desktop

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.8 (merged 2026-11-14T18:05Z, after v1.102.8 was published); earlier builds cannot include it (brave-core#41668)Not included 1.101.57not in v1.102.8 (merged 2026-11-14T18:05Z, after v1.102.8 was published); earlier builds cannot include it (brave-core#41668)Included 1.102.46in v1.102.9 (GitHub compare v1.102.9...d36e8c92: behind); later builds of the same history include it (brave-core#41668)
AndroidNot included 1.100.59not in v1.102.8 (merged 2026-11-14T18:05Z, after v1.102.8 was published); earlier builds cannot include it (brave-core#41668)Not included 1.101.57not in v1.102.8 (merged 2026-11-14T18:05Z, after v1.102.8 was published); earlier builds cannot include it (brave-core#41668)Included 1.102.43in v1.102.9 (GitHub compare v1.102.9...d36e8c92: behind); later builds of the same history include it (brave-core#41668)
iOSNo buildNo tagged build (iOS App Store versions have no published build number).Not included 1.101.57not in v1.102.8 (merged 2026-11-14T18:05Z, after v1.102.8 was published); earlier builds cannot include it (brave-core#41668)Included 1.102.46in v1.102.9 (GitHub compare v1.102.9...d36e8c92: behind); later builds of the same history include it (brave-core#41668)

Members and their history

Issue

brave-browser#61518 Test best-practice violations in ad_block_devtools_browsertest.cc

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

feature/shields tests QA/No release-notes/exclude OS/Desktop tests/test-quality tests/best-practice-violation

Browser tests in browser/brave_shields/ad_block_devtools_browsertest.cc break test best practices documented in docs/best-practices. AdblockDevtoolsTest.NoFilterSourceInfoByDefault, AdblockDevtoolsDebugModeTest.DomainBlock, AdblockDevtoolsDebugModeTest.ResourceBlock, AdblockDevtoolsDebugModeTest.Exception (low severity) L54 - Rule: TI-025: Use ASSERT_TRUE Before Accessing Optional Values - Problem: The devtools adblock-info tests dereference the results of FindBool/FindInt…

Timeline (6 of 10 events)
  1. 2026-11-05 21:39 Label added QA/No by netzenbot
  2. 2026-11-05 21:39 Label added release-notes/exclude by netzenbot
  3. 2026-11-13 19:42 Referenced by brave-core#41668 by netzenbot
  4. 2026-11-14 18:05 Closed completed by brian-brave
  5. 2026-11-14 18:07 Milestone set 1.102.x - Nightly by brave-builds
  6. 2026-11-16 12:47 Label added OS/Desktop by netzenbot
Pull request

brave-core#41668 Assert before dependent access in tests (TI-025/TI-034)

State: merged 2026-11-14 · created · closed · updated · discovered via path:components/brave_wallet/browser/zcash

release-notes/exclude QA/No pr/risk/dependencies

Test best-practice cleanup across 52 Brave test files (unit and browser tests), mainly TI-025 ("ASSERT has_value/non-null before dereferencing optional/pointer/expected; no value_or fallbacks") and TI-034 ("ASSERT when later code depends on the check"). The same files' remaining CS-061 (death tests in DeathTest suites), CSA-051 (compare dicts with base::test value helpers) and BS-033 (component test moved out of //brave/browser) findings are fixed too, so each issue below…

Timeline (6 of 7 events)
  1. 2026-11-14 03:14 Referenced by brave-core#41675 by brave-builds
  2. 2026-11-14 18:05 Merged master by brian-brave
  3. 2026-11-14 18:05 Closed by brian-brave
  4. 2026-11-14 18:05 Milestone set 1.102.x - Nightly by brave-builds
  5. 2026-11-23 15:10 Label added QA/No by netzenbot
  6. 2026-11-23 15:10 Label added release-notes/exclude by netzenbot

Recorded changes

  1. In a build Release

    In Android Nightly 1.102.11: Test best-practice violations in ad_block_devtools_browsertest.cc

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

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

    Source time: · Detected: · Observed between refreshes

    2026-11-16T13:39:35Z
  2. In a build Release

    In Desktop Nightly 1.102.10: Test best-practice violations in ad_block_devtools_browsertest.cc

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

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

    Source time: · Detected: · Observed between refreshes

    2026-11-16T13:24:23Z
  3. In a build Release

    In iOS Nightly 1.102.10: Test best-practice violations in ad_block_devtools_browsertest.cc

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

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

    Source time: · Detected: · Observed between refreshes

    2026-11-16T13:24:23Z
  4. Issue closed

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

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

    brave-browser#61518
    Evidence
    • closed by brian-brave at 2026-11-14T18:05:45Z
    • state reason: completed

    Source time: · Detected: · Observed between refreshes

    2026-11-14T18:05:45Z
  5. PR merged

    Merged: Assert before dependent access in tests (TI-025/TI-034)

    Merged into brave-core master on 2026-11-14. 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#41668
    Evidence
    • merged 2026-11-14T18:05:20Z
    • repository brave/brave-core
    • base branch master

    Source time: · Detected: · Observed between refreshes

    2026-11-14T18:05:20Z
  6. New issue

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

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

    brave-browser#61518
    Evidence
    • created 2026-11-05T21:39:45Z

    Source time: · Detected: · Backfilled from source history

    2026-11-05T21:39:45Z