Skip to content

Update telemetry dependency constraint#166

Merged
ChiragAgg5k merged 1 commit into
mainfrom
fix/telemetry-04
Jun 2, 2026
Merged

Update telemetry dependency constraint#166
ChiragAgg5k merged 1 commit into
mainfrom
fix/telemetry-04

Conversation

@ChiragAgg5k
Copy link
Copy Markdown
Member

Summary

  • Bump utopia-php/telemetry from 0.2.* to ^0.4.
  • Update composer.lock to resolve utopia-php/telemetry 0.4.0.

Why

Circuit breaker 0.3.1 uses the telemetry 0.4 lazy metric API. Keeping downstream libraries pinned to telemetry 0.2.* allows Composer to resolve an incompatible runtime combination where Counter::lazy() / Gauge::lazy() are missing.

Tests

  • composer validate --strict
  • composer lint
  • composer test not available: no Composer test script

@greptile-apps
Copy link
Copy Markdown

greptile-apps Bot commented Jun 2, 2026

Greptile Summary

This PR bumps the utopia-php/telemetry dependency from 0.2.* to ^0.4 in order to unblock ecosystem compatibility — specifically allowing consumers who also use utopia-php/circuit-breaker 0.3.1+ (which itself requires the Counter::lazy() / Gauge::lazy() API added in telemetry 0.4) to resolve a consistent set of packages. The composer.lock is updated to pin utopia-php/telemetry at 0.4.0; no PHP source changes are needed because this library only calls Adapter::createHistogram(), an API that is stable across both versions.

  • The ^0.4 constraint in Composer resolves to >=0.4.0 <0.5.0 (for 0.x packages Composer treats the minor as the breaking-change boundary), which is semantically equivalent to the 0.4.* notation used for utopia-php/validators; the different syntax is a minor style inconsistency but has no functional impact.
  • No other locked package versions changed, confirming the upgrade is isolated.

Confidence Score: 5/5

Safe to merge — the change is a single, isolated dependency version bump with no PHP source modifications.

The only files touched are composer.json and composer.lock. The library's sole use of the telemetry API (Adapter::createHistogram) is stable across versions, the lock file correctly resolves to 0.4.0, and no other resolved packages shifted. The motivation is clearly documented and the constraint is appropriate for a 0.x package.

No files require special attention.

Important Files Changed

Filename Overview
composer.json Bumps utopia-php/telemetry constraint from 0.2.* to ^0.4; constraint style is now inconsistent with other utopia-php deps that use 0.x.* notation, but semantics are equivalent (>=0.4.0 <0.5.0)
composer.lock Lock file regenerated to resolve utopia-php/telemetry at 0.4.0 (commit e0630df); content-hash updated; no other package versions changed

Reviews (1): Last reviewed commit: "Update telemetry dependency constraint" | Re-trigger Greptile

@ChiragAgg5k ChiragAgg5k merged commit a604b0e into main Jun 2, 2026
8 of 9 checks passed
@ChiragAgg5k ChiragAgg5k deleted the fix/telemetry-04 branch June 2, 2026 04:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants