Skip to content

Swarming: Add TasksCountRequest and TasksCount to swarming.proto#5276

Open
IvanBM18 wants to merge 1 commit into
masterfrom
feature/protos/countTask
Open

Swarming: Add TasksCountRequest and TasksCount to swarming.proto#5276
IvanBM18 wants to merge 1 commit into
masterfrom
feature/protos/countTask

Conversation

@IvanBM18
Copy link
Copy Markdown
Collaborator

@IvanBM18 IvanBM18 commented May 14, 2026

As part of the initiative of creating a backpressure logic for the swarming integration we are adding first the required protobuf definitions for a upcoming(in another pr) /prpc/swarmig.v2.tasks/CountTasks prpc endpoint.

Background

For more context on the backpressure initative see more info in internal fuzz docs

Changes

  • Adds the following protobuf definitions to the swarming.proto file:
    • CountTask message
    • TasksCountRequest message
    • StateQuery enum
  • Updated the reference to the chromium repo in the swarming.proto file
  • Ran the src/clusterfuzz/_internal/protos/generate.sh script, which added a bunch of changes to the generated files.

Tests

No unit tests nor actual tests in the CF code are required for this one, as we are just adding more protobuf definitions not doing nothing new with them(yet),

@IvanBM18 IvanBM18 requested a review from a team as a code owner May 14, 2026 22:03
@IvanBM18 IvanBM18 self-assigned this May 14, 2026
_sym_db = _symbol_database.Default()


from google.protobuf import timestamp_pb2 as google_dot_protobuf_dot_timestamp__pb2
Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Note: All changes in this file were generated by the src/clusterfuzz/_internal/protos/generate.sh script.

@generated by mypy-protobuf. Do not edit manually!
isort:skip_file
Copyright 2024 Google LLC
Copyright 2026 Google LLC
Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Note: All changes in this file were generated by the src/clusterfuzz/_internal/protos/generate.sh script.

@@ -1,4 +1,4 @@
# Copyright 2026 Google LLC
# Copyright 2023 Google LLC
Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Note: All changes in this file were generated by the src/clusterfuzz/_internal/protos/generate.sh script.

// limitations under the License.

// This file is based on https://source.chromium.org/chromium/infra/infra/+/main:luci/appengine/swarming/proto/api_v2/swarming.proto
// This file is based on https://source.chromium.org/chromium/infra/infra_superproject/+/main:infra/luci/appengine/swarming/proto/api_v2/swarming.proto
Copy link
Copy Markdown
Collaborator

@jardondiego jardondiego May 14, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why does this have to change?

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If you visit the previous link, a warning is shown telling you that this link is no longer valid and that you should visit the infra_superproject instead

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants