Skip to content

Commit

Permalink
fix(streams): backport conflicts
Browse files Browse the repository at this point in the history
  • Loading branch information
tonyghiani committed Mar 4, 2025
1 parent d954d5d commit 4e53e1d
Showing 1 changed file with 4 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -655,9 +655,10 @@ const isSuccessfulProcessor = (
processor.status === 'success' && !!processor.tag;

const isSkippedProcessor = (
processor: IngestPipelineSimulation
// @ts-expect-error Looks like the IngestPipelineSimulation.status is not typed correctly and misses the 'skipped' status
): processor is WithRequired<IngestPipelineSimulation, 'tag'> => processor.status === 'skipped';
processor: IngestSimulatePipelineSimulation
): processor is WithRequired<IngestSimulatePipelineSimulation, 'tag'> =>
// @ts-expect-error Looks like the IngestSimulatePipelineSimulation.status is not typed correctly and misses the 'skipped' status
processor.status === 'skipped';

// TODO: update type once Kibana updates to elasticsearch-js 8.17
const isMappingFailure = (entry: any) => entry.doc?.error?.type === 'document_parsing_exception';
Expand Down

0 comments on commit 4e53e1d

Please sign in to comment.