Re: A note about the dashboard

On Tue, 19 Mar 2024 at 14:50, Norm Tovey-Walsh <norm@saxonica.com> wrote:

> Hi folks,
>
> FYI: loading the dashboard makes requests to the GitHub API. The browser
> runs as an unautheticated user because I couldn't be bothered to work out
> the login dance and force everyone using the dashboard to login. GitHub
> rate limits unauthenticated API requests to 100 per hour.
>

Would it be possible to generate the dashboard when a PR gets built? That
is really the only time the dashboard would change, so then:
1. The dashboard would load instantly.
2. The dashboard wouldn't have this limit.


> If you reload the dashboard several times in the same hour, especially
> when there are a lot of open PRs, you may find that the page stops working.
>
> You have three options, basically:
>
> 1. Go for a brisk walk, clear your head, and come back in an hour.
> 2. Use a VPN to change your apparent IP address.
> 3. Navigate by hand.
>
> The URIs are predictable. For example, if you’re interested in the
> DeltaXML diff of the F&O document for PR #1100, it’s here:
>
>   https://qt4cg.org/pr/1100/xpath-functions-40/autodiff.html
>
> That will work even if the dashboard is currently rate limiting you.
>
>                                         Be seeing you,
>                                           norm
>
> --
> Norm Tovey-Walsh
> Saxonica
>

Received on Tuesday, 19 March 2024 18:55:42 UTC