Skip to content

Improve caddy.GracefulServer conformance checks#7416

Merged
yongtang merged 1 commit into
coredns:masterfrom
Kentzo:gracefulserver
Aug 5, 2025
Merged

Improve caddy.GracefulServer conformance checks#7416
yongtang merged 1 commit into
coredns:masterfrom
Kentzo:gracefulserver

Conversation

@Kentzo

@Kentzo Kentzo commented Jul 20, 2025

Copy link
Copy Markdown
Contributor

1. Why is this pull request needed and what does it do?

Current caddy.GracefulServer interface guards do not check all available Server types. This change fixes that.

2. Which issues (if any) are related?

None

3. Which documentation changes (if any) need to be made?

None

4. Does this introduce a backward incompatible change or deprecation?

No

Comment thread core/dnsserver/register.go Outdated

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

This is checked in server.go

@codecov

codecov Bot commented Jul 21, 2025

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 59.75%. Comparing base (93c57b6) to head (5322894).
⚠️ Report is 1546 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #7416      +/-   ##
==========================================
+ Coverage   55.70%   59.75%   +4.05%     
==========================================
  Files         224      273      +49     
  Lines       10016    18030    +8014     
==========================================
+ Hits         5579    10774    +5195     
- Misses       3978     6624    +2646     
- Partials      459      632     +173     

☔ 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.

@yongtang

Copy link
Copy Markdown
Member

@Kentzo Can you fix the DCO issue?

Signed-off-by: Ilya Kulakov <kulakov.ilya@gmail.com>
@Kentzo

Kentzo commented Jul 30, 2025

Copy link
Copy Markdown
Contributor Author

@Kentzo Can you fix the DCO issue?

Done

@yongtang yongtang merged commit dc8f3b0 into coredns:master Aug 5, 2025
12 of 14 checks passed
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.

2 participants