Henry Mercer
c64c4070cc
Handle HTTP errors with httpStatusCode property
2025-10-20 14:38:02 +01:00
Michael B. Gale
2611d033d7
De-duplicate InitToolsDownloadFIelds definition
2025-10-16 19:03:46 +01:00
Michael B. Gale
e72fd9acb1
Add initial setup-codeql action
2025-10-12 14:14:06 +01:00
Michael B. Gale
527501d15d
Allow createStatusReportBase to accept a Partial<Config>
2025-10-08 13:01:35 +01:00
Michael B. Gale
7fb8378d93
Re-throw exception in createStatusReportBase when in test mode
2025-10-03 11:59:36 +01:00
Michael B. Gale
a506145f31
Add StartProxy to ActionName enum
2025-10-01 15:42:08 +01:00
Michael B. Gale
31bfb99f0d
Do not use stringified objects for dependency caching telemetry
2025-09-26 00:26:09 +01:00
Michael B. Gale
11480e326c
Add telemetry for restoring dependency caches
2025-09-23 11:50:15 +01:00
Michael B. Gale
37ddb03e0d
Add createInitWithConfigStatusReport function
2025-09-04 10:16:25 +01:00
Michael B. Gale
da9299646d
Move InitStatusReport types to status-report.ts
2025-09-04 10:06:34 +01:00
Michael B. Gale
d72c7f186a
Use analysisKinds from config in createStatusReportBase
...
Replaces the synthetic value for `analysisKinds`
2025-08-27 22:25:18 +01:00
Michael B. Gale
d062f2b421
Change analyses to analysis_kinds
2025-08-22 11:22:09 +01:00
Michael B. Gale
c208f33c55
Add analyses field with comma-separated list of analysis kinds to status reports
2025-08-21 15:31:34 +01:00
Henry Mercer
f681ad69a7
Add utility function to get testing environment
2025-05-14 14:10:19 +01:00
Fotis Koutoulakis (@NlightNFotis)
498c7f37e8
review-comments: unwrap error in upload-sarif-action and re-classify as ConfigurationError if in known error category
2025-04-02 15:20:03 +01:00
Fotis Koutoulakis (@NlightNFotis)
efd29bef22
refactor: revert getActionsStatus taking an extra argument
2025-04-02 15:13:00 +01:00
Fotis Koutoulakis (@NlightNFotis)
55ee663d5f
review-comments: refactor getActionsStatus to accept an extra parameter designating if the analysis is third-party
2025-04-01 14:58:59 +01:00
Fotis Koutoulakis (@NlightNFotis)
f21cf0bbd7
feat: reclassify InvalidSarifUploadError as a user-error when final status report is produced
2025-03-31 12:22:18 +01:00
Chuan-kai Lin
f88459c0a3
Use getRepositoryNwo()
2025-03-26 10:18:40 -07:00
Chuan-kai Lin
b0cd76b9fb
Move Git functions to git-utils.ts
2024-12-10 08:44:11 -08:00
Angela P Wen
f9ada54538
Telemetry: report OS release for GitHub-hosted Linux runners
2024-11-18 13:42:59 -08:00
Henry Mercer
dd7307d603
Refactoring: Simplify retrieving error message
2024-09-16 22:38:35 +02:00
Angela P Wen
edfef2739a
Further standardize doc URL messages
...
Always say "see $URL for more information" without parentheses.
2024-07-23 14:18:04 +02:00
Angela P Wen
7ad1090882
Refactor all doc URLs into their own enum
2024-07-23 14:17:34 +02:00
Henry Mercer
2f54d9fcfa
Enable no console rule
2024-06-13 19:47:29 +01:00
Angela P Wen
acdf23828a
Add steady_state_default_setup as field to base status report ( #2305 )
...
This will help us distinguish steady-state runs in default setup mode from advanced setup runs and default setup validation/onboarding runs.
2024-05-22 15:47:59 -07:00
Henry Mercer
5b74166227
Move BuildMode to util.ts
2024-04-12 16:37:13 +01:00
Angela P Wen
7df281f2fe
Gracefully continue if createStatusReportBase throws ( #2225 )
...
Previously, we weren't catching any possible exceptions in `createStatusReportBase` and runs would fail if any of the telemetry sub-items threw exceptions. As telemetry should not block the analysis, we continue here even if the status report throws.
2024-04-04 15:26:14 -07:00
Henry Mercer
e402144d13
Log job status in init-post
2024-03-13 19:09:34 +00:00
Henry Mercer
c0917251d4
Refactoring: Convert ActionName to enum
2024-02-29 11:29:32 +00:00
Henry Mercer
2c235f1a60
Use comma-separated list
2024-02-27 11:54:36 +00:00
Henry Mercer
60465730fb
Add event name to status report
2024-02-26 19:36:37 +00:00
Henry Mercer
e4a536270d
Add build mode to status report
2024-02-26 19:23:38 +00:00
Henry Mercer
28b564f8c6
Add languages to the status report for all jobs
2024-02-26 19:03:28 +00:00
nickfyson
f32f0bf8e4
ensure only the upload-sarif action can submit a status report with first_party_analysis=false
2024-02-21 14:01:56 +00:00
nickfyson
a7dc229496
add first_party_analysis boolean to all status reports
2024-02-20 14:58:26 +00:00
Josh Soref
5a6da1d85d
Treat status reports as non-critical
...
Change `sendStatusReport` to `void`
2024-02-12 13:56:10 -05:00
Angela P Wen
1515e2bb20
Refactor configuration errors ( #2105 )
...
Refactor the existing classes of configuration errors into their own file; consolidate the place we check for configuration errors into `codeql.ts`, where the actual command invocations happen.
Also, rename the `UserError` type to `ConfigurationError` to standardize on a single term.
2024-02-08 17:20:03 +00:00
Henry Mercer
f9dea84e29
Status report: Handle failures determining disk usage
2024-02-02 16:31:04 +00:00
Angela P Wen
61bf02577c
Send overall job status in init-post status report ( #2097 )
...
Co-authored-by: Henry Mercer <henry@henrymercer.name >
2024-01-26 05:11:46 -08:00
Michael B. Gale
74b46628c3
Support features key in version JSON output
2023-10-04 11:28:28 +01:00
Henry Mercer
3b25789080
Add runner image version to status report
2023-08-07 16:27:56 +01:00
Henry Mercer
7dcb3e5276
Include runner disk info in status report
2023-08-07 16:27:56 +01:00
Henry Mercer
09ce3dbf90
Sort interfaces and enums
2023-08-07 16:27:56 +01:00
Henry Mercer
c6d284324b
Pull out a dedicated status report file
2023-08-07 16:13:59 +01:00