diff --git a/hack/cspell/main.go b/hack/cspell/main.go index 9c2cea84ec..9f1d8d6323 100644 --- a/hack/cspell/main.go +++ b/hack/cspell/main.go @@ -17,10 +17,10 @@ type Override struct { } type CspellConfig struct { - Import []string `json:"import"` - IgnorePaths []string `json:"ignorePaths"` - IgnoreWords []string `json:"ignoreWords,omitempty"` - IgnoreRegExpList []string `json:"ignoreRegExpList,omitempty"` + Import []string `json:"import"` + IgnorePaths []string `json:"ignorePaths"` + IgnoreWords []string `json:"ignoreWords,omitempty"` + IgnoreRegExpList []string `json:"ignoreRegExpList,omitempty"` Overrides []Override `json:"overrides"` } @@ -108,8 +108,8 @@ func main() { file, err := os.Open(cspellOutputFile) if err != nil { - fmt.Printf("Error opening cspell output file: %v\n", err) - os.Exit(1) + fmt.Printf("Error opening cspell output file: %v\n", err) + os.Exit(1) } defer file.Close() diff --git a/hack/cspell/output.log b/hack/cspell/output.log index a4d0f08ed8..570290bbc6 100644 --- a/hack/cspell/output.log +++ b/hack/cspell/output.log @@ -1,59 +1,110 @@ -.gitfiles:272:25 - Unknown word (japansearch) Suggestions: [] .gitfiles:1300:24 - Unknown word (errgroup) Suggestions: [regroup, regroups, eardrop] .gitfiles:1953:10 - Unknown word (PROTOBUF) Suggestions: [PROOF, PROTO, PROTON, PRONOUN, PROTEUS] +.gitfiles:272:25 - Unknown word (japansearch) Suggestions: [] .github/workflows/e2e-max-dim.yml:84:19 - Unknown word (maxdim) Suggestions: [maxim, Maxim, maim, maxi, mxim] +.golangci.yml:102:9 - Unknown word (goerr) Suggestions: [goer, goers, gore, gored, goren] .golangci.yml:64:7 - Unknown word (maintidx) Suggestions: [mantid, mantids, mantic, mantis, minted] .golangci.yml:84:7 - Unknown word (tenv) Suggestions: [tend, tenn, tens, tent, Tenn] -.golangci.yml:102:9 - Unknown word (goerr) Suggestions: [goer, goers, gore, gored, goren] -apis/grpc/v1/payload/payload_vtproto.pb.go:7420:7 - Unknown word (pksize) Suggestions: [prize, size, csize, resize, SIZE] -apis/grpc/v1/payload/payload.pb.go:1250:43 - Unknown word (protobuf) Suggestions: [proof, proto, proton, protos, pronoun] CHANGELOG.md:570:10 - Unknown word (vtpool) Suggestions: [vtol, VTOL, pool, tool, spool] CHANGELOG.md:652:27 - Unknown word (poolsize) Suggestions: [poolside, poopsie, poolsides, plosive, police] +Makefile.d/dependencies.mk:152:157 - Unknown word (PROTOBUF) Suggestions: [PROOF, PROTO, PROTON, PRONOUN, PROTEUS] +Makefile.d/e2e.mk:92:13 - Unknown word (maxdim) Suggestions: [maxim, Maxim, maim, maxi, mxim] +Makefile.d/tools.mk:188:62 - Unknown word (aarch) Suggestions: [arch, anarch, Arch, larch, march] +Makefile:102:1 - Unknown word (PROTOBUF) Suggestions: [PROOF, PROTON, PRONOUN, PROTEUS, PROTIUM] +README.md:249:41 - Unknown word (japansearch) Suggestions: [] +apis/grpc/v1/payload/payload.pb.go:1250:43 - Unknown word (protobuf) Suggestions: [proof, proto, proton, protos, pronoun] +apis/grpc/v1/payload/payload_vtproto.pb.go:7420:7 - Unknown word (pksize) Suggestions: [prize, size, csize, resize, SIZE] +apis/grpc/v1/rpc/errdetails/error_details.pb.go:92:100 - Unknown word (protobuf) Suggestions: [proof, proto, proton, protos, pronoun] +apis/swagger/v1/agent/core/agent.swagger.json:100:6 - Unknown word (protobuf) Suggestions: [protobufjs, proof, proto, proton, pronoun] +apis/swagger/v1/agent/sidecar/sidecar.swagger.json:11:6 - Unknown word (protobuf) Suggestions: [protobufjs, proof, proto, proton, pronoun] +apis/swagger/v1/discoverer/discoverer.swagger.json:295:6 - Unknown word (protobuf) Suggestions: [proof, proto, proton, pronoun, proteus] +apis/swagger/v1/filter/egress/egress_filter.swagger.json:119:6 - Unknown word (protobuf) Suggestions: [protobufjs, proof, proto, proton, pronoun] +apis/swagger/v1/filter/ingress/ingress_filter.swagger.json:119:6 - Unknown word (protobuf) Suggestions: [protobufjs, proof, proto, proton, pronoun] +apis/swagger/v1/mirror/mirror.swagger.json:63:6 - Unknown word (protobuf) Suggestions: [protobufjs, proof, proto, proton, pronoun] +apis/swagger/v1/payload/payload.swagger.json:11:6 - Unknown word (protobuf) Suggestions: [protobufjs, proof, proto, proton, pronoun] +apis/swagger/v1/rpc/errdetails/error_details.swagger.json:11:6 - Unknown word (protobuf) Suggestions: [protobufjs, proof, proto, proton, pronoun] +apis/swagger/v1/vald/filter.swagger.json:370:6 - Unknown word (protobuf) Suggestions: [protobufjs, proof, proto, proton, pronoun] +apis/swagger/v1/vald/flush.swagger.json:62:6 - Unknown word (protobuf) Suggestions: [protobufjs, proof, proto, proton, pronoun] +apis/swagger/v1/vald/index.swagger.json:307:6 - Unknown word (protobuf) Suggestions: [protobufjs, proof, proto, proton, pronoun] +apis/swagger/v1/vald/insert.swagger.json:131:6 - Unknown word (protobuf) Suggestions: [protobufjs, proof, proto, proton, pronoun] +apis/swagger/v1/vald/object.swagger.json:193:6 - Unknown word (protobuf) Suggestions: [protobufjs, proof, proto, proton, pronoun] +apis/swagger/v1/vald/remove.swagger.json:155:6 - Unknown word (protobuf) Suggestions: [proof, proto, proton, pronoun, proteus] +apis/swagger/v1/vald/search.swagger.json:356:6 - Unknown word (protobuf) Suggestions: [protobufjs, proof, proto, proton, pronoun] +apis/swagger/v1/vald/update.swagger.json:131:6 - Unknown word (protobuf) Suggestions: [protobufjs, proof, proto, proton, pronoun] +apis/swagger/v1/vald/upsert.swagger.json:131:6 - Unknown word (protobuf) Suggestions: [proof, proto, proton, pronoun, proteus] cmd/tools/cli/benchmark/core/main.go:48:3 - Unknown word (vmsize) Suggestions: [mize, size, csize, maize, resize] -go.mod:92:13 - Unknown word (docopt) Suggestions: [dcopy, dicot, dropt, dacoit, decoct] go.mod:168:25 - Unknown word (hostpool) Suggestions: [hotpot, hostel, hotfoot, hotpots] go.mod:176:19 - Unknown word (pgconn) Suggestions: [pocono, pkgconf, Pocono, pinon, pennon] go.mod:189:18 - Unknown word (godotenv) Suggestions: [goodmen, godot, godown, gotten, godot's] +go.mod:215:31 - Unknown word (protobuf) Suggestions: [proof, proto, proton, pronoun, proteus] go.mod:312:15 - Unknown word (xerrors) Suggestions: [errors, error, error's, exmoors, extrorse] +go.mod:92:13 - Unknown word (docopt) Suggestions: [dcopy, dicot, dropt, dacoit, decoct] hack/benchmark/internal/operation/util.go:30:14 - Unknown word (tserror) Suggestions: [terror, stertor, termor, terrors, error] +hack/go.mod.default:168:25 - Unknown word (hostpool) Suggestions: [hotpot, hostel, hotfoot, hotpots] +hack/go.mod.default:176:19 - Unknown word (pgconn) Suggestions: [pocono, pkgconf, Pocono, pinon, pennon] +hack/go.mod.default:189:18 - Unknown word (godotenv) Suggestions: [goodmen, godot, godown, gotten, godot's] +hack/go.mod.default:215:31 - Unknown word (protobuf) Suggestions: [proof, proto, proton, pronoun, proteus] +hack/go.mod.default:312:15 - Unknown word (xerrors) Suggestions: [errors, error, error's, exmoors, extrorse] +hack/go.mod.default:92:13 - Unknown word (docopt) Suggestions: [dcopy, dicot, dropt, dacoit, decoct] hack/gorules/testdata/tests.go:47:2 - Unknown word (ireq) Suggestions: [iraq, ired, ires, Iraq, ire] +hack/license/gen/main.go:284:10 - Unknown word (errgroup) Suggestions: [regroup, regroups, eardrop] +internal/client/v1/client/discoverer/discover.go:52:2 - Unknown word (autoconn) Suggestions: [autoconf, autozone, AutoZone, altoona, autocue] internal/client/v1/client/discoverer/discover_test.go:255:6 - Unknown word (autoconn) Suggestions: [autoconf, autozone, AutoZone, altoona, autocue] -internal/core/algorithm/ngt/ngt_test.go:46:26 - Unknown word (epool) Suggestions: [pool, spool, zpool, Pool, ZPool] +internal/client/v1/client/discoverer/option.go:98:5 - Unknown word (autoconn) Suggestions: [autoconf, autozone, AutoZone, altoona, autocue] +internal/core/algorithm/ngt/ngt.go:109:3 - Unknown word (epool) Suggestions: [pool, spool, zpool, Pool, ZPool] internal/core/algorithm/ngt/ngt.go:490:2 - Unknown word (rsize) Suggestions: [resize, size, csize, SIZE, CSIZE] internal/core/algorithm/ngt/ngt.go:604:2 - Unknown word (cvec) Suggestions: [cvc, cve, CVC, CVE, hevc] +internal/core/algorithm/ngt/ngt_test.go:46:26 - Unknown word (epool) Suggestions: [pool, spool, zpool, Pool, ZPool] internal/db/kvs/pogreb/pogreb_test.go:65:37 - Unknown word (pogres) Suggestions: [pores, pogges, pogies, ogres, pagers] internal/db/rdb/mysql/dbr/dbr.go:49:19 - Unknown word (occures) Suggestions: [occurs, colures, ochres, accrues, accurse] internal/db/storage/blob/cloudstorage/cloudstorage.go:27:15 - Unknown word (gcerrors) Suggestions: [errors, gerry's, guerdons, guerra's, guerrero] internal/k8s/job/job.go:27:4 - Unknown word (serrors) Suggestions: [errors, serous, serows, senors, servos] +internal/k8s/vald/benchmark/job/job.go:28:4 - Unknown word (serrors) Suggestions: [errors, serous, serows, senors, servos] +internal/k8s/vald/benchmark/scenario/scenario.go:28:4 - Unknown word (serrors) Suggestions: [errors, serous, serows, senors, servos] internal/net/dialer.go:341:4 - Unknown word (tconn) Suggestions: [conn, Conn, tenon, tron, ton] internal/net/dialer.go:385:9 - Unknown word (tcancel) Suggestions: [cancel, trance, tranced, trances, cancer] internal/net/dialer.go:398:11 - Unknown word (ttcancel) Suggestions: [cancel, trance, tranced, trances] internal/net/grpc/client.go:204:3 - Unknown word (reconn) Suggestions: [recon, recoin, recons, racon, redon] internal/net/grpc/client.go:958:2 - Unknown word (sconn) Suggestions: [scone, scorn, conn, Conn, cson] +internal/net/grpc/pool/pool.go:197:2 - Unknown word (epool) Suggestions: [pool, spool, zpool, Pool, ZPool] +internal/observability/metrics/mem/mem.go:118:2 - Unknown word (vmsize) Suggestions: [mize, size, csize, maize, resize] internal/servers/server/server.go:422:9 - Unknown word (scancel) Suggestions: [spancel, cancel, scarce, sconce, seance] internal/servers/servers_test.go:168:6 - Unknown word (gerrs) Suggestions: [gers, Gers, gears, ger's, germs] internal/servers/servers_test.go:173:6 - Unknown word (werrs) Suggestions: [wears, weirs, errs, ewers, wrens] internal/servers/starter/starter.go:162:7 - Unknown word (hopt) Suggestions: [holt, hoot, hope, hopi, hops] +internal/sync/errgroup/errgroup_test.go:32:9 - Unknown word (errgroup) Suggestions: [regroup, regroups, eardrop] internal/test/data/vector/gen.go:182:3 - Unknown word (fvec) Suggestions: [fec, face, hevc, f1ac, fave] -Makefile.d/tools.mk:188:62 - Unknown word (aarch) Suggestions: [arch, anarch, Arch, larch, march] -pkg/agent/core/faiss/service/faiss_test.go:124:6 - Unknown word (icnt) Suggestions: [int, INT, cnt, CNT, cine] -pkg/agent/core/faiss/service/faiss.go:92:3 - Unknown word (cimu) Suggestions: [chimu, Chimu, gimu, chum, icmp] +k8s/metrics/grafana/dashboards/99-vald-agent-memory.yaml:2849:24 - Unknown word (vmsize) Suggestions: [mize, size, maize, resize, vise] pkg/agent/core/faiss/service/faiss.go:119:3 - Unknown word (cowmu) Suggestions: [colum, coma, comb, come, comm] +pkg/agent/core/faiss/service/faiss.go:87:3 - Unknown word (icnt) Suggestions: [int, INT, cnt, CNT, cine] +pkg/agent/core/faiss/service/faiss.go:92:3 - Unknown word (cimu) Suggestions: [chimu, Chimu, gimu, chum, icmp] +pkg/agent/core/faiss/service/faiss_test.go:124:6 - Unknown word (icnt) Suggestions: [int, INT, cnt, CNT, cine] pkg/agent/core/ngt/handler/grpc/index_test.go:2251:5 - Unknown word (rreq) Suggestions: [req, freq, reqs, reb, rec] pkg/agent/core/ngt/handler/grpc/insert_test.go:213:4 - Unknown word (ivec) Suggestions: [idec, ives, iovec, Idec, Ives] pkg/agent/core/ngt/handler/grpc/object_test.go:1403:6 - Unknown word (testvec) Suggestions: [tested, testee, tester, testes, testbed] pkg/agent/core/ngt/handler/grpc/upsert.go:261:4 - Unknown word (ures) Suggestions: [rues, ukes, ur's, urbs, urds] +pkg/agent/core/ngt/service/ngt.go:111:2 - Unknown word (cimu) Suggestions: [chimu, Chimu, gimu, chum, icmp] +pkg/agent/core/ngt/service/ngt.go:1371:6 - Unknown word (icnt) Suggestions: [int, INT, cnt, CNT, cine] pkg/agent/core/ngt/service/ngt.go:1481:6 - Unknown word (dcnt) Suggestions: [dent, dint, dunt, DENT, cnt] +pkg/agent/core/ngt/service/ngt.go:149:2 - Unknown word (cowmu) Suggestions: [colum, coma, comb, come, comm] pkg/agent/core/ngt/service/ngt.go:1884:2 - Unknown word (ovec) Suggestions: [opec, oven, over, OPEC, iovec] +pkg/agent/core/ngt/service/ngt_test.go:1389:3 - Unknown word (cimu) Suggestions: [chimu, Chimu, gimu, chum, icmp] +pkg/agent/core/ngt/service/ngt_test.go:1409:3 - Unknown word (cowmu) Suggestions: [colum, coma, comb, come, comm] +pkg/agent/internal/vqueue/queue.go:246:3 - Unknown word (iidx) Suggestions: [idx, idex, idxx, dix, ida] pkg/agent/internal/vqueue/queue.go:79:2 - Unknown word (didx) Suggestions: [dido, didy, Dido, did, dix] pkg/agent/internal/vqueue/queue.go:88:2 - Unknown word (oidx) Suggestions: [oidc, OIDC, idx, iotx, odic] -pkg/agent/internal/vqueue/queue.go:246:3 - Unknown word (iidx) Suggestions: [idx, idex, idxx, dix, ida] pkg/gateway/filter/handler/grpc/handler.go:2437:88 - Unknown word (tvec) Suggestions: [tver, Tver, tace, hevc, tael] -pkg/gateway/filter/usecase/vald.go:78:6 - Unknown word (iaddrs) Suggestions: [aiders, addr, caddis, laders, nadirs] pkg/gateway/filter/usecase/vald.go:118:6 - Unknown word (eaddrs) Suggestions: [eads, ears, eagers, easers, eaters] +pkg/gateway/filter/usecase/vald.go:78:6 - Unknown word (iaddrs) Suggestions: [aiders, addr, caddis, laders, nadirs] +pkg/gateway/lb/handler/grpc/handler.go:1753:2 - Unknown word (rreq) Suggestions: [req, freq, reqs, reb, rec] +pkg/gateway/lb/handler/grpc/handler.go:1801:2 - Unknown word (ireq) Suggestions: [iraq, ired, ires, Iraq, ire] +pkg/gateway/lb/handler/grpc/handler.go:3003:4 - Unknown word (ovec) Suggestions: [opec, oven, over, OPEC, iovec] pkg/gateway/lb/handler/grpc/handler.go:3355:9 - Unknown word (ecancel) Suggestions: [cancel, emanuel, evangel, ecanceled, Emanuel] pkg/tools/benchmark/job/service/job.go:306:2 - Unknown word (lres) Suggestions: [lees, lies, lues, lyes, lares] pkg/tools/benchmark/job/service/job.go:307:2 - Unknown word (sres) Suggestions: [sees, shes, sr's, sues, seres] +pkg/tools/benchmark/job/service/search.go:101:3 - Unknown word (lres) Suggestions: [lees, lies, lues, lyes, lares] +pkg/tools/benchmark/job/service/search.go:48:2 - Unknown word (sres) Suggestions: [sees, shes, sr's, sues, seres] pkg/tools/cli/loadtest/assets/large_dataset.go:50:3 - Unknown word (tdim) Suggestions: [trim, tim, Tim, dim, tami] pkg/tools/cli/loadtest/assets/large_dataset.go:51:3 - Unknown word (qdim) Suggestions: [dim, hdmi, qadi, qaid, qcom] tests/e2e/operation/stream.go:532:9 - Unknown word (linearsearch) Suggestions: [] +tests/e2e/operation/stream.go:56:14 - Unknown word (tserror) Suggestions: [terror, stertor, termor, terrors, error]