Commit Graph

7 Commits

Author SHA1 Message Date
Hugo Locurcio
c89583e0a1 Use HTTPS in compose-fetcher.js to remove SSH authentication requirement
The repository is public and is only accessed for reading,
so it doesn't need SSH to be cloned.
2025-12-10 01:03:35 +01:00
Rémi Verschelde
5d2cfdfed2 Replace node-fetch by builtin Node fetch API 2025-11-10 13:48:24 +01:00
Thaddeus Crews
4c69f71cfa Integrate GRAPHQL_TOKEN enhancements & checks 2025-06-26 10:27:50 -05:00
Winston
ebd926b99a Move json de-serialization into retry logic 2025-02-12 12:50:39 +01:00
Rémi Verschelde
d12bf295f9 compose-fetcher: Update node-fetch to 2.7.0 and increase max retries to 10
The library update seems to replace the abrupt closing of the app with no error
with actually raising an exception which we already handled.

So now failures look like this:

    Requesting batch 10/17 of commit and pull request data.
    Failed with status 502, retrying (1/10)...
    Error fetching pull request data: FetchError: Invalid response body while trying to fetch https://api.github.com/graphql: Premature close
   Terminating with an exit code 1.
2025-01-17 00:27:54 +01:00
Yuri Sizov
3a2c4debd7 Make data files more VCS friendly 2023-11-26 22:25:49 +01:00
Yuri Sizov
afc916a3c3 Extract main classes from the compose database script 2023-11-26 21:56:29 +01:00