Add new variable $_UPGRADE_STATUS_COMPOSER_EXTRA for the upgrade status job

Migrated issue

Reported by: jurgenhaas

Related to !234 (merged)

Problem/Motivation

There is the $COMPOSER_EXTRA variable which can be used by module maintainers to provide some extras as documented:

Additional options that are appended to the `composer` job call.

The upgrade status job is using composer require to install the upgrade_status but without that variable. That can cause issue when e.g. a system extension requirement should be ignored.

Steps to reproduce

See the SQRL pipeline which should ignore the libsodium extension: https://git.drupalcode.org/project/sqrl/-/jobs/2039769

It has this variable defined: COMPOSER_EXTRA: '--ignore-platform-req=ext-sodium'

Proposed resolution

Add the COMPOSER_EXTRA variable to the composer command.

Related issue: Issue #3459204

Related issue: Issue #3439644

Edited Feb 12, 2026 by drupalbot
Assignee Loading
Time tracking Loading