Commit Graph

3334 Commits

Author SHA1 Message Date
Michael B. Gale 971592501c Consistently use "\n" to split lines, then trim extra characters if needed 2026-02-17 14:58:40 +00:00
Michael B. Gale 2abec3f0c3 Replace most occurrences of CSRA 2026-02-17 14:55:31 +00:00
Michael B. Gale 6d55dfff02 Reword error message 2026-02-17 14:49:34 +00:00
Michael B. Gale 5c96b6e3db Add JSDoc comments to upload-lib types 2026-02-17 14:40:16 +00:00
Michael B. Gale 44a4bea367 Fixup: add missing .env 2026-02-17 13:54:22 +00:00
Michael B. Gale 11c6c18818 Only run when debugging or test mode is enabled 2026-02-17 13:44:18 +00:00
Michael B. Gale 99fcc7b2a1 Check whether value is a URL in checkEnvVar and clear credentials
Note also that we run this after `getCredentials` which already instructs Actions to mask credentials that we know about in logs
2026-02-17 13:42:51 +00:00
Michael B. Gale c1d6ee5477 Fix typos 2026-02-17 13:31:01 +00:00
Michael B. Gale ef9cfd91a8 Clear GHA JAVA_HOME_* env vars for discoverActionsJdks test 2026-02-17 13:28:56 +00:00
Michael B. Gale 4250b466b2 Wrap checkProxyEnvironment call in try/catch for good measure 2026-02-17 13:17:49 +00:00
Michael B. Gale a3d7d36aa6 Find likely JDK locations and check configurations 2026-02-17 13:17:48 +00:00
Michael B. Gale 33e2dff082 Log information about proxy-related environment variables 2026-02-17 12:38:30 +00:00
Michael B. Gale bff89dcba4 Add enum for Java-related env var names 2026-02-17 11:37:25 +00:00
Michael B. Gale f315d82bd7 Rename csra to risk-assessment 2026-02-17 10:52:04 +00:00
Michael B. Gale ebce69a4b7 Merge pull request #3485 from github/mbg/java/network-debugging
Add feature to enable Java network debugging
2026-02-17 10:19:54 +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 d1689c9307 Use all 2026-02-17 09:53:49 +00:00
Michael B. Gale 147d1495e4 Merge pull request #3484 from github/mbg/cli/force-nightly
Add feature for forcing the `nightly` bundle in `dynamic` workflows
2026-02-16 22:37:31 +00:00
Michael B. Gale 3e37216660 Merge branch 'main' into mbg/java/network-debugging 2026-02-16 22:02:36 +00:00
Michael B. Gale aee29a19d7 Merge pull request #3473 from github/mbg/start-proxy/cert-gen
Improve proxy certificate generation
2026-02-16 17:19:30 +00:00
Michael B. Gale f8c75d3f32 Change diagnostic level to note 2026-02-16 17:12:12 +00:00
Michael B. Gale e315c6fd3b Add diagnostic when a nightly release is forced 2026-02-16 09:29:32 +00:00
Michael B. Gale e6a312a771 Allow addNoLanguageDiagnostic to be used without a Config 2026-02-16 09:13:06 +00:00
Michael B. Gale 73f5a29960 Complete JSDoc 2026-02-16 09:07:02 +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 e21e4ca93f Add debugging options to JAVA_TOOL_OPTIONS when FF is enabled 2026-02-15 18:12:51 +00:00
Michael B. Gale 595ce2dc3e Add JavaNetworkDebugging feature 2026-02-15 18:04:48 +00:00
Michael B. Gale d5f0374a1f Force nightly bundle when FF is enabled 2026-02-15 17:22:20 +00:00
Michael B. Gale 466a4f00eb Add unit test for tools: nightly 2026-02-15 17:19:12 +00:00
Michael B. Gale 817d568ca0 Improve docs in setup-codeql 2026-02-15 16:21:03 +00:00
Michael B. Gale 34d43db4c6 Add ForceNightly feature 2026-02-15 16:10:53 +00:00
Michael B. Gale db834c9e1d Use OfflineFeatures when !supportsFeatureFlags as well 2026-02-15 16:03:48 +00:00
Michael B. Gale 7af50a43c1 Restore test improvements from previous PR 2026-02-15 15:57:02 +00:00
Michael B. Gale 60dee3dbd3 Log when using OfflineFeatures for CCR 2026-02-15 15:55:03 +00:00
Michael B. Gale 0874cf9f8b Change FFs not supported log message 2026-02-15 15:51:06 +00:00
Michael B. Gale bc76ceafaf Add test to check that OfflineFeatures doesn't use the API client 2026-02-15 15:40:23 +00:00
Michael B. Gale 377300bcda Add mockCCR helper to testing-utils 2026-02-15 15:40:23 +00:00
Michael B. Gale ee8360df59 Move FF test utils out of main file 2026-02-15 15:40:23 +00:00
Michael B. Gale 9dcfdf2c9c Return OfflineFeatures for CCR 2026-02-15 15:40:22 +00:00
Michael B. Gale 2c9bc45d46 Abstract over FeatureEnablement implementations with initFeatures 2026-02-15 15:40:21 +00:00
Michael B. Gale 368f322a09 Add OfflineFeatures class 2026-02-15 15:40:20 +00:00
Michael B. Gale 5283c3ba5a Move getDefaultCliVersion out of GitHubFeatureFlags
It doesn't need to be in there since it doesn't depend on the API itself and call `getDefaultCliVersionFromFlags` directly
2026-02-15 15:40:19 +00:00
Michael B. Gale ea1a400e13 Revert "Merge pull request #3476 from github/henrymercer/retry-auth-errors"
This reverts commit 9658e23e5b, reversing
changes made to 2d6b98c7cf.
2026-02-15 15:39:04 +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 15a3d32df0 Extend uploadPayload tests to all analysis kinds 2026-02-12 22:28:27 +00:00
Michael B. Gale 9835994414 CSRA category does not need to be adjusted 2026-02-12 20:16:22 +00:00
Michael B. Gale 0ce6420f8e Validate CODEQL_ACTION_CSRA_ASSESSMENT_ID value 2026-02-12 20:15:18 +00:00
Henry Mercer 05bca54402 Apply suggestion from @Copilot
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2026-02-12 17:37:10 +00:00
Henry Mercer 876cecb383 Avoid requesting features in CCR 2026-02-12 16:53:19 +00:00