Commit Graph

56 Commits

Author SHA1 Message Date
Michael B. Gale
549683cee5 Make it clearer what the expectations for isUsernamePassword are 2026-04-30 12:49:49 +01:00
Michael B. Gale
70b2658d23 Validate Cloudsmith OIDC configurations 2026-04-25 18:36:21 +01:00
Michael B. Gale
530fcb3bbf Group OIDC schemas into an array 2026-04-25 18:36:19 +01:00
Henry Mercer
e6c21da23c Refactoring: Rename KnownLanguage to BuiltInLanguage 2026-04-10 19:09:47 +01:00
Henry Mercer
bad0a744dd Store all built-in languages
While we want the CodeQL Action to work with third-party language support, having a list of all built-in languages can help us create better type-level checks to ensure that we don't miss things that we want to customize for each of our built-in languages.
2026-04-10 19:09:46 +01:00
Michael B. Gale
d277a56348 Fix OIDC credential property names 2026-04-09 17:48:52 +01:00
Mario Campos
35a38985d3 Specify "Java" for a test case
Co-authored-by: Michael B. Gale <mbg@github.com>
2026-04-07 09:01:00 -05:00
Mario Campos
14ed573199 Specify "Go" for a test case
Co-authored-by: Michael B. Gale <mbg@github.com>
2026-04-07 09:01:00 -05:00
Mario Campos
43d8864b35 Run npm run lint-fix to format the code 2026-04-07 09:01:00 -05:00
Mario Campos
f8aff3ad8b Add tests for getCredentials with multiple goproxy_servers and maven_repositories 2026-04-07 09:01:00 -05:00
Michael B. Gale
d128e5daa8 Fix test names 2026-03-25 12:39:42 +00:00
Michael B. Gale
28f515d9ad Add tests for the absence of the warning 2026-03-16 19:34:33 +00:00
Michael B. Gale
0393130759 Add "token without a username" test 2026-03-16 19:34:32 +00:00
Michael B. Gale
f86097dfdb Add params for credentials and checkAccepted to testPATWarning 2026-03-16 19:34:32 +00:00
Michael B. Gale
6e67ef61f2 Refactor PAT test into a test.macro 2026-03-16 19:34:32 +00:00
Michael B. Gale
88bd340eb0 Add OIDC tests for getCredentials 2026-03-10 02:14:52 +00:00
Michael B. Gale
4649e158bc Fix old test 2026-03-10 02:14:52 +00:00
Michael B. Gale
3d574205fc Run more start-proxy tests in parallel 2026-03-10 02:14:52 +00:00
Michael B. Gale
e168f8e52a Move credentialToStr and update it 2026-03-10 02:14:52 +00:00
Michael B. Gale
37eb89b173 Add predicates for Auth types 2026-03-10 01:26:15 +00:00
Henry Mercer
8e17ec94b4 Merge branch 'main' into henrymercer/parallel-unit-tests 2026-03-04 13:25:01 +01:00
Henry Mercer
675af55c60 Run some unit tests in parallel 2026-03-04 12:40:22 +01:00
Michael B. Gale
8a1cd7656d Put change behind a FF 2026-03-01 15:07:47 +00:00
Michael B. Gale
bce0deb953 Fix log message / returned version 2026-02-26 13:55:47 +00:00
Michael B. Gale
db33d20bf4 Put change behind a FF 2026-02-26 13:10:52 +00:00
Michael B. Gale
3c911485ed Address Copilot's review comments 2026-02-26 13:07:03 +00:00
Michael B. Gale
f657c4e1eb Use getDefaultCliVersion for start-proxy 2026-02-25 17:43:15 +00:00
Michael B. Gale
e114998dda Add test for missing type 2026-02-11 17:15:45 +00:00
Michael B. Gale
bd36637537 Require validated Credential for credentialToStr 2026-02-11 17:13:01 +00:00
Michael B. Gale
57a47f44df Improve credentialToStr tests 2026-02-02 18:13:23 +00:00
Michael B. Gale
076d055bee Improve sendFailedStatusReport tests 2026-02-02 18:09:44 +00:00
Michael B. Gale
42fb267c1c Don't store error message in StartProxyError errors 2026-02-02 17:26:37 +00:00
Michael B. Gale
beb9f533db Add and use getProxyFilename 2026-01-29 15:19:36 +00:00
Michael B. Gale
d94d88d717 Add tests for getProxyBinaryPath 2026-01-29 15:06:20 +00:00
Michael B. Gale
28f6d316c0 Handle toolcache errors with StartProxyError 2026-01-29 14:16:36 +00:00
Michael B. Gale
1d0f911837 Handle extraction errors with StartProxyError 2026-01-29 13:45:46 +00:00
Michael B. Gale
05bd050f34 Add and use withRecordingLoggerAsync 2026-01-29 13:44:10 +00:00
Michael B. Gale
325a3a2ae3 Add wrapFailureTest test macro 2026-01-29 13:34:19 +00:00
Michael B. Gale
6394750070 Add test for sendFailedStatusReport 2026-01-29 13:19:37 +00:00
Michael B. Gale
f1588cde0c Add StartProxyError for status-report-safe errors, and use for proxy download 2026-01-29 12:38:04 +00:00
Michael B. Gale
2a384c1c14 Move credentialToStr and add tests 2026-01-29 10:07:51 +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
2ff418f28a Parse language before calling getCredentials 2025-10-08 13:01:35 +01:00
Michael B. Gale
e2636d2e4f Change "current release" to "linked release" 2025-09-12 11:15:03 +01:00
Michael B. Gale
9df23425dc Search release pointed at by defaults.json for registry proxy artifact 2025-09-11 18:56:19 +01:00
Michael B. Gale
8fe8b24202 Add git_source as supported registry type for Go 2025-09-04 14:06:50 +01:00
Henry Mercer
c481481d7d Merge branch 'main' into henrymercer/language-extensibility 2025-08-05 11:07:39 +01:00
Michael B. Gale
9281048a40 Include goproxy_server in configuration filtering tests 2025-06-27 14:32:16 +01:00
Michael B. Gale
6b83dc33ed Check for null in addition to undefined; extend tests accordingly 2025-06-27 14:32:16 +01:00
Michael B. Gale
ca0540d370 Check that individual proxy configurations are objects 2025-06-27 14:32:16 +01:00