[experimental-ci-only-validator] Introduce ci_only validator skill [chromium/src : main]

0 views
Skip to first unread message

Aadarsh Battula (Gerrit)

unread,
Jun 5, 2026, 2:27:39 PMJun 5
to chromium...@chromium.org

Aadarsh Battula has uploaded the change for review

Commit message

[experimental-ci-only-validator] Introduce ci_only validator skill

This CL introduces the experimental-ci-only-validator skill
which uses the underlying Python helper script to help triaging
missing coverage bugs on Gerrit.

Bug: 519590223
Test: None

TAG=agy
CONV=19f2d950-e07e-427c-a7a3-de836354df62


[experimental-ci-only-validator] Add ci_only validator tool

This CL introduces the ci_only validator tool and its tests.
The tool checks if a Chromium test suite is barred by `ci_only = True`
on both the coverage-specific trybots and standard CQ coverage trybots.

Bug: 519590223
Test: vpython3 tools/code_coverage/ci_only_validator_test.py

TAG=agy
CONV=19f2d950-e07e-427c-a7a3-de836354df62
Change-Id: I64922be04db1d4e7f83550f42b49b3a8ed2fef47

Change diff


Change information

Files:
  • A agents/prompts/eval/experimental-ci-only-validator/basic_check.promptfoo.yaml
  • A agents/skills/experimental-ci-only-validator/SKILL.md
  • A tools/code_coverage/ci_only_validator.py
  • A tools/code_coverage/ci_only_validator_test.py
Change size: L
Delta: 4 files changed, 643 insertions(+), 0 deletions(-)
Open in Gerrit

Related details

Attention set is empty
Submit Requirements:
  • requirement satisfiedCode-Coverage
  • requirement is not satisfiedCode-Owners
  • requirement is not satisfiedCode-Review
  • requirement is not satisfiedReview-Enforcement
Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
Gerrit-MessageType: newchange
Gerrit-Project: chromium/src
Gerrit-Branch: main
Gerrit-Change-Id: I64922be04db1d4e7f83550f42b49b3a8ed2fef47
Gerrit-Change-Number: 7905665
Gerrit-PatchSet: 1
Gerrit-Owner: Aadarsh Battula <aada...@google.com>
satisfied_requirement
unsatisfied_requirement
open
diffy

Aadarsh Battula (Gerrit)

unread,
Jun 8, 2026, 2:36:39 PMJun 8
to chromium...@chromium.org

Aadarsh Battula added 1 comment

File agents/skills/experimental-ci-only-validator/SKILL.md
Line 85, Patchset 14 (Latest):#### 2. Checking Historical Configuration (at a revision)
Aadarsh Battula . unresolved

I chose to not include the time travel code explorer skill since it requires multiple tool calls to explore all the try builder configs at a specific revision.

Open in Gerrit

Related details

Attention set is empty
Submit Requirements:
    • requirement satisfiedCode-Coverage
    • requirement is not satisfiedCode-Owners
    • requirement is not satisfiedCode-Review
    • requirement is not satisfiedNo-Unresolved-Comments
    • requirement is not satisfiedReview-Enforcement
    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: I64922be04db1d4e7f83550f42b49b3a8ed2fef47
    Gerrit-Change-Number: 7905665
    Gerrit-PatchSet: 14
    Gerrit-Owner: Aadarsh Battula <aada...@google.com>
    Gerrit-Comment-Date: Mon, 08 Jun 2026 18:36:25 +0000
    Gerrit-HasComments: Yes
    Gerrit-Has-Labels: No
    satisfied_requirement
    unsatisfied_requirement
    open
    diffy

    Brian Sheedy (Gerrit)

    unread,
    Jun 8, 2026, 3:22:41 PMJun 8
    to Aadarsh Battula, Prakhar Asthana, chromium...@chromium.org
    Attention needed from Aadarsh Battula and Prakhar Asthana

    Brian Sheedy added 2 comments

    File agents/prompts/eval/experimental-ci-only-validator/basic_check.promptfoo.yaml
    Line 18, Patchset 14 (Latest): - type: contains
    value: "ci_only = True"
    Brian Sheedy . unresolved

    This seems liable to fail because the agent won't report this exact string.

    Expecting certain builder names to be reported makes sense, but I don't think this does.

    File agents/skills/experimental-ci-only-validator/SKILL.md
    Line 85, Patchset 14 (Latest):#### 2. Checking Historical Configuration (at a revision)
    Aadarsh Battula . resolved

    I chose to not include the time travel code explorer skill since it requires multiple tool calls to explore all the try builder configs at a specific revision.

    Brian Sheedy

    Acknowledged

    Open in Gerrit

    Related details

    Attention is currently required from:
    • Aadarsh Battula
    • Prakhar Asthana
    Submit Requirements:
    • requirement satisfiedCode-Coverage
    • requirement is not satisfiedCode-Owners
    • requirement is not satisfiedCode-Review
    • requirement is not satisfiedNo-Unresolved-Comments
    • requirement is not satisfiedReview-Enforcement
    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: I64922be04db1d4e7f83550f42b49b3a8ed2fef47
    Gerrit-Change-Number: 7905665
    Gerrit-PatchSet: 14
    Gerrit-Owner: Aadarsh Battula <aada...@google.com>
    Gerrit-Reviewer: Brian Sheedy <bsh...@chromium.org>
    Gerrit-Reviewer: Prakhar Asthana <past...@google.com>
    Gerrit-Attention: Aadarsh Battula <aada...@google.com>
    Gerrit-Attention: Prakhar Asthana <past...@google.com>
    Gerrit-Comment-Date: Mon, 08 Jun 2026 19:22:30 +0000
    Gerrit-HasComments: Yes
    Gerrit-Has-Labels: No
    Comment-In-Reply-To: Aadarsh Battula <aada...@google.com>
    satisfied_requirement
    unsatisfied_requirement
    open
    diffy

    Aadarsh Battula (Gerrit)

    unread,
    Jun 8, 2026, 5:17:02 PMJun 8
    to Brian Sheedy, Prakhar Asthana, chromium...@chromium.org
    Attention needed from Brian Sheedy

    Aadarsh Battula added 1 comment

    File agents/prompts/eval/experimental-ci-only-validator/basic_check.promptfoo.yaml
    Line 18, Patchset 14: - type: contains
    value: "ci_only = True"
    Brian Sheedy . unresolved

    This seems liable to fail because the agent won't report this exact string.

    Expecting certain builder names to be reported makes sense, but I don't think this does.

    Aadarsh Battula

    Would it be better to define what the model should output in the query? Ex. Output "ci_only: True" if the configs contain it. I am pending access to google cloud resources, so I am unable to run evals locally still.

    Open in Gerrit

    Related details

    Attention is currently required from:
    • Brian Sheedy
    Submit Requirements:
    • requirement satisfiedCode-Coverage
    • requirement is not satisfiedCode-Owners
    • requirement is not satisfiedCode-Review
    • requirement is not satisfiedNo-Unresolved-Comments
    • requirement is not satisfiedReview-Enforcement
    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: I64922be04db1d4e7f83550f42b49b3a8ed2fef47
    Gerrit-Change-Number: 7905665
    Gerrit-PatchSet: 16
    Gerrit-Owner: Aadarsh Battula <aada...@google.com>
    Gerrit-Reviewer: Brian Sheedy <bsh...@chromium.org>
    Gerrit-Reviewer: Prakhar Asthana <past...@google.com>
    Gerrit-Attention: Brian Sheedy <bsh...@chromium.org>
    Gerrit-Comment-Date: Mon, 08 Jun 2026 21:16:51 +0000
    Gerrit-HasComments: Yes
    Gerrit-Has-Labels: No
    Comment-In-Reply-To: Brian Sheedy <bsh...@chromium.org>
    satisfied_requirement
    unsatisfied_requirement
    open
    diffy

    Brian Sheedy (Gerrit)

    unread,
    Jun 8, 2026, 5:24:57 PMJun 8
    to Aadarsh Battula, Prakhar Asthana, chromium...@chromium.org
    Attention needed from Aadarsh Battula

    Brian Sheedy added 1 comment

    File agents/prompts/eval/experimental-ci-only-validator/basic_check.promptfoo.yaml
    Line 18, Patchset 14: - type: contains
    value: "ci_only = True"
    Brian Sheedy . unresolved

    This seems liable to fail because the agent won't report this exact string.

    Expecting certain builder names to be reported makes sense, but I don't think this does.

    Aadarsh Battula

    Would it be better to define what the model should output in the query? Ex. Output "ci_only: True" if the configs contain it. I am pending access to google cloud resources, so I am unable to run evals locally still.

    Brian Sheedy

    I think the better option would be to update prompt to ask for what we really want. We don't really care about the output format that the agent uses, we only care about the information included in its response.

    In this particular case, a prompt like

    `Use the experimental-ci-only-validator skill to find all CI-only code coverage LUCI builders that run the 'chrome_junit_tests' suite` seems more fitting and then the asserts can be that the substrings of the builders that we expect.

    Open in Gerrit

    Related details

    Attention is currently required from:
    • Aadarsh Battula
    Submit Requirements:
    • requirement satisfiedCode-Coverage
    • requirement is not satisfiedCode-Owners
    • requirement is not satisfiedCode-Review
    • requirement is not satisfiedNo-Unresolved-Comments
    • requirement is not satisfiedReview-Enforcement
    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: I64922be04db1d4e7f83550f42b49b3a8ed2fef47
    Gerrit-Change-Number: 7905665
    Gerrit-PatchSet: 16
    Gerrit-Owner: Aadarsh Battula <aada...@google.com>
    Gerrit-Reviewer: Brian Sheedy <bsh...@chromium.org>
    Gerrit-Reviewer: Prakhar Asthana <past...@google.com>
    Gerrit-Attention: Aadarsh Battula <aada...@google.com>
    Gerrit-Comment-Date: Mon, 08 Jun 2026 21:24:41 +0000
    Gerrit-HasComments: Yes
    Gerrit-Has-Labels: No
    Comment-In-Reply-To: Aadarsh Battula <aada...@google.com>
    Comment-In-Reply-To: Brian Sheedy <bsh...@chromium.org>
    satisfied_requirement
    unsatisfied_requirement
    open
    diffy

    Aadarsh Battula (Gerrit)

    unread,
    Jun 8, 2026, 5:29:54 PMJun 8
    to Brian Sheedy, Prakhar Asthana, chromium...@chromium.org
    Attention needed from Brian Sheedy

    Aadarsh Battula added 1 comment

    File agents/prompts/eval/experimental-ci-only-validator/basic_check.promptfoo.yaml
    Line 18, Patchset 14: - type: contains
    value: "ci_only = True"
    Brian Sheedy . resolved

    This seems liable to fail because the agent won't report this exact string.

    Expecting certain builder names to be reported makes sense, but I don't think this does.

    Aadarsh Battula

    Would it be better to define what the model should output in the query? Ex. Output "ci_only: True" if the configs contain it. I am pending access to google cloud resources, so I am unable to run evals locally still.

    Brian Sheedy

    I think the better option would be to update prompt to ask for what we really want. We don't really care about the output format that the agent uses, we only care about the information included in its response.

    In this particular case, a prompt like

    `Use the experimental-ci-only-validator skill to find all CI-only code coverage LUCI builders that run the 'chrome_junit_tests' suite` seems more fitting and then the asserts can be that the substrings of the builders that we expect.

    Aadarsh Battula

    Acknowledged

    Open in Gerrit

    Related details

    Attention is currently required from:
    • Brian Sheedy
    Submit Requirements:
      • requirement satisfiedCode-Coverage
      • requirement is not satisfiedCode-Owners
      • requirement is not satisfiedCode-Review
      • requirement is not satisfiedReview-Enforcement
      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: I64922be04db1d4e7f83550f42b49b3a8ed2fef47
      Gerrit-Change-Number: 7905665
      Gerrit-PatchSet: 16
      Gerrit-Owner: Aadarsh Battula <aada...@google.com>
      Gerrit-Reviewer: Brian Sheedy <bsh...@chromium.org>
      Gerrit-Reviewer: Prakhar Asthana <past...@google.com>
      Gerrit-Attention: Brian Sheedy <bsh...@chromium.org>
      Gerrit-Comment-Date: Mon, 08 Jun 2026 21:29:42 +0000
      satisfied_requirement
      unsatisfied_requirement
      open
      diffy

      Brian Sheedy (Gerrit)

      unread,
      Jun 8, 2026, 5:37:18 PMJun 8
      to Aadarsh Battula, Bryan Kim, Prakhar Asthana, chromium...@chromium.org
      Attention needed from Aadarsh Battula

      Brian Sheedy voted and added 1 comment

      Votes added by Brian Sheedy

      Code-Review+1

      1 comment

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

      LGTM

      +CC bryankim since this adds another eval

      Open in Gerrit

      Related details

      Attention is currently required from:
      • Aadarsh Battula
      Submit Requirements:
      • requirement satisfiedCode-Coverage
      • requirement satisfiedCode-Owners
      • requirement is not satisfiedCode-Review
      • requirement satisfiedReview-Enforcement
      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: I64922be04db1d4e7f83550f42b49b3a8ed2fef47
      Gerrit-Change-Number: 7905665
      Gerrit-PatchSet: 17
      Gerrit-Owner: Aadarsh Battula <aada...@google.com>
      Gerrit-Reviewer: Brian Sheedy <bsh...@chromium.org>
      Gerrit-Reviewer: Prakhar Asthana <past...@google.com>
      Gerrit-CC: Bryan Kim <brya...@google.com>
      Gerrit-Attention: Aadarsh Battula <aada...@google.com>
      Gerrit-Comment-Date: Mon, 08 Jun 2026 21:37:06 +0000
      Gerrit-HasComments: Yes
      Gerrit-Has-Labels: Yes
      satisfied_requirement
      unsatisfied_requirement
      open
      diffy

      Aadarsh Battula (Gerrit)

      unread,
      Jun 24, 2026, 4:52:19 PMJun 24
      to Brian Sheedy, Bryan Kim, Prakhar Asthana, chromium...@chromium.org
      Attention needed from Prakhar Asthana

      Aadarsh Battula added 1 comment

      Patchset-level comments
      Aadarsh Battula . resolved

      modify attention set

      Open in Gerrit

      Related details

      Attention is currently required from:
      • Prakhar Asthana
      Submit Requirements:
      • requirement satisfiedCode-Coverage
      • requirement satisfiedCode-Owners
      • requirement is not satisfiedCode-Review
      • requirement satisfiedReview-Enforcement
      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: I64922be04db1d4e7f83550f42b49b3a8ed2fef47
      Gerrit-Change-Number: 7905665
      Gerrit-PatchSet: 17
      Gerrit-Owner: Aadarsh Battula <aada...@google.com>
      Gerrit-Reviewer: Brian Sheedy <bsh...@chromium.org>
      Gerrit-Reviewer: Prakhar Asthana <past...@google.com>
      Gerrit-CC: Bryan Kim <brya...@google.com>
      Gerrit-Attention: Prakhar Asthana <past...@google.com>
      Gerrit-Comment-Date: Wed, 24 Jun 2026 20:52:03 +0000
      Gerrit-HasComments: Yes
      Gerrit-Has-Labels: No
      satisfied_requirement
      unsatisfied_requirement
      open
      diffy

      Prakhar Asthana (Gerrit)

      unread,
      Jun 29, 2026, 3:33:46 PM (10 days ago) Jun 29
      to Aadarsh Battula, Code Review Nudger, Brian Sheedy, Bryan Kim, chromium...@chromium.org
      Attention needed from Aadarsh Battula

      Prakhar Asthana voted Code-Review+1

      Code-Review+1
      Open in Gerrit

      Related details

      Attention is currently required from:
      • Aadarsh Battula
      Submit Requirements:
        • requirement satisfiedCode-Coverage
        • requirement satisfiedCode-Owners
        • requirement satisfiedCode-Review
        • requirement satisfiedReview-Enforcement
        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: I64922be04db1d4e7f83550f42b49b3a8ed2fef47
        Gerrit-Change-Number: 7905665
        Gerrit-PatchSet: 19
        Gerrit-Owner: Aadarsh Battula <aada...@google.com>
        Gerrit-Reviewer: Brian Sheedy <bsh...@chromium.org>
        Gerrit-Reviewer: Prakhar Asthana <past...@google.com>
        Gerrit-CC: Bryan Kim <brya...@google.com>
        Gerrit-CC: Code Review Nudger <android-build...@prod.google.com>
        Gerrit-Attention: Aadarsh Battula <aada...@google.com>
        Gerrit-Comment-Date: Mon, 29 Jun 2026 19:33:32 +0000
        Gerrit-HasComments: No
        Gerrit-Has-Labels: Yes
        satisfied_requirement
        open
        diffy

        Aadarsh Battula (Gerrit)

        unread,
        2:44 PM (1 hour ago) 2:44 PM
        to Prakhar Asthana, Code Review Nudger, Brian Sheedy, Bryan Kim, chromium...@chromium.org

        Aadarsh Battula voted Commit-Queue+2

        Commit-Queue+2
        Open in Gerrit

        Related details

        Attention set is empty
        Submit Requirements:
        • requirement satisfiedCode-Coverage
        • requirement satisfiedCode-Owners
        • requirement satisfiedCode-Review
        • requirement satisfiedReview-Enforcement
        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: I64922be04db1d4e7f83550f42b49b3a8ed2fef47
        Gerrit-Change-Number: 7905665
        Gerrit-PatchSet: 20
        Gerrit-Owner: Aadarsh Battula <aada...@google.com>
        Gerrit-Reviewer: Aadarsh Battula <aada...@google.com>
        Gerrit-Reviewer: Brian Sheedy <bsh...@chromium.org>
        Gerrit-Reviewer: Prakhar Asthana <past...@google.com>
        Gerrit-CC: Bryan Kim <brya...@google.com>
        Gerrit-CC: Code Review Nudger <android-build...@prod.google.com>
        Gerrit-Comment-Date: Thu, 09 Jul 2026 18:44:03 +0000
        Gerrit-HasComments: No
        Gerrit-Has-Labels: Yes
        satisfied_requirement
        open
        diffy

        Chromium LUCI CQ (Gerrit)

        unread,
        3:34 PM (1 hour ago) 3:34 PM
        to Aadarsh Battula, Prakhar Asthana, Code Review Nudger, Brian Sheedy, Bryan Kim, chromium...@chromium.org

        Chromium LUCI CQ submitted the change

        Unreviewed changes

        19 is the latest approved patch-set.
        No files were changed between the latest approved patch-set and the submitted one.

        Change information

        Commit message:
        Introduce ci_only validator skill

        This CL introduces the experimental-ci-only-validator skill
        which uses the underlying Python helper script to help triaging
        missing coverage bugs on Gerrit.

        TAG=agy
        CONV=19f2d950-e07e-427c-a7a3-de836354df62
        Bug: 520499220
        Change-Id: I64922be04db1d4e7f83550f42b49b3a8ed2fef47
        Reviewed-by: Prakhar Asthana <past...@google.com>
        Reviewed-by: Brian Sheedy <bsh...@chromium.org>
        Commit-Queue: Aadarsh Battula <aada...@google.com>
        Cr-Commit-Position: refs/heads/main@{#1659770}
        Files:
        • A agents/prompts/eval/experimental-ci-only-validator/basic_check.promptfoo.yaml
        • A agents/skills/experimental-ci-only-validator/SKILL.md
        Change size: M
        Delta: 2 files changed, 124 insertions(+), 0 deletions(-)
        Branch: refs/heads/main
        Submit Requirements:
        • requirement satisfiedCode-Review: +1 by Brian Sheedy, +1 by Prakhar Asthana
        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: I64922be04db1d4e7f83550f42b49b3a8ed2fef47
        Gerrit-Change-Number: 7905665
        Gerrit-PatchSet: 21
        Gerrit-Owner: Aadarsh Battula <aada...@google.com>
        Gerrit-Reviewer: Aadarsh Battula <aada...@google.com>
        Gerrit-Reviewer: Brian Sheedy <bsh...@chromium.org>
        Gerrit-Reviewer: Chromium LUCI CQ <chromiu...@luci-project-accounts.iam.gserviceaccount.com>
        open
        diffy
        satisfied_requirement
        Reply all
        Reply to author
        Forward
        0 new messages