Skip to content

#9202: add with cache brick with memoization/expiry #22074

#9202: add with cache brick with memoization/expiry

#9202: add with cache brick with memoization/expiry #22074

Triggered via pull request September 24, 2024 22:56
Status Failure
Total duration 17m 36s
Artifacts 8

ci.yml

on: pull_request
Matrix: end-to-end-tests / run-tests
Create report
33s
Create report
upload-to-codecov
0s
upload-to-codecov
Fit to window
Zoom out
Zoom in

Annotations

4 errors and 1 warning
brick headers: src/development/headers.test.ts#L57
expect(received).toHaveLength(expected) Expected length: 137 Received length: 138 Received array: [{"apiVersion": "v1", "header": true, "inputSchema": {"$schema": "https://json-schema.org/draft/2019-09/schema#", "properties": {"arguments": {"description": "The arguments to pass to the function", "title": "Arguments", "type": "object"}, "function": {"description": "The JavaScript function", "title": "Function", "type": "string"}}, "required": ["function"], "type": "object"}, "kind": "component", "metadata": {"description": "Run a JavaScript function and return the result", "id": "@pixiebrix/javascript", "name": "Run JavaScript Function", "version": "2.1.3-alpha.0"}, "outputSchema": undefined}, {"apiVersion": "v1", "header": true, "inputSchema": {"$schema": "https://json-schema.org/draft/2019-09/schema#", "properties": {"data": {"description": "The input data, or blank to process the data from the previous step"}, "filter": {"description": "jq filter expression", "type": "string"}}, "required": ["filter"], "type": "object"}, "kind": "component", "metadata": {"description": "Apply a jq expression: https://stedolan.github.io/jq/", "id": "@pixiebrix/jq", "name": "jq - JSON processor", "version": "2.1.3-alpha.0"}, "outputSchema": undefined}, {"apiVersion": "v1", "header": true, "inputSchema": {"$schema": "https://json-schema.org/draft/2019-09/schema#", "properties": {"allowJson5": {"default": true, "description": "Allow JSON5 syntax (default=true)", "title": "Allow JSON5", "type": "boolean"}, "content": {"description": "The JSON content", "title": "Content", "type": "string"}, "lenient": {"default": false, "description": "Attempt to recover from malformed JSON, e.g., leading/trailing text. Implies Allow JSON5 (default=false)", "title": "Lenient", "type": "boolean"}}, "required": ["content"], "type": "object"}, "kind": "component", "metadata": {"description": "Parse a JSON string, with JSON5 support", "id": "@pixiebrix/parse/json", "name": "Parse JSON", "version": "2.1.3-alpha.0"}, "outputSchema": undefined}, {"apiVersion": "v1", "header": true, "inputSchema": {"properties": {"path": {"description": "JSONPath expression", "type": "string"}}, "type": "object"}, "kind": "component", "metadata": {"description": "Apply a JSONPath expression: https://github.com/s3u/JSONPath", "id": "@pixiebrix/jsonpath", "name": "JSONPath", "version": "2.1.3-alpha.0"}, "outputSchema": undefined}, {"apiVersion": "v1", "header": true, "inputSchema": {"$schema": "https://json-schema.org/draft/2019-09/schema#", "properties": {"headers": {"additionalProperties": {"type": "string"}, "description": "Additional request headers", "type": "object"}, "params": {"additionalProperties": {"type": ["string", "number", "boolean"]}, "description": "The URL parameters", "type": "object"}, "service": {"$ref": "https://app.pixiebrix.com/schemas/service#/definitions/configuredServiceOrVar", "description": "Optional. The integration to authenticate the request, if authentication is required"}, "url": {"description": "The API URL", "format": "string", "type": "string"}}, "required": ["url"], "type": "object"}, "kind": "component", "metadata": {"description": "Fetch data from an API", "id": "@pixiebrix/get", "name": "[Deprecated] HTTP GET", "version": "2.1.3-alpha.0"}, "outputSchema": undefined}, {"apiVersion": "v1", "header": true, "inputSchema": {"$schema": "https://json-schema.org/draft/2019-09/schema#", "properties": {"data": {"description": "Supports a JSON payload provided by either a variable or an object", "title": "JSON Data"}, "headers": {"additionalProperties": {"type": "string"}, "description": "Additional request headers", "title": "Headers", "type": "object"}, "method": {"default": "post", "description": "The HTTP method", "enum": ["post", "put", "patch", "delete", "get"], "title": "Method", "type": "string"}, "params": {"additionalProperties": {"type": ["string", "number", "boolean"]}, "description": "Search/query params", "title": "Search Parameters", "type": "object"}, "service": {"$ref": "https://app.pixiebrix.com/schemas/service#/definitions/configured
generate-headers
Process completed with exit code 1.
brick headers: src/development/headers.test.ts#L57
expect(received).toHaveLength(expected) Expected length: 137 Received length: 138 Received array: [{"apiVersion": "v1", "header": true, "inputSchema": {"$schema": "https://json-schema.org/draft/2019-09/schema#", "properties": {"arguments": {"description": "The arguments to pass to the function", "title": "Arguments", "type": "object"}, "function": {"description": "The JavaScript function", "title": "Function", "type": "string"}}, "required": ["function"], "type": "object"}, "kind": "component", "metadata": {"description": "Run a JavaScript function and return the result", "id": "@pixiebrix/javascript", "name": "Run JavaScript Function", "version": "2.1.3-alpha.0"}, "outputSchema": undefined}, {"apiVersion": "v1", "header": true, "inputSchema": {"$schema": "https://json-schema.org/draft/2019-09/schema#", "properties": {"data": {"description": "The input data, or blank to process the data from the previous step"}, "filter": {"description": "jq filter expression", "type": "string"}}, "required": ["filter"], "type": "object"}, "kind": "component", "metadata": {"description": "Apply a jq expression: https://stedolan.github.io/jq/", "id": "@pixiebrix/jq", "name": "jq - JSON processor", "version": "2.1.3-alpha.0"}, "outputSchema": undefined}, {"apiVersion": "v1", "header": true, "inputSchema": {"$schema": "https://json-schema.org/draft/2019-09/schema#", "properties": {"allowJson5": {"default": true, "description": "Allow JSON5 syntax (default=true)", "title": "Allow JSON5", "type": "boolean"}, "content": {"description": "The JSON content", "title": "Content", "type": "string"}, "lenient": {"default": false, "description": "Attempt to recover from malformed JSON, e.g., leading/trailing text. Implies Allow JSON5 (default=false)", "title": "Lenient", "type": "boolean"}}, "required": ["content"], "type": "object"}, "kind": "component", "metadata": {"description": "Parse a JSON string, with JSON5 support", "id": "@pixiebrix/parse/json", "name": "Parse JSON", "version": "2.1.3-alpha.0"}, "outputSchema": undefined}, {"apiVersion": "v1", "header": true, "inputSchema": {"properties": {"path": {"description": "JSONPath expression", "type": "string"}}, "type": "object"}, "kind": "component", "metadata": {"description": "Apply a JSONPath expression: https://github.com/s3u/JSONPath", "id": "@pixiebrix/jsonpath", "name": "JSONPath", "version": "2.1.3-alpha.0"}, "outputSchema": undefined}, {"apiVersion": "v1", "header": true, "inputSchema": {"$schema": "https://json-schema.org/draft/2019-09/schema#", "properties": {"headers": {"additionalProperties": {"type": "string"}, "description": "Additional request headers", "type": "object"}, "params": {"additionalProperties": {"type": ["string", "number", "boolean"]}, "description": "The URL parameters", "type": "object"}, "service": {"$ref": "https://app.pixiebrix.com/schemas/service#/definitions/configuredServiceOrVar", "description": "Optional. The integration to authenticate the request, if authentication is required"}, "url": {"description": "The API URL", "format": "string", "type": "string"}}, "required": ["url"], "type": "object"}, "kind": "component", "metadata": {"description": "Fetch data from an API", "id": "@pixiebrix/get", "name": "[Deprecated] HTTP GET", "version": "2.1.3-alpha.0"}, "outputSchema": undefined}, {"apiVersion": "v1", "header": true, "inputSchema": {"$schema": "https://json-schema.org/draft/2019-09/schema#", "properties": {"data": {"description": "Supports a JSON payload provided by either a variable or an object", "title": "JSON Data"}, "headers": {"additionalProperties": {"type": "string"}, "description": "Additional request headers", "title": "Headers", "type": "object"}, "method": {"default": "post", "description": "The HTTP method", "enum": ["post", "put", "patch", "delete", "get"], "title": "Method", "type": "string"}, "params": {"additionalProperties": {"type": ["string", "number", "boolean"]}, "description": "Search/query params", "title": "Search Parameters", "type": "object"}, "service": {"$ref": "https://app.pixiebrix.com/schemas/service#/definitions/configured
test
Process completed with exit code 1.
prettier
The `python-version` input is not set. The version of Python currently in `PATH` will be used.

Artifacts

Produced during runtime
Name Size
build-staging-bundle-dependency-report Expired
561 KB
end-to-end-tests-report Expired
44.7 MB
end-to-end-tests-report-chrome-1 Expired
17.8 MB
end-to-end-tests-report-chrome-2 Expired
5.4 MB
end-to-end-tests-report-chrome-3 Expired
65.3 KB
end-to-end-tests-report-msedge-1 Expired
27.1 MB
end-to-end-tests-report-msedge-2 Expired
62.3 KB
end-to-end-tests-report-msedge-3 Expired
63.6 KB