Skip to content

Conversation

@Litarnus
Copy link
Contributor

No description provided.

JulienChavee and others added 30 commits October 20, 2025 14:40
Co-authored-by: Michi Hoffmann <cleptric@users.noreply.github.com>
…andler (#1931)

Co-authored-by: Deeka Wong <8337659+huangdijia@users.noreply.github.com>
Co-authored-by: Martin Linzmayer <martin.linzmayer@sentry.io>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
…#1972)

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Michael Hoffmann <michi@sentry.io>
Litarnus and others added 11 commits November 27, 2025 15:51
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
# Conflicts:
#	composer.json
#	phpstan-baseline.neon
#	psalm.xml.dist
#	src/Event.php
#	src/EventType.php
#	src/Metrics/Metrics.php
#	src/Options.php
#	src/Tracing/Span.php
#	src/Unit.php
#	src/functions.php
#	tests/Metrics/MetricsTest.php
#	tests/OptionsTest.php
#	tests/Serializer/PayloadSerializerTest.php
#	tests/Serializer/SerializerTest.php
@Litarnus Litarnus changed the base branch from master to 5.x December 16, 2025 12:51

return filter_var($booleanOrUrl, \FILTER_VALIDATE_BOOLEAN);
}

This comment was marked as outdated.

@Litarnus Litarnus force-pushed the merge-master-changes branch from c9de2a6 to c921f00 Compare December 16, 2025 14:03
}

return $this;
}
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Bug: Span flag updates blocked after reaching max limit

The setFlag method blocks all flag operations once MAX_FLAGS (10) is reached, including updates to existing flags. The condition count($this->flags) < self::MAX_FLAGS prevents both new flags AND updates to existing ones when the limit is hit. If a flag was added early and needs its value changed later after 10 flags exist, the update is silently ignored. The check doesn't account for whether the key already exists in the array, where an update wouldn't increase the count.

Fix in Cursor Fix in Web

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

That is also IIRC to spec!

@Litarnus Litarnus merged commit 2f949ce into 5.x Dec 17, 2025
43 checks passed
@Litarnus Litarnus deleted the merge-master-changes branch December 17, 2025 09:23
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.

9 participants