komissarovyv
6cfa1955ea
Derive module leader from connected instances
2026-11-18 20:00:09 +03:00
komissarovyv
9e24122e75
Cover module leader mode storage in acceptance tests
2026-11-18 19:31:14 +03:00
komissarovyv
71997dc438
Expose rqlite db handle for tests
2026-11-18 19:31:14 +03:00
komissarovyv
bd8a1b2de4
Add module_leader_mode column to connected instances
2026-11-18 19:31:10 +03:00
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
Синельник Тимур Романович
5bdb4813b5
MSP-8394 Guard returning errors.WithMessage with err != nil check
2026-09-25 14:08:18 +03:00
Синельник Тимур Романович
17ec4bdce9
MSP-8394 Use slices.Backward for cycle
2026-09-25 14:06:15 +03:00
Синельник Тимур Романович
428de36857
MSP-8394 Up deps & use isp-kit/errors
2026-09-25 13:45:02 +03:00
komissarovyv
2a846c67e4
MODULE_READY can be handled several times
2026-08-09 12:45:52 +03:00
kochanovrv
94af308030
MSP-8007 fix threads
2026-07-07 11:24:09 +03:00
kochanovrv
36e320af28
MSP-8007 up sqlite
2026-07-06 16:21:06 +03:00
nglmq
fa327ecf5c
MSP-7572 edit go version in Dockerfiles
2026-04-22 12:36:48 +03:00
nglmq
6c3e8a632e
MSP-7572 linter fixes
2026-04-21 12:35:50 +03:00
nglmq
7f4a1c8131
MSP-7572 new andpoint for required modules
2026-04-21 11:57:00 +03:00
Синельник Тимур Романович
c295bda53b
MSP-7042 Up deps & support http methods and transport
2026-02-11 16:13:03 +03:00
Синельник Тимур Романович
9ebf03a15a
MSP-6930 Add /schema/update_by_module_name endpoint
2025-12-18 12:12:22 +03:00
likhachevam
de3e456617
MSP-6703 fix 'enabled' config field
2025-12-01 12:34:05 +03:00
likhachevam
4763d88628
MSP-6703 remove unused utils
2025-11-21 16:10:27 +03:00
likhachevam
a6d72ec1a4
MSP-6703 add rqlite backup proxy
2025-11-21 16:03:57 +03:00
likhachevam
99d4aaca45
MSP-6703 fix race conditions
2025-11-21 13:24:48 +03:00
likhachevam
2f614a5c75
MSP-6703 update clearInterval format
2025-11-21 13:24:32 +03:00
likhachevam
960b87d86d
MSP-6703 update waitForLeaderTimeout
2025-11-20 18:37:44 +03:00
likhachevam
35e15b7ae1
MSP-6703 update config.yml
2025-11-20 15:23:25 +03:00
likhachevam
451d277644
MSP-6703 add backup_cleaner
2025-11-20 11:04:25 +03:00
likhachevam
2caed6b3f0
MSP-6703 up rqlite & add backups
2025-11-20 11:04:02 +03:00
likhachevam
8ef12f8b11
MSP-6459 update /purge_version endpoint
2025-10-07 17:27:58 +03:00
likhachevam
99782ef3bb
MSP-6459 update linter
2025-10-07 16:46:34 +03:00
likhachevam
6a36603b5d
MSP-6459 add PurgeConfigVersions endpoint
2025-10-07 16:46:18 +03:00
komissarovyv
d56d6613bb
Call upsert variables in any case
2025-07-08 11:19:04 +03:00
Kirill Ryabov
b62b0eef8b
MSP-5579 include internal metrics autodiscovery method to locator & setup route
2025-06-09 16:10:30 +03:00
Kirill Ryabov
37f85f56fa
MSP-5579 implement internal metrics autodiscovery endpoint
2025-06-09 16:10:30 +03:00
Kirill Ryabov
4c131093b1
MSP-5579 add handling MetricsAutodiscovery field from backend declaration
2025-06-09 14:52:49 +03:00
Kirill Ryabov
5877176645
MSP-5494 update dependencies
2025-05-26 14:43:31 +03:00
Kirill Ryabov
10e74db016
MSP-5494 migrate linter to v2
2025-05-26 14:43:31 +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
Кузнецов Иван Александрович
a51aae9b69
MSP-5223 UpdateConfigNameRequest change field OldConfigName -> ConfidId + change ConfigVersion.CreatedAt actualCfg.CreatedAt -> actual.UpdatedAt
2025-04-14 19:17:04 +03:00
Кузнецов Иван Александрович
a7b203bcd0
MSP-5223 implement handler config/config/update_config_name
2025-04-14 11:50:25 +03:00
Кузнецов Иван Александрович
d0b55947c5
MSP-5223 configHistory.CreatedAt = oldConfig.UpdatedAt
2025-04-11 14:33:18 +03:00
Кузнецов Иван Александрович
29c1a4deeb
MSP-5223 update .golangci.yml + fix linters
2025-04-11 14:15:30 +03:00
Кузнецов Иван Александрович
7a426b647b
MSP-5223 sort imports
2025-04-11 13:36:48 +03:00
Кузнецов Иван Александрович
9d299beaf6
MSP-5223 add actual config in GetAllVersions
2025-04-11 13:31:08 +03:00
komissarovyv
cedb376a91
MSP-5013 use simple regexp to inject variables
2025-03-11 15:52:45 +03:00
komissarovyv
93d09a779d
MSP-5013 hack jinja variables
2025-03-11 14:01:30 +03:00
komissarovyv
c501354be1
MSP-5013 unmarshal fix
2025-03-06 15:40:54 +03:00
komissarovyv
ecf2d06cfa
MSP-5013 add full variable support
2025-03-05 18:10:07 +03:00