Michael B. Gale
3492b7e9ab
Change REMOTE_PATH_PREFIX to remote=
2026-07-16 12:43:48 +01:00
Michael B. Gale
3654baa924
Merge remote-tracking branch 'origin/main' into mbg/explicit-remote-prefix
2026-07-16 12:41:37 +01:00
Michael B. Gale
23f6a50753
Merge pull request #4009 from github/mbg/action-state/additions
...
Add `Api`, `ReadOnlyEnv`, and `Base` state features
2026-07-16 10:20:43 +00:00
github-actions[bot]
c31b06d582
Update default bundle to codeql-bundle-v2.26.1
2026-07-16 09:08:11 +00:00
Michael B. Gale
247ce88c8f
Gate changes behind new format FF
2026-07-15 16:14:55 +01:00
Michael B. Gale
decb87044a
Rename helper functions
2026-07-15 16:13:02 +01:00
Michael B. Gale
abce6483ea
Fix typo in comment
2026-07-15 16:11:50 +01:00
Michael B. Gale
23339952d6
Add expliciit prefix for remote file addresses
2026-07-15 15:59:23 +01:00
Michael B. Gale
57ca205769
Add AssertableTarget interface
2026-07-15 15:58:24 +01:00
Michael B. Gale
001d4ae610
Move the local path prefix into a constant
2026-07-15 15:56:52 +01:00
Michael B. Gale
6d3bde3729
Split up and document isLocal
2026-07-15 14:32:14 +01:00
Michael B. Gale
9832a9df15
Refactor parseNewRemoteFileAddress out of parseRemoteFileAddress
2026-07-15 14:32:07 +01:00
Michael B. Gale
c73d965e34
Add failing test for the issue
2026-07-15 14:31:49 +01:00
Michael B. Gale
9c0c11a49e
Add tests for loadUserConfig
2026-07-15 14:31:39 +01:00
Michael B. Gale
1a0eca3555
Validate proxy argument in tests
2026-07-14 19:33:01 +01:00
Michael B. Gale
d705aa30b5
Merge remote-tracking branch 'origin/main' into mbg/use-registry-proxy-for-repo-auth
2026-07-14 19:27:25 +01:00
Michael B. Gale
405f67d326
Add internal-error tags to diagnostics in mergeDefaultSetupAndUserConfigs
2026-07-14 19:22:35 +01:00
Michael B. Gale
f3d47397e8
Add tags parameter to makeTelemetryDiagnostic
2026-07-14 19:22:35 +01:00
Michael B. Gale
8aa21b44a3
Split DiagnosticMessage into BaseDiagnosticMessage
2026-07-14 19:22:35 +01:00
Michael B. Gale
358d197a13
Refactor source type into DiagnosticSource
2026-07-14 19:22:34 +01:00
Michael B. Gale
8bc3738008
Add DiagnosticTag type and tags property
2026-07-14 19:22:34 +01:00
Michael B. Gale
a1c676d2f6
Test proxy usage for getRemoteConfig
2026-07-14 17:02:22 +01:00
Michael B. Gale
47e9c29998
Log whether the proxy is picked up on
2026-07-14 17:02:07 +01:00
Michael B. Gale
b946565527
Add and use clone method for ReadOnlyEnv
2026-07-14 16:59:51 +01:00
Michael B. Gale
205b37b035
Use ActionState for getRegistryProxy
2026-07-14 16:17:51 +01:00
Michael B. Gale
6d70593fb7
Gate proxy usage behind FF
2026-07-14 16:12:38 +01:00
Michael B. Gale
80599cc5d9
Allow proxy to be threaded into createApiClientWithDetails
...
This will make it easier to gate the `getRegistryProxy` with a FF,
without the significant refactoring that is needed to thread the FFs
into `createApiClientWithDetails`
2026-07-14 16:07:08 +01:00
Michael B. Gale
28a0813a12
Fix comment
2026-07-14 14:44:54 +01:00
Michael B. Gale
3d2713f64e
Merge remote-tracking branch 'origin/main' into mbg/config/merge
2026-07-14 14:37:49 +01:00
Michael B. Gale
2f9048cfbd
Require BaseState to be declared explicitly
2026-07-14 10:12:44 +01:00
Michael B. Gale
2dbfdcaa83
Add Api to ActionState
2026-07-14 10:09:03 +01:00
Michael B. Gale
1542951d09
Type the API client
2026-07-14 10:09:03 +01:00
Michael B. Gale
4fb6147969
Add ReadOnlyEnv to FeatureState
2026-07-14 10:07:42 +01:00
Michael B. Gale
a29dee455c
Add minimal proxy init code
2026-07-13 16:15:58 +01:00
Michael B. Gale
5172487de5
Allow getTestEnv to be parameterised over initial env
2026-07-13 16:15:40 +01:00
Michael B. Gale
8763bac625
Add RegistryProxyVars enum
2026-07-13 16:15:40 +01:00
Michael B. Gale
0c2cea31ba
Break out of loop to allow result object to be updated after failing fast
2026-07-13 14:47:38 +01:00
Michael B. Gale
75773288da
Return function result from passes alongside assertion result
2026-07-13 10:27:29 +01:00
Michael B. Gale
3f1e4da48d
Propagate and prefer invalidKeys from element validator in array validator
2026-07-13 10:23:24 +01:00
Michael B. Gale
89343ee1aa
Fix checkSchema test names
2026-07-13 10:22:19 +01:00
Michael B. Gale
ba5fbf159a
Propagate CheckSchemaOptions to allow failFast to work as intended
2026-07-13 10:16:24 +01:00
Michael B. Gale
9a1225df61
Track invalid keys, and use more standard JSON path notation
2026-07-13 10:15:59 +01:00
Michael B. Gale
aec5441507
Add convenience functions to produce CheckSchemaResult values
2026-07-13 10:14:49 +01:00
Michael B. Gale
f8ed33e067
Remove keys from unrecognised set as soon as found
2026-07-13 10:14:13 +01:00
Michael B. Gale
ec0b8ae45f
Allow nested checking
2026-07-13 10:14:02 +01:00
Michael B. Gale
36ef889329
Improve type inference for object and validateSchema
2026-07-13 10:13:13 +01:00
Michael B. Gale
50d76e2fa3
Add an object Validator
2026-07-13 10:13:05 +01:00
Michael B. Gale
6a62e99aa7
Add an array Validator
2026-07-13 10:12:56 +01:00
Michael B. Gale
fb5048ee88
Add checkSchema function
2026-07-13 10:12:46 +01:00
Michael B. Gale
f181d70282
Update determineUserConfig tests to use new framework
2026-07-13 09:58:52 +01:00