Commit Graph

34 Commits

Author SHA1 Message Date
Henry Mercer c7884c6fd8 Clean up the database if it will be uploaded 2025-08-07 11:47:45 +01:00
Chuan-kai Lin 300d251cd6 build: refresh js files 2024-12-10 08:44:11 -08:00
github-actions[bot] 44e03577b2 Rebuild 2024-12-03 18:39:38 +00:00
github-actions[bot] 9cf3243b0b Rebuild 2024-06-25 09:21:42 +00:00
Henry Mercer 2f54d9fcfa Enable no console rule 2024-06-13 19:47:29 +01:00
Henry Mercer 12243c759f Disable database upload in test mode 2024-06-11 19:07:13 +01:00
Koen Vlaswinkel 24766fcf56 Fix trailing slash on uploads URL 2024-05-13 16:31:17 +02:00
Koen Vlaswinkel bc3670a4f4 Enable database uploads for GHEC-DR 2024-05-13 13:27:07 +02:00
Nora e62d946796 Add new param to test 2023-10-10 08:48:53 +00:00
Nora 8193a92e41 Await commitOid 2023-10-09 07:43:35 +00:00
Nora aed2e7f47f Add commit id to params 2023-10-06 13:16:13 +00:00
Nora 075eb6aaea Use getCommitOid to get the id 2023-10-05 14:47:51 +00:00
Nora 1727de39fe Add commit sha to database upload 2023-10-05 09:49:13 +00:00
Henry Mercer 5f644f971e Upgrade TypeScript to 9.2.0 2023-01-18 20:59:57 +00:00
Robert a9337bc304 Close stream after use 2023-01-09 11:00:43 +00:00
Robert e8f7169839 Move database bundling to inside the try-catch 2023-01-06 15:28:25 +00:00
Robert 6ce923c375 Use a stream when uploading database contents 2023-01-06 15:16:51 +00:00
Henry Mercer 9df773d1a3 Remove unneeded apiDetails input to getApiClient 2022-11-14 19:55:30 +00:00
Robert 8aa32bd9c9 Remove check of database uploads feature flag 2022-02-15 14:10:33 +00:00
Robin Neatherway 486633d442 Try string literal key 2022-01-25 16:33:09 +00:00
Robin Neatherway 751af2a9e3 Set contentType for database uploads 2022-01-24 15:54:46 +00:00
Robin Neatherway 1a686e7d76 Remove old upload path
The `useUploadDomain` approach is now fully enabled
2022-01-24 15:47:08 +00:00
Edoardo Pirovano e677af3fd0 Make name of debugging artifact and DB within it configurable 2022-01-07 15:10:26 +00:00
Henry Mercer 6d62c245ec Represent feature flags using an enum
Replaces the previous string literal type
2021-12-16 13:38:34 +00:00
Henry Mercer d6499fad61 Use new feature flag architecture when uploading databases 2021-12-15 13:17:05 +00:00
Robert c82e09aa41 Delete bundled db before recreating 2021-12-01 12:25:57 +00:00
Robert 460d053698 Upload using uploads.github.com if enabled for that repository 2021-12-01 12:13:46 +00:00
Edoardo Pirovano bc31f604d3 Add an option to upload some debugging artifacts 2021-11-01 16:12:50 +00:00
Andrew Eisenberg 40568daca8 Fix compile errors introduced by typescript 4.4.2
4.4.2 introduces a breaking change that the variable in a catch clause
is now `unknown` type. So, we need to cast the `e`, `err`, or `error`
variables to type `Error`.
2021-09-10 14:06:27 -07:00
Edoardo Pirovano 70d2efc353 Enforce a minimum version of CodeQL CLI 2021-08-18 11:48:12 +01:00
Edoardo Pirovano d9849b8ca1 Rebuild after TypeScript version bump 2021-07-27 17:59:59 +01:00
Robert 96edcdfd20 use templating for language param 2021-07-13 17:05:40 +01:00
Robert b0b9ab80cc Update databases URL 2021-07-13 14:09:56 +01:00
Robert 146c897909 Upload CodeQL databases 2021-06-22 13:05:12 +01:00