[3/?] Move WorkDir to new file [chromium/src : main]

0 views
Skip to first unread message

Brian Sheedy (Gerrit)

unread,
Sep 24, 2025, 7:45:09 PM (22 hours ago) Sep 24
to Struan Shrimpton, chromium...@chromium.org, estaab...@chromium.org
Attention needed from Struan Shrimpton

Brian Sheedy voted and added 2 comments

Votes added by Brian Sheedy

Auto-Submit+1
Commit-Queue+1

2 comments

Patchset-level comments
File-level comment, Patchset 1 (Latest):
Brian Sheedy . resolved

PTAL

Feel free to punt on reviewing if you want to see other follow-up CLs for more context.

File agents/testing/eval_prompts.py
Line 24, Patchset 1 (Parent):EXTENSIONS_TO_INSTALL = [
Brian Sheedy . resolved

Unused.

Open in Gerrit

Related details

Attention is currently required from:
  • Struan Shrimpton
Submit Requirements:
  • requirement satisfiedCode-Coverage
  • requirement satisfiedCode-Owners
  • requirement is not satisfiedCode-Review
Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
Gerrit-MessageType: comment
Gerrit-Project: chromium/src
Gerrit-Branch: main
Gerrit-Change-Id: I37562b2e31577972ec61d8e24dd6e2309aa773ab
Gerrit-Change-Number: 6981947
Gerrit-PatchSet: 1
Gerrit-Owner: Brian Sheedy <bsh...@chromium.org>
Gerrit-Reviewer: Brian Sheedy <bsh...@chromium.org>
Gerrit-Reviewer: Struan Shrimpton <ssh...@google.com>
Gerrit-Attention: Struan Shrimpton <ssh...@google.com>
Gerrit-Comment-Date: Wed, 24 Sep 2025 23:44:59 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: Yes
satisfied_requirement
unsatisfied_requirement
open
diffy

Struan Shrimpton (Gerrit)

unread,
12:10 PM (6 hours ago) 12:10 PM
to Brian Sheedy, Chromium LUCI CQ, chromium...@chromium.org, estaab...@chromium.org
Attention needed from Brian Sheedy

Struan Shrimpton voted

Code-Review+1
Commit-Queue+2
Open in Gerrit

Related details

Attention is currently required from:
  • Brian Sheedy
Submit Requirements:
    • requirement satisfiedCode-Coverage
    • requirement satisfiedCode-Owners
    • requirement satisfiedCode-Review
    Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
    Gerrit-MessageType: comment
    Gerrit-Project: chromium/src
    Gerrit-Branch: main
    Gerrit-Change-Id: I37562b2e31577972ec61d8e24dd6e2309aa773ab
    Gerrit-Change-Number: 6981947
    Gerrit-PatchSet: 1
    Gerrit-Owner: Brian Sheedy <bsh...@chromium.org>
    Gerrit-Reviewer: Brian Sheedy <bsh...@chromium.org>
    Gerrit-Reviewer: Struan Shrimpton <ssh...@google.com>
    Gerrit-Attention: Brian Sheedy <bsh...@chromium.org>
    Gerrit-Comment-Date: Thu, 25 Sep 2025 16:09:51 +0000
    Gerrit-HasComments: No
    Gerrit-Has-Labels: Yes
    satisfied_requirement
    open
    diffy

    Chromium LUCI CQ (Gerrit)

    unread,
    12:13 PM (6 hours ago) 12:13 PM
    to Brian Sheedy, Struan Shrimpton, chromium...@chromium.org, estaab...@chromium.org

    Chromium LUCI CQ submitted the change

    Change information

    Commit message:
    [3/?] Move WorkDir to new file

    This is part of a chain of CLs to add support for multiple parallel
    workers to //agents/testing/eval_prompts.py.

    This CL moves the WorkDir class into a new workers.py file. This does
    not currently provide any real benefit other than making eval_prompts.py
    less monolithic, but additional worker-related code will be added to
    this file in follow-up CLs.

    Also performs two drive-by improvements:
    1. Makes the result thread daemonic so that it does not block the
    Python process from exiting.
    2. Updates the moved tests for WorkDir to share mock setup between tests
    instead of using repeated mock.patch annotations.
    Bug: 445459870
    Change-Id: I37562b2e31577972ec61d8e24dd6e2309aa773ab
    Auto-Submit: Brian Sheedy <bsh...@chromium.org>
    Commit-Queue: Struan Shrimpton <ssh...@google.com>
    Reviewed-by: Struan Shrimpton <ssh...@google.com>
    Cr-Commit-Position: refs/heads/main@{#1520664}
    Files:
    • M agents/testing/eval_prompts.py
    • M agents/testing/eval_prompts_unittest.py
    • M agents/testing/results.py
    • A agents/testing/workers.py
    • A agents/testing/workers_unittest.py
    Change size: L
    Delta: 5 files changed, 264 insertions(+), 246 deletions(-)
    Branch: refs/heads/main
    Submit Requirements:
    • requirement satisfiedCode-Review: +1 by Struan Shrimpton
    Open in Gerrit
    Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
    Gerrit-MessageType: merged
    Gerrit-Project: chromium/src
    Gerrit-Branch: main
    Gerrit-Change-Id: I37562b2e31577972ec61d8e24dd6e2309aa773ab
    Gerrit-Change-Number: 6981947
    Gerrit-PatchSet: 2
    Gerrit-Owner: Brian Sheedy <bsh...@chromium.org>
    Gerrit-Reviewer: Brian Sheedy <bsh...@chromium.org>
    Gerrit-Reviewer: Chromium LUCI CQ <chromiu...@luci-project-accounts.iam.gserviceaccount.com>
    Gerrit-Reviewer: Struan Shrimpton <ssh...@google.com>
    open
    diffy
    satisfied_requirement
    Reply all
    Reply to author
    Forward
    0 new messages