Skip to content

Update logic to identify Swarming task#5173

Open
jardondiego wants to merge 2 commits intomasterfrom
fix-identify-swarming-task
Open

Update logic to identify Swarming task#5173
jardondiego wants to merge 2 commits intomasterfrom
fix-identify-swarming-task

Conversation

@jardondiego
Copy link
Collaborator

@jardondiego jardondiego commented Feb 26, 2026

In order to actually identify Swarming tasks, we will look at the job configuration for a flag IS_SWARMING_TASK.

@jardondiego jardondiego marked this pull request as ready for review February 26, 2026 17:56
Copy link
Collaborator

@javanlacerda javanlacerda left a comment

Choose a reason for hiding this comment

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

Question: This is the logic that runs inside the swarming machine it self right? Not the logic that schedules a swarming job.

@jardondiego
Copy link
Collaborator Author

Question: This is the logic that runs inside the swarming machine it self right? Not the logic that schedules a swarming job.

Yes, but it is also used in several places, when dispatching the task to Swarming it first checks for that condition, as well as used to identify it as a remote task in src/clusterfuzz/_internal/bot/tasks/task_types.py.

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