@balena/open-balena-api 30.2.0-build-service-install-as-async-job-2ab0e0c87e1e4d1c4268018c5ccef814a0f69b5b-1 → 30.2.0-build-service-install-as-async-job-a128dddb300ea7b30d583b508cfb4f6cbd9f4b08-1
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/features/ci-cd/hooks/service-installs.js +2 -3
- package/dist/features/ci-cd/hooks/service-installs.js.map +1 -1
- package/dist/features/ci-cd/tasks/service-installs.js +2 -3
- package/dist/features/ci-cd/tasks/service-installs.js.map +1 -1
- package/dist/features/vars-schema/hooks/vars-update-trigger.js +26 -10
- package/dist/features/vars-schema/hooks/vars-update-trigger.js.map +1 -1
- package/dist/lib/config.d.ts +1 -0
- package/dist/lib/config.js +1 -0
- package/dist/lib/config.js.map +1 -1
- package/package.json +2 -2
@@ -1,7 +1,6 @@
|
|
1
1
|
import _ from 'lodash';
|
2
2
|
import { sbvrUtils, hooks, permissions } from '@balena/pinejs';
|
3
|
-
import {
|
4
|
-
import { ASYNC_TASK_CREATE_SERVICE_INSTALLS_BATCH_SIZE, ASYNC_TASK_CREATE_SERVICE_INSTALLS_ENABLED, ASYNC_TASKS_ENABLED, } from '../../../lib/config.js';
|
3
|
+
import { ASYNC_TASK_ATTEMPT_LIMIT, ASYNC_TASK_CREATE_SERVICE_INSTALLS_BATCH_SIZE, ASYNC_TASK_CREATE_SERVICE_INSTALLS_ENABLED, ASYNC_TASKS_ENABLED, } from '../../../lib/config.js';
|
5
4
|
const createServiceInstallsAsync = async (api, deviceFilterOrIds, tx) => {
|
6
5
|
const deviceIds = Array.isArray(deviceFilterOrIds)
|
7
6
|
? deviceFilterOrIds
|
@@ -17,11 +16,11 @@ const createServiceInstallsAsync = async (api, deviceFilterOrIds, tx) => {
|
|
17
16
|
resource: 'task',
|
18
17
|
passthrough: { req: permissions.root, tx },
|
19
18
|
body: {
|
20
|
-
key: randomUUID(),
|
21
19
|
is_executed_by__handler: 'create_service_installs',
|
22
20
|
is_executed_with__parameter_set: {
|
23
21
|
devices: deviceBatch,
|
24
22
|
},
|
23
|
+
attempt_limit: ASYNC_TASK_ATTEMPT_LIMIT,
|
25
24
|
},
|
26
25
|
});
|
27
26
|
}));
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"service-installs.js","sourceRoot":"","sources":["../../../../src/features/ci-cd/hooks/service-installs.ts"],"names":[],"mappings":"AAAA,OAAO,CAAC,MAAM,QAAQ,CAAC;AACvB,OAAO,EAAE,SAAS,EAAE,KAAK,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;
|
1
|
+
{"version":3,"file":"service-installs.js","sourceRoot":"","sources":["../../../../src/features/ci-cd/hooks/service-installs.ts"],"names":[],"mappings":"AAAA,OAAO,CAAC,MAAM,QAAQ,CAAC;AACvB,OAAO,EAAE,SAAS,EAAE,KAAK,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAI/D,OAAO,EACN,wBAAwB,EACxB,6CAA6C,EAC7C,0CAA0C,EAC1C,mBAAmB,GACnB,MAAM,wBAAwB,CAAC;AAEhC,MAAM,0BAA0B,GAAG,KAAK,EACvC,GAA+B,EAC/B,iBAAuD,EACvD,EAAM,EACU,EAAE;IAClB,MAAM,SAAS,GAAG,KAAK,CAAC,OAAO,CAAC,iBAAiB,CAAC;QACjD,CAAC,CAAC,iBAAiB;QACnB,CAAC,CAAC,CACA,MAAM,GAAG,CAAC,GAAG,CAAC;YACb,QAAQ,EAAE,QAAQ;YAClB,OAAO,EAAE;gBACR,OAAO,EAAE,IAAI;gBACb,OAAO,EAAE,iBAAiB;aAC1B;SACD,CAAC,CACF,CAAC,GAAG,CAAC,CAAC,EAAE,EAAE,EAAE,EAAE,EAAE,CAAC,EAAE,CAAC,CAAC;IAExB,MAAM,OAAO,CAAC,GAAG,CAChB,CAAC,CAAC,KAAK,CAAC,SAAS,EAAE,6CAA6C,CAAC,CAAC,GAAG,CACpE,KAAK,EAAE,WAAW,EAAE,EAAE;QACrB,OAAO,MAAM,SAAS,CAAC,GAAG,CAAC,K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AC,MAAM,KAAK,CAAC,EAAE,CAAC;gBACnD,MAAM,4BAA4B,CACjC,GAAG,EACH,WAAW,EACX;oBACC,EAAE,EAAE,SAAS;iBACb,EACD,EAAE,CACF,CAAC;YACH,CAAC;QACF,CAAC;KACD,CAAC,CAAC;AACJ,CAAC,CAAC;AAEF,KAAK,MAAM,SAAS,IAAI;IACvB,+BAA+B;IAC/B,gCAAgC;CACvB,EAAE,CAAC;IACZ,+BAA+B,CAAC,SAAS,CAAC,CAAC;AAC5C,CAAC"}
|
@@ -1,7 +1,6 @@
|
|
1
1
|
import { tasks, sbvrUtils, permissions } from '@balena/pinejs';
|
2
2
|
import _ from 'lodash';
|
3
|
-
import {
|
4
|
-
import { ASYNC_TASK_CREATE_SERVICE_INSTALLS_MAX_TIME_MS } from '../../../lib/config.js';
|
3
|
+
import { ASYNC_TASK_ATTEMPT_LIMIT, ASYNC_TASK_CREATE_SERVICE_INSTALLS_MAX_TIME_MS, } from '../../../lib/config.js';
|
5
4
|
const schema = {
|
6
5
|
type: 'object',
|
7
6
|
properties: {
|
@@ -118,11 +117,11 @@ const createServiceInstalls = async ({ devices, }) => {
|
|
118
117
|
resource: 'task',
|
119
118
|
passthrough: { req: permissions.root, tx },
|
120
119
|
body: {
|
121
|
-
key: randomUUID(),
|
122
120
|
is_executed_by__handler: 'create_service_installs',
|
123
121
|
is_executed_with__parameter_set: {
|
124
122
|
devices: Array.from(remainingDevices),
|
125
123
|
},
|
124
|
+
attempt_limit: ASYNC_TASK_ATTEMPT_LIMIT,
|
126
125
|
},
|
127
126
|
});
|
128
127
|
console.info('[service-install-task] Task took too long. Created a new task for the remaining devices');
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"service-installs.js","sourceRoot":"","sources":["../../../../src/features/ci-cd/tasks/service-installs.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,SAAS,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAC/D,OAAO,CAAC,MAAM,QAAQ,CAAC;AACvB,OAAO,
|
1
|
+
{"version":3,"file":"service-installs.js","sourceRoot":"","sources":["../../../../src/features/ci-cd/tasks/service-installs.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,SAAS,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAC/D,OAAO,CAAC,MAAM,QAAQ,CAAC;AACvB,OAAO,EACN,wBAAwB,EACxB,8CAA8C,GAC9C,MAAM,wBAAwB,CAAC;AAEhC,MAAM,MAAM,GAAG;IACd,IAAI,EAAE,QAAQ;IACd,UAAU,EAAE;QACX,OAAO,EAAE;YACR,IAAI,EAAE,OAAO;YACb,KAAK,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE;SACzB;KACD;IACD,QAAQ,EAAE,CAAC,SAAS,CAAC;CACrB,CAAC;AAEF,MAAM,EAAE,GAAG,EAAE,GAAG,SAAS,CAAC;AAM1B,KAAK,CAAC,cAAc,CACnB,yBAAyB,EACzB,KAAK,EAAE,OAAO,EAAE,EAAE;IACjB,IAAI,CAAC;QACJ,MAAM,cAAc,GAAG,MAAM,qBAAqB,CACjD,OAAO,CAAC,MAAyC,CACjD,CAAC;QACF,OAAO,CAAC,IAAI,CACX,kCAAkC,cAAc,mBAAmB,CACnE,CAAC;QACF,OAAO;YACN,MAAM,EAAE,WAAW;SACnB,CAAC;IACH,CAAC;IAAC,OAAO,CAAC,EAAE,CAAC;QACZ,OAAO,CAAC,KAAK,CACZ,2DAA2D,CAAC,EAAE,CAC9D,CAAC;QACF,OAAO;YACN,KAAK,EAAE,GAAG,CAAC,EAAE;YACb,MAAM,EAAE,QAAQ;SAChB,CAAC;IACH,CAAC;AACF,CAAC,EACD,MAAM,CACN,CAAC;AAEF,MAAM,qBAAqB,GAAG,KAAK,EAAE,EACpC,OAAO,GAC0B,EAAE,EAAE;IACrC,MAAM,SAAS,GAAG,IAAI,CAAC,GAAG,EAAE,CAAC;IAE7B,MAAM,aAAa,GAAG;QACrB,OAAO,EAAE,I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@ import { sbvrUtils, hooks } from '@balena/pinejs';
|
|
2
2
|
import _ from 'lodash';
|
3
3
|
import { captureException } from '../../../infra/error-handling/index.js';
|
4
4
|
import { postDevices } from '../../device-proxy/device-proxy.js';
|
5
|
+
import { setTimeout } from 'timers/promises';
|
5
6
|
// Postgresql uses 16 bits to address the binds of sql commands. We use a number a bit below
|
6
7
|
// that limit to chunk the binds, in order to have some extra room for other things like
|
7
8
|
// computed terms/permissions.
|
@@ -39,16 +40,31 @@ const addEnvHooks = (resource, buildFilter) => {
|
|
39
40
|
}
|
40
41
|
};
|
41
42
|
const envVarHook = {
|
42
|
-
POSTRUN:
|
43
|
-
const { req, request
|
44
|
-
|
45
|
-
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
|
50
|
-
|
51
|
-
|
43
|
+
POSTRUN: (args) => {
|
44
|
+
const { req, request } = args;
|
45
|
+
// Send the update requests in a separate read tx so that the writer has less work to do.
|
46
|
+
args.tx.on('end', async () => {
|
47
|
+
let devices = request.custom.affectedDevices;
|
48
|
+
if (devices == null) {
|
49
|
+
// Since we use a new read transaction, we also add an artificial delay
|
50
|
+
// to make sure that the committed data have propagated to the readers.
|
51
|
+
// W/o this there would be a chance for POSTs to never trigger device updates
|
52
|
+
// in case the replication lag is high enough.
|
53
|
+
await setTimeout(1000);
|
54
|
+
devices = await sbvrUtils.db.readTransaction(async (tx) => {
|
55
|
+
return await getAffectedDeviceIds({
|
56
|
+
...args,
|
57
|
+
api: sbvrUtils.api.resin.clone({
|
58
|
+
passthrough: { req, tx },
|
59
|
+
}),
|
60
|
+
tx,
|
61
|
+
});
|
62
|
+
});
|
63
|
+
}
|
64
|
+
if (!devices || devices.length === 0) {
|
65
|
+
// If we have no devices affected then no point triggering an update.
|
66
|
+
return;
|
67
|
+
}
|
52
68
|
try {
|
53
69
|
await postDevices({
|
54
70
|
url: '/v1/update',
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"vars-update-trigger.js","sourceRoot":"","sources":["../../../../src/features/vars-schema/hooks/vars-update-trigger.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,SAAS,EAAE,KAAK,EAAE,MAAM,gBAAgB,CAAC;AAClD,OAAO,CAAC,MAAM,QAAQ,CAAC;AAGvB,OAAO,EAAE,gBAAgB,EAAE,MAAM,wCAAwC,CAAC;AAE1E,OAAO,EAAE,WAAW,EAAE,MAAM,oCAAoC,CAAC;
|
1
|
+
{"version":3,"file":"vars-update-trigger.js","sourceRoot":"","sources":["../../../../src/features/vars-schema/hooks/vars-update-trigger.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,SAAS,EAAE,KAAK,EAAE,MAAM,gBAAgB,CAAC;AAClD,OAAO,CAAC,MAAM,QAAQ,CAAC;AAGvB,OAAO,EAAE,gBAAgB,EAAE,MAAM,wCAAwC,CAAC;AAE1E,OAAO,EAAE,WAAW,EAAE,MAAM,oCAAoC,CAAC;AAEjE,OAAO,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAC;AAM7C,4FAA4F;AAC5F,wFAAwF;AACxF,8BAA8B;AAC9B,uIAAuI;AACvI,MAAM,kBAAkB,GAAG,CAAC,IAAI,EAAE,GAAG,CAAC,GAAG,GAAG,CAAC;AAE7C,iBAAiB;AACjB,MAAM,WAAW,GAAG,CACnB,QAAW,EACX,WAWC,EACM,EAAE;IACT,MAAM,oBAAoB,GAAG,KAAK,EACjC,IAEC,EACA,EAAE;QACH,IAAI,CAAC;YACJ,MAAM,MAAM,GAAG,MAAM,WAAW,CAAC,IAAI,CAAC,CAAC;YACvC,IAAI,MAAM,IAAI,IAAI,EAAE,CAAC;gBACpB,OAAO;YACR,CAAC;YACD,MAAM,OAAO,GAAG,KAAK,CAAC,OAAO,CAAC,MAAM,CAAC;gBACpC,CAAC,CAAC,CAAC,GAAG,EAAE;oBACN,MAAM,CAAC,WAAW,EAAE,aAAa,CAAC,GAAG,MAAM,CAAC;oBAC5C,4GAA4G;oBAC5G,OAAO,CAAC,CAAC,KAAK,CAAC,WAA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,CAAC,IAAI,CAAC,aAAa,EAAE,EAAE;6CAClD;yCACD;qCACD;iCACD;6BACD;yBACD;qBACD;iBACD;aACD;SACD,CAAC;IACH,CAAC;IAED,MAAM,SAAS,GAAG,MAAM,SAAS,CAAC,cAAc,CAAC,IAAI,CAAC,CAAC;IACvD,IAAI,SAAS,CAAC,MAAM,KAAK,CAAC,EAAE,CAAC;QAC5B,OAAO;IACR,CAAC;IACD,OAAO;QACN,SAAS;QACT,CAAC,cAAc,EAAE,EAAE,CAAC,CAAC;YACpB,aAAa,EAAE;gBACd,IAAI,EAAE;oBACL,MAAM,EAAE,IAAI;oBACZ,KAAK,EAAE;wBACN,eAAe,EAAE;4BAChB,IAAI,EAAE;gCACL,MAAM,EAAE,GAAG;gCACX,KAAK,EAAE;oCACN,CAAC,EAAE;wCACF,aAAa,EAAE;4CACd,IAAI,EAAE;gDACL,MAAM,EAAE,IAAI;gDACZ,KAAK,EAAE;oDACN,EAAE,EAAE;wDACH,0BAA0B,EAAE;4DAC3B,IAAI,EAAE;gEACL,MAAM,EAAE,GAAG;gEACX,KAAK,EAAE,EAAE,CAAC,EAAE,EAAE,EAAE,EAAE,EAAE,GAAG,EAAE,cAAc,EAAE,EAAE,EAAE;6DAC7C;yDACD;qDACD;iDACD;6CACD;yCACD;qCACD;iCACD;6BACD;yBACD;qBACD;iBACD;aACD;SACD,CAAC;KACF,CAAC;AACH,CAAC,CAAC,CAAC"}
|
package/dist/lib/config.d.ts
CHANGED
@@ -114,6 +114,7 @@ export declare const LOGS_BACKEND_UNAVAILABLE_FLUSH_INTERVAL: number;
|
|
114
114
|
export declare const LOGS_WRITE_BUFFER_LIMIT: number;
|
115
115
|
export declare const PINEJS_QUEUE_CONCURRENCY: number;
|
116
116
|
export declare let PINEJS_QUEUE_INTERVAL_MS: number;
|
117
|
+
export declare const ASYNC_TASK_ATTEMPT_LIMIT: number;
|
117
118
|
export declare let ASYNC_TASK_CREATE_SERVICE_INSTALLS_ENABLED: boolean;
|
118
119
|
export declare const ASYNC_TASK_CREATE_SERVICE_INSTALLS_BATCH_SIZE: number;
|
119
120
|
export declare const ASYNC_TASK_CREATE_SERVICE_INSTALLS_MAX_TIME_MS: number;
|
package/dist/lib/config.js
CHANGED
@@ -204,6 +204,7 @@ export const LOGS_BACKEND_UNAVAILABLE_FLUSH_INTERVAL = intVar('LOGS_BACKEND_UNAV
|
|
204
204
|
export const LOGS_WRITE_BUFFER_LIMIT = intVar('LOGS_WRITE_BUFFER_LIMIT', 50);
|
205
205
|
export const PINEJS_QUEUE_CONCURRENCY = intVar('PINEJS_QUEUE_CONCURRENCY', 1);
|
206
206
|
export let PINEJS_QUEUE_INTERVAL_MS = intVar('PINEJS_QUEUE_INTERVAL_MS', 1000);
|
207
|
+
export const ASYNC_TASK_ATTEMPT_LIMIT = intVar('ASYNC_TASK_ATTEMPT_LIMIT', 2 ** 31 - 1);
|
207
208
|
export let ASYNC_TASK_CREATE_SERVICE_INSTALLS_ENABLED = boolVar('ASYNC_TASK_CREATE_SERVICE_INSTALLS_ENABLED', false);
|
208
209
|
export const ASYNC_TASK_CREATE_SERVICE_INSTALLS_BATCH_SIZE = intVar('ASYNC_TASK_CREATE_SERVICE_INSTALLS_BATCH_SIZE', 2000);
|
209
210
|
export const ASYNC_TASK_CREATE_SERVICE_INSTALLS_MAX_TIME_MS = intVar('ASYNC_TASK_CREATE_SERVICE_INSTALLS_MAX_TIME_MS', 30 * 1000);
|
package/dist/lib/config.js.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"config.js","sourceRoot":"","sources":["../../src/lib/config.ts"],"names":[],"mappings":"AACA,OAAO,EACN,OAAO,EACP,KAAK,EACL,MAAM,EACN,OAAO,EACP,WAAW,EACX,WAAW,EACX,OAAO,EACP,YAAY,EACZ,aAAa,EACb,QAAQ,GACR,MAAM,qBAAqB,CAAC;AAE7B,yEAAyE;AACzE,uEAAuE;AACvE,OAAO,SAAS,MAAM,YAAY,CAAC;AACnC,OAAO,QAAQ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CACtC,CAA6C;QAE7C,iBAAiB,EAAE,CAAC;QACpB,mCAAmC,GAAG,CAAC,CAAC;IACzC,CAAC;IACD,IAAI,+CAA+C,CAClD,CAAyD;QAEzD,iBAAiB,EAAE,CAAC;QACpB,+CAA+C,GAAG,CAAC,CAAC;IACrD,CAAC;IACD,IAAI,mBAAmB,CAAC,CAA6B;QACpD,iBAAiB,EAAE,CAAC;QACpB,mBAAmB,GAAG,CAAC,CAAC;IACzB,CAAC;IACD,IAAI,0CAA0C,CAC7C,CAAoD;QAEpD,iBAAiB,EAAE,CAAC;QACpB,0CAA0C,GAAG,CAAC,CAAC;IAChD,CAAC;IACD,IAAI,wBAAwB,CAAC,CAAkC;QAC9D,iBAAiB,EAAE,CAAC;QACpB,wBAAwB,GAAG,CAAC,CAAC;IAC9B,CAAC;CACD,CAAC"}
|
package/package.json
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
{
|
2
2
|
"name": "@balena/open-balena-api",
|
3
3
|
"description": "Internet of things, Made Simple",
|
4
|
-
"version": "30.2.0-build-service-install-as-async-job-
|
4
|
+
"version": "30.2.0-build-service-install-as-async-job-a128dddb300ea7b30d583b508cfb4f6cbd9f4b08-1",
|
5
5
|
"license": "AGPL-3.0",
|
6
6
|
"repository": {
|
7
7
|
"type": "git",
|
@@ -167,6 +167,6 @@
|
|
167
167
|
"loader": "ts-node/esm/transpile-only"
|
168
168
|
},
|
169
169
|
"versionist": {
|
170
|
-
"publishedAt": "2024-10-
|
170
|
+
"publishedAt": "2024-10-25T17:22:45.672Z"
|
171
171
|
}
|
172
172
|
}
|