Commit Graph

4002 Commits

Author SHA1 Message Date
Michael B. Gale
50f89f07cf Use lstat instead of stat 2026-10-22 13:53:09 +00:00
Michael B. Gale
07e32fb9bf Accept paths containing only major version
Also fix unescaped dot patterns in regex
2026-10-22 13:53:09 +00:00
Michael B. Gale
873af8e3e6 Include URL to announcement in diagnostic and log messages 2026-10-22 13:53:09 +00:00
Michael B. Gale
764d26858c Don't perform check for non-traced analyses 2026-10-22 13:53:09 +00:00
Michael B. Gale
abdcb4f319 Refactor non-Swift-specific parts out into traced.ts 2026-10-22 13:53:09 +00:00
Michael B. Gale
c1667d908b Rename feature to SkipUnsupportedTracedAnalysis 2026-10-22 13:53:09 +00:00
Michael B. Gale
23960f8e78 Move xcodeVersion to platform.ts 2026-10-22 13:53:09 +00:00
Michael B. Gale
c8f25f7624 Check if Xcode version is unsupported 2026-10-22 13:53:09 +00:00
Michael B. Gale
08b50c6860 Add function to determine Xcode version based on symlink 2026-10-22 13:53:09 +00:00
Michael B. Gale
6159e39bb5 Add FF to fail if macOS version is unsupported 2026-10-22 13:53:09 +00:00
Michael B. Gale
17ce15702d Check if macOS version is unsupported 2026-10-22 13:53:09 +00:00
Michael B. Gale
0b06d85d48 Skip Swift checks if tools feature is enabled 2026-10-22 13:53:09 +00:00
Michael B. Gale
010ab3e269 Use macOSVersion in isSwiftCompatible 2026-10-22 13:53:09 +00:00
Michael B. Gale
766f9e58bc Refactor swift check out of init-action.ts 2026-10-22 13:53:09 +00:00
Michael B. Gale
5a1e877d2d Make getCodeQLForCmd use Env 2026-10-22 13:53:09 +00:00
Michael B. Gale
a6f0856a9c Add osRelease to BaseState 2026-10-22 13:53:09 +00:00
Michael B. Gale
5196baec01 Merge remote-tracking branch 'origin/main' into mbg/diagnostics/failed-sarif 2026-10-22 14:24:21 +01:00
Henry Mercer
6aa7e65207 Merge remote-tracking branch 'origin/main' into henrymercer/graduate-overlay-version-match
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
2026-10-22 12:40:12 +01:00
Michael B. Gale
ac509b698f Merge branch 'main' into mbg/diagnostics/failed-sarif 2026-10-22 11:42:14 +01:00
Michael B. Gale
2d0d1c1dcd Merge branch 'main' into mbg/diagnostics/failed-sarif 2026-10-22 11:36:46 +01:00
Michael B. Gale
b79966a8ee Clean up path functions in diagnostics.ts and add some tests 2026-10-22 11:32:04 +01:00
Henry Mercer
54af742a29 Simplify the condition for overlay-aware version selection
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
2026-10-22 11:23:40 +01:00
Michael B. Gale
308d941317 Only warn for missing config if init was successful 2026-10-22 10:37:37 +01:00
Michael B. Gale
26f5c5e4e0 Improve logging and error handling in logTemporaryDiagnostics 2026-10-22 10:30:34 +01:00
Michael B. Gale
487ba2e156 Merge branch 'main' into mbg/deprecate-getRunnerLogger 2026-10-21 19:30:29 +01:00
Mario Campos
4e7f1a8de7 Merge pull request #4258 from github/mergeback/v4.39.1-to-main-9b325408
Mergeback v4.39.1 refs/heads/releases/v4 into main
2026-10-21 16:25:11 +00:00
Henry Mercer
0b9cddc4ff Merge pull request #4243 from github/henrymercer/remove-trap-cache-cleanup
Remove TRAP cache cleanup
2026-10-21 16:03:23 +00:00
Michael B. Gale
16aecb7bc0 Merge branch 'main' into mbg/deprecate-getRunnerLogger 2026-10-21 17:01:07 +01:00
github-actions[bot]
4cf3224289 Rebuild 2026-10-21 15:48:52 +00:00
Henry Mercer
961c8405b4 Merge remote-tracking branch 'origin/main' into henrymercer/graduate-overlay-version-match
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
2026-10-21 13:11:37 +01:00
Michael B. Gale
4707994e6e Don't include diagnostics if FF is off 2026-10-21 13:03:37 +01:00
Michael B. Gale
98b8e51380 Always check whether config file exists
And emit a warning if it doesn't
2026-10-21 12:28:26 +01:00
Michael B. Gale
d7bad7d923 Merge remote-tracking branch 'origin/main' into mbg/diagnostics/failed-sarif 2026-10-21 12:22:54 +01:00
Michael B. Gale
8357829c18 Use same sub-path in getDiagnosticsPath for no language case 2026-10-21 12:22:44 +01:00
Michael B. Gale
ba569ac626 Omit --sarif-codescanning-config if the config file doesn't exist 2026-10-20 17:48:17 +00:00
Michael B. Gale
581a0e148e Refactor writeTemporaryDiagnosticFile out of add[NoLanguage]Diagnostic 2026-10-20 17:48:17 +00:00
Michael B. Gale
64723df932 Use temporary diagnostic dir in generateFailedSarif 2026-10-20 17:48:17 +00:00
Michael B. Gale
67f25913cb Make diagnostics less dependent on global state
Add limited test coverage
2026-10-20 17:48:17 +00:00
Michael B. Gale
f422d8a874 Write diagnostics to temporary location when database isn't ready 2026-10-20 17:48:17 +00:00
Michael B. Gale
56e0d42f68 Refactor writeDiagnosticFile out of writeDiagnostic 2026-10-20 17:48:17 +00:00
Henry Mercer
c5a2f4b0fe Merge pull request #4245 from github/henrymercer/graduate-overlay-trap-caching
Graduate overlay TRAP caching defaults
2026-10-20 17:45:59 +00:00
Mario Campos
61a5a80dd9 Merge pull request #4256 from github/update-bundle/codeql-bundle-v2.27.3
Update default bundle to 2.27.3
2026-10-20 17:41:23 +00:00
Michael B. Gale
7fa45180db Use shouldSkipSarifUpload in analyze-action.ts 2026-10-20 18:06:24 +01:00
github-actions[bot]
72cb698832 Update default bundle to codeql-bundle-v2.27.3 2026-10-20 16:53:32 +00:00
Michael B. Gale
950b1479a1 Ensure that rootDirectory is suitable for sarifFile in uploadSarifArtifact 2026-10-20 16:07:25 +00:00
Michael B. Gale
5b69b28796 Improve logging in uploadSarifArtifact 2026-10-20 16:07:25 +00:00
Michael B. Gale
1d373e07cd Upload failed SARIF as workflow artifact in test mode 2026-10-20 16:07:25 +00:00
Michael B. Gale
e7340eea1b Skip waiting for SARIF if nothing was uploaded 2026-10-20 16:07:25 +00:00
Michael B. Gale
02fb8cc38a Propagate Config to combineSarifFilesUsingCLI 2026-10-20 16:07:25 +00:00
Michael B. Gale
6e9aec682d Add and use shouldSkipGenerateFailedSarif 2026-10-20 16:07:25 +00:00