mirror of
https://github.com/n8n-io/n8n.git
synced 2025-01-12 05:17:28 -08:00
refactor(core): Remove ID-less workflow reporting (no-changelog) (#8038)
We added ID-less workflow reporting at #8031, which has already produced multiple reports coming from internal, enough info to tackle [this story](https://linear.app/n8n/issue/PAY-1147). To prevent an overwhelming number of reports from cloud, this PR removes the reporting for now.
This commit is contained in:
parent
3d530522f8
commit
2da15d0264
|
@ -13,13 +13,7 @@ import type {
|
|||
INodeTypes,
|
||||
IRun,
|
||||
} from 'n8n-workflow';
|
||||
import {
|
||||
Workflow,
|
||||
NodeOperationError,
|
||||
sleep,
|
||||
ApplicationError,
|
||||
ErrorReporterProxy as EventReporter,
|
||||
} from 'n8n-workflow';
|
||||
import { Workflow, NodeOperationError, sleep, ApplicationError } from 'n8n-workflow';
|
||||
|
||||
import * as Db from '@/Db';
|
||||
import * as ResponseHelper from '@/ResponseHelper';
|
||||
|
@ -138,13 +132,6 @@ export class Worker extends BaseCommand {
|
|||
}
|
||||
const workflowId = fullExecutionData.workflowData.id!; // @tech_debt Ensure this is not optional
|
||||
|
||||
if (!workflowId) {
|
||||
EventReporter.report('Detected ID-less workflow', {
|
||||
level: 'info',
|
||||
extra: { execution: fullExecutionData },
|
||||
});
|
||||
}
|
||||
|
||||
this.logger.info(
|
||||
`Start job: ${job.id} (Workflow ID: ${workflowId} | Execution: ${executionId})`,
|
||||
);
|
||||
|
|
|
@ -52,7 +52,6 @@ import { RoutingNode } from './RoutingNode';
|
|||
import { Expression } from './Expression';
|
||||
import { NODES_WITH_RENAMABLE_CONTENT } from './Constants';
|
||||
import { ApplicationError } from './errors/application.error';
|
||||
import * as EventReporter from './ErrorReporterProxy';
|
||||
|
||||
function dedupe<T>(arr: T[]): T[] {
|
||||
return [...new Set(arr)];
|
||||
|
@ -95,13 +94,6 @@ export class Workflow {
|
|||
settings?: IWorkflowSettings;
|
||||
pinData?: IPinData;
|
||||
}) {
|
||||
if (!parameters.id) {
|
||||
EventReporter.report('Detected ID-less workflow', {
|
||||
level: 'info',
|
||||
extra: { parameters },
|
||||
});
|
||||
}
|
||||
|
||||
this.id = parameters.id as string; // @tech_debt Ensure this is not optional
|
||||
this.name = parameters.name;
|
||||
this.nodeTypes = parameters.nodeTypes;
|
||||
|
|
Loading…
Reference in a new issue