elastic / kibana

Your window into the Elastic Stack
https://www.elastic.co/products/kibana
Other
19.62k stars 8.22k forks source link

Debug telemetry collector checker failing in packages #172577

Open Bamieh opened 11 months ago

Bamieh commented 11 months ago

Debug why the telemetry checker fails to extract interface types from packages.

It was in a package, and removed by this commit: https://github.com/elastic/kibana/pull/172280/commits/eb0eeafb7d1a3aa76c23902f0a93018c66d03082

Because CI failed with

[14:05:33] → Error extracting collector in x-pack/plugins/enterprise_search/server/collectors/connectors/telemetry.ts
Error: Unable to find identifier in source Telemetry
ERROR Unhandled exception!
ERROR Error: Error extracting collector in x-pack/plugins/enterprise_search/server/collectors/connectors/telemetry.ts
      Error: Unable to find identifier in source Telemetry
          at createFailError (dev_cli_errors.ts:27:24)
          at parseUsageCollection (ts_parser.ts:226:32)
          at parseUsageCollection.next (<anonymous>)
          at extractCollectors (extract_collectors.ts:58:32)
          at extractCollectors.next (<anonymous>)
          at Task.task (extract_collectors_task.ts:43:53)
          at processTicksAndRejections (node:internal/process/task_queues:95:5)
🚨 Error: The command exited with status 1

Context: https://github.com/elastic/kibana/pull/172280

elasticmachine commented 11 months ago

Pinging @elastic/kibana-core (Team:Core)