J3vb
ba66629077
fix(ci): resolve all golangci-lint and ESLint failures on PR #1132
Client:
- ci.yml: patch auto-generated events.ts to rename Event -> _Event
so @typescript-eslint/no-unused-vars does not fail on generated code
Server (gocritic):
- service/channel.go: rangeValCopy (line 74), elseif (line 174)
- service/message.go: rangeValCopy (line 648), elseif (lines 438, 496)
- ws/emit.go: caseOrder — ChannelEvent before BroadcastAllEvent
- ws/handlers_command_test.go: stringXbytes — use bytes.Equal
- ws/pubsub_test.go: stringXbytes — use bytes.Equal
Server (nilerr):
- service/channel.go: nolint:nilerr for intentional silent drops in HandleTyping
Server (gosec):
- plugin/host_ui.go: G703 nolint — path already sanitized above
- plugin/registry.go: G302 — tighten plugin file permissions 0o640 → 0o600
- ws/hub.go, ws/serve.go: G115 nolint — seq counters never reach MaxInt64
Server (unused/unparam):
- plugin/registry.go: nolint:unused for wazero-tagged module field
- telemetry/metrics.go: nolint:unused for otel-tagged resetAppMetricsForInit
- ws/command.go: nolint:unparam for map entries whose error return is always nil
Server (staticcheck ST1000/ST1020):
- Add blank line before package declarations in phase-comment files
(api/plugins_handler.go, plugin/host_{commands,events,http}.go,
telemetry/metrics.go, telemetry/middleware.go,
telemetry/telemetry_default.go, ws/event_persister.go)
- Fix GlobalTracer/GlobalMeter doc comments to start with function name
2026-04-07 10:10:38 +02:00
..
2026-03-17 04:11:04 +01:00
2026-04-06 22:48:59 +02:00
2026-04-05 19:03:22 +02:00
2026-04-07 10:10:38 +02:00
2026-04-01 18:25:13 +02:00
2026-04-06 22:48:59 +02:00
2026-04-06 13:48:41 +00:00
2026-04-04 09:08:01 +02:00
2026-04-06 22:48:59 +02:00
2026-04-07 10:10:38 +02:00
2026-04-04 23:16:31 +02:00
2026-04-06 09:29:29 +00:00
2026-04-07 10:10:38 +02:00
2026-04-06 13:48:41 +00:00
2026-04-06 13:48:41 +00:00
2026-04-05 19:37:00 +02:00
2026-04-05 19:03:22 +02:00
2026-04-06 10:30:18 +00:00
2026-04-06 10:30:18 +00:00
2026-04-06 22:48:59 +02:00
2026-04-05 19:03:22 +02:00
2026-04-05 19:03:22 +02:00
2026-04-05 19:03:22 +02:00
2026-04-05 19:03:22 +02:00
2026-04-07 09:10:14 +02:00
2026-04-07 10:10:38 +02:00
2026-04-07 05:28:53 +00:00
2026-04-05 19:03:22 +02:00
2026-04-05 20:47:47 +00:00
2026-04-05 20:47:47 +00:00
2026-04-06 22:48:59 +02:00
2026-04-05 19:03:22 +02:00
2026-04-05 21:12:08 +00:00
2026-04-06 10:30:18 +00:00
2026-04-05 20:42:32 +00:00
2026-04-07 10:10:38 +02:00
2026-04-03 23:18:06 +02:00
2026-04-03 23:18:06 +02:00
2026-04-03 08:33:55 +02:00
2026-04-03 23:18:06 +02:00
2026-04-01 12:04:15 +02:00
2026-04-04 19:02:21 +00:00
2026-04-04 23:16:31 +02:00
2026-04-05 19:37:00 +02:00
2026-04-01 09:23:17 +02:00
2026-04-01 09:23:17 +02:00
2026-04-07 10:10:38 +02:00
2026-04-05 21:12:08 +00:00
2026-04-06 22:48:59 +02:00
2026-04-05 19:03:22 +02:00
2026-04-05 19:03:22 +02:00
2026-04-02 15:05:56 +02:00
2026-04-02 15:05:56 +02:00
2026-04-05 20:42:32 +00:00
2026-04-07 10:10:38 +02:00
2026-04-05 21:34:32 +00:00
2026-03-28 10:39:23 +01:00
2026-04-05 19:03:22 +02:00
2026-04-04 23:30:36 +02:00
2026-04-05 21:20:00 +02:00
2026-04-05 20:42:32 +00:00
2026-04-05 21:34:32 +00:00
2026-04-05 21:34:32 +00:00
2026-04-06 22:48:59 +02:00