Commit Graph
17 Commits
Author SHA1 Message Date
Hermes Agent c464393e93 Drop link self-healing paths, fix linter findings
- Remove link resync on module reconnect, link resave on no-op config
  update, and link backfill on variable create/upsert: links are
  formed only on config save
- Disable exhaustruct_v5 and goconst linters
- Fix golangci-lint findings: noinlineerr, slices.Backward,
  wrapcheck for ConfigValidationError (errors.As in controller keeps
  working via %w), funlen nolint on acceptance test
2026-10-28 11:22:59 +03:00
Hermes Agent 7f4e3ef028 Fix variable links not persisted when variable is used multiple times in config
- Dedupe extracted variable names (duplicate INSERTs aborted the
  config_has_variable transaction on PK conflict)
- Check per-statement rqlite errors in ExecTransaction: a failed
  statement silently returned success before
- Make link upserts idempotent (insert or ignore) and add link
  backfill on variable create/upsert from existing configs
- Validate config variables before insert (no orphaned configs)
- Resync active config links on module reconnect and on no-op
  config update (self-healing)
2026-10-28 10:34:45 +03:00
Синельник Тимур Романович 428de36857 MSP-8394 Up deps & use isp-kit/errors 2026-09-25 13:45:02 +03:00
nglmq fa327ecf5c MSP-7572 edit go version in Dockerfiles 2026-04-22 12:36:48 +03:00
Кузнецов Иван Александрович 3c19a8d532 MSP-5223 update response CreateUpdateConfig: add IsChanged field 2025-04-16 16:05:17 +03:00
Кузнецов Иван Александрович 28be68322c MSP-5223 update compare actual data config and update request data config 2025-04-15 19:00:41 +03:00
Кузнецов Иван Александрович 867fd98bce MSP-5223 update naming + update changelog.md 2025-04-15 15:22:24 +03:00
Кузнецов Иван Александрович 1d3bacd22c MSP-5223 add endpoint /config/config/sync_config 2025-04-15 13:59:34 +03:00
Кузнецов Иван Александрович a483722e1d MSP-5223 update CreateUpdateConfig: add case equal name and data config 2025-04-15 13:29:27 +03:00
Кузнецов Иван Александрович a7b203bcd0 MSP-5223 implement handler config/config/update_config_name 2025-04-14 11:50:25 +03:00
komissarovyv ecf2d06cfa MSP-5013 add full variable support 2025-03-05 18:10:07 +03:00
komissarovyv 68c8681a9b Keep only last N config versions 2024-10-29 17:41:03 +03:00
d1slike 8275c01d21 Align to CI 2024-05-15 12:44:39 +03:00
d1slike 3b34468842 Improve logging 2024-05-14 14:34:13 +03:00
d1slike cddd3383e8 Implement api 2024-05-12 16:35:33 +03:00
d1slike c6148a1c1c Implement api 2024-05-08 18:45:21 +03:00
d1slike b2e34c00a4 Implement api 2024-05-08 15:40:14 +03:00