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:
Iván Ovejero
2023-12-15 12:50:09 +01:00
committed by GitHub
parent 3d530522f8
commit 2da15d0264
2 changed files with 1 additions and 22 deletions

View File

@@ -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;