Henry Mercer
3df6d20d31
Improve logs for combined SARIF debug artifact
...
Don't start a "Uploading combined SARIF debug artifact" log group if we aren't going to do the upload.
2025-02-12 16:27:40 +00:00
Andrew Eisenberg
f71067bd5f
Stop using feature-flag support for determining if a feature is active
...
Using the feature flag mechanism for checking if uploads are enabled was
too clunky. I'm moving the change to checking versions directly.
2025-01-26 13:42:15 -08:00
Andrew Eisenberg
2bab9f7984
Ensure artifacts are only uploaded in safe situations
...
This commit:
Turns on uploading of artifacts again but only if CLI version is
>= 2.20.3. I implemented the check using our feature flag functionality.
I was on the fence about this since it makes the PR more complex.
However, it does give us more flexibility when controlling artifact
uploads.
Also, I renamed the two workflows that were previously disabled. This
way we will not accidentally enable the old workflows for previous
versions of the action.
2025-01-25 15:31:35 -08:00
Angela P Wen
519de26711
Temporarily disable uploading debug artifacts
2025-01-22 10:35:38 -08:00
Angela P Wen
87548a27e8
Stop using the artifact_v4_upgrade feature flag
2024-12-04 12:05:11 -08:00
github-actions[bot]
44e03577b2
Rebuild
2024-12-03 18:39:38 +00:00
Angela P Wen
a196a714b8
Bump artifact dependencies if CODEQL_ACTION_ARTIFACT_V2_UPGRADE enabled ( #2482 )
...
Co-authored-by: Andrew Eisenberg <aeisenberg@github.com >
Co-authored-by: Henry Mercer <henrymercer@github.com >
2024-10-01 09:59:05 -07:00
Henry Mercer
6e24973d7a
Improve logging for combined SARIF debug artifact
2024-09-17 11:15:08 +02:00
Henry Mercer
d0a3cf2152
Improve logging for debug artifacts
2024-09-17 11:08:27 +02:00
Henry Mercer
78d398ebc6
Improve docs and method naming
2024-09-17 10:58:00 +02:00
Henry Mercer
213bf3678c
Improve documentation
2024-09-16 23:05:17 +02:00
Henry Mercer
dd7307d603
Refactoring: Simplify retrieving error message
2024-09-16 22:38:35 +02:00
Henry Mercer
bbd7c801a0
Fall back to partial database bundle if CLI command fails
2024-09-16 22:29:11 +02:00
Henry Mercer
80d7a6c8d4
Tolerate failures in uploading debug artifacts
2024-09-16 22:20:22 +02:00
Henry Mercer
d061f2cdd0
Handle CLI errors when creating debug artifacts
2024-09-16 18:39:39 +02:00
Angela P Wen
bc660fcf8c
Copy SARIF file to database location rather than move
2024-09-12 12:58:13 -07:00
Angela P Wen
e7716806b8
Rename upload-debug-artifacts to combined-sarif-artifacts
...
More accurately describes what these artifacts are, rather than the step they're uploaded in.
2024-09-12 12:56:38 -07:00
Angela P Wen
cb7faf53f6
Refactor: move combined SARIF debug artifact logic to debug-artifact
2024-09-12 12:55:49 -07:00
Angela P Wen
d4bfd40513
Use .push rather than .concat
2024-09-11 16:37:04 -07:00
Angela P Wen
4ba244037a
Rebuild: add transpiled files
2024-09-11 15:13:10 -07:00
Henry Mercer
ecb9ccfcb1
Fix new linter errors
2024-08-05 19:22:26 +01:00
github-actions[bot]
9cf3243b0b
Rebuild
2024-06-25 09:21:42 +00:00
Andrew Eisenberg
950748204e
Avoid failing when debug artifacts can't be uploaded
...
Failing to upload debug artifacts should not fail the action since
it is possible that the action has already succeeded by the time this
failure occurs.
2024-06-20 12:05:45 -07:00
Andrew Eisenberg
f5a82188bc
Add a retention period of 7 days
...
For debug artifacts. Ensures they don't stick around
too long since these can be large.
2024-01-10 13:31:52 -08:00
Angela P Wen
8e0b1c74b1
Add continueOnError: true for debug artifact upload ( #1895 )
2023-09-19 15:10:13 -07:00
Henry Mercer
d8fe76e161
Delete legacy tracing
2023-03-28 18:53:43 +01:00
Henry Mercer
5f644f971e
Upgrade TypeScript to 9.2.0
2023-01-18 20:59:57 +00:00
Angela P Wen
65d6ee0c51
Address review comments
2022-08-11 13:45:26 +02:00
Angela P Wen
7f86ddc26d
Move debug log printing back to actions util
2022-08-02 12:41:08 +02:00
Angela P Wen
a758ec55e8
Add more info messages to user, rename log printing function
2022-08-02 12:36:56 +02:00
Angela P Wen
eeee462f05
Move debug artifact methods into separate file
2022-08-02 12:27:52 +02:00