Enforce maximum payload size #1167
Annotations
7 errors and 1 warning
|
__tests__/serialize.test.ts#L17
Error: Snapshot `serialize server to jsonschema > serialize entire service schema 1` mismatched
- Expected
+ Received
@@ -78,10 +78,26 @@
"code",
"message",
],
"type": "object",
},
+ {
+ "properties": {
+ "code": {
+ "const": "MAX_PAYLOAD_SIZE_EXCEEDED",
+ "type": "string",
+ },
+ "message": {
+ "type": "string",
+ },
+ },
+ "required": [
+ "code",
+ "message",
+ ],
+ "type": "object",
+ },
],
},
"init": {
"properties": {
"n": {
@@ -159,10 +175,26 @@
},
{
"properties": {
"code": {
"const": "CANCEL",
+ "type": "string",
+ },
+ "message": {
+ "type": "string",
+ },
+ },
+ "required": [
+ "code",
+ "message",
+ ],
+ "type": "object",
+ },
+ {
+ "properties": {
+ "code": {
+ "const": "MAX_PAYLOAD_SIZE_EXCEEDED",
"type": "string",
},
"message": {
"type": "string",
},
@@ -247,10 +279,26 @@
},
{
"properties": {
"code": {
"const": "CANCEL",
+ "type": "string",
+ },
+ "message": {
+ "type": "string",
+ },
+ },
+ "required": [
+ "code",
+ "message",
+ ],
+ "type": "object",
+ },
+ {
+ "properties": {
+ "code": {
+ "const": "MAX_PAYLOAD_SIZE_EXCEEDED",
"type": "string",
},
"message": {
"type": "string",
},
@@ -339,10 +387,26 @@
},
{
"properties": {
"code": {
"const": "CANCEL",
+ "type": "string",
+ },
+ "message": {
+ "type": "string",
+ },
+ },
+ "required": [
+ "code",
+ "message",
+ ],
+ "type": "object",
+ },
+ {
+ "properties": {
+ "code": {
+ "const": "MAX_PAYLOAD_SIZE_EXCEEDED",
"type": "string",
},
"message": {
"type": "string",
},
@@ -441,10 +505,26 @@
},
{
"properties": {
"code": {
"const": "CANCEL",
+ "type": "string",
+ },
+ "message": {
+ "type": "string",
+ },
+ },
+ "required": [
+ "code",
+ "message",
+ ],
+ "type": "object",
+ },
+ {
+ "properties": {
+ "code": {
+ "const": "MAX_PAYLOAD_SIZE_EXCEEDED",
"type": "string",
},
"message": {
"type": "string",
|
__tests__/serialize.test.ts#L23
Error: Snapshot `serialize service to jsonschema > serialize basic service 1` mismatched
- Expected
+ Received
@@ -65,10 +65,26 @@
"code",
"message",
],
"type": "object",
},
+ {
+ "properties": {
+ "code": {
+ "const": "MAX_PAYLOAD_SIZE_EXCEEDED",
+ "type": "string",
+ },
+ "message": {
+ "type": "string",
+ },
+ },
+ "required": [
+ "code",
+ "message",
+ ],
+ "type": "object",
+ },
],
},
"init": {
"properties": {
"n": {
@@ -146,10 +162,26 @@
},
{
"properties": {
"code": {
"const": "CANCEL",
+ "type": "string",
+ },
+ "message": {
+ "type": "string",
+ },
+ },
+ "required": [
+ "code",
+ "message",
+ ],
+ "type": "object",
+ },
+ {
+ "properties": {
+ "code": {
+ "const": "MAX_PAYLOAD_SIZE_EXCEEDED",
"type": "string",
},
"message": {
"type": "string",
},
@@ -234,10 +266,26 @@
},
{
"properties": {
"code": {
"const": "CANCEL",
+ "type": "string",
+ },
+ "message": {
+ "type": "string",
+ },
+ },
+ "required": [
+ "code",
+ "message",
+ ],
+ "type": "object",
+ },
+ {
+ "properties": {
+ "code": {
+ "const": "MAX_PAYLOAD_SIZE_EXCEEDED",
"type": "string",
},
"message": {
"type": "string",
},
@@ -326,10 +374,26 @@
},
{
"properties": {
"code": {
"const": "CANCEL",
+ "type": "string",
+ },
+ "message": {
+ "type": "string",
+ },
+ },
+ "required": [
+ "code",
+ "message",
+ ],
+ "type": "object",
+ },
+ {
+ "properties": {
+ "code": {
+ "const": "MAX_PAYLOAD_SIZE_EXCEEDED",
"type": "string",
},
"message": {
"type": "string",
},
@@ -428,10 +492,26 @@
},
{
"properties": {
"code": {
"const": "CANCEL",
+ "type": "string",
+ },
+ "message": {
+ "type": "string",
+ },
+ },
+ "required": [
+ "code",
+ "message",
+ ],
+ "type": "object",
+ },
+ {
+ "properties": {
+ "code": {
+ "const": "MAX_PAYLOAD_SIZE_EXCEEDED",
"type": "string",
},
"message": {
"type": "string",
},
@@ -559,10 +639,26 @@
},
{
"properties": {
"code": {
"const": "CANCEL",
+ "type": "string",
+ },
+ "message": {
+ "type": "string",
+ },
+ },
+ "required": [
+ "code",
+ "message",
+ ],
+ "type": "object",
+ },
+ {
+ "properties": {
+ "
|
__tests__/serialize.test.ts#L27
Error: Snapshot `serialize service to jsonschema > serialize service with binary 1` mismatched
- Expected
+ Received
@@ -65,10 +65,26 @@
"code",
"message",
],
"type": "object",
},
+ {
+ "properties": {
+ "code": {
+ "const": "MAX_PAYLOAD_SIZE_EXCEEDED",
+ "type": "string",
+ },
+ "message": {
+ "type": "string",
+ },
+ },
+ "required": [
+ "code",
+ "message",
+ ],
+ "type": "object",
+ },
],
},
"init": {
"properties": {
"file": {
β― __tests__/serialize.test.ts:27:49
|
__tests__/serialize.test.ts#L31
Error: Snapshot `serialize service to jsonschema > serialize service with errors 1` mismatched
- Expected
+ Received
@@ -109,10 +109,26 @@
"code",
"message",
],
"type": "object",
},
+ {
+ "properties": {
+ "code": {
+ "const": "MAX_PAYLOAD_SIZE_EXCEEDED",
+ "type": "string",
+ },
+ "message": {
+ "type": "string",
+ },
+ },
+ "required": [
+ "code",
+ "message",
+ ],
+ "type": "object",
+ },
],
},
"init": {
"properties": {
"a": {
@@ -222,10 +238,26 @@
"code",
"message",
],
"type": "object",
},
+ {
+ "properties": {
+ "code": {
+ "const": "MAX_PAYLOAD_SIZE_EXCEEDED",
+ "type": "string",
+ },
+ "message": {
+ "type": "string",
+ },
+ },
+ "required": [
+ "code",
+ "message",
+ ],
+ "type": "object",
+ },
],
},
"init": {
"properties": {},
"type": "object",
β― __tests__/serialize.test.ts:31:47
|
__tests__/serialize.test.ts#L35
Error: Snapshot `serialize service to jsonschema > serialize backwards compatible with v1 1` mismatched
- Expected
+ Received
@@ -65,10 +65,26 @@
"code",
"message",
],
"type": "object",
},
+ {
+ "properties": {
+ "code": {
+ "const": "MAX_PAYLOAD_SIZE_EXCEEDED",
+ "type": "string",
+ },
+ "message": {
+ "type": "string",
+ },
+ },
+ "required": [
+ "code",
+ "message",
+ ],
+ "type": "object",
+ },
],
},
"input": {
"properties": {
"n": {
@@ -146,10 +162,26 @@
},
{
"properties": {
"code": {
"const": "CANCEL",
+ "type": "string",
+ },
+ "message": {
+ "type": "string",
+ },
+ },
+ "required": [
+ "code",
+ "message",
+ ],
+ "type": "object",
+ },
+ {
+ "properties": {
+ "code": {
+ "const": "MAX_PAYLOAD_SIZE_EXCEEDED",
"type": "string",
},
"message": {
"type": "string",
},
@@ -234,10 +266,26 @@
},
{
"properties": {
"code": {
"const": "CANCEL",
+ "type": "string",
+ },
+ "message": {
+ "type": "string",
+ },
+ },
+ "required": [
+ "code",
+ "message",
+ ],
+ "type": "object",
+ },
+ {
+ "properties": {
+ "code": {
+ "const": "MAX_PAYLOAD_SIZE_EXCEEDED",
"type": "string",
},
"message": {
"type": "string",
},
@@ -326,10 +374,26 @@
},
{
"properties": {
"code": {
"const": "CANCEL",
+ "type": "string",
+ },
+ "message": {
+ "type": "string",
+ },
+ },
+ "required": [
+ "code",
+ "message",
+ ],
+ "type": "object",
+ },
+ {
+ "properties": {
+ "code": {
+ "const": "MAX_PAYLOAD_SIZE_EXCEEDED",
"type": "string",
},
"message": {
"type": "string",
},
@@ -428,10 +492,26 @@
},
{
"properties": {
"code": {
"const": "CANCEL",
+ "type": "string",
+ },
+ "message": {
+ "type": "string",
+ },
+ },
+ "required": [
+ "code",
+ "message",
+ ],
+ "type": "object",
+ },
+ {
+ "properties": {
+ "code": {
+ "const": "MAX_PAYLOAD_SIZE_EXCEEDED",
"type": "string",
},
"message": {
"type": "string",
},
@@ -559,10 +639,26 @@
},
{
"properties": {
"code": {
"const": "CANCEL",
+ "type": "string",
+ },
+ "message": {
+ "type": "string",
+ },
+ },
+ "required": [
+ "code",
+ "message",
+ ],
+ "type": "object",
+ },
+ {
+ "properties": {
+
|
|
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions/setup-node@v3, actions/cache@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
This job failed
Loading