Commit Graph
203 Commits
Author SHA1 Message Date
naeel 38f58ddbd7 v1.1.57: fix scenario editor body bug + relativeTime columns + infra UUIDs
- scenario-form.js: fix ReferenceError body is not defined in renderEditor()
- utils.js: relativeTime(iso) → 3ч 12м / 2д 5ч / только что
- instances.js: columns created / modified with relativeTime()
- index.html: instanceUid under displayName in infra column
2026-07-30 22:22:19 +04:00
naeel 7ae172e863 v1.1.56: fix JS load order — selectService() moved to app.js (was calling stopPoll before operations.js loaded) 2026-07-30 22:09:26 +04:00
naeel a96658b9b5 v1.1.55: split large files + CRUD scenario editor
Backend (5→7 files):
- api_test.py: 622→479, terraform functions → operations/terraform.py (142)
- api_scenario.py: 241→split into run (153) + defs (108) with _validate_steps()
- db/scenario_defs.py: +client_id, stand, is_seed in list_definitions

Frontend (1→10 files):
- app.js: 554→16 (loader), split into:
  utils.js (45), instances.js (89), operations.js (249),
  history.js (35), scenario-list.js (90)
- New CRUD: scenario-form.js (128), create (25), edit (12), delete (13)

Max file size: JS 249, PY 479
2026-07-30 22:02:22 +04:00
naeel 189a2779d6 v1.1.54: remove delete from dummy_test scenario (cannot delete without suspend) 2026-07-30 16:12:42 +04:00
naeel e5e96593f1 v1.1.53: filter scenario history by app_version (fix stale results after redeploy) 2026-07-30 16:10:53 +04:00
naeel 7354d9c125 v1.1.52: fix scenario create (drop svcOperationId) + http_client _status debug 2026-07-30 15:51:22 +04:00
naeel 6f051aa348 v1.1.51: fix seed — list/get also match global defaults (client_id='' stand='') 2026-07-30 15:25:16 +04:00
naeel 983b387708 v1.1.50: scenario_definitions DB+CRUD, seed, runner from DB, 409 lock, UI definitions, drop config.yaml scenarios 2026-07-30 15:06:05 +04:00
naeel 67f6390509 v1.1.49: UUID extraction directly in http_client.post() — Location header → instanceUid/instanceOperationUid 2026-07-30 14:37:35 +04:00
naeel 7f69c916ec v1.1.48: fix 4 scenario bugs — save_run: scenario_run_id+step_number, run_id before thread (202), TIMEOUT op_data init, RUNNING before API call, GET /run/<id> 2026-07-30 14:08:29 +04:00
naeel 566a6da8d9 v1.1.47: fix scenario UUID extraction — _find_uid + _uid_from_location fallback 2026-07-30 13:57:34 +04:00
naeel 7eeb1131b3 v1.1.46: phase2 — scenario runner MVP (YAML config, DB schema, API endpoints, UI section) 2026-07-30 13:48:34 +04:00
naeel 0ab6b3a89e v1.1.45: phase1 — escape fixes, refSvc top-level, redact secrets, validate inputs, no traceback, TIMEOUT save, remove legacy api_bp 2026-07-30 13:43:48 +04:00
naeel 045ca438c6 cleanup: move all docs to root DOCS 2026-07-30 13:38:33 +04:00
naeel acc28351c5 docs: ARCHITECTURE-FULL.md + README link 2026-07-30 13:36:35 +04:00
naeel b6808423da remove questions-to-sol.md — moved to root DOCS 2026-07-30 13:24:46 +04:00
naeel b26332fbe7 docs: 14 questions to Sol — discuss before implementing 2026-07-30 13:20:19 +04:00
naeel 3f653a7205 docs: GPT-5.6 Sol — 10-step MVP plan 2026-07-30 13:16:48 +04:00
naeel 0c6cd75028 docs: GPT-5.6 Sol prompt — architecture ideas + bug hunt 2026-07-30 13:02:26 +04:00
naeel b5d139a04a v1.1.44: 5 fixes — null-guard + try/catch in toggleInstance/selectService/refreshInstances/CMDB 2026-07-30 09:49:08 +04:00
naeel b7f7bba22c docs: Sonnet final audit — all bugs + user actions review 2026-07-30 09:36:56 +04:00
naeel de18ea7d43 v1.1.43: fix missing opsEl declaration in toggleInstance 2026-07-30 09:33:27 +04:00
naeel 16848544fa v1.1.42: busy check BEFORE stopPoll in toggleInstance 2026-07-30 09:29:40 +04:00
naeel 272c5c2b3a v1.1.41: block selectService when busy 2026-07-30 09:10:10 +04:00
naeel 8bd68e1eed v1.1.40: busy blocks instance expand completely 2026-07-30 09:08:22 +04:00
naeel 4dcd61f25d v1.1.39: populate empty valueList from state.out + normalize value_list 2026-07-30 08:47:13 +04:00
naeel 363ac7e29c docs: Sonnet response — state.out valueList + normalize fix 2026-07-30 08:43:32 +04:00
naeel 59776bed9d docs: Sonnet question — populate valueList from state.out 2026-07-30 08:37:55 +04:00
naeel a0a17e183f v1.1.38: operations per instance svcId + operation name header 2026-07-30 08:33:03 +04:00
naeel f79301b245 v1.1.37: params for all ops + polling try/catch + refresh always + tracker CMDB + firstServiceId 2026-07-30 07:47:43 +04:00
naeel ac45796138 docs: Sonnet response — 6 bugs found, params for all operations 2026-07-30 07:41:01 +04:00
naeel 2c35ed5307 docs: Sonnet question — parameterized operations + full audit 2026-07-30 07:32:13 +04:00
naeel 9c062a225e v1.1.36: CMDB raw_delete uses clean requests (no auth headers) 2026-07-30 07:14:25 +04:00
naeel b1ec156fc8 v1.1.35: close stale ops panels when busy resets 2026-07-29 15:07:25 +04:00
naeel 81c27fb270 v1.1.34: busy=false in catch + CMDB OK no polling 2026-07-29 14:54:59 +04:00
naeel 65d10d5c35 v1.1.33: CMDB delete logging — log HTTP status code 2026-07-29 14:09:56 +04:00
naeel b6a497400c v1.1.32: not-created instances — only show delete operation 2026-07-29 13:57:51 +04:00
naeel d17c84548d v1.1.31: CMDB hard delete + fix _resolve_ref_svc params update 2026-07-29 13:48:49 +04:00
naeel b4980aed76 v1.1.30: fix json.loads('') in _resolve_ref_svc 2026-07-29 13:43:30 +04:00
naeel 0092a4a0e3 v1.1.29: busy=false on early FAIL return — prevent permanent lock 2026-07-29 13:41:57 +04:00
naeel 5af8c5218f v1.1.28: HttpClient.get() resilient to empty body — return {} instead of JSONDecodeError 2026-07-29 13:32:17 +04:00
naeel edb2d0d526 v1.1.27: busy lock — block operations while another is running 2026-07-29 13:30:53 +04:00
naeel 8cc7f54b23 v1.1.26: handle empty validate-cfs response (JSONDecodeError) 2026-07-29 13:24:00 +04:00
naeel ed6612fb3c v1.1.25: full Terraform parity — normalize, resolveRefSvc, send ALL params, 30min timeout, svc in fields 2026-07-29 13:17:45 +04:00
naeel d3164ebe76 v1.1.24: step 6 from REAL operation (not template) — fixes serviceInstanceUid 2026-07-29 12:59:13 +04:00
naeel 82b674d05f docs: Sonnet found root cause — template vs real operation for step 6 2026-07-29 12:57:41 +04:00
naeel c861a3683e docs: add Terraform provider source paths to Sonnet request 2026-07-29 12:51:48 +04:00
naeel ce19eff9de docs: Sonnet — full Terraform diff analysis request 2026-07-29 12:49:10 +04:00
naeel 32008463bc v1.1.23: fix None defaultValue for map-fixed — build JSON from sub-param defaults 2026-07-29 12:48:23 +04:00
naeel 0df6804d79 v1.1.22: fix currentSvcShort scope — move to module level 2026-07-29 12:37:50 +04:00