Ville Vesilehto
ba7d5ff55a
test(metrics): improve test coverage ( #7538 )
...
Add more unit tests for metrics plugin, around registration
deduplication, zone management, restart/shutdown behavior and
context helpers.
Increases test coverage from 54.8% to 76.1%.
Signed-off-by: Ville Vesilehto <ville@vesilehto.fi >
2025-09-13 15:15:25 -07:00
Ville Vesilehto
a72a14d88b
test(presubmit): prevent panic in TestImportOrdering on split import ( #7540 )
...
Fix a panic in presubmit test when import statements are split into
>3 logical blocks (e.g., std, coredns, then third party in multiple
blocks). The computed block index could exceed the fixed array
bounds.
Signed-off-by: Ville Vesilehto <ville@vesilehto.fi >
2025-09-13 15:14:59 -07:00
Ville Vesilehto
c149567dbe
fix: lint issues from plugin/forward and plugin/pkg/dnstest ( #7539 )
...
To fix CI pipeline issues on master.
Signed-off-by: Ville Vesilehto <ville@vesilehto.fi >
2025-09-13 15:14:10 -07:00
Fitz_dev
9683de0feb
fix: No failover to next upstream when receiving SERVFAIL or REFUSED response codes(#7457) ( #7458 )
2025-09-12 14:45:01 -07:00
Ville Vesilehto
155f451957
test(grpc): add fuzzer ( #7513 )
2025-09-12 14:43:56 -07:00
Ville Vesilehto
8817d8f2f9
fix(grpc): enforce DNS message size limits ( #7490 )
...
Add DNS wire size validation for requests/replies. Limit gRPC
recv/send via default call options, accounting necessary
framing/protobuf overhead. An error is returned for oversized
messages. Add test.
Signed-off-by: Ville Vesilehto <ville@vesilehto.fi >
2025-09-12 08:21:33 +03:00
Ville Vesilehto
39abf5aeba
chore(lint): modernize Go ( #7536 )
...
Use modern Go constructs through the modernize analyzer from the
golang.org/x/tools package.
Signed-off-by: Ville Vesilehto <ville@vesilehto.fi >
2025-09-10 13:08:27 -07:00
Ville Vesilehto
afdd41a266
chore: bump Go version to 1.25.1 ( #7535 )
...
Signed-off-by: Ville Vesilehto <ville@vesilehto.fi >
2025-09-10 13:07:57 -07:00
Yong Tang
a6673745e4
Update prometheus version ( #7533 )
...
This PR updates prometheus version as PR #7522 failed
Signed-off-by: Yong Tang <yong.tang.github@outlook.com >
2025-09-09 23:08:29 -07:00
Ilya Kulakov
c90e70339c
dnsserver.Server: Export timeout values ( #7497 )
...
Plugins need access to timeout values that are actually used by
TCP dns.Server
Signed-off-by: Ilya Kulakov <kulakov.ilya@gmail.com >
2025-09-09 19:06:44 -07:00
Ville Vesilehto
d2e0e6a459
chore(docs): remove extra whitespace from readmes ( #7532 )
2025-09-09 14:30:27 -07:00
dependabot[bot]
f32329577f
build(deps): bump github/codeql-action from 3.30.0 to 3.30.1 ( #7528 )
v1.12.4
2025-09-08 06:47:41 -07:00
dependabot[bot]
3fc046f976
build(deps): bump codecov/codecov-action from 5.5.0 to 5.5.1 ( #7525 )
2025-09-08 06:47:19 -07:00
dependabot[bot]
1b35ba1f03
build(deps): bump softprops/action-gh-release from 2.3.2 to 2.3.3 ( #7527 )
2025-09-08 06:47:03 -07:00
dependabot[bot]
8f76d6ffa8
build(deps): bump actions/stale from 9.1.0 to 10.0.0 ( #7526 )
2025-09-08 06:46:52 -07:00
dependabot[bot]
ddc1878bbd
build(deps): bump actions/setup-go from 5.5.0 to 6.0.0 ( #7524 )
2025-09-08 06:46:41 -07:00
dependabot[bot]
f74bf9c0ac
build(deps): bump aquasecurity/trivy-action from 0.33.0 to 0.33.1 ( #7523 )
2025-09-08 06:46:30 -07:00
dependabot[bot]
cbc32d2389
build(deps): bump github.com/aws/aws-sdk-go-v2/service/route53 ( #7521 )
2025-09-08 06:46:06 -07:00
dependabot[bot]
51d59e539d
build(deps): bump golang.org/x/sys from 0.35.0 to 0.36.0 ( #7520 )
2025-09-08 06:45:54 -07:00
dependabot[bot]
a62ef5dd0d
build(deps): bump github.com/DataDog/dd-trace-go/v2 from 2.2.2 to 2.2.3 ( #7519 )
2025-09-08 06:45:22 -07:00
Yong Tang
96819edef2
Update note and versioon for 1.12.4 release ( #7518 )
2025-09-08 06:44:56 -07:00
Ville Vesilehto
0dd76bd9b1
fix(transfer): goroutine leak on axfr err ( #7516 )
2025-09-05 13:13:11 -07:00
Ville Vesilehto
8c2cfb01e3
plugin/etcd: fix import order for ttl test ( #7515 )
2025-09-05 11:45:30 -07:00
Archy
0d24fc4a5d
Add note about chronological order of adopters ( #7498 )
2025-09-05 11:44:17 -07:00
Ville Vesilehto
e1768a5d27
Merge commit from fork
...
Instead of casting lease ID to uint32, fix the TTL() function
to use etcd time-to-live API for determining TTL. Add configurable
min-lease-ttl and max-lease-ttl options to prevent extreme TTL
values. By default, lease records now go through bounds checking
with 30s to 1d as the min/max.
Added unit tests for validation and docs.
Signed-off-by: Ville Vesilehto <ville@vesilehto.fi >
2025-09-04 17:14:27 -07:00
Ville Vesilehto
066e51675c
fix(grpc): check proxy list length in policies ( #7512 )
2025-09-03 16:24:44 -07:00
Ville Vesilehto
abef207695
fix(https): propagate HTTP request context ( #7491 )
2025-09-02 14:33:16 -07:00
dependabot[bot]
3f868e5edd
build(deps): bump github.com/aws/aws-sdk-go-v2/config ( #7501 )
2025-09-02 14:32:11 -07:00
dependabot[bot]
83a546e7b4
build(deps): bump github.com/aws/aws-sdk-go-v2/service/secretsmanager ( #7502 )
2025-09-02 14:31:59 -07:00
Ville Vesilehto
1ea6a7f682
fix(plugin): guard nil lookups across plugins ( #7494 )
2025-09-02 13:46:47 -07:00
dependabot[bot]
254e95ea69
build(deps): bump the k8s-io group with 2 updates ( #7503 )
2025-09-02 13:46:10 -07:00
dependabot[bot]
734d696551
build(deps): bump github.com/aws/aws-sdk-go-v2/credentials ( #7506 )
2025-09-02 13:42:08 -07:00
Ville Vesilehto
ecdff70354
lint: add missing prealloc to backend lookup test ( #7510 )
2025-09-02 00:41:06 -07:00
dependabot[bot]
ca9894bea5
build(deps): bump aquasecurity/trivy-action from 0.32.0 to 0.33.0 ( #7507 )
...
Bumps [aquasecurity/trivy-action](https://github.com/aquasecurity/trivy-action ) from 0.32.0 to 0.33.0.
- [Release notes](https://github.com/aquasecurity/trivy-action/releases )
- [Commits](dc5a429b52...f9424c10c3 )
---
updated-dependencies:
- dependency-name: aquasecurity/trivy-action
dependency-version: 0.33.0
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-09-02 08:49:24 +03:00
dependabot[bot]
257da16847
build(deps): bump github/codeql-action from 3.29.11 to 3.30.0 ( #7509 )
...
Bumps [github/codeql-action](https://github.com/github/codeql-action ) from 3.29.11 to 3.30.0.
- [Release notes](https://github.com/github/codeql-action/releases )
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md )
- [Commits](3c3833e0f8...2d92b76c45 )
---
updated-dependencies:
- dependency-name: github/codeql-action
dependency-version: 3.30.0
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-09-02 08:46:37 +03:00
dependabot[bot]
b1b4cb8c18
build(deps): bump actions/dependency-review-action from 4.7.2 to 4.7.3 ( #7508 )
...
Bumps [actions/dependency-review-action](https://github.com/actions/dependency-review-action ) from 4.7.2 to 4.7.3.
- [Release notes](https://github.com/actions/dependency-review-action/releases )
- [Commits](bc41886e18...595b5aeba7 )
---
updated-dependencies:
- dependency-name: actions/dependency-review-action
dependency-version: 4.7.3
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-09-02 08:45:59 +03:00
Ville Vesilehto
21176fbf1a
fix(grpc): span leak on error attempt ( #7487 )
2025-09-01 18:09:51 -07:00
dependabot[bot]
06586b0817
build(deps): bump github.com/aws/aws-sdk-go-v2/service/route53 ( #7500 )
2025-09-01 18:08:09 -07:00
dependabot[bot]
c1392c7372
build(deps): bump sigs.k8s.io/mcs-api from 0.2.0 to 0.3.0 ( #7499 )
2025-09-01 18:07:58 -07:00
Ville Vesilehto
5424d9dc58
test(plugin): improve backend lookup coverage ( #7496 )
2025-09-01 18:06:31 -07:00
Ville Vesilehto
359632a2f4
lint: enable prealloc ( #7493 )
2025-09-01 18:05:15 -07:00
Ville Vesilehto
4d3061a9c4
lint: enable durationcheck ( #7492 )
2025-09-01 18:04:35 -07:00
Archy
5ec2796ab6
Add Sophotech to adopters list ( #7495 )
...
Signed-off-by: Artem Muterko <artem@sopho.tech >
2025-08-31 20:08:15 +03:00
Ilya Kulakov
89fb5058d6
plugin: Use %w to wrap user error ( #7489 )
2025-08-29 05:27:11 -07:00
Ville Vesilehto
5a6700c39c
fix(metrics): add timeouts to metrics HTTP server ( #7469 )
...
Add ReadTimeout, WriteTimeout, and IdleTimeout (5s each) to metrics HTTP
server and test to verify timeout behavior prevents hanging connections.
Signed-off-by: Ville Vesilehto <ville@vesilehto.fi >
2025-08-28 20:03:55 -07:00
dependabot[bot]
c38c2ca66f
build(deps): bump github.com/aws/aws-sdk-go-v2/config ( #7474 )
...
Bumps [github.com/aws/aws-sdk-go-v2/config](https://github.com/aws/aws-sdk-go-v2 ) from 1.31.0 to 1.31.2.
- [Release notes](https://github.com/aws/aws-sdk-go-v2/releases )
- [Changelog](https://github.com/aws/aws-sdk-go-v2/blob/main/changelog-template.json )
- [Commits](https://github.com/aws/aws-sdk-go-v2/compare/v1.31.0...config/v1.31.2 )
---
updated-dependencies:
- dependency-name: github.com/aws/aws-sdk-go-v2/config
dependency-version: 1.31.2
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-08-26 09:41:55 -07:00
dependabot[bot]
8189b21012
build(deps): bump google.golang.org/protobuf from 1.36.7 to 1.36.8 ( #7475 )
...
Bumps google.golang.org/protobuf from 1.36.7 to 1.36.8.
---
updated-dependencies:
- dependency-name: google.golang.org/protobuf
dependency-version: 1.36.8
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-08-26 09:41:47 -07:00
dependabot[bot]
b17f64b711
build(deps): bump github.com/aws/aws-sdk-go-v2/service/route53 ( #7482 )
...
Bumps [github.com/aws/aws-sdk-go-v2/service/route53](https://github.com/aws/aws-sdk-go-v2 ) from 1.56.0 to 1.56.2.
- [Release notes](https://github.com/aws/aws-sdk-go-v2/releases )
- [Changelog](https://github.com/aws/aws-sdk-go-v2/blob/main/changelog-template.json )
- [Commits](https://github.com/aws/aws-sdk-go-v2/compare/service/s3/v1.56.0...service/ecs/v1.56.2 )
---
updated-dependencies:
- dependency-name: github.com/aws/aws-sdk-go-v2/service/route53
dependency-version: 1.56.2
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-08-26 09:41:40 -07:00
dependabot[bot]
ea540174f8
build(deps): bump google.golang.org/api from 0.247.0 to 0.248.0 ( #7477 )
2025-08-26 06:44:30 -07:00
dependabot[bot]
ad7c1a702a
build(deps): bump github.com/aws/aws-sdk-go-v2/credentials ( #7476 )
2025-08-26 06:44:14 -07:00