feat: prioritize organic deployments by adding priority message attribute #235
pr.yml
on: pull_request
pr
/
quay-build-push
1m 8s
Annotations
1 error and 1 warning
pr / quay-build-push
Error: buildah exited with code 1
Resolved "node" as an alias (/etc/containers/registries.conf.d/shortnames.conf)
Trying to pull docker.io/library/node:lts...
Getting image source signatures
Copying blob sha256:1ff1d9dbeea3a7bcdcbe189a94e4d0bf50130d9eca157d569a17d8d42d672e4f
Copying blob sha256:bf571be90f05e10949e4ae13071c81d3182077d926e3f84169a12e0ce2aec209
Copying blob sha256:fbf93b646d6b4d6612a25d50599f4d8e3c7785f83c6ba085219f9d4d334e8aa3
Copying blob sha256:fd0410a2d1aece5360035b61b0a60d8d6ce56badb9d30a5c86113b3ec724f72a
Copying blob sha256:7253960f3781fcc6d0c42f01b962cf19a1d877a0f01ba5458e5b64a83f606863
Copying blob sha256:684a51896c8291a1769034cf6e10971c82a82c43b6b4588d1c71d215953eaa61
Copying blob sha256:8eb526287d017e4c280c6ffd4f8825bc5ffcba8ce72de0681a2e1f2b7b22d0b4
Copying blob sha256:4ced8847d00f815c6848b966ca728109280a5db6c116099259f8562dfa024e5b
Copying config sha256:d9865b91c4377b8d2a551f62673b3aba4f870b3036e54cfe26b817685faec8ca
Writing manifest to image destination
debconf: delaying package configuration, since apt-utils is not installed
warning package.json: No license field
warning template-server: No license field
warning "@dcl/eslint-config > [email protected]" has unmet peer dependency "@babel/core@^7.0.0-0".
warning "@dcl/eslint-config > [email protected]" has unmet peer dependency "babel-plugin-module-resolver@^3.0.0 || ^4.0.0 || ^5.0.0".
warning package.json: No license field
warning package.json: No license field
PASS test/unit/adapters/deployer.spec.ts (6.64 s)
DeployerComponent
✓ should call mark as deployed when the entity is already stored (6 ms)
✓ should do nothing if the entity is already stored but does not define a markAsDeployed function (3 ms)
✓ should successfully deploy a new entity (3 ms)
✓ should handle retryable errors gracefully (7 ms)
✓ should handle non-retryable errors and mark the entity as deployed (5 ms)
✓ should handle errors before scheduling the job (2 ms)
FAIL test/unit/adapters/sns.spec.ts
SnsPublisherComponent
✕ should publish deployment message successfully (5 ms)
✕ should publish event message successfully (2 ms)
✓ should handle publish error and increment failure metric (4 ms)
● SnsPublisherComponent › should publish deployment message successfully
expect(jest.fn()).toHaveBeenCalledWith(...expected)
Expected: ObjectContaining {"input": ObjectContaining {"Message": "{\"entity\":{\"entityId\":\"entity-id\",\"entityType\":\"scene\",\"pointers\":[\"pointer1\"],\"authChain\":[],\"entityTimestamp\":1737125027789},\"contentServerUrls\":[\"server1\",\"server2\"]}", "MessageAttributes": {"subType": {"DataType": "String", "StringValue": "scene"}, "type": {"DataType": "String", "StringValue": "catalyst-deployment"}}, "TopicArn": "deployment-arn"}}
Received: {"deserialize": [Function de_PublishCommand], "input": {"Message": "{\"entity\":{\"entityId\":\"entity-id\",\"entityType\":\"scene\",\"pointers\":[\"pointer1\"],\"authChain\":[],\"entityTimestamp\":1737125027789},\"contentServerUrls\":[\"server1\",\"server2\"]}", "MessageAttributes": {"priority": {"DataType": "String", "StringValue": "Enabled"}, "subType": {"DataType": "String", "StringValue": "scene"}, "type": {"DataType": "String", "StringValue": "catalyst-deployment"}}, "TopicArn": "deployment-arn"}, "middlewareStack": {"add": [Function add], "addRelativeTo": [Function addRelativeTo], "applyToStack": [Function cloneTo], "clone": [Function clone], "concat": [Function concat], "identify": [Function identify], "identifyOnResolve": [Function identifyOnResolve], "remove": [Function remove], "removeByTag": [Function removeByTag], "resolve": [Function resolve], "use": [Function use]}, "serialize": [Function se_PublishCommand]}
Number of calls: 1
109 |
110 | function expectSendToHaveBeenCalledWith(expectedMessage: any, arn: string) {
> 111 | expect(mockClient.send).toHaveBeenCalledWith(
| ^
112 | expect.objectContaining({
113 | input:
|
pr / quay-build-push
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|