open-telemetry/sem-conv:1.27.0 introduces new deprecation, breaks daily updated deps run

Created on 26 August 2024, 9 months ago
Updated 12 September 2024, 8 months ago

Problem/Motivation

opentelemetry-php/sem-conv released 1.27.0 (https://github.com/opentelemetry-php/sem-conv/releases/tag/1.27.0).

In it there's a new deprecation (https://github.com/opentelemetry-php/sem-conv/commit/04685638c98df03419b...) that breaks our daily "updated deps" test pipeline on the PHPStan job with a cheery:

 ------ ----------------------------------------------------------------------- 
  Line   core/tests/Drupal/Tests/PerformanceTestTrait.php (in context of class  
         Drupal\FunctionalJavascriptTests\PerformanceTestBase)                  
 ------ ----------------------------------------------------------------------- 
  474    Fetching deprecated class constant DEPLOYMENT_ENVIRONMENT of           
         interface OpenTelemetry\SemConv\ResourceAttributes:                    
         Use `deployment.environment.name`                                      
 ------ ----------------------------------------------------------------------- 

Steps to reproduce

See (for example) https://git.drupalcode.org/project/drupal/-/pipelines/264585

Proposed resolution

- Fix deprecation
- $ composer update open-telemetry/sem-conv since the fix (probably) won't pass on previous versions

If that fails to happen in a relatively short timespan: Suppress the deprecation, and create a new issue for it.
That way the daily "updated deps" test pipeline doesn't stop at the Lint-phase and keeps on catching other (for us) problematic updates in dependencies.

Remaining tasks

User interface changes

Introduced terminology

API changes

Data model changes

Release notes snippet

📌 Task
Status

Fixed

Version

10.4

Component
Other 

Last updated about 12 hours ago

Created by

🇳🇱Netherlands spokje

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Merge Requests

Comments & Activities

Production build 0.71.5 2024