Bug 1715248 - include upload-symbols tasks in desktop release promotion. r=releng-reviewers,taskgraph-reviewers,gbrown

Usually, upload-symbols tasks run as part of the on-push graph; however, if a
push only touches platform-specific code, builds for other platforms may get
optimized out, along with the corresponding upload-symbols tasks.  If release
promotion is triggered on such a push, we may end up shipping builds whose
symbols are missing from the symbols server, affecting downstream consumers
like crash-stats.  To avoid this, ensure beetmover jobs (as an arbitrary
choice) pull in the upload-symbols tasks.

Differential Revision: https://phabricator.services.mozilla.com/D219768
This commit is contained in:
Julien Cristau 2024-08-26 14:07:52 +00:00
Родитель 673cc11073
Коммит bd7fbd3e9f
2 изменённых файлов: 5 добавлений и 0 удалений

Просмотреть файл

@ -178,6 +178,9 @@ def make_task_description(config, jobs):
dependencies[attribution_name] = upstream_deps[attribution_name]
if repackage_deb_name in upstream_deps:
dependencies[repackage_deb_name] = upstream_deps[repackage_deb_name]
for kind in ("upload-symbols", "upload-symbols-dummy"):
if kind in upstream_deps:
dependencies[kind] = upstream_deps[kind]
attributes = copy_attributes_from_dependent_job(dep_job)
attributes.update(job.get("attributes", {}))

Просмотреть файл

@ -36,6 +36,8 @@ kind-dependencies:
- attribution-l10n
- repackage-deb
- repackage-deb-l10n
- upload-symbols
- upload-symbols-dummy
only-for-build-platforms:
- linux-shippable/opt