Zcash × Brave WalletPersonal project

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

Test best-practice violations in brave_news_tab_helper_browsertest.cc

In a Nightly build Issue Testnet, tests & tooling

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

Issue state

Closed (completed)

Closed .

Implementation

  • brave-core#41534 merged 2026-11-12 into master by netzenbot
    Remove RunUntilIdle from tests (TA-005)
    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.2 (GitHub compare v1.102.2...c819797b: ahead); earlier builds cannot include it (brave-core#41534)Not included 1.101.57not in v1.102.2 (GitHub compare v1.102.2...c819797b: ahead); earlier builds cannot include it (brave-core#41534)Included 1.102.46in v1.102.3 (GitHub compare v1.102.3...c819797b: behind); later builds of the same history include it (brave-core#41534)
AndroidNot included 1.100.59not in v1.102.2 (GitHub compare v1.102.2...c819797b: ahead); earlier builds cannot include it (brave-core#41534)Not included 1.101.57not in v1.102.2 (GitHub compare v1.102.2...c819797b: ahead); earlier builds cannot include it (brave-core#41534)Included 1.102.43in v1.102.3 (GitHub compare v1.102.3...c819797b: behind); later builds of the same history include it (brave-core#41534)
iOSNo buildNo tagged build (iOS App Store versions have no published build number).Not included 1.101.57not in v1.102.2 (GitHub compare v1.102.2...c819797b: ahead); earlier builds cannot include it (brave-core#41534)Included 1.102.46in v1.102.3 (GitHub compare v1.102.3...c819797b: behind); later builds of the same history include it (brave-core#41534)

Members and their history

Issue

brave-browser#61451 Test best-practice violations in brave_news_tab_helper_browsertest.cc

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

tests QA/No release-notes/exclude OS/Desktop tests/test-quality tests/best-practice-violation tests/flaky-risk

Browser tests in browser/brave_news/brave_news_tab_helper_browsertest.cc break test best practices documented in docs/best-practices. BraveNewsTabHelperTest.FeedsAreNotFoundWhenNotOptedIn (medium severity) L319 - Rule: TA-005: NEVER Use RunUntilIdle() - Problem: FeedsAreNotFoundWhenNotOptedIn uses base::RunLoop().RunUntilIdle() before asserting no feeds were found. If detection were started, its result arrives via a renderer mojo reply that RunUntilIdle does not wait for,…

Timeline (6 of 10 events)
  1. 2026-11-05 21:09 Label added QA/No by netzenbot
  2. 2026-11-05 21:09 Label added release-notes/exclude by netzenbot
  3. 2026-11-11 19:36 Referenced by brave-core#41534 by netzenbot
  4. 2026-11-12 12:23 Closed completed by brian-brave
  5. 2026-11-12 12:25 Milestone set 1.102.x - Nightly by brave-builds
  6. 2026-11-16 12:48 Label added OS/Desktop by netzenbot
Pull request

brave-core#41534 Remove RunUntilIdle from tests (TA-005)

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

release-notes/exclude QA/No pr/chromium-overrides

Summary Removes RunUntilIdle()-style draining (TA-005, docs/best-practices/testing-async.md) from the tests named in the tests/best-practice-violation issues that cite it, replacing it with TestFuture, base::test::RunUntil or observer-driven RunLoop quits. One commit per issue: 90 commits for 93 issues (62 resolved, 28 partial, 3 without a commit). Some commits also fix other best-practice findings in the same file. Review feedback and independent-review findings were…

Timeline (9 of 10 events)
  1. 2026-11-11 20:57 Referenced by brave-core#41548 by brave-builds
  2. 2026-11-11 23:24 Referenced by brave-browser#61752 by netzenbot
  3. 2026-11-12 00:33 Referenced by brave-core#41559 by netzenbot
  4. 2026-11-12 12:23 Merged master by brian-brave
  5. 2026-11-12 12:23 Closed by brian-brave
  6. 2026-11-12 12:23 Milestone set 1.102.x - Nightly by brave-builds
  7. 2026-11-15 22:25 Referenced by brave-core#41702 by netzenbot
  8. 2026-11-23 15:10 Label added QA/No by netzenbot
  9. 2026-11-23 15:10 Label added release-notes/exclude by netzenbot

Recorded changes

  1. In a build Release

    In Desktop Nightly 1.102.6: Test best-practice violations in brave_news_tab_helper_browsertest.cc

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

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

    Source time: · Detected: · Observed between refreshes

    2026-11-13T13:25:44Z
  2. In a build Release

    In iOS Nightly 1.102.6: Test best-practice violations in brave_news_tab_helper_browsertest.cc

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

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

    Source time: · Detected: · Observed between refreshes

    2026-11-13T13:25:44Z
  3. In a build Release

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

    The merged code (brave-core#41534) 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#61451
    Evidence
    • GitHub compare v1.102.3...c819797b: behind

    Source time: · Detected: · Observed between refreshes

    2026-11-12T13:38:43Z
  4. Issue closed

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

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

    brave-browser#61451
    Evidence
    • closed by brian-brave at 2026-11-12T12:23:46Z
    • state reason: completed

    Source time: · Detected: · Observed between refreshes

    2026-11-12T12:23:46Z
  5. PR merged

    Merged: Remove RunUntilIdle from tests (TA-005)

    Merged into brave-core master on 2026-11-12. 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#41534
    Evidence
    • merged 2026-11-12T12:23:21Z
    • repository brave/brave-core
    • base branch master

    Source time: · Detected: · Observed between refreshes

    2026-11-12T12:23:21Z
  6. New issue

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

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

    brave-browser#61451
    Evidence
    • created 2026-11-05T21:09:47Z

    Source time: · Detected: · Backfilled from source history

    2026-11-05T21:09:47Z