Commit Graph

3903 Commits

Author SHA1 Message Date
Henry Mercer
919e8aaa40 Mention caveat in feature JSDoc 2026-01-26 11:00:04 +00:00
Henry Mercer
4918026b93 Use FF to disable baseline file coverage 2026-01-26 11:00:04 +00:00
Henry Mercer
e8c164b902 Remove unused database print-baseline 2026-01-26 11:00:03 +00:00
Michael B. Gale
9fccf271ff Warn if a private registry configuration uses a PAT, but has no username 2026-01-24 13:02:41 +00:00
Michael B. Gale
c12cf8d49a Move makeTestToken to testing-utils 2026-01-24 12:55:32 +00:00
Michael B. Gale
0fcbec3eec Add isAuthToken function, with tests 2026-01-24 12:38:14 +00:00
Michael B. Gale
0ae8b05d08 Extend unit tests to cover all token types 2026-01-24 12:25:40 +00:00
Michael B. Gale
49cdf744d9 Use enum for token types 2026-01-24 11:58:10 +00:00
Michael B. Gale
aac4202424 Add fine-grained tokens to GITHUB_TOKEN_PATTERNS 2026-01-24 11:52:53 +00:00
Henry Mercer
e7ece62b96 Add feature flag to skip file coverage information on PRs 2026-01-23 18:41:24 +00:00
Henry Mercer
d9e374ef85 Tolerate failures loading repository properties 2026-01-23 17:51:41 +00:00
Henry Mercer
f4b47e7013 Add result type 2026-01-23 17:51:02 +00:00
Henry Mercer
4e14537b54 Improve logging when no known repository properties found 2026-01-23 17:29:15 +00:00
Henry Mercer
e142eee9b4 Only load repository properties for repos owned by orgs 2026-01-23 17:20:30 +00:00
Henry Mercer
dcd1b12beb Simplify computation of job status
- Move it out of the failed SARIF reporting so we compute the job status
whether or not we have a CodeQL config.
- Add comments to clarify what happens in the case that the CodeQL
config is absent.
2026-01-23 17:07:21 +00:00
Henry Mercer
fba78720ca Address review comments 2026-01-23 12:22:31 +00:00
Henry Mercer
28bfb7b7b5 Omit error from start-proxy Action 2026-01-23 10:42:42 +00:00
Henry Mercer
91f3460006 Throw if in test mode 2026-01-23 10:40:51 +00:00
Henry Mercer
edebb7861e Differentiate unhandled errors in telemetry 2026-01-23 10:39:51 +00:00
Henry Mercer
529c266223 Use getErrorMessage in more places 2026-01-23 10:36:25 +00:00
Henry Mercer
6bd84b6a82 Rename to "unhandled" 2026-01-23 10:34:45 +00:00
Henry Mercer
229e0cd749 Add catch-all error reporting for errors that slip through run 2026-01-22 13:14:53 +00:00
Henry Mercer
14bd76753f Add reminder to minimise code outside try/catch 2026-01-22 11:31:17 +00:00
Henry Mercer
b715292b74 Move config saving within try-catch 2026-01-22 11:27:46 +00:00
Henry Mercer
7c72e12ecb Expand try-catch to cover more of Actions 2026-01-22 10:46:05 +00:00
Michael B. Gale
bc75091173 Add empty lines to test cases 2026-01-21 13:29:15 +00:00
Michael B. Gale
dc2428c879 Trim whitespace/remove empty lines 2026-01-21 13:27:47 +00:00
Michael B. Gale
cb2dd2ed29 Add telemetry diagnostic 2026-01-21 13:22:01 +00:00
Michael B. Gale
9e2fa7419d Use joinAtMost for log message 2026-01-21 13:12:28 +00:00
Michael B. Gale
6a02be43ee Add joinAtMost utility function 2026-01-21 13:10:50 +00:00
Michael B. Gale
d5b3d42fd4 Inline EnvVar.ANALYSIS_KEY in getAnalysisKey 2026-01-21 12:52:24 +00:00
Michael B. Gale
417a8c2176 Merge branch 'main' into mbg/ignore-generated 2026-01-21 12:44:35 +00:00
Michael B. Gale
d60bbdfd70 Merge pull request #3409 from github/mbg/start-proxy/make-unique-artifact
Ensure that proxy log artifacts have unique names
2026-01-20 14:24:28 +00:00
Michael B. Gale
1df1c9f85d Include expected suffixes in test 2026-01-20 13:55:25 +00:00
Michael B. Gale
9483bd5a7f Check that matrixObject is an object 2026-01-20 13:51:59 +00:00
Henry Mercer
b880a1a7bd Improve comment 2026-01-20 13:45:41 +00:00
Henry Mercer
5ac04769eb Rename argument 2026-01-20 13:39:43 +00:00
Michael B. Gale
1ac62705ed Change log message to warning 2026-01-20 13:25:25 +00:00
Michael B. Gale
9a57e78a04 Improving sorting of matrix keys 2026-01-20 13:21:16 +00:00
Michael B. Gale
7e96d45489 Use uploadArtifacts for start-proxy post action 2026-01-20 12:52:35 +00:00
Michael B. Gale
13eb1818b9 Refactor generic part of uploadDebugArtifacts into uploadArtifacts 2026-01-20 12:49:19 +00:00
Michael B. Gale
f950f7f442 Add unit tests for getArtifactSuffix 2026-01-20 12:41:35 +00:00
Michael B. Gale
69173ea009 Refactor artifact suffix computation into getArtifactSuffix 2026-01-20 12:41:22 +00:00
Michael B. Gale
4bd7556a48 Log when there are no generated files 2026-01-19 14:12:57 +00:00
Michael B. Gale
7beb64218a Move after Git version check 2026-01-19 14:12:04 +00:00
Michael B. Gale
546ea07303 Use linebreaks 2026-01-19 14:11:11 +00:00
Michael B. Gale
9c3f69d7a3 Add some logging 2026-01-19 14:04:41 +00:00
Michael B. Gale
5f5c095469 Add docs comments for listFiles and getGeneratedFiles 2026-01-19 13:49:42 +00:00
Michael B. Gale
c7d0b92094 Drop isDynamic check from isCCR
The analysis key already tells us this under normal conditions
2026-01-19 13:47:50 +00:00
Michael B. Gale
055e6b6f36 Add EnvVar constant for analysis key 2026-01-19 13:41:38 +00:00