Skip to content

fix(deps): bump h2 to 0.4.19 to fix spurious connection termination - #2573

Merged
gh-worker-dd-mergequeue-cf854d[bot] merged 1 commit into
mainfrom
dd/bump-h2-to-0-4-19-20260909162638
Sep 9, 2026
Merged

gh-worker-dd-mergequeue-cf854d[bot] merged 1 commit into
mainfrom
dd/bump-h2-to-0-4-19-20260909162638

Conversation

@tobz

@tobz tobz commented Sep 9, 2026 •

Copy link
Copy Markdown
Member

Summary

Bump h2 to 0.4.19 to pick up the fix for hyperium/h2#939: h2 0.4.16 added a small-DATA-frame protection that spuriously terminates legitimate HTTP/2 client connections with a too_many_data_frames ENHANCE_YOUR_CALM GOAWAY error.

When testing ADP 1.6.0 in staging, we observed an elevated rate of HTTP retries, specifically for HTTP/2. We debugged the issue and landed on h2 as being the proximate cause. We further wittled down the search by checking our logs for instances of the "too many small DATA frames" debug log that was added in the aforementioned h2 PR, which then completely confirmed the aforementioned PR as being the root cause.

Change Type

  • Bug fix
  • New feature
  • Non-functional (chore, refactoring, docs)
  • Performance

How did you test this PR?

Existing tests.

References

@datadog-datadog-prod-us1

datadog-datadog-prod-us1 Bot commented Sep 9, 2026 •

Copy link
Copy Markdown

View session in Datadog

Bits Code status: ✅ Done

Comment @DataDog to request changes

@tobz
tobz requested a review from a team as a code owner September 9, 2026 16:28
@datadog-prod-us1-4

Copy link
Copy Markdown

I can only run on private repositories.

@datadog-datadog-prod-us1 datadog-datadog-prod-us1 Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Datadog Autotest: PASS

More details

The lockfile changes only the h2 version and checksum. Its dependency list stays unchanged, and the release note describes the fixed HTTP/2 failure.

Was this helpful? React 👍 or 👎

Open Bits AI session

🤖 Datadog Autotest · Commit 674cc9f · What is Autotest? · @DataDog review to ask questions · Any feedback? Reach out in #autotest

@tobz tobz changed the title Bump h2 to 0.4.19 chore(deps): bump h2 to 0.4.19 to fix spurious connection termination Sep 9, 2026
@tobz tobz added type/bug Bug fixes. type/chore Updates to dependencies or general "administrative" tasks necessary to maintain the codebase/repo. labels Sep 9, 2026
@tobz tobz changed the title chore(deps): bump h2 to 0.4.19 to fix spurious connection termination fix(deps): bump h2 to 0.4.19 to fix spurious connection termination Sep 9, 2026
@pr-commenter

pr-commenter Bot commented Sep 9, 2026

Copy link
Copy Markdown

Binary Size Analysis (Agent Data Plane)

Baseline: 18270ca · Comparison: 674cc9f · diff
Analysis Configuration: stripped binaries · Pass/Fail Threshold: +5%
Sizes: 39.34 MiB (baseline) vs 39.27 MiB (comparison)
Size Change: -68.80 KiB (-0.17%)

✅ Binary size difference within threshold

Changes by Module
Module File Size Symbols
h2 +31.28 KiB 2209
hyper -28.21 KiB 531
anon.6ea03a47f0fd2bab8e6361dbfa58842c.0.llvm.4130789982535965397 -16.91 KiB 1
anon.37621d91f4f937fa1e0e1a68046c101a.489.llvm.15945718782879576655 +16.81 KiB 1
[sections] -12.10 KiB 8
anon.6ea03a47f0fd2bab8e6361dbfa58842c.483.llvm.4130789982535965397 -12.01 KiB 1
anon.37621d91f4f937fa1e0e1a68046c101a.660.llvm.15945718782879576655 +12.00 KiB 1
anon.6ea03a47f0fd2bab8e6361dbfa58842c.101.llvm.4130789982535965397 -9.99 KiB 1
anon.37621d91f4f937fa1e0e1a68046c101a.212.llvm.15945718782879576655 +9.99 KiB 1
anon.6ea03a47f0fd2bab8e6361dbfa58842c.4.llvm.4130789982535965397 -9.42 KiB 1
anon.37621d91f4f937fa1e0e1a68046c101a.471.llvm.15945718782879576655 +9.42 KiB 1
anon.e2781b9226cae3715e5b69ed0229f72c.13.llvm.9401793905610249070 -8.49 KiB 1
anon.37621d91f4f937fa1e0e1a68046c101a.0.llvm.15945718782879576655 +8.48 KiB 1
tokio -7.43 KiB 3962
anon.177fa80ec7639942eb46cf4d308968ee.73.llvm.7294570049593095522 -7.04 KiB 1
anon.37621d91f4f937fa1e0e1a68046c101a.110.llvm.15945718782879576655 +7.03 KiB 1
anon.177fa80ec7639942eb46cf4d308968ee.577.llvm.7294570049593095522 -6.54 KiB 1
anon.37621d91f4f937fa1e0e1a68046c101a.526.llvm.15945718782879576655 +6.53 KiB 1
axum -5.40 KiB 794
core -4.64 KiB 16155
Detailed Symbol Changes
    FILE SIZE        VM SIZE    
 --------------  -------------- 
  [NEW] +61.0Ki  [NEW] +60.9Ki    saluki_components::common::datadog::io::run_endpoint_io_loop::_{{closure}}::h2570649b41be7a39
  [NEW] +42.8Ki  [NEW] +42.6Ki    _<saluki_components::forwarders::otlp::OtlpForwarder as saluki_core::components::forwarders::Forwarder>::run::_{{closure}}::h50aee9e8be254229
  [NEW] +39.1Ki  [NEW] +39.0Ki    agent_data_plane::cli::run::handle_run_command::_{{closure}}::h311e1cbdabf50701
  [NEW] +38.3Ki  [NEW] +38.2Ki    agent_data_plane::cli::run::create_topology::_{{closure}}::h487a5f1b1cb6f283
  [NEW] +31.3Ki  [NEW] +31.1Ki    agent_data_plane::cli::dogstatsd::run_dogstatsd_command::_{{closure}}::h4dfd292d98ef1960
  [NEW] +30.6Ki  [NEW] +30.4Ki    _<saluki_components::transforms::aggregate::Aggregate as saluki_core::components::transforms::Transform>::run::_{{closure}}::h8dec38b85bbfd296
  [NEW] +28.6Ki  [NEW] +28.5Ki    agent_data_plane::dogstatsd_contexts::artifact::for_each_record::ha0c83e2095f76e73
  [NEW] +28.5Ki  [NEW] +28.3Ki    saluki_env::workload::collectors::containerd::NamespaceWatcher::build_initial_metadata_operations::_{{closure}}::h98fb5cbb85ad0760
  [NEW] +27.7Ki  [NEW] +27.5Ki    datadog_agent_commons::ipc::client::RemoteAgentClient::connect::_{{closure}}::_{{closure}}::_{{closure}}::h5656819dd546191b
  [NEW] +27.3Ki  [NEW] +27.1Ki    core::ptr::drop_in_place<agent_data_plane::cli::run::handle_run_command::{{closure}}>::h127a4905e269c4ec
  [DEL] -27.1Ki  [DEL] -26.9Ki    core::ptr::drop_in_place<agent_data_plane::cli::run::handle_run_command::{{closure}}>::h2e91e98acc8da82e
  [DEL] -27.6Ki  [DEL] -27.4Ki    datadog_agent_commons::ipc::client::RemoteAgentClient::connect::_{{closure}}::_{{closure}}::_{{closure}}::hba0d61c2b894edcc
  [DEL] -28.2Ki  [DEL] -28.0Ki    saluki_env::workload::collectors::containerd::NamespaceWatcher::build_initial_metadata_operations::_{{closure}}::hf5383c12a2d57bb6
  [DEL] -28.5Ki  [DEL] -28.4Ki    agent_data_plane::dogstatsd_contexts::artifact::for_each_record::h6a8e32c6d5e6dd2d
  [DEL] -30.6Ki  [DEL] -30.4Ki    _<saluki_components::transforms::aggregate::Aggregate as saluki_core::components::transforms::Transform>::run::_{{closure}}::hf8615634f4a598e9
  [DEL] -31.3Ki  [DEL] -31.1Ki    agent_data_plane::cli::dogstatsd::run_dogstatsd_command::_{{closure}}::hfc9330b18ba1d070
  [DEL] -37.9Ki  [DEL] -37.8Ki    agent_data_plane::cli::run::create_topology::_{{closure}}::h3c12b3b2d15fce04
  [DEL] -39.1Ki  [DEL] -39.0Ki    agent_data_plane::cli::run::handle_run_command::_{{closure}}::hb315b346cf731719
  [DEL] -42.9Ki  [DEL] -42.7Ki    _<saluki_components::forwarders::otlp::OtlpForwarder as saluki_core::components::forwarders::Forwarder>::run::_{{closure}}::hd7743aa9fe7a65d7
  [DEL] -61.0Ki  [DEL] -60.8Ki    saluki_components::common::datadog::io::run_endpoint_io_loop::_{{closure}}::h3d40f7ba2ddb4657
  -0.3% -69.6Ki  -0.4% -68.8Ki    [57393 Others]
  -0.2% -68.8Ki  -0.2% -68.0Ki    TOTAL

@pr-commenter

pr-commenter Bot commented Sep 9, 2026

Copy link
Copy Markdown

Regression Detector (Agent Data Plane)

Run ID: 83b36b1b-cf0a-42e6-ae26-9b24b03faa73
Baseline: 18270caa · Comparison: 674cc9f1 · diff

Optimization Goals: ✅ No significant changes detected

Fine details of change detection per experiment (5)

Experiments configured erratic: true are tagged (ignored) and skipped when determining which experiments regressed or improved. Experiments which are detected as erratic at runtime are tagged (erratic) to flag that the run's sample dispersion was high, but their regression / improvement signal still counts.

experiment goal Δ mean % links
quality_gates_rss_dsd_low memory ⚪ +0.47 metrics profiles logs
quality_gates_rss_dsd_ultraheavy memory ⚪ +0.39 metrics profiles logs
quality_gates_rss_idle memory ⚪ +0.01 metrics profiles logs
quality_gates_rss_dsd_heavy memory ⚪ -0.00 metrics profiles logs
quality_gates_rss_dsd_medium memory ⚪ -0.04 metrics profiles logs
Bounds Checks: ✅ Passed (5)
experiment check replicates observed links
quality_gates_rss_dsd_heavy memory_usage 10/10 ✅ 232 MiB ≤ 250 MiB metrics profiles logs
quality_gates_rss_dsd_low memory_usage 10/10 ✅ 51.3 MiB ≤ 60 MiB metrics profiles logs
quality_gates_rss_dsd_medium memory_usage 10/10 ✅ 93.4 MiB ≤ 100 MiB metrics profiles logs
quality_gates_rss_dsd_ultraheavy memory_usage 10/10 ✅ 388 MiB ≤ 420 MiB metrics profiles logs
quality_gates_rss_idle memory_usage 10/10 ✅ 33.5 MiB ≤ 40 MiB metrics profiles logs
Explanation

A change is flagged as a regression when |Δ mean %| > 5.00% in the regressing direction for its optimization goal AND SMP marks the experiment as a regression (is_regression: true). Improvements use the matching criteria for the improving direction. Experiments configured erratic: true (tagged (ignored)) are skipped outright; experiments detected as erratic at runtime (tagged (erratic)) still count, since that flag describes sample dispersion rather than directional certainty. The Δ mean % cell is colored accordingly: 🟢 = improvement, 🔴 = regression, ⚪ = neutral. Reduction in CPU or memory is an improvement; reduction in ingress throughput is a regression. Experiments tagged (no analysis) show ⚠️ n/a: SMP ran them but produced no analysis, usually because a replicate failed and exhausted its retries. Check the SMP report for that experiment's replicate failures.

@gh-worker-dd-mergequeue-cf854d
gh-worker-dd-mergequeue-cf854d Bot merged commit 6680c5c into main Sep 9, 2026
117 of 120 checks passed
@gh-worker-dd-mergequeue-cf854d
gh-worker-dd-mergequeue-cf854d Bot deleted the dd/bump-h2-to-0-4-19-20260909162638 branch September 9, 2026 17:25
dd-octo-sts Bot pushed a commit that referenced this pull request Sep 9, 2026
…#2573)

<!-- dd-meta {"pullId":"ed245921-f5c2-4751-b9d1-5eb9d95e524b","source":"chat","resourceId":"429d2498-2012-4d3b-8f35-b2da00020d05","workflowId":"23c4de37-41d1-4534-8dbb-5c448aec7b20","codeChangeId":"23c4de37-41d1-4534-8dbb-5c448aec7b20","sourceType":"slack"} -->
## Summary
Bump `h2` to 0.4.19 to pick up the fix for hyperium/h2#939: h2 `0.4.16` added a small-DATA-frame protection that spuriously terminates legitimate HTTP/2 client connections with a `too_many_data_frames` `ENHANCE_YOUR_CALM` GOAWAY error.

When testing ADP 1.6.0 in staging, we observed an elevated rate of HTTP retries, specifically for HTTP/2. We debugged the issue and landed on `h2` as being the proximate cause. We further wittled down the search by checking our logs for instances of the "too many small DATA frames" debug log that was added in the aforementioned `h2` PR, which then completely confirmed the aforementioned PR as being the root cause.

## Change Type
- [x] Bug fix
- [ ] New feature
- [ ] Non-functional (chore, refactoring, docs)
- [ ] Performance

## How did you test this PR?

Existing tests.

## References

- Upstream issue: hyperium/h2#939
- Related error-logging enrichment: #2572

Co-authored-by: datadog-prod-us1-5[bot] <266081015+datadog-prod-us1-5[bot]@users.noreply.github.com>
Co-authored-by: toby.lawrence <[email protected]> 6680c5c
@jszwedko jszwedko mentioned this pull request Sep 9, 2026
2 tasks done
jszwedko pushed a commit that referenced this pull request Sep 9, 2026
…#2573)

<!-- dd-meta {"pullId":"ed245921-f5c2-4751-b9d1-5eb9d95e524b","source":"chat","resourceId":"429d2498-2012-4d3b-8f35-b2da00020d05","workflowId":"23c4de37-41d1-4534-8dbb-5c448aec7b20","codeChangeId":"23c4de37-41d1-4534-8dbb-5c448aec7b20","sourceType":"slack"} -->
## Summary
Bump `h2` to 0.4.19 to pick up the fix for hyperium/h2#939: h2 `0.4.16` added a small-DATA-frame protection that spuriously terminates legitimate HTTP/2 client connections with a `too_many_data_frames` `ENHANCE_YOUR_CALM` GOAWAY error.

When testing ADP 1.6.0 in staging, we observed an elevated rate of HTTP retries, specifically for HTTP/2. We debugged the issue and landed on `h2` as being the proximate cause. We further wittled down the search by checking our logs for instances of the "too many small DATA frames" debug log that was added in the aforementioned `h2` PR, which then completely confirmed the aforementioned PR as being the root cause.

## Change Type
- [x] Bug fix
- [ ] New feature
- [ ] Non-functional (chore, refactoring, docs)
- [ ] Performance

## How did you test this PR?

Existing tests.

## References

- Upstream issue: hyperium/h2#939
- Related error-logging enrichment: #2572

Co-authored-by: datadog-prod-us1-5[bot] <266081015+datadog-prod-us1-5[bot]@users.noreply.github.com>
Co-authored-by: toby.lawrence <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Bits AI mergequeue-status: done type/bug Bug fixes. type/chore Updates to dependencies or general "administrative" tasks necessary to maintain the codebase/repo.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants