diff --git a/modules/sync/envoyproxy/ratelimit/state.json b/modules/sync/envoyproxy/ratelimit/state.json index dd7c7a2b..26588dcb 100644 --- a/modules/sync/envoyproxy/ratelimit/state.json +++ b/modules/sync/envoyproxy/ratelimit/state.json @@ -143,6 +143,14 @@ { "name": "b9bb97adb5c47dbb34423a8b7f3f7d0b0b5b1960", "digest": "a5143ab9b34f3a1a924b01bc94a176c6d03b7ee26c1cb95c5836f5743bb6f5d3fc18665cf7b86c99705e452dfc35a7e1f3191b9154f7655297385760f55ca363" + }, + { + "name": "738fdce19390fbdbde300939d0d531ee6bce76a0", + "digest": "a5143ab9b34f3a1a924b01bc94a176c6d03b7ee26c1cb95c5836f5743bb6f5d3fc18665cf7b86c99705e452dfc35a7e1f3191b9154f7655297385760f55ca363" + }, + { + "name": "b2cf3b6cd558c5a26e4f81e79e7ab108a72cfed0", + "digest": "a5143ab9b34f3a1a924b01bc94a176c6d03b7ee26c1cb95c5836f5743bb6f5d3fc18665cf7b86c99705e452dfc35a7e1f3191b9154f7655297385760f55ca363" } ] } \ No newline at end of file diff --git a/modules/sync/google/cel-spec/cas/753d3dd88a5ed894f8710468ce30a787e25e9094460b324639f11b7efa0f303166689740ce8a32b466c5eed33dca2995140d656e783f37d0083efa8f8df20310 b/modules/sync/google/cel-spec/cas/753d3dd88a5ed894f8710468ce30a787e25e9094460b324639f11b7efa0f303166689740ce8a32b466c5eed33dca2995140d656e783f37d0083efa8f8df20310 new file mode 100644 index 00000000..b5c94e24 --- /dev/null +++ b/modules/sync/google/cel-spec/cas/753d3dd88a5ed894f8710468ce30a787e25e9094460b324639f11b7efa0f303166689740ce8a32b466c5eed33dca2995140d656e783f37d0083efa8f8df20310 @@ -0,0 +1,143 @@ +// Copyright 2024 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +// Simple end-to-end conformance tests. + +syntax = "proto3"; + +package cel.expr.conformance.test; + +import "cel/expr/checked.proto"; +import "cel/expr/eval.proto"; +import "cel/expr/value.proto"; + +option cc_enable_arenas = true; +option go_package = "cel.dev/expr/conformance/test"; +option java_multiple_files = true; +option java_outer_classname = "SimpleProto"; +option java_package = "dev.cel.expr.conformance.test"; + +// The format of a simple test file, expected to be stored in text format. +// A file is the unit of granularity for selecting conformance tests, +// so tests of optional features should be segregated into separate files. +message SimpleTestFile { + // Required. The name of the file. Should match the filename. + string name = 1; + + // A description of the file. + string description = 2; + + // The contained sections. + repeated SimpleTestSection section = 3; +} + +// A collection of related SimpleTests. +// +// The section is the unit of organization within a test file, and should +// guide where new tests are added. +message SimpleTestSection { + // Required. The name of the section. + string name = 1; + + // A description of the section. + string description = 2; + + // The contained tests. + repeated SimpleTest test = 3; +} + +// A test which should run the given CEL program through parsing, +// optionally through checking, then evaluation, with the results +// of the pipeline validated by the given result matcher. +message SimpleTest { + // Required. The name of the test, which should be unique in the test file. + string name = 1; + + // A description of the test. + string description = 2; + + // Required. The text of the CEL expression. + string expr = 3; + + // Disables all macro expansion in parsing. + bool disable_macros = 4; + + // Disables the check phase. + bool disable_check = 5; + + // Disables the evaluate phase. + bool check_only = 15; + + // The type environment to use for the check phase. + repeated cel.expr.Decl type_env = 6; + + // The container for name resolution. + string container = 13; + + // The locale to use for the evaluation phase. + string locale = 14; + + // Variable bindings to use for the eval phase. + map bindings = 7; + + // An unspecified result defaults to a matcher for the true boolean value. + oneof result_matcher { + // A normal value, which must match the evaluation result exactly + // via value equality semantics. This coincides with proto equality, + // except for: + // * maps are order-agnostic. + // * a floating point NaN should match any NaN. + cel.expr.Value value = 8; + + // A result and deduced expression type. + TypedResult typed_result = 16; + + // Matches error evaluation results. + cel.expr.ErrorSet eval_error = 9; + + // Matches one of several error results. + // (Using explicit message since oneof can't handle repeated.) + ErrorSetMatcher any_eval_errors = 10; + + // Matches unknown evaluation results. + cel.expr.UnknownSet unknown = 11; + + // Matches one of several unknown results. + // (Using explicit message since oneof can't handle repeated.) + UnknownSetMatcher any_unknowns = 12; + } + // Next is 17. +} + +// Matches a result along with deduced expression type. +message TypedResult { + // A normal value, which must match the evaluation result exactly + // via value equality semantics. This is ignored if the test is `check_only`. + cel.expr.Value result = 1; + + // The deduced type of the expression as reported by the checker. + cel.expr.Type deduced_type = 2; +} + +// Matches error results from Eval. +message ErrorSetMatcher { + // Success if we match any of these sets. + repeated cel.expr.ErrorSet errors = 1; +} + +// Matches unknown results from Eval. +message UnknownSetMatcher { + // Success if we match any of these sets. + repeated cel.expr.UnknownSet unknowns = 1; +} diff --git a/modules/sync/google/cel-spec/cas/d8e9e184cd0796918688775eaac94ae1d748b2add0e4d9c33a60eab9a4675e66c9c818b6dc896d4fca172c0d127a3f54b5d73c50526e39c18ca70dedaee129ec b/modules/sync/google/cel-spec/cas/d8e9e184cd0796918688775eaac94ae1d748b2add0e4d9c33a60eab9a4675e66c9c818b6dc896d4fca172c0d127a3f54b5d73c50526e39c18ca70dedaee129ec new file mode 100644 index 00000000..fd003227 --- /dev/null +++ b/modules/sync/google/cel-spec/cas/d8e9e184cd0796918688775eaac94ae1d748b2add0e4d9c33a60eab9a4675e66c9c818b6dc896d4fca172c0d127a3f54b5d73c50526e39c18ca70dedaee129ec @@ -0,0 +1,13 @@ +shake256:a9c4ad5b20a2946a25d5efb7f096b32ffaa567e3e9a7d89984870104aab45f08d7f6f10c7c72affdc4aabab0471066958ae97c3bb5925b7cb268f8afde27ebbf LICENSE +shake256:f919be9d99e84834dda39128ab7e5dc933b1dd06d313ce5862d45f659ada950cb3e41f4ed433adc05b5b7d1a99fa481aace6dbebb0548519d717f30727fc7c2c buf.md +shake256:4cee2ac14720719f03ed99dc8ee8f7251434ea67a611ff328b924c602115db40ce68472bfb25113b2a597c88b26d33b5dd87f8d9fe7602a756dc9fd849e24a31 buf.yaml +shake256:86f511e907d336b0e3dd72c984d28e086f68841636305d269a1fe42f6a146ce6e7204fa203b0d342468172ca46ba927b4ee9f11147bd35c49d13e83e32807151 cel/expr/checked.proto +shake256:e2b4287094e243a8faf8775c9d11f546cc0be24f32bdbf7083f9fb5bcf8349187de69cee0e81791560414d4dca2058c3e5000a699511917e071aae32183deb97 cel/expr/conformance/conformance_service.proto +shake256:b796e30951da7e75be34c52d352dda1e387ee4056e3476a0967f803d712414e3d2733105ce951e63212b332f90b5e039a82b410821bfb8a9a751df28e0f172ea cel/expr/conformance/proto2/test_all_types.proto +shake256:f99521a71c07c7718d21535c66f940eef007b392bfa399516067f4747542d0f09c93f7985694033a972d95d17f48efd7db24f135f02d91d918609865d5c5b5ac cel/expr/conformance/proto2/test_all_types_extensions.proto +shake256:a87997f4ae28610e17f09c0348de38e3b24196cc7aa4e046ba12bbbba0b986a0319626babe4c53e549dbdba527faab17cf9d74f0bf477a2688768e8020cca96b cel/expr/conformance/proto3/test_all_types.proto +shake256:753d3dd88a5ed894f8710468ce30a787e25e9094460b324639f11b7efa0f303166689740ce8a32b466c5eed33dca2995140d656e783f37d0083efa8f8df20310 cel/expr/conformance/test/simple.proto +shake256:842eff7f3541fc2f21260a8c8cdcd4c4e47a6ece9c9e98f33d29cb99cfea960148493e7f4e54ebde286b81326edd5095eb1611fe2988cd43f91e9db7a4cbd299 cel/expr/eval.proto +shake256:01031ca65d7c98fab0b1eebd130adb13130b12099bf077697a5c67deaa2c96fd0807a84369963c72537c49a39f7a003c43f750d19b46e9236216acf28764d5ca cel/expr/explain.proto +shake256:2f714e608581f3865ab1687caed197ec214d626422e5655c21b7b3f9f8acc3b9deda7d87b62731936d08ed3049087517e24b6ac68c19e288277228c258c3876a cel/expr/syntax.proto +shake256:2422598f36b5b5d874b3684a49c02ef87bc152eeb94adc054ca7eaf7c8aab87764546dfdf0f039b3c0b1012f231abc494e4a2b52cda7851573fade5355de1cd7 cel/expr/value.proto diff --git a/modules/sync/google/cel-spec/state.json b/modules/sync/google/cel-spec/state.json index 7d3cc425..50ee7279 100644 --- a/modules/sync/google/cel-spec/state.json +++ b/modules/sync/google/cel-spec/state.json @@ -31,6 +31,10 @@ { "name": "v0.18.0", "digest": "efce04a710dbd24cd399b2b53ec846428097617bbf7ca5cf5575fc5ab12318c83927db1187fdc41f4fe4a647e851bb960b387bdd53138bf2cedac55171d73387" + }, + { + "name": "v0.19.0", + "digest": "d8e9e184cd0796918688775eaac94ae1d748b2add0e4d9c33a60eab9a4675e66c9c818b6dc896d4fca172c0d127a3f54b5d73c50526e39c18ca70dedaee129ec" } ] } \ No newline at end of file diff --git a/modules/sync/googleapis/googleapis/state.json b/modules/sync/googleapis/googleapis/state.json index 93d94e07..6a8080d5 100644 --- a/modules/sync/googleapis/googleapis/state.json +++ b/modules/sync/googleapis/googleapis/state.json @@ -15023,6 +15023,18 @@ { "name": "d675ec222c431e3346ba8aaf0027392fe8b3d90c", "digest": "0ef3248c6235d420fe61f373154adcde6b94e3297f82472b1d8d8c3747240b61b4a10405e2a6f8ac1c98816ac6e690ea7871024aa5ae0e035cd540214667ceed" + }, + { + "name": "99a5e296c891faa79784687422b9d555bcf54a3f", + "digest": "0ef3248c6235d420fe61f373154adcde6b94e3297f82472b1d8d8c3747240b61b4a10405e2a6f8ac1c98816ac6e690ea7871024aa5ae0e035cd540214667ceed" + }, + { + "name": "4743cf9ecab30cb113a7809aacbdbbba376f79f6", + "digest": "0ef3248c6235d420fe61f373154adcde6b94e3297f82472b1d8d8c3747240b61b4a10405e2a6f8ac1c98816ac6e690ea7871024aa5ae0e035cd540214667ceed" + }, + { + "name": "349841abac6c3e580ccce6e3d6fcc182ed2512c2", + "digest": "0ef3248c6235d420fe61f373154adcde6b94e3297f82472b1d8d8c3747240b61b4a10405e2a6f8ac1c98816ac6e690ea7871024aa5ae0e035cd540214667ceed" } ] } \ No newline at end of file diff --git a/modules/sync/googlechrome/lighthouse/state.json b/modules/sync/googlechrome/lighthouse/state.json index 385de139..baa46157 100644 --- a/modules/sync/googlechrome/lighthouse/state.json +++ b/modules/sync/googlechrome/lighthouse/state.json @@ -19,6 +19,10 @@ { "name": "v12.2.2", "digest": "3bceb7112539f93fe825b1ec0f17ba86dc84a2672356478cd44c0a5fe6e2519b35fddc08f47a98889b537aad475f64aeda02b40751a624c6790b2e384becec75" + }, + { + "name": "v12.2.3", + "digest": "3bceb7112539f93fe825b1ec0f17ba86dc84a2672356478cd44c0a5fe6e2519b35fddc08f47a98889b537aad475f64aeda02b40751a624c6790b2e384becec75" } ] } \ No newline at end of file diff --git a/modules/sync/state.json b/modules/sync/state.json index b050e210..693e0294 100644 --- a/modules/sync/state.json +++ b/modules/sync/state.json @@ -30,7 +30,7 @@ }, { "module_name": "envoyproxy/ratelimit", - "latest_reference": "b9bb97adb5c47dbb34423a8b7f3f7d0b0b5b1960" + "latest_reference": "b2cf3b6cd558c5a26e4f81e79e7ab108a72cfed0" }, { "module_name": "gogo/protobuf", @@ -38,15 +38,15 @@ }, { "module_name": "google/cel-spec", - "latest_reference": "v0.18.0" + "latest_reference": "v0.19.0" }, { "module_name": "googleapis/googleapis", - "latest_reference": "d675ec222c431e3346ba8aaf0027392fe8b3d90c" + "latest_reference": "349841abac6c3e580ccce6e3d6fcc182ed2512c2" }, { "module_name": "googlechrome/lighthouse", - "latest_reference": "v12.2.2" + "latest_reference": "v12.2.3" }, { "module_name": "googlecloudplatform/bq-schema-api",