Skip to content

chore: improve memory management for partially created mux - #2995

Merged
Noroth merged 4 commits into
ludwig/otel-fixesfrom
ludwig/eng-9793-router-partial-graph-mux-failure-causes-memory-leak
Jul 1, 2026
Merged

chore: improve memory management for partially created mux#2995
Noroth merged 4 commits into
ludwig/otel-fixesfrom
ludwig/eng-9793-router-partial-graph-mux-failure-causes-memory-leak

Conversation

@Noroth

@Noroth Noroth commented Jun 22, 2026

Copy link
Copy Markdown
Contributor

WIP

@coderabbitai summary

Checklist

Open Source AI Manifesto

This project follows the principles of the Open Source AI Manifesto. Please ensure your contribution aligns with its principles.

@coderabbitai

coderabbitai Bot commented Jun 22, 2026

Copy link
Copy Markdown
Contributor

Important

Review skipped

Auto reviews are disabled on base/target branches other than the default branch.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro

Run ID: 4352bbc6-0b25-4af4-ad8c-37e663cb819e

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review

Comment @coderabbitai help to get the list of available commands.

@github-actions

github-actions Bot commented Jun 22, 2026

Copy link
Copy Markdown

Router-nonroot image scan passed

✅ No security vulnerabilities found in image:

ghcr.io/wundergraph/cosmo/router:sha-6c08ec38d0ac1de03cecb2078189a6d2e8199271-nonroot

@codecov

codecov Bot commented Jun 22, 2026

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 50.00000% with 11 lines in your changes missing coverage. Please review.
✅ Project coverage is 61.38%. Comparing base (78a115a) to head (dd57aca).

Files with missing lines Patch % Lines
router/core/graph_server.go 64.70% 3 Missing and 3 partials ⚠️
router/pkg/metric/cache_metrics.go 0.00% 1 Missing ⚠️
router/pkg/metric/engine_metrics.go 0.00% 1 Missing ⚠️
router/pkg/metric/otlp_metric_store.go 0.00% 1 Missing ⚠️
router/pkg/metric/prom_connection_metric_store.go 0.00% 1 Missing ⚠️
router/pkg/metric/router_runtime_metrics.go 0.00% 1 Missing ⚠️
Additional details and impacted files
@@                  Coverage Diff                  @@
##           ludwig/otel-fixes    #2995      +/-   ##
=====================================================
+ Coverage              61.18%   61.38%   +0.19%     
=====================================================
  Files                    259      259              
  Lines                  30039    30054      +15     
=====================================================
+ Hits                   18380    18449      +69     
+ Misses                 10162    10119      -43     
+ Partials                1497     1486      -11     
Files with missing lines Coverage Δ
router/pkg/metric/cache_metrics.go 85.84% <0.00%> (ø)
router/pkg/metric/engine_metrics.go 75.90% <0.00%> (ø)
router/pkg/metric/otlp_metric_store.go 81.25% <0.00%> (ø)
router/pkg/metric/prom_connection_metric_store.go 83.33% <0.00%> (ø)
router/pkg/metric/router_runtime_metrics.go 76.38% <0.00%> (ø)
router/core/graph_server.go 85.26% <64.70%> (+0.15%) ⬆️

... and 13 files with indirect coverage changes

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@Noroth
Noroth marked this pull request as ready for review July 1, 2026 07:59
@Noroth
Noroth requested a review from a team as a code owner July 1, 2026 07:59
@endigma
endigma requested review from dkorittki and endigma July 1, 2026 10:33
@Noroth
Noroth merged commit 062d53e into ludwig/otel-fixes Jul 1, 2026
33 checks passed
@Noroth
Noroth deleted the ludwig/eng-9793-router-partial-graph-mux-failure-causes-memory-leak branch July 1, 2026 12:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants