Experimental Code Coverage Build Invoker experimental-code-coverage-build-invoker
Triggers LUCI try jobs to generate code coverage data. Supports Mode 1 (standard git cl try for source CLs) and Mode 2 (led for custom builds).
- Our test
- —
- not tested yet
- GitHub stars
- 26k
- chromium/chromium
- Added by
- 0
- members
- Updated
- Dec 6
- commit 8cf236c
- Content
- 1 file
- no scripts · 3 KB
- License
- BSD 3-Clause
- free to use
What our test found
Not tested yet. Our model tries every skill on a realistic request and scores the result, the most popular skills first. Until then, the safety checks on the right still apply.
name: experimental-code-coverage-build-invoker description: >- Triggers LUCI try jobs to generate code coverage data. Supports Mode 1 (standard git cl try for source CLs) and Mode 2 (led for custom builds).
Code Coverage Build Invoker
This skill schedules LUCI try jobs to generate code coverage data. It provides two distinct operational modes based on what is being tested.
When to Use This Skill
Activate this skill when:
- Triggering verification try jobs on a pending Gerrit CL (
git cl try). - Comparing baseline coverage against experimental patchsets.
- Testing local uncommitted recipe modifications or custom build properties (
led).
Inputs
cl_url: The full URL to the Gerrit CL (e.g.,https://chromium-review.googlesource.com/c/chromium/src/+/7916168).builders_of_concern: A list of builder names to trigger (e.g.,["android-x86-rel", "linux-rel"]).
Workflow Modes
Mode 1: Standard CL Verification (git cl try)
Use this mode for submitted or WIP Gerrit CLs modifying application source code (.cc, .java) or Starlark builder configurations (.star).
Execute the command from the repository root:
git cl try -B luci.chromium.try -b builder1 -b builder2Mode 2: Low-Level Build Dispatch (led)
Use this mode exclusively for debugging unlanded recipe changes, custom build properties, or reproducing historical Swarming runs.
For each target builder, fetch the builder definition, apply unmerged CL modifications (or local recipe bundle), explicitly set the Swarming priority to match standard CQ tryjob traffic (priority = 30), and dispatch:
# Example for patching a CL and setting CQ priority via LED
led get-builder luci.chromium.try:android-x86-rel \
| led edit-gerrit-cl <cl_url> \
| jq '.buildbucket.bbagent_args.build.infra.backend.config.priority = 30' \
| led launchExample: Testing Local Recipe Modifications
To test unmerged local recipe edits at standard CQ tryjob priority:
led get-builder luci.chromium.try:android-x86-rel \
| led edit-recipe-bundle \
| jq '.buildbucket.bbagent_args.build.infra.backend.config.priority = 30' \
| led launchRequired Output & State Update
- Report the Buildbucket build links/URLs for the scheduled jobs mapped to builder name (e.g.,
{"linux-rel": "https://ci.chromium.org/b/8679163306673603153"}). - Write/update the build links in
scratch/triage_state.jsonmapped to builder name undercontrol_builds(ifcl_urlmatchescontrol_cl) orfix_builds(ifcl_urlmatchesfix_cl).
Important Considerations
- Authentication: Ensure
gcert/luci-authtokens are valid. - Syntactic Bucket: Note warnings suggesting
chromium/try, but-B luci.chromium.tryis syntactically required bygit cl try.