Commit Graph

9923 Commits

Author SHA1 Message Date
Michael B. Gale
e58424170f Merge pull request #4011 from github/mbg/add-diagnostic-tags
Add support for diagnostic tags, and use them for `mergeDefaultSetupAndUserConfigs`
codeql-bundle-v2.26.1
2026-07-15 09:28:34 +00: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
29d5e4cb18 Merge pull request #3994 from github/mbg/config/merge
Allow merging Default Setup `config` with config file
2026-07-14 14:23:09 +00: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
f133996fb5 Merge pull request #4006 from github/mbg/json/schema-checker
Add schema checker to `json` module
2026-07-13 15:28:24 +00: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
Michael B. Gale
2773684c29 Update test for changed test API 2026-07-13 09:31:38 +01:00
Michael B. Gale
66c15f441a Merge remote-tracking branch 'origin/main' into mbg/config/merge 2026-07-13 09:25:36 +01:00
Michael B. Gale
8096e4f957 Merge pull request #4005 from github/mbg/test-env/improvements
Improve `TestEnv` for cleaner tests
2026-07-11 05:25:00 +00:00
Michael B. Gale
85830a2768 Merge pull request #4000 from github/mbg/start-proxy/make-git-repos-always-available
Always enable `git_source` registries
2026-07-10 13:44:37 +00:00
Michael B. Gale
f630f8fd04 Report invalid keys separately 2026-07-10 14:39:08 +01:00
Michael B. Gale
26cbf9f504 Don't include nested keys that are unknown 2026-07-10 14:34:33 +01:00
Michael B. Gale
e26215c5d8 fixup! Track invalid keys, and use more standard JSON path notation 2026-07-10 14:25:15 +01:00
Michael B. Gale
0b10dee3ee Propagate CheckSchemaOptions to allow failFast to work as intended 2026-07-10 14:24:33 +01:00
Michael B. Gale
512bf6f1a3 Track invalid keys, and use more standard JSON path notation 2026-07-10 14:21:41 +01:00
Michael B. Gale
8d8f054dfa Add convenience functions to produce CheckSchemaResult values 2026-07-10 13:18:45 +01:00
Michael B. Gale
e4752e74e1 Remove keys from unrecognised set as soon as found 2026-07-10 13:10:25 +01:00
Michael B. Gale
cee0056fc0 Allow nested checking 2026-07-10 00:43:05 +01:00
Michael B. Gale
7c961fa357 Add diagnostic for unrecognised keys 2026-07-10 00:14:19 +01:00
Michael B. Gale
847e7af699 Log warning for unrecognised keys in Default Setup config 2026-07-10 00:11:17 +01:00
Michael B. Gale
29c712e0b7 Merge pull request #4002 from github/dependabot/npm_and_yarn/types/sinon-22.0.0
Bump @types/sinon from 21.0.1 to 22.0.0
2026-07-09 23:10:37 +00:00
Michael B. Gale
9573f05654 Improve type inference for object and validateSchema 2026-07-10 00:01:13 +01:00
Michael B. Gale
98dbd66eae Add an object Validator 2026-07-09 23:42:28 +01:00
Michael B. Gale
1f91ec8f3c Add an array Validator 2026-07-09 23:36:50 +01:00
Michael B. Gale
dc2d916874 Add checkSchema function 2026-07-09 23:28:02 +01:00
Michael B. Gale
6973946465 Check file on disk and mutated inputs 2026-07-09 23:09:14 +01:00
Michael B. Gale
6829d6ce38 Remove obsolete JSDoc parameter for loadUserConfig 2026-07-09 23:02:58 +01:00
Michael B. Gale
d2472aa525 Merge remote-tracking branch 'origin/main' into mbg/config/merge 2026-07-09 23:01:05 +01:00
Michael B. Gale
ff973a1072 Merge branch 'main' into mbg/start-proxy/make-git-repos-always-available 2026-07-09 22:55:04 +01:00
Michael B. Gale
ed1bc3d57d Merge branch 'main' into dependabot/npm_and_yarn/types/sinon-22.0.0 2026-07-09 22:54:39 +01:00
Michael B. Gale
ac331c28db Merge pull request #4003 from github/dependabot/github_actions/dot-github/workflows/actions-minor-ba9ed4b957
Bump the actions-minor group across 1 directory with 2 updates
2026-07-09 21:54:24 +00:00
Michael B. Gale
9a9ab4cc7d Make throwsAsync arg async 2026-07-09 22:45:33 +01:00
Michael B. Gale
d8866c2578 fixup! Add action vars helpers to BaseEnvBuilder 2026-07-09 22:40:38 +01:00