fix: bump ZAI_CONFIG_ENTRIES_COUNT_MAX to 400#4059
Closed
MilanGarnier wants to merge 1 commit into
Closed
Conversation
PR #3997 pushed the real config entry count (~302, incl. per-integration ANALYTICS_ENABLED/ANALYTICS_SAMPLE_RATE aliases) past the compile-time cap of 300, tripping the static assert in ext/configuration.c and breaking every master build since, which also blocked the publish-to-s3 dev release job.
|
MilanGarnier
marked this pull request as ready for review
July 24, 2026 09:52
Member
|
This looks like it is solving the same issue as #4057 |
Contributor
Author
|
Thanks I had missed it, I'm closing |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Why
Master has been unable to publish a dev build since #3997 merged. That PR
added the
DD_TRACE_PROPAGATION_BEHAVIOR_EXTRACTconfig plus newper-integration entries, pushing the total number of registered config
entries to ~302 - over the compile-time cap of 300 in
ZAI_CONFIG_ENTRIES_COUNT_MAX.This trips the static assert in
ext/configuration.c:which breaks the
compile tracing extensionjobsFix
Bump
ZAI_CONFIG_ENTRIES_COUNT_MAXfrom 300 to 400 to restore extracapacity above the current count (~302) for new config entries.