pingcap/ossinsight-lite

GitHub Personal Pipeline Error

Opened this issue Β· 14 comments

Describe the bug
Run workflow, jobs "GitHub Personal Pipeline" get an error:
https://github.com/ShiinaRinne/ossinsight-lite/actions/runs/5406964912/jobs/9824428075

image

To Reproduce
Steps to reproduce the behavior:

  1. Create a TiDB Serverless cluster
  2. Set Github repos secret DATABASE_URL like mysql://<user>:<password>@<host>:<port>
  3. Run workflow
  4. See error

Screenshots

  • Repos Secrets
    image
  • Workflow error
    image

Desktop (please complete the following information):

  • OS: Windows 10
  • Browser: Edge Canary
  • Version: 117.0.1948.0

Additional context
It may be similar to #103 (comment), I tried to delete the existing cluster in Tidbcloud and created a new one, then updated the secret, but got the same result

hooopo commented

This is an issue with Github's GraphQL. You can choose to manually rerun the workflow, or wait for the scheduled task to trigger next time. Since the pipeline is crash-safe, it will not affect data accuracy. The next run will still ensure data integrity.

Thank you for your reply~
As I have been running multiple times and this issue has occurred, I suspect it may be due to my config error or other problems
image

hooopo commented
image This error message is response from github API, it is github api issue which I also encounter from time to time. However, it usually disappears after a few retries πŸ˜„

See similar issue in github discussion: https://github.com/orgs/community/discussions/24631

hooopo commented

@ShiinaRinne I noticed that your GitHub action has been executed successfully. What was the reason for the previous failures?

May be caused by the info of my issue being too long

I have tried to restart it many times, but there will be errors when sync the issue
image

So I changed the request code , and it can work properly
ShiinaRinne/oh-my-github-pipeline@097fd0b

hooopo commented

ζˆ‘ζ³¨ζ„εˆ°ζ‚¨ηš„ GitHub ζ“δ½œε·²ζˆεŠŸζ‰§θ‘Œγ€‚δΉ‹ε‰ε€±θ΄₯ηš„εŽŸε› ζ˜―δ»€δΉˆοΌŸ

May be caused by the info of my issue being too long

I have tried to restart it many times, but there will be errors when sync the issue So I changed the request code , and it can work properly ShiinaRinne/oh-my-github-pipeline@097fd0b

Currently, for the sake of retrieval speed, we are fetching 100 issues each time. I think I can adjust it to 50 each time, which would decrease the likelihood of Github API timeouts and errors. I sincerely apologize for any inconvenience caused to you.

hooopo commented

@ShiinaRinne I changed batch size to 50, can you try it and check if the error exist? hooopo/oh-my-github-pipeline@1208684

Actually, I don't think I have posted that many issues. At most, it shouldn't exceed 50, so I'm not sure if this problem is caused by the high number of issues

hooopo commented

Alright, I'll test your account data locally to see whether it's an API issue or something else. I'll notify you once I've sorted this out.

Thank you for your assistance~


image

Although I may have unsubscribed from some, the actual number of issues shouldn't be that high
And I changed the batch size to 10, it still have the same error

Sorry I can't provide more useful information or debug it myself.

Thank you very much!
I think there might be an issue with my account XD.
For now, I'll simply delete the Issue part to continue using it and wait for fix~

btw, I found that now we can directly see the issues posted by each user through URL. In reality, I have posted 17 issues.
https://github.com/issues?q=is%3Aissue+author%3AShiinaRinne+archived%3Afalse+is%3Aclosed

Is it possible to query issue data by making requests to this API?
image