Skip to content

Ignore non relevant events on GitHub Importer

What does this MR do and why?

GitHub Import imports events from the timeline API. Such API returns a lot of events that aren't relevant and that we can ignore.

Before this change, import workers were responsible for ignoring the events, which doesn't make sense since it's better to ignore the events before enqueuing the workers and not process the workers at all.

This change updates GitHub Import to ignore the events during the Stage worker phase.

Related to: #433012 (closed)

Screenshots or screen recordings

Screenshots are required for UI changes, and strongly recommended for all other merge requests.

Before After

How to set up and validate locally

  1. Migrate a project using GitHub Import
  2. Go to Project, new project, import project, select GitHub
  3. Provide an access token
  4. Select the project to be imported
  5. After the migration is complete. Check if the events were migrated

MR acceptance checklist

This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.

Edited by Rodrigo Tomonari

Merge request reports