Commit graph

12 commits

Author SHA1 Message Date
0c927117c5
ci: use golangci-lint-action v7 for golangci-lint v2
golangci-lint-action v6 rejects v2 version strings; v7 supports
golangci-lint v2.
2026-08-08 01:08:01 +05:30
bcadff2f75
diag: gofmt the injected resolver fixtures 2026-08-08 01:04:50 +05:30
fd7ebe6b5c
lint: check the return values of Close calls
golangci-lint v2 with its default linters flags ten unchecked Close
returns (errcheck) that v1.64 did not report: the database and rows
handles in the SQLite store, the MetaServer response body and probe
connection, and the test fixtures.
2026-08-08 01:04:50 +05:30
9e221418dc
ci: bump golangci-lint to v2.12.2
v1.64.8 was built with Go 1.24, but go.mod targets go 1.25.12, so the
lint step failed with "the Go language version used to build
golangci-lint is lower than the targeted Go version". v2.12.2 is built
with Go 1.26 and loads the module.
2026-08-08 01:04:50 +05:30
7b524cc47b
diag: correct the config key name in the events-check advice
The messages told users to enable edgeCore.reportEvent, but the key
lives under the edged section as edged.reportEvent. Searching for the
wrong key in edgecore.yaml would find nothing.
2026-08-08 01:04:50 +05:30
e0bc366525
diag: surface local-store read failures from the CRI check
handlerFor silently fell back to the class name when the store was
unreadable, so CheckCRI could report a wrong verdict (false pass, or a
missing-handler failure) with no indication that the store read failed.
The store error is now returned and the CRI check warns about it.
2026-08-08 01:04:50 +05:30
c2661f7c75
bridge: make the cache-sync channel buffered to avoid a goroutine leak
On timeout the manager goroutine still finishes WaitForCacheSync and
closes the synced channel, but nobody reads it: on an unbuffered channel
that close blocks forever. A buffer of one lets the goroutine finish.
2026-08-08 01:04:50 +05:30
2d74853196
metaserver: retry TLS with --ca-file alone, not only with certs
The TLS retry was gated on hasCerts (cert-file and key-file both set),
so a TLS-only MetaServer with a CA-signed server certificate was never
tried when the caller passed only --ca-file. The tool then reported
AuthRequiredError and recommended the cert flags that would not help.

Run the TLS retry whenever a CA file or client certificates are
provided, and report a distinct reason when the handshake fails with a
CA-only setup.
2026-08-08 01:04:50 +05:30
Lakshit Verma
92af3a99e3
Update README.md 2026-08-08 01:00:04 +05:30
Lakshit Verma
898c71c858
Update README.md 2026-08-08 00:59:45 +05:30
21989483ea
README: show project, LFX, and PR links directly 2026-08-08 00:56:09 +05:30
d2c0cd4d9a
runtimeclass-debugger: edge-node diagnostic tool for the KubeEdge RuntimeClass path 2026-08-08 00:35:22 +05:30