Commit Graph

4212 Commits

Author SHA1 Message Date
Michael B. Gale
8b19ef289d Allow to explicitly not skip the SARIF upload 2026-10-15 14:35:40 +01:00
Michael B. Gale
f80ca03949 Merge branch 'main' into mbg/diagnostics/failed-sarif 2026-10-15 14:26:52 +01:00
Michael B. Gale
8dec0b9f88 Rename path to result in tests 2026-10-15 11:03:10 +01:00
Michael B. Gale
4eabea6b5e Merge remote-tracking branch 'origin/main' into mbg/start-proxy/report-version 2026-10-15 10:31:39 +01:00
Michael B. Gale
2a3e7563aa Merge pull request #4148 from github/mbg/improve-checkout-path
Validate `checkout_path` input in `analyze` action
2026-10-14 14:52:50 +00:00
Michael B. Gale
f460dc7f72 Merge pull request #4206 from github/mbg/set-restore-keys
Include primary cache keys as restore key
2026-10-14 14:45:03 +00:00
Michael B. Gale
28d5dd9818 Revert "Allow logging functions to accept string[] directly"
This reverts commit 909fda1468.
2026-10-14 15:07:40 +01:00
Michael B. Gale
962aaad938 Rename proxyBin to proxyDir 2026-10-14 13:58:37 +01:00
Michael B. Gale
71ad3a794a Fix typo in log message 2026-10-14 13:57:43 +01:00
Michael B. Gale
9da96258e6 Merge remote-tracking branch 'origin/main' into mbg/start-proxy/deprecate-fallback 2026-10-14 13:56:57 +01:00
Michael B. Gale
4f747696ca Merge branch 'main' into mbg/improve-checkout-path 2026-10-14 10:57:57 +01:00
Michael B. Gale
d0bbbf819a Log when we didn't get a normal configuration file 2026-10-14 10:35:31 +01:00
Michael B. Gale
0570c2f5e9 Upload failed SARIF as workflow artifact in test mode 2026-10-14 10:35:30 +01:00
Michael B. Gale
a033fca529 Add test for new generateFailedSarif behaviour 2026-10-14 10:35:30 +01:00
Michael B. Gale
6964da9adb Address EXDEV issue 2026-10-14 10:35:30 +01:00
Michael B. Gale
33049e1967 Handle failures in writeTemporaryDiagnosticFile 2026-10-14 10:35:30 +01:00
Michael B. Gale
7e304e9cf7 Refactor writeTemporaryDiagnosticFile out of add[NoLanguage]Diagnostic 2026-10-14 10:35:29 +01:00
Michael B. Gale
555b654c2c Fix typos 2026-10-14 10:35:29 +01:00
Michael B. Gale
1b0a4317e7 Fix hardcoded path separator 2026-10-14 10:35:29 +01:00
Michael B. Gale
3d2a6f22f2 Use temporary diagnostic dir in generateFailedSarif 2026-10-14 10:35:28 +01:00
Michael B. Gale
f61e1c4fea Make diagnostics less dependent on global state
Add limited test coverage
2026-10-14 10:35:28 +01:00
Michael B. Gale
ed5bb3c5a3 Write diagnostics to temporary location when database isn't ready 2026-10-14 10:35:28 +01:00
Michael B. Gale
bf28f43414 Refactor writeDiagnosticFile out of writeDiagnostic 2026-10-14 10:35:28 +01:00
Michael B. Gale
15800587e3 Add unit test for sendSuccessStatusReport 2026-10-14 10:31:29 +01:00
Michael B. Gale
6aee1f8ef9 Sort registry_types in status report 2026-10-14 10:30:14 +01:00
Michael B. Gale
43db2c064c Include proxy version in telemetry 2026-10-13 19:12:13 +01:00
Michael B. Gale
6308e366c9 Return release version from getProxyBinaryPath 2026-10-13 19:06:14 +01:00
Michael B. Gale
aa80ca0686 Move start-proxy status report handling into its own file 2026-10-13 18:59:11 +01:00
Michael B. Gale
b67b5abe29 Use parseRepositoryNwo in getCodeQLAssetDownloadURL 2026-10-13 12:13:59 +01:00
Michael B. Gale
9645acc2ff Revert config === undefined condition 2026-10-12 22:54:47 +01:00
Michael B. Gale
6a9f7e7fc3 Log if returning early from recordOverlayStatus due to no languages 2026-10-12 22:50:11 +01:00
Michael B. Gale
67f44bc916 Use Logger for printDebugLogs and log when returning early 2026-10-12 22:48:21 +01:00
Michael B. Gale
26c6f91e6b Throw if aborted config functions are called incorrectly 2026-10-12 22:42:38 +01:00
Michael B. Gale
e3aeabd8f1 Fix example in comment 2026-10-12 22:40:25 +01:00
Michael B. Gale
be78e02f2d Fix comment 2026-10-12 22:39:34 +01:00
Michael B. Gale
bed4cc0475 Add log message for !config.dbLocation case 2026-10-12 22:39:08 +01:00
Michael B. Gale
5aa103d050 Add InstanceURL and use in DownloadSource 2026-10-12 15:52:22 +01:00
Michael B. Gale
8fed29eed7 Rename apiURL to instanceURL 2026-10-12 15:47:52 +01:00
Michael B. Gale
a1794a03ff Fix mockGetReleaseByTag usage 2026-10-12 15:45:21 +01:00
Michael B. Gale
ac44fd0901 Remove duplicated assertions 2026-10-12 15:41:25 +01:00
Michael B. Gale
dd3898ae58 Await toolcache.downloadTool 2026-10-12 15:40:20 +01:00
Michael B. Gale
3d7016f514 Log more in getProxyBinaryPath 2026-10-12 15:39:38 +01:00
Michael B. Gale
06bd6e2f9d DotCom => Dotcom 2026-10-12 15:31:11 +01:00
Michael B. Gale
fdc069b4ec Use DownloadSource for potentialDownloadSources 2026-10-12 15:29:50 +01:00
Michael B. Gale
e93db40cce Use "asset" in comment 2026-10-12 15:28:55 +01:00
Michael B. Gale
1a92e13c5e Use GITHUB_DOTCOM_URL in getDefaultDotComDownloadURL 2026-10-12 15:28:23 +01:00
Michael B. Gale
ad8ebce293 Add and use RepositoryNwoStr type 2026-10-12 15:27:49 +01:00
Michael B. Gale
c1b620cc0e Allow initializeEnvironment to accept Env 2026-10-12 15:16:08 +01:00
Michael B. Gale
265d882341 Merge branch 'main' into mbg/start-proxy/deprecate-fallback 2026-10-12 14:52:24 +01:00
Michael B. Gale
099333712f Merge branch 'main' into mbg/set-restore-keys 2026-10-12 14:50:03 +01:00