Skip to content
New issue

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

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

Already on GitHub? # to your account

Incoherent pull request events #229

Open
marcelosousa opened this issue Mar 11, 2020 · 1 comment
Open

Incoherent pull request events #229

marcelosousa opened this issue Mar 11, 2020 · 1 comment

Comments

@marcelosousa
Copy link

On executing the following on bigquery:

SELECT
  name, login, prNum, created_at, action
FROM (
  SELECT
    repo.name,
    actor.login,
    JSON_EXTRACT(payload,'$.action') AS action,
    JSON_EXTRACT(payload,'$.number') AS prNum,
    JSON_EXTRACT(payload,'$.pull_request.created_at') AS created_at,
  FROM
    `githubarchive.month.202002`
  WHERE
    type = 'PullRequestEvent')
WHERE
  name = 'willycornelissen/willycornelissen.github.io' AND
  prNum = '1'

The result list is:

[
  {
    "name": "willycornelissen/willycornelissen.github.io",
    "login": "dependabot[bot]",
    "prNum": "1",
    "created_at": "\"2020-02-06T17:18:37Z\"",
    "action": "\"opened\""
  },
  {
    "name": "willycornelissen/willycornelissen.github.io",
    "login": "dependabot[bot]",
    "prNum": "1",
    "created_at": "\"2020-02-06T17:47:18Z\"",
    "action": "\"opened\""
  },
  {
    "name": "willycornelissen/willycornelissen.github.io",
    "login": "dependabot[bot]",
    "prNum": "1",
    "created_at": "\"2020-02-08T21:05:00Z\"",
    "action": "\"opened\""
  }
]

I don't see how this is possible because it would mean that the same pull request would be created in multiple events at different times. Issuing a call to the github api (https://api.github.com/repos/willycornelissen/willycornelissen.github.io/pulls/1) we can see that the latest event seems okay.

Can someone shed some light on what could be happening?

@asad-awadia
Copy link

https://www.githubstatus.com/history?page=7

might be because of the incident @marcelosousa

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants