Open Bug 1857600 Opened 2 years ago Updated 2 years ago

automatically ignore tasks for unsupported branches of github projects without the use of a manual list

Categories

(Tree Management :: Treeherder: Data Ingestion, task)

Tracking

(Not tracked)

People

(Reporter: aryx, Unassigned)

Details

  • Treeherder either only ingests tasks for pushes to branches on an allowlist (think main etc.) or all of them (even if does not ingest every branch). The list of the repositories for the former is manually maintained. The former is done to save resources.
  • For the filtering, it gets MOBILE_BASE_REPOSITORY and MOBILE_HEAD_REPOSITORY to detect PRs (and ignore them) and also fetches MOBILE_HEAD_REF.
  • application-services uses APPSERVICES_ instead of MOBILE_

The repositories.json file already defines the branches which get ingested and tasks should be ingested based on this without the need for a list of repositories which shall be checked for this.

bhearsum explained one can reply on only one *_BASE_REPOSITORY (etc.) variable being included in the task payload (and cycle over all variables to find them). Taskcluster reads the values here.

You need to log in before you can comment on or make changes to this bug.