extensions: [github] can't create issues based on repository

Extension

https://github.com/raycast/extensions/tree/main/extensions/github0b1/extensions/github/

Description

After doing the initial setup to run the extension, trying to Create Issue is showing an error: "Failed to fetch data".

Steps To Reproduce

  1. Install GitHub extension
  2. Setup it (create the right token, with the right permissions)
  3. Try to Create Issue
  4. Search for a repository from another org, like my case
  5. Wait some seconds while searching
  6. See the error message

Current Behaviour

Display an error message "Failed to fetch data".

Expected Behaviour

Should display the right searched repository to allow me to go for the rest of the form to create the issue.

About this issue

  • Original URL
  • State: closed
  • Created a year ago
  • Comments: 18

Most upvoted comments

Does it always fail or does it succeed sometimes?

Every time that I tried it, it fail. I tried some combinations of permissions on my token too, even putting all permissions together, didn’t work.

I am facing the same issue, I forked the extension to test it, and I found out that extension getting 100 repositories with the useMyRepositories function. When I changed that number to 10 it works fine ( but it retrieves 10 repository). Basically main issue is timeout. I also run the graphql with the same query and get the similar error. Maybe a pagination can fix this problem or the shrinking the retrieved data might help.

Does your account or different orgs have lots of repositories?

Yes, more than 200 repositories summing all orgs + my account.