Commit Graph

96 Commits

Author SHA1 Message Date
Michael B. Gale
4235601f6f Log error for non-default analysis-kinds input outside of managed workflows 2026-05-13 17:43:16 +01:00
Henry Mercer
0aedbb71d8 Merge branch 'main' into henrymercer/overlay-match-codeql-version 2026-05-08 19:10:45 +01:00
Michael B. Gale
6e3f985e4f Add wrapper for test.macro 2026-05-07 14:59:42 +01:00
Henry Mercer
b0942116d7 Expose all enabled default CLI versions 2026-05-06 17:45:56 +01:00
Henry Mercer
4e8c9ce33c Refactoring: Introduce overlay/caching.ts 2026-04-10 14:55:12 +01:00
Michael B. Gale
137e0dec2b Merge remote-tracking branch 'origin/main' into mbg/start-proxy/token-check-fixes 2026-03-25 12:39:48 +00:00
Michael B. Gale
de06821112 Add hasMessage to RecordingLogger 2026-03-16 19:34:33 +00:00
Michael B. Gale
ddafddb826 Replace getRecordingLogger implementation with RecordingLogger 2026-03-16 19:34:32 +00:00
Michael B. Gale
740f177889 Add assertNotLogged test helper 2026-03-16 19:34:32 +00:00
Henry Mercer
926e6dfee5 Stub RUNNER_NAME in unit tests 2026-03-11 20:16:47 +00:00
Henry Mercer
71d7981285 Address review comments 2026-03-04 13:27:59 +01:00
Henry Mercer
d4f1b14259 Use new setupActionsVars pattern 2026-03-03 19:24:18 +01:00
Henry Mercer
8a884bdb36 Extend setupActionsVars 2026-03-03 19:09:57 +01:00
Henry Mercer
e5f9d3b55e Merge pull request #3487 from github/henrymercer/overlay-status
Cache first failure building an overlay base DB to avoid repeated failures
2026-02-24 17:19:19 +00:00
Michael B. Gale
f59338d600 Remove isCCR 2026-02-24 10:33:23 +00:00
Michael B. Gale
559d85d1fa Merge pull request #3477 from github/mbg/features/offline-features 2026-02-20 15:36:07 +00:00
Michael B. Gale
b927a69f96 Merge remote-tracking branch 'origin/main' into mbg/features/offline-features 2026-02-17 17:14:08 +00:00
Michael B. Gale
61f7dd3d0d Fix checkExpectedLogMessages not asserting anything on success 2026-02-17 16:49:01 +00:00
Henry Mercer
d1bdc0ea05 Create separate directory for overlay source code 2026-02-17 15:54:03 +00:00
Michael B. Gale
b1b1e44da9 Merge pull request #3474 from github/mbg/risk-assessment-analysis
Add `csra` analysis kind
2026-02-17 15:39:05 +00:00
Michael B. Gale
ab2580041c Merge remote-tracking branch 'origin/main' into mbg/features/offline-features 2026-02-17 09:54:34 +00:00
Michael B. Gale
8b734d3bc2 Improve variable names and comments
Also set default `GITHUB_EVENT_NAME` in `setupActionsVars`
2026-02-16 08:54:19 +00:00
Michael B. Gale
377300bcda Add mockCCR helper to testing-utils 2026-02-15 15:40:23 +00:00
Michael B. Gale
e1933c66bd Find all missing messages in checkExpectedLogMessages 2026-02-12 23:22:33 +00:00
Michael B. Gale
edf36092cf Add RecordingLogger that keeps track of groups 2026-02-12 23:21:58 +00:00
Michael B. Gale
05bd050f34 Add and use withRecordingLoggerAsync 2026-01-29 13:44:10 +00:00
Henry Mercer
a02edfe319 Merge pull request #3424 from github/henrymercer/feature-skip-file-coverage-info-prs
Add feature flag to skip computing baseline file coverage information on PRs
2026-01-27 06:49:29 -08:00
Michael B. Gale
c12cf8d49a Move makeTestToken to testing-utils 2026-01-24 12:55:32 +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
35d39dfdb3 Introduce type error when CodeQL is needed 2026-01-05 16:22:40 +00:00
Henry Mercer
da77f9f638 Suppress debug logs for artifact scanner test 2025-12-17 10:25:48 +00:00
Michael B. Gale
594c0cc369 Store restored keys in action state 2025-11-14 14:30:54 +00:00
Michael B. Gale
913cd47984 Add checkExpectedLogMessages function to testing-utils 2025-10-17 15:09:04 +01:00
Michael B. Gale
3b00d03019 Load repository properties and store them in the Config 2025-09-20 14:09:07 +01:00
Michael B. Gale
4f56152a48 Store and check action version in Config 2025-09-10 13:33:17 +01:00
Michael B. Gale
87c5b58925 Remove augmentationProperties from Config 2025-09-03 12:56:58 +01:00
Michael B. Gale
e9fb72dd82 Move extraQueryExclusions out of AugmentationProperties 2025-09-03 12:13:58 +01:00
Michael B. Gale
ac9b91e745 Move overlay db settings from AugmentationProperties to Config 2025-09-02 18:02:12 +01:00
Michael B. Gale
c4d2772a75 Add computedConfig property to Config type 2025-09-02 18:01:49 +01:00
Michael B. Gale
fdb7cfe16e Update src/testing-utils.ts
Co-authored-by: Esben Sparre Andreasen <esbena@github.com>
2025-09-02 13:43:01 +01:00
Michael B. Gale
935698fa78 Fix missing/wrong properties in createTestConfig 2025-09-02 13:28:05 +01:00
Michael B. Gale
270f7ad1da Fix import order in testing-utils.ts 2025-08-27 22:27:45 +01:00
Michael B. Gale
c1efb64b83 Fix missing analysisKinds in createTestConfig 2025-08-27 22:24:32 +01:00
Chuan-kai Lin
da8dabf356 VersionInfo: add overlayVersion field 2025-08-08 08:47:24 -07:00
Henry Mercer
f8c2086872 Prefer providing CodeQL via dependency injection 2025-08-07 12:16:00 +01:00
Chuan-kai Lin
3eaefb4deb Replicate "too many feature flags" error in test 2025-07-16 07:06:52 -07:00
Chuan-kai Lin
b37e7e2c5d Move initializeFeatures() to testing-utils
This change eliminates the need for setup-codeql.test to import from
feature-flags.test, which makes the former run all tests defined in the
latter.
2025-07-11 09:54:40 -07:00
Chuan-kai Lin
64fce5856f Use exclude-from-incremental also for overlay analysis 2025-07-09 14:32:05 -07:00
github-actions[bot]
44e03577b2 Rebuild 2024-12-03 18:39:38 +00:00
Henry Mercer
33f2dc57a4 Enable zstd bundles on GHES and remove feature flag 2024-11-01 15:24:51 +00:00