-
Notifications
You must be signed in to change notification settings - Fork 98
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
Import from GitHub Always Returns "Semaphore Locked" #121
Comments
I'm having the same issue. Import/Export seems to be not working anymore since 4.4. Sadly don't have any other additional errors/info |
Part of the problem is I don't have a solid way to fully integration test the plugin together with the GitHub API. I'll have to take a closer look at whether that's possible. |
I think I might be running into the same issue? Clicking "import" simply reloads the page, with no feedback message on 4.4.1.
I don't know testing in the PHP world as well anymore, but in the Ruby world, I use Webmock often, which can intercept HTTP calls, and return a cached response (along with VCR). It looks like https://github.com/php-vcr/php-vcr might work? |
I haven't tested on 4.4 yet. I wonder if there's something specific about the new version that's breaking thoughts? Though I have had this issue on 4.3, so maybe not. I have to spend some time digging into this. The Semaphore may be causing a lot of these issues, so maybe I messed that up somewhere. @benbalter Is an integration tests against the live GitHub API using a test repository possible or would the GitHub API cut us off? |
Possible, yes. You'd have to provide Travis with an encrypted token to make the write calls (and to get around rate limits), and document how to do the same locally, but no 🔴 🎏s. The creds would get you 5k requests an hour, which I suspect would be fine given the rate of development in the repo. |
Can confirm this issue, but I believe this is an unrelated bug. Follow #127 for that one. |
Maybe? I got this when importing a new post after a PR got merged. It was also mentioned in another issue.
The text was updated successfully, but these errors were encountered: