Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ci.yaml is not getting run on pull request, possible dropped messages from pubsub #121647

Closed
ricardoamador opened this issue Feb 28, 2023 · 6 comments
Assignees
Labels
P1 High-priority issues at the top of the work list team-infra Owned by Infrastructure team

Comments

@ricardoamador
Copy link
Contributor

ci.yaml is either not getting scheduled or in this case I believe not getting rescheduled.
flutter/engine#39915

For some reason earlier the check was getting scheduled. Tests were failing and several commits were sent to make fixes for those tests. It appears that the test was never rescheduled as there are logs saying that there are no checkRuns for this pr.

image

Here is the earlier run which shows that the ci.yaml validation test was in fact scheduled and did run to completion.
image

From an initial look at the code it appears that the checkRuns did not get scheduled.

@ricardoamador ricardoamador added team-infra Owned by Infrastructure team P1 High-priority issues at the top of the work list labels Feb 28, 2023
@ricardoamador ricardoamador self-assigned this Feb 28, 2023
@ricardoamador ricardoamador added this to New in Infra Ticket Queue via automation Feb 28, 2023
@ricardoamador
Copy link
Contributor Author

In each case whether it saw the checkRuns or did not the hash was the same: 465dd99d7c0f9ab49bca6fefc46146f3307e4296

@ricardoamador
Copy link
Contributor Author

This is also not the newest change but the one before it with failed runs. We should be looking to update the hash bff496f. In the picture below that is the newest hash. It looks like we did not pick up change request for this new hash. Looking to see if this was github failing to deliver a payload.

image

@ricardoamador
Copy link
Contributor Author

ricardoamador commented Feb 28, 2023

We did get the webhook payload from github with the correct information:

{
  "action": "synchronize",
  "number": 39915,
  "pull_request": {
    "url": "https://api.github.com/repos/flutter/engine/pulls/39915",
    "id": 1255960141,
    "node_id": "PR_kwDOAlZRSc5K3G5N",
    "html_url": "https://github.com/flutter/engine/pull/39915",
    "diff_url": "https://github.com/flutter/engine/pull/39915.diff",
    "patch_url": "https://github.com/flutter/engine/pull/39915.patch",
    "issue_url": "https://api.github.com/repos/flutter/engine/issues/39915",
    "number": 39915,
    "state": "open",
    "locked": false,
    "title": "[web] Remove non-ShadowDom mode",
    "user": {
      "login": "mdebbar",
      "id": 1278212,
      "node_id": "MDQ6VXNlcjEyNzgyMTI=",
      "avatar_url": "https://avatars.githubusercontent.com/u/1278212?v=4",
      "gravatar_id": "",
      "url": "https://api.github.com/users/mdebbar",
      "html_url": "https://github.com/mdebbar",
      "followers_url": "https://api.github.com/users/mdebbar/followers",
      "following_url": "https://api.github.com/users/mdebbar/following{/other_user}",
      "gists_url": "https://api.github.com/users/mdebbar/gists{/gist_id}",
      "starred_url": "https://api.github.com/users/mdebbar/starred{/owner}{/repo}",
      "subscriptions_url": "https://api.github.com/users/mdebbar/subscriptions",
      "organizations_url": "https://api.github.com/users/mdebbar/orgs",
      "repos_url": "https://api.github.com/users/mdebbar/repos",
      "events_url": "https://api.github.com/users/mdebbar/events{/privacy}",
      "received_events_url": "https://api.github.com/users/mdebbar/received_events",
      "type": "User",
      "site_admin": false
    },
    "body": "If we still want to do this, here's a quick PR :)\r\n\r\nFixes https://github.com/flutter/flutter/issues/116204",
    "created_at": "2023-02-27T18:30:33Z",
    "updated_at": "2023-02-28T16:11:54Z",
    "closed_at": null,

With the correct sha:

"milestone": null,
    "draft": false,
    "commits_url": "https://api.github.com/repos/flutter/engine/pulls/39915/commits",
    "review_comments_url": "https://api.github.com/repos/flutter/engine/pulls/39915/comments",
    "review_comment_url": "https://api.github.com/repos/flutter/engine/pulls/comments{/number}",
    "comments_url": "https://api.github.com/repos/flutter/engine/issues/39915/comments",
    "statuses_url": "https://api.github.com/repos/flutter/engine/statuses/bff496f8af465221564d4e53e8ca442c0eab6e11",
    "head": {
      "label": "mdebbar:remove_non_shadow",
      "ref": "remove_non_shadow",
      "sha": "bff496f8af465221564d4e53e8ca442c0eab6e11",
      "user": {
        "login": "mdebbar",
        "id": 1278212,
        "node_id": "MDQ6VXNlcjEyNzgyMTI=",
        "avatar_url": "https://avatars.githubusercontent.com/u/1278212?v=4",
        "gravatar_id": "",
        "url": "https://api.github.com/users/mdebbar",
        "html_url": "https://github.com/mdebbar",
        "followers_url": "https://api.github.com/users/mdebbar/followers",
        "following_url": "https://api.github.com/users/mdebbar/following{/other_user}",
        "gists_url": "https://api.github.com/users/mdebbar/gists{/gist_id}",
        "starred_url": "https://api.github.com/users/mdebbar/starred{/owner}{/repo}",
        "subscriptions_url": "https://api.github.com/users/mdebbar/subscriptions",
        "organizations_url": "https://api.github.com/users/mdebbar/orgs",
        "repos_url": "https://api.github.com/users/mdebbar/repos",
        "events_url": "https://api.github.com/users/mdebbar/events{/privacy}",
        "received_events_url": "https://api.github.com/users/mdebbar/received_events",
        "type": "User",
        "site_admin": false
      },
      "repo": {
        "id": 197040030,
        "node_id": "MDEwOlJlcG9zaXRvcnkxOTcwNDAwMzA=",
        "name": "engine",
        "full_name": "mdebbar/engine",

@ricardoamador ricardoamador moved this from New to In progress in Infra Ticket Queue Feb 28, 2023
@ricardoamador
Copy link
Contributor Author

It appears we just "lost" this or pub sub did not send it to us. Once I updated the branch the checks were immediately picked up and everything appeared as normal with all the checks getting kicked off. We never received the updated synchronized request for the issue above.

@ricardoamador ricardoamador changed the title ci.yaml is not getting run on pull request ci.yaml is not getting run on pull request, possible dropped messages from pubsub Mar 1, 2023
@keyonghan keyonghan added this to To do in Infra - pay technical debt via automation Mar 9, 2023
@keyonghan keyonghan removed this from In progress in Infra Ticket Queue Mar 9, 2023
@keyonghan
Copy link
Contributor

Obsolete. Will revisit if this happens again.

Infra - pay technical debt automation moved this from To do to Done Apr 6, 2023
@github-actions
Copy link

This thread has been automatically locked since there has not been any recent activity after it was closed. If you are still experiencing a similar issue, please open a new bug, including the output of flutter doctor -v and a minimal reproduction of the issue.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Apr 20, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
P1 High-priority issues at the top of the work list team-infra Owned by Infrastructure team
Projects
Development

No branches or pull requests

2 participants