Skip to content

[luci] github state is not updated when builders are triggered #56421

@godofredoc

Description

@godofredoc

Github state is updated until the cocoon backend receives the first pub/sub task status. This can cause a race conditions when there is a long list of pending tasks.

The following is an example of the current workflow:

When there are bots available the status is updated almost immediately, but if all the resources are busy the status update can happen after 45mins in the worst case scenario.
in order to avoid this the webhook need to update the datastore to pending just after triggering the tasks.

Metadata

Metadata

Assignees

Labels

P0Critical issues such as a build break or regressionteam-infraOwned by Infrastructure team

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions