@nrwl/nx-cloud 14.3.0-beta.1 → 14.3.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,131 +1 @@
1
- "use strict";
2
- var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
3
- function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
4
- return new (P || (P = Promise))(function (resolve, reject) {
5
- function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
6
- function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
7
- function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
8
- step((generator = generator.apply(thisArg, _arguments || [])).next());
9
- });
10
- };
11
- Object.defineProperty(exports, "__esModule", { value: true });
12
- exports.createStartRequest = exports.DistributedExecutionApi = void 0;
13
- const axios_1 = require("../../../utilities/axios");
14
- const environment_1 = require("../../../utilities/environment");
15
- const metric_logger_1 = require("../../../utilities/metric-logger");
16
- const serializer_overrides_1 = require("../../../utilities/serializer-overrides");
17
- const { output, unparse } = require('../../../utilities/nx-imports');
18
- class DistributedExecutionApi {
19
- constructor(options) {
20
- this.apiAxiosInstance = (0, axios_1.createApiAxiosInstance)(options);
21
- }
22
- start(params) {
23
- var _a;
24
- return __awaiter(this, void 0, void 0, function* () {
25
- const recorder = (0, metric_logger_1.createMetricRecorder)('dteStart');
26
- let resp;
27
- try {
28
- resp = yield (0, axios_1.axiosMultipleTries)(() => this.apiAxiosInstance.post('/nx-cloud/executions/start', params));
29
- recorder.recordMetric((0, metric_logger_1.mapRespToPerfEntry)(resp));
30
- }
31
- catch (e) {
32
- recorder.recordMetric(((_a = e === null || e === void 0 ? void 0 : e.axiosException) === null || _a === void 0 ? void 0 : _a.response)
33
- ? (0, metric_logger_1.mapRespToPerfEntry)(e.axiosException.response)
34
- : metric_logger_1.RUNNER_FAILURE_PERF_ENTRY);
35
- throw e;
36
- }
37
- if (!resp.data.enabled) {
38
- throw new Error(`Workspace is disabled. Cannot perform distributed task executions.`);
39
- }
40
- if (resp.data.error) {
41
- throw new Error(resp.data.error);
42
- }
43
- return resp.data.id;
44
- });
45
- }
46
- status(id) {
47
- var _a;
48
- return __awaiter(this, void 0, void 0, function* () {
49
- const recorder = (0, metric_logger_1.createMetricRecorder)('dteStatus');
50
- try {
51
- const resp = yield (0, axios_1.axiosMultipleTries)(() => this.apiAxiosInstance.post('/nx-cloud/executions/status', {
52
- id,
53
- }));
54
- recorder.recordMetric((0, metric_logger_1.mapRespToPerfEntry)(resp));
55
- return resp.data;
56
- }
57
- catch (e) {
58
- recorder.recordMetric(((_a = e === null || e === void 0 ? void 0 : e.axiosException) === null || _a === void 0 ? void 0 : _a.response)
59
- ? (0, metric_logger_1.mapRespToPerfEntry)(e.axiosException.response)
60
- : metric_logger_1.RUNNER_FAILURE_PERF_ENTRY);
61
- output.error({
62
- title: e.message,
63
- });
64
- process.exit(1);
65
- }
66
- });
67
- }
68
- completeRunGroupWithError(runGroup, error) {
69
- var _a;
70
- return __awaiter(this, void 0, void 0, function* () {
71
- const recorder = (0, metric_logger_1.createMetricRecorder)('completeRunGroup');
72
- try {
73
- const resp = yield (0, axios_1.axiosMultipleTries)(() => this.apiAxiosInstance.post('/nx-cloud/executions/complete-run-group', {
74
- runGroup: runGroup,
75
- criticalErrorMessage: error,
76
- }), 3);
77
- recorder.recordMetric((0, metric_logger_1.mapRespToPerfEntry)(resp));
78
- }
79
- catch (e) {
80
- recorder.recordMetric(((_a = e === null || e === void 0 ? void 0 : e.axiosException) === null || _a === void 0 ? void 0 : _a.response)
81
- ? (0, metric_logger_1.mapRespToPerfEntry)(e.axiosException.response)
82
- : metric_logger_1.RUNNER_FAILURE_PERF_ENTRY);
83
- }
84
- });
85
- }
86
- }
87
- exports.DistributedExecutionApi = DistributedExecutionApi;
88
- function createStartRequest(runGroup, task, options) {
89
- const tasksToExecute = task.map((arr) => {
90
- return arr.map((t) => {
91
- return {
92
- taskId: t.id,
93
- hash: t.hash,
94
- projectName: t.target.project,
95
- target: t.target.target,
96
- configuration: t.target.configuration || null,
97
- params: (0, serializer_overrides_1.serializeOverrides)(t),
98
- };
99
- });
100
- });
101
- const request = {
102
- command: (0, environment_1.parseCommand)(),
103
- branch: (0, environment_1.getBranch)(),
104
- runGroup,
105
- tasks: tasksToExecute,
106
- maxParallel: calculateMaxParallel(options),
107
- };
108
- if (environment_1.NX_CLOUD_DISTRIBUTED_EXECUTION_AGENT_COUNT) {
109
- request.agentCount = environment_1.NX_CLOUD_DISTRIBUTED_EXECUTION_AGENT_COUNT;
110
- }
111
- if (!environment_1.NX_CLOUD_DISTRIBUTED_EXECUTION_STOP_AGENTS_ON_FAILURE) {
112
- request.stopAgentsOnFailure = false;
113
- }
114
- return request;
115
- }
116
- exports.createStartRequest = createStartRequest;
117
- function calculateMaxParallel(options) {
118
- if (options.parallel === 'false' || options.parallel === false) {
119
- return 1;
120
- }
121
- else if (options.parallel === 'true' || options.parallel === true) {
122
- return Number(options.maxParallel || 3);
123
- }
124
- else if (options.parallel === undefined) {
125
- return options.maxParallel ? Number(options.maxParallel) : 3;
126
- }
127
- else {
128
- return Number(options.parallel) || 3;
129
- }
130
- }
131
- //# sourceMappingURL=distributed-execution.api.js.map
1
+ const a6_0x3ca2=['/nx-cloud/executions/complete-run-group','/nx-cloud/executions/start','post','NX_CLOUD_DISTRIBUTED_EXECUTION_AGENT_COUNT','start','axiosException','response','getBranch','createStartRequest','../../../utilities/metric-logger','NX_CLOUD_DISTRIBUTED_EXECUTION_STOP_AGENTS_ON_FAILURE','../../../utilities/serializer-overrides','mapRespToPerfEntry','false','dteStart','Workspace\x20is\x20disabled.\x20Cannot\x20perform\x20distributed\x20task\x20executions.','axiosMultipleTries','__awaiter','enabled','RUNNER_FAILURE_PERF_ENTRY','exit','apply','completeRunGroup','error','configuration','createApiAxiosInstance','maxParallel','agentCount','serializeOverrides','data','value','target','apiAxiosInstance','/nx-cloud/executions/status','parallel','done','next','__esModule','true','stopAgentsOnFailure','DistributedExecutionApi','createMetricRecorder','recordMetric','defineProperty','completeRunGroupWithError','project','dteStatus','map'];(function(_0x458a72,_0x3ca26d){const _0x4e6ce1=function(_0x2932bb){while(--_0x2932bb){_0x458a72['push'](_0x458a72['shift']());}};_0x4e6ce1(++_0x3ca26d);}(a6_0x3ca2,0x188));const a6_0x4e6c=function(_0x458a72,_0x3ca26d){_0x458a72=_0x458a72-0x0;let _0x4e6ce1=a6_0x3ca2[_0x458a72];return _0x4e6ce1;};'use strict';var __awaiter=this&&this[a6_0x4e6c('0x9')]||function(_0x5ab8e6,_0x3b3b3b,_0x5e63fa,_0x4b4efb){function _0x1e17fb(_0x432938){return _0x432938 instanceof _0x5e63fa?_0x432938:new _0x5e63fa(function(_0x1f1629){_0x1f1629(_0x432938);});}return new(_0x5e63fa||(_0x5e63fa=Promise))(function(_0x2fce0a,_0x11737d){function _0x15818a(_0x2aa8fe){try{_0x3cc8e9(_0x4b4efb['next'](_0x2aa8fe));}catch(_0x3f71e8){_0x11737d(_0x3f71e8);}}function _0xabf5c4(_0x42c671){try{_0x3cc8e9(_0x4b4efb['throw'](_0x42c671));}catch(_0x27f2b0){_0x11737d(_0x27f2b0);}}function _0x3cc8e9(_0x388a02){_0x388a02[a6_0x4e6c('0x1b')]?_0x2fce0a(_0x388a02[a6_0x4e6c('0x16')]):_0x1e17fb(_0x388a02['value'])['then'](_0x15818a,_0xabf5c4);}_0x3cc8e9((_0x4b4efb=_0x4b4efb[a6_0x4e6c('0xd')](_0x5ab8e6,_0x3b3b3b||[]))[a6_0x4e6c('0x1c')]());});};Object[a6_0x4e6c('0x23')](exports,a6_0x4e6c('0x1d'),{'value':!![]});exports[a6_0x4e6c('0x0')]=exports[a6_0x4e6c('0x20')]=void 0x0;const axios_1=require('../../../utilities/axios');const environment_1=require('../../../utilities/environment');const metric_logger_1=require(a6_0x4e6c('0x1'));const serializer_overrides_1=require(a6_0x4e6c('0x3'));const {output,unparse}=require('../../../utilities/nx-imports');class DistributedExecutionApi{constructor(_0x144961){this[a6_0x4e6c('0x18')]=(0x0,axios_1[a6_0x4e6c('0x11')])(_0x144961);}[a6_0x4e6c('0x2c')](_0xa80335){var _0x314cee;return __awaiter(this,void 0x0,void 0x0,function*(){const _0x205c7b=(0x0,metric_logger_1['createMetricRecorder'])(a6_0x4e6c('0x6'));let _0x3ae631;try{_0x3ae631=yield(0x0,axios_1[a6_0x4e6c('0x8')])(()=>this[a6_0x4e6c('0x18')][a6_0x4e6c('0x2a')](a6_0x4e6c('0x29'),_0xa80335));_0x205c7b[a6_0x4e6c('0x22')]((0x0,metric_logger_1[a6_0x4e6c('0x4')])(_0x3ae631));}catch(_0x55a887){_0x205c7b[a6_0x4e6c('0x22')](((_0x314cee=_0x55a887===null||_0x55a887===void 0x0?void 0x0:_0x55a887['axiosException'])===null||_0x314cee===void 0x0?void 0x0:_0x314cee[a6_0x4e6c('0x2e')])?(0x0,metric_logger_1[a6_0x4e6c('0x4')])(_0x55a887['axiosException'][a6_0x4e6c('0x2e')]):metric_logger_1[a6_0x4e6c('0xb')]);throw _0x55a887;}if(!_0x3ae631[a6_0x4e6c('0x15')][a6_0x4e6c('0xa')]){throw new Error(a6_0x4e6c('0x7'));}if(_0x3ae631[a6_0x4e6c('0x15')][a6_0x4e6c('0xf')]){throw new Error(_0x3ae631[a6_0x4e6c('0x15')]['error']);}return _0x3ae631[a6_0x4e6c('0x15')]['id'];});}['status'](_0x3f42f5){var _0x435219;return __awaiter(this,void 0x0,void 0x0,function*(){const _0x5766e2=(0x0,metric_logger_1[a6_0x4e6c('0x21')])(a6_0x4e6c('0x26'));try{const _0x47ec88=yield(0x0,axios_1[a6_0x4e6c('0x8')])(()=>this[a6_0x4e6c('0x18')][a6_0x4e6c('0x2a')](a6_0x4e6c('0x19'),{'id':_0x3f42f5}));_0x5766e2['recordMetric']((0x0,metric_logger_1[a6_0x4e6c('0x4')])(_0x47ec88));return _0x47ec88[a6_0x4e6c('0x15')];}catch(_0x1539d7){_0x5766e2[a6_0x4e6c('0x22')](((_0x435219=_0x1539d7===null||_0x1539d7===void 0x0?void 0x0:_0x1539d7[a6_0x4e6c('0x2d')])===null||_0x435219===void 0x0?void 0x0:_0x435219[a6_0x4e6c('0x2e')])?(0x0,metric_logger_1[a6_0x4e6c('0x4')])(_0x1539d7[a6_0x4e6c('0x2d')][a6_0x4e6c('0x2e')]):metric_logger_1[a6_0x4e6c('0xb')]);output[a6_0x4e6c('0xf')]({'title':_0x1539d7['message']});process[a6_0x4e6c('0xc')](0x1);}});}[a6_0x4e6c('0x24')](_0x283a9c,_0x106a6a){var _0x54e0f7;return __awaiter(this,void 0x0,void 0x0,function*(){const _0x4b3ac5=(0x0,metric_logger_1[a6_0x4e6c('0x21')])(a6_0x4e6c('0xe'));try{const _0x46b6be=yield(0x0,axios_1['axiosMultipleTries'])(()=>this['apiAxiosInstance'][a6_0x4e6c('0x2a')](a6_0x4e6c('0x28'),{'runGroup':_0x283a9c,'criticalErrorMessage':_0x106a6a}),0x3);_0x4b3ac5[a6_0x4e6c('0x22')]((0x0,metric_logger_1[a6_0x4e6c('0x4')])(_0x46b6be));}catch(_0x1d32f1){_0x4b3ac5[a6_0x4e6c('0x22')](((_0x54e0f7=_0x1d32f1===null||_0x1d32f1===void 0x0?void 0x0:_0x1d32f1[a6_0x4e6c('0x2d')])===null||_0x54e0f7===void 0x0?void 0x0:_0x54e0f7[a6_0x4e6c('0x2e')])?(0x0,metric_logger_1['mapRespToPerfEntry'])(_0x1d32f1[a6_0x4e6c('0x2d')][a6_0x4e6c('0x2e')]):metric_logger_1[a6_0x4e6c('0xb')]);}});}}exports[a6_0x4e6c('0x20')]=DistributedExecutionApi;function createStartRequest(_0x587288,_0x41312b,_0xf52011){const _0x37fdb9=_0x41312b[a6_0x4e6c('0x27')](_0x75a992=>{return _0x75a992[a6_0x4e6c('0x27')](_0x423d4c=>{return{'taskId':_0x423d4c['id'],'hash':_0x423d4c['hash'],'projectName':_0x423d4c['target'][a6_0x4e6c('0x25')],'target':_0x423d4c[a6_0x4e6c('0x17')][a6_0x4e6c('0x17')],'configuration':_0x423d4c[a6_0x4e6c('0x17')][a6_0x4e6c('0x10')]||null,'params':(0x0,serializer_overrides_1[a6_0x4e6c('0x14')])(_0x423d4c)};});});const _0x107b76={'command':(0x0,environment_1['parseCommand'])(),'branch':(0x0,environment_1[a6_0x4e6c('0x2f')])(),'runGroup':_0x587288,'tasks':_0x37fdb9,'maxParallel':calculateMaxParallel(_0xf52011)};if(environment_1[a6_0x4e6c('0x2b')]){_0x107b76[a6_0x4e6c('0x13')]=environment_1[a6_0x4e6c('0x2b')];}if(!environment_1[a6_0x4e6c('0x2')]){_0x107b76[a6_0x4e6c('0x1f')]=![];}return _0x107b76;}exports['createStartRequest']=createStartRequest;function calculateMaxParallel(_0x5e4c5f){if(_0x5e4c5f[a6_0x4e6c('0x1a')]===a6_0x4e6c('0x5')||_0x5e4c5f['parallel']===![]){return 0x1;}else if(_0x5e4c5f[a6_0x4e6c('0x1a')]===a6_0x4e6c('0x1e')||_0x5e4c5f['parallel']===!![]){return Number(_0x5e4c5f[a6_0x4e6c('0x12')]||0x3);}else if(_0x5e4c5f['parallel']===undefined){return _0x5e4c5f[a6_0x4e6c('0x12')]?Number(_0x5e4c5f['maxParallel']):0x3;}else{return Number(_0x5e4c5f['parallel'])||0x3;}}
@@ -1,206 +1 @@
1
- "use strict";
2
- var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
3
- function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
4
- return new (P || (P = Promise))(function (resolve, reject) {
5
- function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
6
- function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
7
- function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
8
- step((generator = generator.apply(thisArg, _arguments || [])).next());
9
- });
10
- };
11
- Object.defineProperty(exports, "__esModule", { value: true });
12
- exports.nxCloudDistributedTasksRunner = void 0;
13
- const stripJsonComments = require("strip-json-comments");
14
- const fs_1 = require("fs");
15
- const distributed_execution_api_1 = require("./distributed-execution.api");
16
- const file_storage_1 = require("../../file-storage/file-storage");
17
- const e2e_encryption_1 = require("../../file-storage/e2e-encryption");
18
- const waiter_1 = require("../../../utilities/waiter");
19
- const environment_1 = require("../../../utilities/environment");
20
- const print_run_group_error_1 = require("../../error/print-run-group-error");
21
- const create_no_new_messages_timeout_1 = require("../../../utilities/create-no-new-messages-timeout");
22
- const metric_logger_1 = require("../../../utilities/metric-logger");
23
- const error_reporter_api_1 = require("../../api/error-reporter.api");
24
- const serializer_overrides_1 = require("../../../utilities/serializer-overrides");
25
- const task_graph_creator_1 = require("./task-graph-creator");
26
- const split_task_graph_into_stages_1 = require("./split-task-graph-into-stages");
27
- const { output, workspaceRoot, getOutputs, Cache, } = require('../../../utilities/nx-imports');
28
- class NoopLifeCycle {
29
- scheduleTask(task) { }
30
- startTask(task) { }
31
- endTask(task, code) { }
32
- }
33
- function runDistributedExecution(api, options, context, fileStorage, cache, runGroup, taskGraph) {
34
- return __awaiter(this, void 0, void 0, function* () {
35
- const id = yield api.start((0, distributed_execution_api_1.createStartRequest)(runGroup, (0, split_task_graph_into_stages_1.splitTasksIntoStages)(taskGraph), options));
36
- return yield processTasks(api, fileStorage, cache, options, id, Object.values(taskGraph.tasks), context);
37
- });
38
- }
39
- function processTasks(api, fileStorage, cache, options, executionId, tasks, context) {
40
- return __awaiter(this, void 0, void 0, function* () {
41
- const processedTasks = {};
42
- const failIfNumberOfCompletedTasksDoesNotChangeIn30Mins = (0, create_no_new_messages_timeout_1.createNoNewMessagesTimeout)();
43
- const waiter = new waiter_1.Waiter();
44
- while (true) {
45
- if (environment_1.VERBOSE_LOGGING) {
46
- output.note({
47
- title: 'Waiting...',
48
- });
49
- }
50
- yield waiter.wait();
51
- const r = yield api.status(executionId);
52
- if (environment_1.VERBOSE_LOGGING) {
53
- output.note({
54
- title: `Status update`,
55
- bodyLines: [
56
- `executionId: ${executionId}`,
57
- `executionStatus: ${r.executionStatus}`,
58
- `number of completed tasks: ${r.completedTasks.length}`,
59
- `error: ${r.criticalErrorMessage}`,
60
- ],
61
- });
62
- }
63
- if (r.criticalErrorMessage) {
64
- output.error({
65
- title: 'Distributed Execution Terminated',
66
- bodyLines: ['Error:', r.criticalErrorMessage],
67
- });
68
- process.exit(1);
69
- }
70
- failIfNumberOfCompletedTasksDoesNotChangeIn30Mins(r.completedTasks.length);
71
- for (const t of r.completedTasks) {
72
- if (processedTasks[t.taskId])
73
- continue;
74
- yield processTask(fileStorage, cache, context, options, tasks, t);
75
- waiter.reset();
76
- processedTasks[t.taskId] = true;
77
- }
78
- if (r.executionStatus === 'COMPLETED') {
79
- return { commandStatus: r.commandStatus, runUrl: r.runUrl };
80
- }
81
- }
82
- });
83
- }
84
- function processTask(fileStorage, cache, context, options, tasks, completedTask) {
85
- return __awaiter(this, void 0, void 0, function* () {
86
- if (environment_1.VERBOSE_LOGGING) {
87
- output.note({
88
- title: `Processing task ${completedTask.taskId}`,
89
- });
90
- }
91
- const matchingTask = tasks.find((tt) => completedTask.taskId === tt.id);
92
- if (!matchingTask) {
93
- throw new Error(`Found unknown task: ${completedTask.taskId}`);
94
- }
95
- if (environment_1.VERBOSE_LOGGING) {
96
- output.note({
97
- title: `Retrieving artifacts from ${completedTask.url}`,
98
- });
99
- }
100
- yield fileStorage.retrieve(completedTask.hash, completedTask.url, options.cacheDirectory || './node_modules/.cache/nx');
101
- const cachedResult = yield cache.get(Object.assign(Object.assign({}, matchingTask), { hash: completedTask.hash }));
102
- const outputs = getOutputs(context.projectGraph.nodes, matchingTask);
103
- if (environment_1.VERBOSE_LOGGING) {
104
- output.note({
105
- title: `Extracting artifacts`,
106
- bodyLines: outputs,
107
- });
108
- }
109
- yield cache.copyFilesFromCache(completedTask.hash, cachedResult, outputs);
110
- output.logCommand(getCommand(matchingTask));
111
- process.stdout.write(cachedResult.terminalOutput);
112
- output.addVerticalSeparator();
113
- });
114
- }
115
- function getCommand(task) {
116
- const config = task.target.configuration
117
- ? `:${task.target.configuration}`
118
- : '';
119
- return [
120
- 'nx',
121
- 'run',
122
- `${task.target.project}:${task.target.target}${config}`,
123
- (0, serializer_overrides_1.serializeOverrides)(task),
124
- ].join(' ');
125
- }
126
- const nxCloudDistributedTasksRunner = (tasks, options, context) => __awaiter(void 0, void 0, void 0, function* () {
127
- if (environment_1.VERBOSE_LOGGING) {
128
- output.note({
129
- title: 'Starting distributed command execution',
130
- });
131
- }
132
- options.lifeCycle = new NoopLifeCycle();
133
- const runGroup = (0, environment_1.getRunGroup)();
134
- if (!runGroup) {
135
- (0, print_run_group_error_1.printRunGroupError)();
136
- return process.exit(1);
137
- }
138
- const encryption = new e2e_encryption_1.E2EEncryption(environment_1.ENCRYPTION_KEY || options.encryptionKey);
139
- const errorReporter = new error_reporter_api_1.ErrorReporterApi(options);
140
- const fileStorage = new file_storage_1.FileStorage(encryption, errorReporter, true);
141
- const cache = new Cache(options);
142
- const api = new distributed_execution_api_1.DistributedExecutionApi(options);
143
- try {
144
- const taskGraph = getTaskGraph(context, tasks, options);
145
- const r = yield runDistributedExecution(api, options, context, fileStorage, cache, runGroup, taskGraph);
146
- if (r.commandStatus === 0) {
147
- output.success({
148
- title: 'Successfully completed running the command.',
149
- bodyLines: [`See run details at ${r.runUrl}`],
150
- });
151
- }
152
- else {
153
- output.error({
154
- title: 'Command execution failed.',
155
- bodyLines: [`See run details at ${r.runUrl}`],
156
- });
157
- }
158
- yield (0, metric_logger_1.submitRunMetrics)(options);
159
- process.exit(r.commandStatus);
160
- }
161
- catch (e) {
162
- output.error({
163
- title: 'Unable to complete a run.',
164
- bodyLines: [e.message],
165
- });
166
- if (e.axiosException) {
167
- console.log(e.axiosException);
168
- }
169
- else {
170
- console.log(e);
171
- }
172
- try {
173
- yield api.completeRunGroupWithError(runGroup, `Main job terminated with an error: "${e.message}"`);
174
- }
175
- finally {
176
- process.exit(1);
177
- }
178
- }
179
- });
180
- exports.nxCloudDistributedTasksRunner = nxCloudDistributedTasksRunner;
181
- function getTaskGraph(context, tasks, options) {
182
- if (context.taskGraph) {
183
- return context.taskGraph;
184
- }
185
- else {
186
- const nxjson = JSON.parse(stripJsonComments((0, fs_1.readFileSync)(`${workspaceRoot}/nx.json`).toString()));
187
- return new task_graph_creator_1.TaskGraphCreator(context.projectGraph, getDefaultDependencyConfigs(nxjson, options)).createTaskGraph(tasks);
188
- }
189
- }
190
- function getDefaultDependencyConfigs(nxJson, runnerOptions) {
191
- var _a, _b;
192
- const defaults = (_a = nxJson.targetDependencies) !== null && _a !== void 0 ? _a : {};
193
- const strictlyOrderedTargets = runnerOptions
194
- ? (_b = runnerOptions.strictlyOrderedTargets) !== null && _b !== void 0 ? _b : ['build']
195
- : [];
196
- // Strictly Ordered Targets depend on their dependencies
197
- for (const target of strictlyOrderedTargets) {
198
- defaults[target] = defaults[target] || [];
199
- defaults[target].push({
200
- target,
201
- projects: 'dependencies',
202
- });
203
- }
204
- return defaults;
205
- }
206
- //# sourceMappingURL=distributed-execution.runner.js.map
1
+ const a7_0x1644=['find','../../api/error-reporter.api','parse','./distributed-execution.api','Distributed\x20Execution\x20Terminated','Main\x20job\x20terminated\x20with\x20an\x20error:\x20\x22','See\x20run\x20details\x20at\x20','ENCRYPTION_KEY','join','strictlyOrderedTargets','Extracting\x20artifacts','runUrl','stdout','url','../../../utilities/create-no-new-messages-timeout','Status\x20update','reset','project','submitRunMetrics','Waiting...','../../file-storage/file-storage','__awaiter','apply','TaskGraphCreator','value','push','taskId','serializeOverrides','success','nodes','DistributedExecutionApi','run','startTask','__esModule','FileStorage','Retrieving\x20artifacts\x20from\x20','nxCloudDistributedTasksRunner','throw','Waiter','note','build','executionStatus:\x20','../../../utilities/nx-imports','/nx.json','projectGraph','logCommand','tasks','createTaskGraph','number\x20of\x20completed\x20tasks:\x20','Error:','Successfully\x20completed\x20running\x20the\x20command.','hash','encryptionKey','../../error/print-run-group-error','printRunGroupError','executionId:\x20','Processing\x20task\x20','axiosException','strip-json-comments','assign','readFileSync','criticalErrorMessage','executionStatus','configuration','log','../../../utilities/environment','target','write','VERBOSE_LOGGING','length','wait','completeRunGroupWithError','message','../../file-storage/e2e-encryption','error','../../../utilities/waiter','retrieve','commandStatus','../../../utilities/metric-logger','start','E2EEncryption','toString','completedTasks','lifeCycle','copyFilesFromCache','Unable\x20to\x20complete\x20a\x20run.','cacheDirectory','next','Found\x20unknown\x20task:\x20','targetDependencies','taskGraph','status','addVerticalSeparator','dependencies','defineProperty','createStartRequest','exit'];(function(_0x4a63eb,_0x1644ae){const _0x4e3a27=function(_0x6ad9f){while(--_0x6ad9f){_0x4a63eb['push'](_0x4a63eb['shift']());}};_0x4e3a27(++_0x1644ae);}(a7_0x1644,0x77));const a7_0x4e3a=function(_0x4a63eb,_0x1644ae){_0x4a63eb=_0x4a63eb-0x0;let _0x4e3a27=a7_0x1644[_0x4a63eb];return _0x4e3a27;};'use strict';var __awaiter=this&&this[a7_0x4e3a('0x60')]||function(_0x5aa2e4,_0x4474a7,_0x135ae0,_0x141c17){function _0xf1dfbe(_0x44c2c4){return _0x44c2c4 instanceof _0x135ae0?_0x44c2c4:new _0x135ae0(function(_0x494ff5){_0x494ff5(_0x44c2c4);});}return new(_0x135ae0||(_0x135ae0=Promise))(function(_0x3a4d5b,_0x5a79d0){function _0x4900cb(_0x1552b6){try{_0x27546c(_0x141c17[a7_0x4e3a('0x41')](_0x1552b6));}catch(_0x5d135d){_0x5a79d0(_0x5d135d);}}function _0x209c92(_0x1bf14f){try{_0x27546c(_0x141c17[a7_0x4e3a('0xf')](_0x1bf14f));}catch(_0x22f92c){_0x5a79d0(_0x22f92c);}}function _0x27546c(_0x59da73){_0x59da73['done']?_0x3a4d5b(_0x59da73[a7_0x4e3a('0x2')]):_0xf1dfbe(_0x59da73['value'])['then'](_0x4900cb,_0x209c92);}_0x27546c((_0x141c17=_0x141c17[a7_0x4e3a('0x0')](_0x5aa2e4,_0x4474a7||[]))[a7_0x4e3a('0x41')]());});};Object[a7_0x4e3a('0x48')](exports,a7_0x4e3a('0xb'),{'value':!![]});exports[a7_0x4e3a('0xe')]=void 0x0;const stripJsonComments=require(a7_0x4e3a('0x24'));const fs_1=require('fs');const distributed_execution_api_1=require(a7_0x4e3a('0x4e'));const file_storage_1=require(a7_0x4e3a('0x5f'));const e2e_encryption_1=require(a7_0x4e3a('0x33'));const waiter_1=require(a7_0x4e3a('0x35'));const environment_1=require(a7_0x4e3a('0x2b'));const print_run_group_error_1=require(a7_0x4e3a('0x1f'));const create_no_new_messages_timeout_1=require(a7_0x4e3a('0x59'));const metric_logger_1=require(a7_0x4e3a('0x38'));const error_reporter_api_1=require(a7_0x4e3a('0x4c'));const serializer_overrides_1=require('../../../utilities/serializer-overrides');const task_graph_creator_1=require('./task-graph-creator');const split_task_graph_into_stages_1=require('./split-task-graph-into-stages');const {output,workspaceRoot,getOutputs,Cache}=require(a7_0x4e3a('0x14'));class NoopLifeCycle{['scheduleTask'](_0x710958){}[a7_0x4e3a('0xa')](_0x4eabe9){}['endTask'](_0x178975,_0x4ff3f2){}}function runDistributedExecution(_0x42dcde,_0x209823,_0x3718c5,_0x4f0d23,_0x3188f6,_0x3ae2ec,_0x1b8323){return __awaiter(this,void 0x0,void 0x0,function*(){const _0xe33a43=yield _0x42dcde[a7_0x4e3a('0x39')]((0x0,distributed_execution_api_1[a7_0x4e3a('0x49')])(_0x3ae2ec,(0x0,split_task_graph_into_stages_1['splitTasksIntoStages'])(_0x1b8323),_0x209823));return yield processTasks(_0x42dcde,_0x4f0d23,_0x3188f6,_0x209823,_0xe33a43,Object['values'](_0x1b8323[a7_0x4e3a('0x18')]),_0x3718c5);});}function processTasks(_0x25d716,_0x45dd67,_0x1498ad,_0x2fb032,_0x2c50e4,_0x5040bd,_0x545c4f){return __awaiter(this,void 0x0,void 0x0,function*(){const _0x1f32db={};const _0x2614d4=(0x0,create_no_new_messages_timeout_1['createNoNewMessagesTimeout'])();const _0x340a10=new waiter_1[(a7_0x4e3a('0x10'))]();while(!![]){if(environment_1[a7_0x4e3a('0x2e')]){output['note']({'title':a7_0x4e3a('0x5e')});}yield _0x340a10[a7_0x4e3a('0x30')]();const _0x3275c5=yield _0x25d716[a7_0x4e3a('0x45')](_0x2c50e4);if(environment_1[a7_0x4e3a('0x2e')]){output[a7_0x4e3a('0x11')]({'title':a7_0x4e3a('0x5a'),'bodyLines':[a7_0x4e3a('0x21')+_0x2c50e4,a7_0x4e3a('0x13')+_0x3275c5[a7_0x4e3a('0x28')],a7_0x4e3a('0x1a')+_0x3275c5['completedTasks'][a7_0x4e3a('0x2f')],'error:\x20'+_0x3275c5[a7_0x4e3a('0x27')]]});}if(_0x3275c5[a7_0x4e3a('0x27')]){output[a7_0x4e3a('0x34')]({'title':a7_0x4e3a('0x4f'),'bodyLines':[a7_0x4e3a('0x1b'),_0x3275c5[a7_0x4e3a('0x27')]]});process[a7_0x4e3a('0x4a')](0x1);}_0x2614d4(_0x3275c5['completedTasks'][a7_0x4e3a('0x2f')]);for(const _0x5efbce of _0x3275c5[a7_0x4e3a('0x3c')]){if(_0x1f32db[_0x5efbce['taskId']])continue;yield processTask(_0x45dd67,_0x1498ad,_0x545c4f,_0x2fb032,_0x5040bd,_0x5efbce);_0x340a10[a7_0x4e3a('0x5b')]();_0x1f32db[_0x5efbce[a7_0x4e3a('0x4')]]=!![];}if(_0x3275c5[a7_0x4e3a('0x28')]==='COMPLETED'){return{'commandStatus':_0x3275c5[a7_0x4e3a('0x37')],'runUrl':_0x3275c5[a7_0x4e3a('0x56')]};}}});}function processTask(_0x407188,_0xcddebd,_0x504c23,_0x1bc7f9,_0x37e902,_0x5b3c7b){return __awaiter(this,void 0x0,void 0x0,function*(){if(environment_1[a7_0x4e3a('0x2e')]){output['note']({'title':a7_0x4e3a('0x22')+_0x5b3c7b['taskId']});}const _0x22e955=_0x37e902[a7_0x4e3a('0x4b')](_0x4d12e2=>_0x5b3c7b[a7_0x4e3a('0x4')]===_0x4d12e2['id']);if(!_0x22e955){throw new Error(a7_0x4e3a('0x42')+_0x5b3c7b[a7_0x4e3a('0x4')]);}if(environment_1[a7_0x4e3a('0x2e')]){output[a7_0x4e3a('0x11')]({'title':a7_0x4e3a('0xd')+_0x5b3c7b[a7_0x4e3a('0x58')]});}yield _0x407188[a7_0x4e3a('0x36')](_0x5b3c7b[a7_0x4e3a('0x1d')],_0x5b3c7b['url'],_0x1bc7f9[a7_0x4e3a('0x40')]||'./node_modules/.cache/nx');const _0x20a75d=yield _0xcddebd['get'](Object['assign'](Object[a7_0x4e3a('0x25')]({},_0x22e955),{'hash':_0x5b3c7b[a7_0x4e3a('0x1d')]}));const _0x116ce1=getOutputs(_0x504c23[a7_0x4e3a('0x16')][a7_0x4e3a('0x7')],_0x22e955);if(environment_1[a7_0x4e3a('0x2e')]){output[a7_0x4e3a('0x11')]({'title':a7_0x4e3a('0x55'),'bodyLines':_0x116ce1});}yield _0xcddebd[a7_0x4e3a('0x3e')](_0x5b3c7b[a7_0x4e3a('0x1d')],_0x20a75d,_0x116ce1);output[a7_0x4e3a('0x17')](getCommand(_0x22e955));process[a7_0x4e3a('0x57')][a7_0x4e3a('0x2d')](_0x20a75d['terminalOutput']);output[a7_0x4e3a('0x46')]();});}function getCommand(_0x314774){const _0x48df7f=_0x314774[a7_0x4e3a('0x2c')][a7_0x4e3a('0x29')]?':'+_0x314774[a7_0x4e3a('0x2c')]['configuration']:'';return['nx',a7_0x4e3a('0x9'),_0x314774[a7_0x4e3a('0x2c')][a7_0x4e3a('0x5c')]+':'+_0x314774[a7_0x4e3a('0x2c')][a7_0x4e3a('0x2c')]+_0x48df7f,(0x0,serializer_overrides_1[a7_0x4e3a('0x5')])(_0x314774)][a7_0x4e3a('0x53')]('\x20');}const nxCloudDistributedTasksRunner=(_0x47b81e,_0x4fd000,_0x6cab76)=>__awaiter(void 0x0,void 0x0,void 0x0,function*(){if(environment_1[a7_0x4e3a('0x2e')]){output[a7_0x4e3a('0x11')]({'title':'Starting\x20distributed\x20command\x20execution'});}_0x4fd000[a7_0x4e3a('0x3d')]=new NoopLifeCycle();const _0x4d78f1=(0x0,environment_1['getRunGroup'])();if(!_0x4d78f1){(0x0,print_run_group_error_1[a7_0x4e3a('0x20')])();return process['exit'](0x1);}const _0x7f6ebb=new e2e_encryption_1[(a7_0x4e3a('0x3a'))](environment_1[a7_0x4e3a('0x52')]||_0x4fd000[a7_0x4e3a('0x1e')]);const _0x4b5baa=new error_reporter_api_1['ErrorReporterApi'](_0x4fd000);const _0x693287=new file_storage_1[(a7_0x4e3a('0xc'))](_0x7f6ebb,_0x4b5baa,!![]);const _0x394dbd=new Cache(_0x4fd000);const _0xc415b3=new distributed_execution_api_1[(a7_0x4e3a('0x8'))](_0x4fd000);try{const _0x1dda0d=getTaskGraph(_0x6cab76,_0x47b81e,_0x4fd000);const _0x465c01=yield runDistributedExecution(_0xc415b3,_0x4fd000,_0x6cab76,_0x693287,_0x394dbd,_0x4d78f1,_0x1dda0d);if(_0x465c01['commandStatus']===0x0){output[a7_0x4e3a('0x6')]({'title':a7_0x4e3a('0x1c'),'bodyLines':[a7_0x4e3a('0x51')+_0x465c01['runUrl']]});}else{output[a7_0x4e3a('0x34')]({'title':'Command\x20execution\x20failed.','bodyLines':['See\x20run\x20details\x20at\x20'+_0x465c01[a7_0x4e3a('0x56')]]});}yield(0x0,metric_logger_1[a7_0x4e3a('0x5d')])(_0x4fd000);process[a7_0x4e3a('0x4a')](_0x465c01['commandStatus']);}catch(_0x387a19){output[a7_0x4e3a('0x34')]({'title':a7_0x4e3a('0x3f'),'bodyLines':[_0x387a19['message']]});if(_0x387a19[a7_0x4e3a('0x23')]){console['log'](_0x387a19['axiosException']);}else{console[a7_0x4e3a('0x2a')](_0x387a19);}try{yield _0xc415b3[a7_0x4e3a('0x31')](_0x4d78f1,a7_0x4e3a('0x50')+_0x387a19[a7_0x4e3a('0x32')]+'\x22');}finally{process[a7_0x4e3a('0x4a')](0x1);}}});exports[a7_0x4e3a('0xe')]=nxCloudDistributedTasksRunner;function getTaskGraph(_0x42594e,_0xb831cd,_0x51e5e0){if(_0x42594e[a7_0x4e3a('0x44')]){return _0x42594e[a7_0x4e3a('0x44')];}else{const _0x4ec2c1=JSON[a7_0x4e3a('0x4d')](stripJsonComments((0x0,fs_1[a7_0x4e3a('0x26')])(workspaceRoot+a7_0x4e3a('0x15'))[a7_0x4e3a('0x3b')]()));return new task_graph_creator_1[(a7_0x4e3a('0x1'))](_0x42594e[a7_0x4e3a('0x16')],getDefaultDependencyConfigs(_0x4ec2c1,_0x51e5e0))[a7_0x4e3a('0x19')](_0xb831cd);}}function getDefaultDependencyConfigs(_0x106fc9,_0x12f0e1){var _0x3be09c,_0x4dac77;const _0x5afbdd=(_0x3be09c=_0x106fc9[a7_0x4e3a('0x43')])!==null&&_0x3be09c!==void 0x0?_0x3be09c:{};const _0x39353b=_0x12f0e1?(_0x4dac77=_0x12f0e1[a7_0x4e3a('0x54')])!==null&&_0x4dac77!==void 0x0?_0x4dac77:[a7_0x4e3a('0x12')]:[];for(const _0x40b757 of _0x39353b){_0x5afbdd[_0x40b757]=_0x5afbdd[_0x40b757]||[];_0x5afbdd[_0x40b757][a7_0x4e3a('0x3')]({'target':_0x40b757,'projects':a7_0x4e3a('0x47')});}return _0x5afbdd;}
@@ -1,37 +1 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.splitTasksIntoStages = void 0;
4
- function splitTasksIntoStages(taskGraph) {
5
- const stages = [];
6
- const notStagedTaskIds = new Set(Object.values(taskGraph.tasks).map((t) => t.id));
7
- let stageIndex = 0;
8
- // Loop through tasks and try to stage them. As tasks are staged, they are removed from the loop
9
- while (notStagedTaskIds.size > 0) {
10
- const currentStage = (stages[stageIndex] = []);
11
- for (const taskId of notStagedTaskIds) {
12
- let ready = true;
13
- for (const dependency of taskGraph.dependencies[taskId]) {
14
- if (notStagedTaskIds.has(dependency)) {
15
- // dependency has not been staged yet, this task is not ready to be staged.
16
- ready = false;
17
- break;
18
- }
19
- }
20
- // Some dependency still has not been staged, skip it for now, it will be processed again
21
- if (!ready) {
22
- continue;
23
- }
24
- // All the dependencies have been staged, let's stage it.
25
- const task = taskGraph.tasks[taskId];
26
- currentStage.push(task);
27
- }
28
- // Remove the entire new stage of tasks from the list
29
- for (const task of currentStage) {
30
- notStagedTaskIds.delete(task.id);
31
- }
32
- stageIndex++;
33
- }
34
- return stages;
35
- }
36
- exports.splitTasksIntoStages = splitTasksIntoStages;
37
- //# sourceMappingURL=split-task-graph-into-stages.js.map
1
+ const a8_0x15e7=['dependencies','delete','splitTasksIntoStages','map','size','__esModule','push','tasks','has'];(function(_0x40e8d0,_0x15e74d){const _0x25b0d7=function(_0x518bfd){while(--_0x518bfd){_0x40e8d0['push'](_0x40e8d0['shift']());}};_0x25b0d7(++_0x15e74d);}(a8_0x15e7,0x174));const a8_0x25b0=function(_0x40e8d0,_0x15e74d){_0x40e8d0=_0x40e8d0-0x0;let _0x25b0d7=a8_0x15e7[_0x40e8d0];return _0x25b0d7;};'use strict';Object['defineProperty'](exports,a8_0x25b0('0x2'),{'value':!![]});exports['splitTasksIntoStages']=void 0x0;function splitTasksIntoStages(_0x500385){const _0x5609bc=[];const _0x4fada3=new Set(Object['values'](_0x500385[a8_0x25b0('0x4')])[a8_0x25b0('0x0')](_0x5b572d=>_0x5b572d['id']));let _0x1ae246=0x0;while(_0x4fada3[a8_0x25b0('0x1')]>0x0){const _0xe497a3=_0x5609bc[_0x1ae246]=[];for(const _0x5827f6 of _0x4fada3){let _0x32ad48=!![];for(const _0x57f369 of _0x500385[a8_0x25b0('0x6')][_0x5827f6]){if(_0x4fada3[a8_0x25b0('0x5')](_0x57f369)){_0x32ad48=![];break;}}if(!_0x32ad48){continue;}const _0x4f5cf0=_0x500385[a8_0x25b0('0x4')][_0x5827f6];_0xe497a3[a8_0x25b0('0x3')](_0x4f5cf0);}for(const _0x4c49ef of _0xe497a3){_0x4fada3[a8_0x25b0('0x7')](_0x4c49ef['id']);}_0x1ae246++;}return _0x5609bc;}exports[a8_0x25b0('0x8')]=splitTasksIntoStages;
@@ -1,77 +1 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.TaskGraphCreator = void 0;
4
- const { getDependencyConfigs } = require('../../../utilities/nx-imports');
5
- /**
6
- * This is only used for versions of Nx prior to 14 where the task graph
7
- * wasn't part of the context so we have to recreate it
8
- */
9
- class TaskGraphCreator {
10
- constructor(projectGraph, defaultTargetDependencies) {
11
- this.projectGraph = projectGraph;
12
- this.defaultTargetDependencies = defaultTargetDependencies;
13
- }
14
- createTaskGraph(tasks) {
15
- const graph = {
16
- roots: [],
17
- tasks: {},
18
- dependencies: {},
19
- };
20
- for (const task of tasks) {
21
- this.addTaskToGraph(task, graph);
22
- const dependencyConfigs = getDependencyConfigs(task.target, this.defaultTargetDependencies, this.projectGraph);
23
- if (!dependencyConfigs) {
24
- continue;
25
- }
26
- this.addTaskDependencies(task, dependencyConfigs, tasks, graph);
27
- }
28
- graph.roots = Object.keys(graph.dependencies).filter((k) => graph.dependencies[k].length === 0);
29
- return graph;
30
- }
31
- addTaskDependencies(task, dependencyConfigs, tasks, graph) {
32
- for (const dependencyConfig of dependencyConfigs) {
33
- if (dependencyConfig.projects === 'self') {
34
- for (const t of tasks) {
35
- if (t.target.project === task.target.project &&
36
- t.target.target === dependencyConfig.target) {
37
- graph.dependencies[task.id].push(t.id);
38
- }
39
- }
40
- }
41
- else if (dependencyConfig.projects === 'dependencies') {
42
- const seen = new Set();
43
- this.addDependencies(task.target.project, dependencyConfig.target, tasks, graph, task.id, seen);
44
- }
45
- }
46
- }
47
- addDependencies(project, target, tasks, graph, taskId, seen) {
48
- seen.add(project);
49
- const dependencies = this.projectGraph.dependencies[project];
50
- if (dependencies) {
51
- const projectDependencies = dependencies.map((dependency) => dependency.target);
52
- for (const projectDependency of projectDependencies) {
53
- if (seen.has(projectDependency)) {
54
- continue;
55
- }
56
- const dependency = this.findTask({ project: projectDependency, target }, tasks);
57
- if (dependency) {
58
- if (graph.dependencies[taskId].indexOf(dependency.id) === -1) {
59
- graph.dependencies[taskId].push(dependency.id);
60
- }
61
- }
62
- else {
63
- this.addDependencies(projectDependency, target, tasks, graph, taskId, seen);
64
- }
65
- }
66
- }
67
- }
68
- findTask({ project, target }, tasks) {
69
- return tasks.find((t) => t.target.project === project && t.target.target === target);
70
- }
71
- addTaskToGraph(task, graph) {
72
- graph.tasks[task.id] = task;
73
- graph.dependencies[task.id] = [];
74
- }
75
- }
76
- exports.TaskGraphCreator = TaskGraphCreator;
77
- //# sourceMappingURL=task-graph-creator.js.map
1
+ const a9_0x5b27=['defaultTargetDependencies','length','dependencies','projects','defineProperty','has','roots','project','add','__esModule','findTask','createTaskGraph','addDependencies','addTaskToGraph','../../../utilities/nx-imports','find','addTaskDependencies','push','indexOf','target','tasks','projectGraph'];(function(_0x2dd292,_0x5b2703){const _0x5ac2ab=function(_0x409ead){while(--_0x409ead){_0x2dd292['push'](_0x2dd292['shift']());}};_0x5ac2ab(++_0x5b2703);}(a9_0x5b27,0x124));const a9_0x5ac2=function(_0x2dd292,_0x5b2703){_0x2dd292=_0x2dd292-0x0;let _0x5ac2ab=a9_0x5b27[_0x2dd292];return _0x5ac2ab;};'use strict';Object[a9_0x5ac2('0x14')](exports,a9_0x5ac2('0x3'),{'value':!![]});exports['TaskGraphCreator']=void 0x0;const {getDependencyConfigs}=require(a9_0x5ac2('0x8'));class TaskGraphCreator{constructor(_0x365ad3,_0x54005f){this[a9_0x5ac2('0xf')]=_0x365ad3;this[a9_0x5ac2('0x10')]=_0x54005f;}[a9_0x5ac2('0x5')](_0x102334){const _0x3116b9={'roots':[],'tasks':{},'dependencies':{}};for(const _0x1bf4a5 of _0x102334){this['addTaskToGraph'](_0x1bf4a5,_0x3116b9);const _0x396dc8=getDependencyConfigs(_0x1bf4a5[a9_0x5ac2('0xd')],this['defaultTargetDependencies'],this[a9_0x5ac2('0xf')]);if(!_0x396dc8){continue;}this[a9_0x5ac2('0xa')](_0x1bf4a5,_0x396dc8,_0x102334,_0x3116b9);}_0x3116b9[a9_0x5ac2('0x0')]=Object['keys'](_0x3116b9[a9_0x5ac2('0x12')])['filter'](_0x2b375f=>_0x3116b9[a9_0x5ac2('0x12')][_0x2b375f][a9_0x5ac2('0x11')]===0x0);return _0x3116b9;}[a9_0x5ac2('0xa')](_0x706e84,_0x34b3ed,_0x450dd9,_0x19431d){for(const _0x55c456 of _0x34b3ed){if(_0x55c456[a9_0x5ac2('0x13')]==='self'){for(const _0x306f77 of _0x450dd9){if(_0x306f77['target']['project']===_0x706e84[a9_0x5ac2('0xd')][a9_0x5ac2('0x1')]&&_0x306f77['target'][a9_0x5ac2('0xd')]===_0x55c456[a9_0x5ac2('0xd')]){_0x19431d[a9_0x5ac2('0x12')][_0x706e84['id']][a9_0x5ac2('0xb')](_0x306f77['id']);}}}else if(_0x55c456[a9_0x5ac2('0x13')]===a9_0x5ac2('0x12')){const _0x34d4cc=new Set();this[a9_0x5ac2('0x6')](_0x706e84[a9_0x5ac2('0xd')][a9_0x5ac2('0x1')],_0x55c456[a9_0x5ac2('0xd')],_0x450dd9,_0x19431d,_0x706e84['id'],_0x34d4cc);}}}[a9_0x5ac2('0x6')](_0x577043,_0x5e9faf,_0x2b0c73,_0x171c8c,_0x3f4bb0,_0x37c9de){_0x37c9de[a9_0x5ac2('0x2')](_0x577043);const _0x91a772=this[a9_0x5ac2('0xf')][a9_0x5ac2('0x12')][_0x577043];if(_0x91a772){const _0x3c8bb5=_0x91a772['map'](_0x16d48a=>_0x16d48a[a9_0x5ac2('0xd')]);for(const _0x591170 of _0x3c8bb5){if(_0x37c9de[a9_0x5ac2('0x15')](_0x591170)){continue;}const _0x3a1d1f=this['findTask']({'project':_0x591170,'target':_0x5e9faf},_0x2b0c73);if(_0x3a1d1f){if(_0x171c8c['dependencies'][_0x3f4bb0][a9_0x5ac2('0xc')](_0x3a1d1f['id'])===-0x1){_0x171c8c[a9_0x5ac2('0x12')][_0x3f4bb0][a9_0x5ac2('0xb')](_0x3a1d1f['id']);}}else{this[a9_0x5ac2('0x6')](_0x591170,_0x5e9faf,_0x2b0c73,_0x171c8c,_0x3f4bb0,_0x37c9de);}}}}[a9_0x5ac2('0x4')]({project,target},_0x37f658){return _0x37f658[a9_0x5ac2('0x9')](_0x5053f6=>_0x5053f6[a9_0x5ac2('0xd')]['project']===project&&_0x5053f6['target'][a9_0x5ac2('0xd')]===target);}[a9_0x5ac2('0x7')](_0x124237,_0x17e4d4){_0x17e4d4[a9_0x5ac2('0xe')][_0x124237['id']]=_0x124237;_0x17e4d4[a9_0x5ac2('0x12')][_0x124237['id']]=[];}}exports['TaskGraphCreator']=TaskGraphCreator;
@@ -84,9 +84,8 @@ function getRunGroup() {
84
84
  if (process.env.VERCEL_GIT_COMMIT_REF !== undefined) {
85
85
  return process.env.VERCEL_GIT_COMMIT_REF;
86
86
  }
87
- // Gitlab, unique across all jobs in the instance
88
- if (process.env.CI_JOB_ID) {
89
- return process.env.CI_JOB_ID;
87
+ if (process.env.CI_PIPELINE_ID) {
88
+ return process.env.CI_PIPELINE_ID;
90
89
  }
91
90
  // Jenkins
92
91
  if (process.env.BUILD_TAG) {
@@ -1 +1 @@
1
- {"version":3,"file":"environment.js","sourceRoot":"","sources":["../../../../../../libs/nx-packages/nx-cloud/lib/utilities/environment.ts"],"names":[],"mappings":";;;AAAA,iDAAyC;AACzC,iCAAiC;AACjC,2BAAkC;AAClC,qDAAgD;AAChD,+BAAmC;AAInC,MAAM,EAAE,aAAa,EAAE,GAAG,OAAO,CAAC,cAAc,CAAC,CAAC;AAErC,QAAA,iBAAiB,GAAG,OAAO,CAAC;AAC5B,QAAA,mBAAmB,GAAG,OAAO,CAAC,GAAG,CAAC,yBAAyB;IACtE,CAAC,CAAC,MAAM,CAAC,OAAO,CAAC,GAAG,CAAC,yBAAyB,CAAC;IAC/C,CAAC,CAAC,OAAO,CAAC,CAAC,aAAa;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