Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 1fb501bebd9090c8dc67ebb0b8e4535ab5f0c2e1
      
https://github.com/WebKit/WebKit/commit/1fb501bebd9090c8dc67ebb0b8e4535ab5f0c2e1
  Author: Jonathan Bedard <[email protected]>
  Date:   2026-09-21 (Mon, 21 Sep 2026)

  Changed paths:
    M 
Tools/Scripts/libraries/resultsdbpy/resultsdbpy/controller/commit_controller_unittest.py
    M Tools/Scripts/libraries/resultsdbpy/resultsdbpy/model/commit_context.py
    M 
Tools/Scripts/libraries/resultsdbpy/resultsdbpy/model/commit_context_unittest.py

  Log Message:
  -----------
  [results.webkit.org] Only list recent branches
https://bugs.webkit.org/show_bug.cgi?id=324293
rdar://187523382

Reviewed by Aakash Jain.

To prevent branch-bloat in the UI, only surface recent branches when querying 
for all branches.

* 
Tools/Scripts/libraries/resultsdbpy/resultsdbpy/controller/commit_controller_unittest.py:
(CommitControllerTest.test_branches):
* Tools/Scripts/libraries/resultsdbpy/resultsdbpy/model/commit_context.py:
(CommitContext.RecentBranches): Added.
(CommitContext.__init__): Initialize RecentBranches table.
(CommitContext.branches): Only report recent branches when listing all branches.
(CommitContext.register_commit): Report to RecentBranches table with a TTL.
* 
Tools/Scripts/libraries/resultsdbpy/resultsdbpy/model/commit_context_unittest.py:
(CommitContextTest.init_database):
(CommitContextTest.test_branches):
(CommitContextTest):
(CommitContextTest.test_stale_branches): Added.

Canonical link: https://commits.webkit.org/321550@main



To unsubscribe from these emails, change your notification settings at 
https://github.com/WebKit/WebKit/settings/notifications

Reply via email to