You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@arrow.apache.org by GitBox <gi...@apache.org> on 2023/01/06 20:02:03 UTC
[GitHub] [arrow] jonkeane opened a new issue, #15228: [R] [CI] Add Github PAT to jobs that are reaching limit
jonkeane opened a new issue, #15228:
URL: https://github.com/apache/arrow/issues/15228
### Describe the enhancement requested
This passes the already extant github pat down to where it can be used during installation of R dependencies (which are hitting rate limits)
```
#12 899.5 > remotes::install_deps(dependencies = TRUE, INSTALL_opts = '')
#12 913.6 Error: HTTP error 403.
#12 913.6 API rate limit exceeded for 40.122.243.81. (But here's the good news: Authenticated requests get a higher rate limit. Check out the documentation for more details.)
#12 913.6
#12 913.6 Rate limit remaining: 0/60
#12 913.6 Rate limit reset at: 2023-01-06 00:59:48 UTC
#12 913.6
#12 913.6 To increase your GitHub API rate limit
#12 913.6 - Use `usethis::create_github_token()` to create a Personal Access Token.
#12 913.6 - Use `usethis::edit_r_environ()` and add the token as `GITHUB_PAT`.
#12 913.6 Execution halted
#12 ERROR: executor failed running [/bin/bash -o pipefail -c /arrow/ci/scripts/r_deps.sh /arrow]: exit code: 1
------
> [10/17] RUN /arrow/ci/scripts/r_deps.sh /arrow:
```
https://github.com/ursacomputing/crossbow/actions/runs/3851498487/jobs/6562738845#step:5:3350
### Component(s)
Continuous Integration, R
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@arrow.apache.org.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [arrow] assignUser commented on issue #15228: [R][CI] Add GitHub PAT to jobs that are reaching limit
Posted by "assignUser (via GitHub)" <gi...@apache.org>.
assignUser commented on issue #15228:
URL: https://github.com/apache/arrow/issues/15228#issuecomment-1482204605
Theoretically the issue is properly solved by passing the PAT via build time secrets which looks something like this:
```docker
RUN --mount=type=secret,id=gh_token \
GITHUB_TOKEN=$(cat /run/secrets/gh_token)
```
but those have to be passed in via the cli, which in our case is controlled by archery so the addtion is not trivial.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: github-unsubscribe@arrow.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [arrow] assignUser commented on issue #15228: [R][CI] Add GitHub PAT to jobs that are reaching limit
Posted by "assignUser (via GitHub)" <gi...@apache.org>.
assignUser commented on issue #15228:
URL: https://github.com/apache/arrow/issues/15228#issuecomment-1482213145
Actually it looks like this is also possible through docker compose, even without swarm mode.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: github-unsubscribe@arrow.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] [R][CI] Add GitHub PAT to jobs that are reaching limit [arrow]
Posted by "thisisnic (via GitHub)" <gi...@apache.org>.
thisisnic closed issue #15228: [R][CI] Add GitHub PAT to jobs that are reaching limit
URL: https://github.com/apache/arrow/issues/15228
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@arrow.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [arrow] assignUser commented on issue #15228: [R][CI] Add GitHub PAT to jobs that are reaching limit
Posted by "assignUser (via GitHub)" <gi...@apache.org>.
assignUser commented on issue #15228:
URL: https://github.com/apache/arrow/issues/15228#issuecomment-1486574751
> It seems build.secrets is a recent addition and a lot of our CI does not support it: https://github.com/apache/arrow/actions/runs/4537616583/jobs/7995647245?pr=34750#step:5:38
>
> So I don't really see a way forward - that does not include hardcoding an (ephemeral) Github PAT in the images - for this issue at the moment. I have not seen any builds failing due to timeout either though so shrug
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: github-unsubscribe@arrow.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] [R][CI] Add GitHub PAT to jobs that are reaching limit [arrow]
Posted by "thisisnic (via GitHub)" <gi...@apache.org>.
thisisnic commented on issue #15228:
URL: https://github.com/apache/arrow/issues/15228#issuecomment-3921592222
This issue has been marked as stale because it has had no activity in the past 2 years. Please remove the stale label or comment below, or this issue will be closed in 14 days.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: github-unsubscribe@arrow.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org