Commit Graph

311 Commits

Author SHA1 Message Date
Michael B. Gale 048d0ea295 Address review comments 2026-03-10 15:54:58 +00:00
Michael B. Gale 1721ce7afd Address minor review comments 2026-03-03 11:05:37 +00:00
Michael B. Gale d7cfd19fb8 Move SARIF types out of util.ts 2026-03-01 13:42:46 +00:00
Henry Mercer 056b0912cf Merge branch 'main' into henrymercer/overlay-repo-property 2026-02-25 14:43:34 +00:00
Henry Mercer 445a2a9bb2 Record overlay disablement reason 2026-02-25 14:36:03 +00:00
Henry Mercer 16adc4e672 Merge pull request #3506 from github/henrymercer/result-better-inference
Improve type inference of `Result<T, E>`
2026-02-24 20:05:34 +00:00
Henry Mercer 2a607fea25 Update JSDoc
Co-authored-by: Michael B. Gale <mbg@github.com>
2026-02-24 19:28:27 +00:00
Henry Mercer e51b6a9a52 Update names in tests 2026-02-24 17:55:29 +00:00
Henry Mercer 160d27baf0 Improve type inference of Result<T, E> 2026-02-24 17:41:30 +00:00
Henry Mercer e5f9d3b55e Merge pull request #3487 from github/henrymercer/overlay-status
Cache first failure building an overlay base DB to avoid repeated failures
2026-02-24 17:19:19 +00:00
Henry Mercer fba33f686a Enable tseslint strict rules 2026-02-23 19:00:06 +00:00
Henry Mercer 5c583bbb19 Include diagnostics in bundle 2026-02-17 15:55:02 +00:00
Henry Mercer 9aa0515f67 Update comments 2026-01-28 11:33:06 +00:00
Henry Mercer d5dd165f8b Ensure default value is assignable if we have a Failure 2026-01-27 15:18:50 +00:00
Henry Mercer a0671be58e Add doc for Result 2026-01-27 15:07:46 +00:00
Henry Mercer 9ea34c5169 Result: Make use of type hint 2026-01-27 15:05:03 +00:00
Henry Mercer f4b47e7013 Add result type 2026-01-23 17:51:02 +00:00
Michael B. Gale 6a02be43ee Add joinAtMost utility function 2026-01-21 13:10:50 +00:00
Henry Mercer b880a1a7bd Improve comment 2026-01-20 13:45:41 +00:00
Henry Mercer 79939d8ca5 Copy OIDs from DB cluster to individual DBs 2026-01-09 19:08:36 +00:00
Henry Mercer d32cd4ddde Include base database OIDs when bundling database 2026-01-09 18:58:32 +00:00
Henry Mercer c07cc0d3a9 Merge pull request #3351 from github/henrymercer/ghec-dr-determine-tools-version-from-ffs
Determine CodeQL version from feature flags on GHEC-DR
2025-12-16 13:42:01 +00:00
Henry Mercer a2ee53c0d3 Use full names for GitHub variants 2025-12-16 13:23:24 +00:00
Henry Mercer 1fc7d3785d Rename GHE_DOTCOM to GHEC_DR
This more closely reflects the published naming https://docs.github.com/en/enterprise-cloud@latest/admin/data-residency/about-github-enterprise-cloud-with-data-residency
2025-12-10 17:41:19 +00:00
Henry Mercer 7a55ffeaf1 Determine CodeQL version from feature flags on GHEC-DR 2025-12-10 17:35:27 +00:00
Kasper Svendsen 8d91fa189d Rename getMemoryFlagValue 2025-11-27 15:56:29 +01:00
Henry Mercer 112cd075bd Merge branch 'main' into henrymercer/dead-code-elimination 2025-11-19 14:56:28 +00:00
Henry Mercer c649c5993d Upload overlay base DB to API behind FF 2025-11-18 18:43:19 +00:00
Henry Mercer cac5926de5 Delete unused exports 2025-11-18 18:16:54 +00:00
Mario Campos ed3a01336f Change v3 deprecation message to warning. 2025-11-17 08:59:44 -06:00
Mario Campos 6a63bc6af3 Change warning message to just v3 (exclude v1, v2). 2025-11-05 09:15:53 -06:00
Mario Campos 9366f80399 Reference GHES 3.20 in the comment, not 3.19.
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-11-04 12:00:11 -06:00
Mario Campos c443dff433 Simplify warning language to not enumerate deprecated versions. 2025-11-04 11:57:44 -06:00
Mario Campos ba82f9bd34 Fix deprecation warning to reflect that v3 is not actually deprecated yet. 2025-11-04 10:13:07 -06:00
Mario Campos 1aade295bc Update deprecation warnings for CodeQL Action to v4 2025-11-04 09:59:16 -06:00
Michael B. Gale 777daa0c71 Merge pull request #3239 from github/mbg/remove/add-snippets
Remove `add-snippets` input
2025-10-29 13:32:20 +00:00
Henry Mercer ea5cb4a016 Merge branch 'main' into henrymercer/prefer-fs-delete 2025-10-28 15:26:42 +00:00
Henry Mercer d84f470a9a Improve method naming 2025-10-28 13:06:14 +00:00
Henry Mercer 41c0a26213 Use Node fs APIs instead of del 2025-10-28 13:00:25 +00:00
Henry Mercer 57c7b6afb6 Disable SIP disablement check 2025-10-28 12:35:41 +00:00
Henry Mercer 239e305d18 Check disk usage using Node.js API
This was introduced in Node.js 18
2025-10-27 18:34:23 +00:00
Michael B. Gale db47d17142 Remove add-snippets input 2025-10-27 12:53:23 +00:00
Michael B. Gale ad35676669 Add getOptionalEnvVar function
Also add tests for it and `getRequiredEnvParam`
2025-10-24 15:00:42 +01:00
Henry Mercer 40e26468f3 Require message field too 2025-10-21 10:27:54 +01:00
Henry Mercer c64c4070cc Handle HTTP errors with httpStatusCode property 2025-10-20 14:38:02 +01:00
Paolo Tranquilli 25c8db918a Revert "Specify reason for skipping SARIF upload in logs"
This reverts commit 680b07003d.
2025-10-06 16:59:45 +02:00
Paolo Tranquilli 680b07003d Specify reason for skipping SARIF upload in logs 2025-10-06 15:39:29 +02:00
Paolo Tranquilli 882667e383 Update src/util.ts
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-10-06 15:22:34 +02:00
Paolo Tranquilli e0b9da7b0a Introduce CODEQL_ACTION_SKIP_SARIF_UPLOAD
This triggers a subset of the behavior of `CODEQL_ACTION_TEST_MODE`,
specifically just skipping the SARIF upload step. This is required for
our internal testing where we want the SARIF file (via
`CODEQL_ACTION_DUMP_SARIF_DIR`) but don't want to actually upload it,
but we don't want the rest of the behaviour of `CODEQL_ACTION_TEST_MODE`
that is specific for `codeql-action` own CI checks.
2025-10-06 14:38:32 +02:00
Michael B. Gale 91a63dc72c Remove undefined values from results of unsafeEntriesInvariant 2025-10-01 15:28:56 +01:00