verstak/internal/core/plugins
mirivlad 3b79754f45 fix: rollback Enabled on activation failure + fatal on_init + rollback test
1. SetPluginEnabled(true): after DeactivatePlugin, also call Disable(name)
   to rollback in-memory Enabled state (not just config).
2. on_init failure is now fatal for ActivatePlugin — returns error
   and rolls back scheduler + VM (was incorrectly non-fatal).
3. TestSetPluginEnabled_BrokenPlugin_Rollback: end-to-end test with
   broken plugin (invalid interval), verifies error + not Active +
   not Enabled + not in config.
2026-06-08 00:14:49 +08:00
..
builtin/templates step 10: plugins system (Lua + templates) + DokuWiki as optional plugin 2026-05-31 11:20:45 +08:00
api.go feat: плагин-система Lua + Calendar reference plugin 2026-06-07 14:59:46 +08:00
api_ext.go feat: плагин-система Lua + Calendar reference plugin 2026-06-07 14:59:46 +08:00
api_node.go feat: плагин-система Lua + Calendar reference plugin 2026-06-07 14:59:46 +08:00
api_utils.go feat: плагин-система Lua + Calendar reference plugin 2026-06-07 14:59:46 +08:00
lua.go step 10: plugins system (Lua + templates) + DokuWiki as optional plugin 2026-05-31 11:20:45 +08:00
manager.go fix: второй стабилизационный проход Lua plugin lifecycle 2026-06-07 20:49:43 +08:00
manager_lifecycle.go fix: rollback Enabled on activation failure + fatal on_init + rollback test 2026-06-08 00:14:49 +08:00
manager_test.go fix: второй стабилизационный проход Lua plugin lifecycle 2026-06-07 20:49:43 +08:00
runtime.go fix: финальный cleanup Lua plugin lifecycle 2026-06-07 22:58:26 +08:00
runtime_test.go test: add TestCallPluginFunction + final run - all 13 tests pass 2026-06-07 16:41:47 +08:00
scheduler.go security: стабилизационный аудит Lua plugin system 2026-06-07 19:19:44 +08:00
security_test.go fix: финальный cleanup Lua plugin lifecycle 2026-06-07 22:58:26 +08:00