Skip to content

chore(deps-dev): lock file maintenance #1648

chore(deps-dev): lock file maintenance

chore(deps-dev): lock file maintenance #1648

Triggered via pull request October 21, 2024 03:41
Status Failure
Total duration 2m 53s
Artifacts

ci.yaml

on: pull_request
Matrix: test
Check test results
0s
Check test results
Fit to window
Zoom out
Zoom in

Annotations

3 errors
src/matrix-cerbos/admin.test.ts > Client > admin > 'gRPC' > audit logs > planResources (conditional) > getDecisionLogEntry > looks up an decision log entry by call ID: private/test/src/matrix-cerbos/admin.test.ts#L518
AssertionError: expected undefined to deeply equal { …(6) } - Expected: Object { "auditTrail": Object { "effectivePolicies": Object { "resource.document.v1": Object { "driver": "disk", "source": "document.yaml", }, "resource.document.v1/test": Object { "driver": "disk", "source": "test/document.yaml", }, }, }, "callId": "01JAPJQJA2GXNGF268YJ4AW85R", "metadata": Object { "foo": Array [ "bar", ], }, "method": Object { "error": undefined, "input": Object { "action": "edit", "auxData": Object { "jwt": Object { "delete": true, }, }, "principal": Object { "attr": Object { "country": Object { "alpha2": "", "alpha3": "NZL", }, }, "id": "me@example.com", "policyVersion": "1", "roles": Array [ "USER", ], "scope": "test", }, "requestId": "plan-resources-unconditional", "resource": Object { "attr": Object {}, "kind": "document", "policyVersion": "1", "scope": "test", }, }, "name": "PlanResources", "output": Object { "action": "edit", "condition": PlanExpression { "operands": Array [ PlanExpressionVariable { "name": "request.resource.attr.owner", }, PlanExpressionValue { "value": "me@example.com", }, ], "operator": "eq", }, "conditionString": "(eq request.resource.attr.owner \"me@example.com\")", "kind": "KIND_CONDITIONAL", "policyVersion": "1", "requestId": "plan-resources-unconditional", "scope": "test", "validationErrors": Array [ Object { "message": "does not match pattern '[A-Z]{2}'", "path": "/country/alpha2", "source": "SOURCE_PRINCIPAL", }, ], }, }, "peer": Object { "address": StringMatching /^\d{1,3}(?:\.\d{1,3}){3}:\d{1,5}$/, "authInfo": "", "forwardedFor": StringContaining "1.1.1.1, 2.2.2.2, 3.3.3.3", "userAgent": "cerbos-sdk-javascript-grpc/0.18.3 grpc-node-js/1.12.2", }, "timestamp": Any<Date>, } + Received: undefined ❯ src/matrix-cerbos/admin.test.ts:518:31 ❯ Module.retry src/helpers.ts:265:14 ❯ retryUntilFound src/matrix-cerbos/admin.test.ts:489:13 ❯ src/matrix-cerbos/admin.test.ts:513:15
Test (Cerbos 0.38.1 | Node 23)
Process completed with exit code 1.
Check test results
Process completed with exit code 1.