GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Fix a memory leak in `DnsOverTcpTest` by ikhoon · Pull Request #6206 · line/armeria

Conversation

@ikhoon

@ikhoon ikhoon commented Apr 15, 2025

Copy link
Copy Markdown
Contributor

Motivation:

A memory leak was detected while running DnsOverTcpTest. Related: netty/netty#15033

Modifications:

  • Forked TcpDnsQueryDecoder and applied a patch to fix the memory leak.

Result:

Stabilize CI builds

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
@ikhoon
Fix a memory leak in DnsOverTcpTest
2ed6a1e
Motivation:

A memory leak was detected while running `DnsOverTcpTest`.
Related: netty/netty#15033

Modifications:

- Forked `TcpDnsQueryDecoder` and applied a patch to fix the memory leak.

Result:

Stabilize CI builds
@ikhoon ikhoon added the cleanup label Apr 15, 2025
@ikhoon
ikhoon requested review from jrhee17, minwoox and trustin as code owners April 15, 2025 09:47
@codecov

codecov Bot commented Apr 15, 2025 •
edited
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 74.64%. Comparing base (8150425) to head (b0c1cbd).
Report is 61 commits behind head on main.

Additional details and impacted files
@@             Coverage Diff              @@
##               main    #6206      +/-   ##
============================================
+ Coverage     74.46%   74.64%   +0.18%     
- Complexity    22234    22473     +239     
============================================
  Files          1963     1972       +9     
  Lines         82437    82992     +555     
  Branches      10764    10798      +34     
============================================
+ Hits          61385    61950     +565     
+ Misses        15918    15897      -21     
- Partials       5134     5145      +11     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 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.
All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@github-actions

github-actions Bot commented Apr 15, 2025 •
edited
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown
Contributor

🔍 Build Scan® (commit: b0c1cbd)

Job name Status Build Scan®
build-ubicloud-standard-16-jdk-8 ✅ https://ge.armeria.dev/s/23mqd3feue5fa
build-ubicloud-standard-16-jdk-21-snapshot-blockhound ✅ https://ge.armeria.dev/s/54czkazkbh7go
build-ubicloud-standard-16-jdk-17-min-java-17-coverage ✅ https://ge.armeria.dev/s/pyspb43ewjdko
build-ubicloud-standard-16-jdk-17-min-java-11 ✅ https://ge.armeria.dev/s/pf2qhuhhyxwmi
build-ubicloud-standard-16-jdk-17-leak ❌ (failure) https://ge.armeria.dev/s/mi37b3fgbi6yk
build-ubicloud-standard-16-jdk-11 ✅ https://ge.armeria.dev/s/q6em4yc3msq2o
build-macos-latest-jdk-21 ✅ https://ge.armeria.dev/s/cfx7galqrj3fm
All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

jrhee17
jrhee17 approved these changes Apr 16, 2025
View reviewed changes
minwoox
minwoox approved these changes Apr 16, 2025
View reviewed changes

@minwoox minwoox left a comment

Copy link
Copy Markdown
Contributor

There was a problem hiding this comment.

Choose a reason for hiding this comment

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

Thanks!
I understand that we don't need to release another patch because no one uses Armeria as a DNS server.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
trustin
trustin reviewed Apr 16, 2025
View reviewed changes
Comment thread core/src/test/java/com/linecorp/armeria/client/endpoint/dns/TcpDnsQueryDecoder.java Resolved

Uh oh!

There was an error while loading. Please reload this page.

@ikhoon
update copyright
b0c1cbd
@ikhoon

ikhoon commented Apr 16, 2025

Copy link
Copy Markdown
Contributor Author

Thanks! I understand that we don't need to release another patch because no one uses Armeria as a DNS server.

Right. This is a memory leak fix in the test.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

trustin
trustin approved these changes Apr 16, 2025
View reviewed changes

@trustin trustin left a comment

Copy link
Copy Markdown
Contributor

There was a problem hiding this comment.

Choose a reason for hiding this comment

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

👍

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
@ikhoon
ikhoon merged commit 3a35abe into line:main Apr 17, 2025
@ikhoon
ikhoon deleted the fix-tcp-dns-leak branch April 17, 2025 01:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

@jrhee17 jrhee17 jrhee17 approved these changes
+2 more reviewers
@trustin trustin trustin approved these changes
@minwoox minwoox minwoox approved these changes
Reviewers whose approvals may not affect merge requirements

Uh oh!

There was an error while loading. Please reload this page.

Assignees

No one assigned

Labels

cleanup

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Uh oh!

There was an error while loading. Please reload this page.

4 participants

@ikhoon @trustin @jrhee17 @minwoox
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.
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.