Skip to content

Is scala steward still running #2733

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

Closed
yanns opened this issue Oct 11, 2022 · 18 comments
Closed

Is scala steward still running #2733

yanns opened this issue Oct 11, 2022 · 18 comments

Comments

@yanns
Copy link
Contributor

yanns commented Oct 11, 2022

I don't receive any updates anymore in open source libraries (sangria for example).
Is the bot still running? Do you need help?

@plokhotnyuk
Copy link
Contributor

ICYMI: currently the scala-steward instance is maintained by VirtusLab: https://github.com/VirtusLab/scala-steward-repos

@yanns
Copy link
Contributor Author

yanns commented Oct 11, 2022

Thanks. "my" repositories are listed in those repos.

@plokhotnyuk
Copy link
Contributor

Ups... Probably need to ask them for the service restart.

@yanns
Copy link
Contributor Author

yanns commented Oct 14, 2022

Can I help?

@fthomas
Copy link
Member

fthomas commented Oct 14, 2022

Nobody from VirtusLab is watching this repo, so I would suggest asking that in https://github.com/VirtusLab/scala-steward-repos.

@yanns
Copy link
Contributor Author

yanns commented Oct 14, 2022

I don't see any way to interact with anyone on #2733 (comment). There are no issues, nothing.

@yanns
Copy link
Contributor Author

yanns commented Oct 14, 2022

Trying to catch @tgodzik attention.

@tgodzik
Copy link
Contributor

tgodzik commented Oct 14, 2022

Looking into that, I assumed that it was setup correctly previously, but I think something might be off. There is not enough PRs on https://github.com/scala-steward

I wonder why no one reported anything 🤔

@fthomas
Copy link
Member

fthomas commented Oct 14, 2022

I wonder why no one reported anything

What would be the proper channel for such reports? Maybe enabling issues in https://github.com/VirtusLab/scala-steward-repos would be helpful.

@tgodzik
Copy link
Contributor

tgodzik commented Oct 14, 2022

Enabled issues in the repo! Looks like the steward job is getting a lot of timeouts from github, though I don't have a direct access to the azure job yet, looking into that.

@tgodzik
Copy link
Contributor

tgodzik commented Oct 14, 2022

Github is not happy, seems there is limit on ither creating or querying pull requests.

{"message":"You have exceeded a secondary rate limit and have been temporarily blocked from content creation. Please retry your request again later.","documentation_url":"https://docs.github.com/rest/overview/resources-in-the-rest-api#secondary-rate-limits"}

@tgodzik
Copy link
Contributor

tgodzik commented Oct 14, 2022

I restarted the container, let's see if the github issues were temporary or something we need to deal with.

@fthomas
Copy link
Member

fthomas commented Oct 14, 2022

I've seen the secondary rate limit issue before in #2355 but that only happened when Scala Steward created a lot of PRs in a short time frame - usually when there was a new Scala or sbt release. But this was always temporary and Scala Steward was always able to create PRs on the next run.

@tgodzik
Copy link
Contributor

tgodzik commented Oct 14, 2022

Ok, the rerun managed to create a bunch of PRs but after a short while again 403. Might be related to the fact that we haven't run it for a while.

@tgodzik
Copy link
Contributor

tgodzik commented Oct 14, 2022

method: POST
status: 403 Forbidden
headers:
  access-control-allow-origin: *
  access-control-expose-headers: ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Used, X-RateLimit-Resource, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type, X-GitHub-SSO, X-GitHub-Request-Id, Deprecation, Sunset
  content-security-policy: default-src 'none'
  content-type: application/json; charset=utf-8
  date: Fri, 14 Oct 2022 13:06:09 GMT
  referrer-policy: origin-when-cross-origin, strict-origin-when-cross-origin
  server: github.com
  strict-transport-security: max-age=31536000; includeSubdomains; preload
  vary: Accept-Encoding, Accept, X-Requested-With
  x-accepted-oauth-scopes: 
  x-content-type-options: nosniff
  x-frame-options: deny
  x-github-media-type: github.v3
  x-github-request-id: 2140:7CD2:2437198:24BFB2E:63495EAF
  x-oauth-scopes: delete_repo, notifications, repo, workflow
  x-ratelimit-limit: 5000
  x-ratelimit-remaining: 4737
  x-ratelimit-reset: 1665753242
  x-ratelimit-resource: core
  x-ratelimit-used: 263
  x-xss-protection: 0

x-ratelimit-remaining: 4737 seems to suggest we should be good, but it's rejecting the request anyway.

@tgodzik
Copy link
Contributor

tgodzik commented Oct 14, 2022

Though I also see [error] java.lang.RuntimeException: unable to locate a valid GitHub token from Environment(GITHUB_TOKEN) which is weird especially since it wouldn't be able to create PRs without the token.

@SethTisue
Copy link
Contributor

SethTisue commented Oct 26, 2022

I guess this can be closed? The spice seems to be flowing again

@yanns
Copy link
Contributor Author

yanns commented Oct 26, 2022

👍

@yanns yanns closed this as completed Oct 26, 2022
# 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

5 participants