Commit Graph
155 Commits
Author SHA1 Message Date
“Naeel” 2ab4d48b14 chore: add all untracked files from VM — scripts, test-results, LLM batch, docs 2026-05-04 06:22:16 +04:00
“Naeel” 7b5e50d24b fix: restore NSReconciler, archive upload create/edit, fix version label both places; v1.3.45
- tenant.go: restore StartNSReconciler (sync FISSION_RESOURCE_NAMESPACES every 30s)
- main.go: call nsm.StartNSReconciler on startup
- handlers.go: handleCreateFunctionFromArchive (multipart), handleUpdateFunctionArchive (PUT /archive)
  source-type annotation, source_type in GET response
- functions.js: submitCreate/submitEdit archive mode, openEdit uses source_type
- index.html: version label updated in BOTH places (line 103 and 403) to v1.3.45
- console.yaml: image v1.3.45
- doc: archive-and-edit-modal-flow.md
2026-05-04 06:16:11 +04:00
“Naeel” 4d0a7db3fc feat: explain-archive LLM endpoint + UI button v1.3.40 2026-05-03 21:33:18 +04:00
“Naeel” 75fa4b3372 fix: lint-archive error handling, test: big zip binary, v1.3.39 2026-05-03 21:24:44 +04:00
“Naeel” 444e2b581d feat: lint-archive endpoint, UI result inline v1.3.38 2026-05-03 21:08:32 +04:00
“Naeel” 43987f7c27 wip: локальный коммит всех изменений, включая новые тесты, артефакты и правки UI/infra 2026-05-03 20:21:42 +04:00
“Naeel” 23df34521d tests: fix isolation t-t- bug, restore SUB=livetest for invoke/update/stress (router ns) 2026-05-03 20:17:13 +04:00
“Naeel” 80156f94c1 tests: тестовые ресурсы с префиксом test-/t-, ns fission-test-*, guard в cleanup 2026-05-03 17:59:12 +04:00
“Naeel” 21fceeaf64 demo: рабочая версия функции с requests, загрузка из архива работает 2026-05-03 17:41:52 +04:00
“Naeel” aa9ef9fb17 ui: progressive table render + load timer, v1.3.34 2026-05-03 17:34:07 +04:00
“Naeel” a9defd07f6 deploy: v1.3.33 — fix version label, new tag to force image pull 2026-05-03 17:24:18 +04:00
“Naeel” 0fac923a06 ui: fix version label v1.3.27 → v1.3.32 2026-05-03 17:18:37 +04:00
“Naeel” ebd89599c8 deploy: bump fission-console to v1.3.32 2026-05-03 17:16:21 +04:00
“Naeel” 7079158bf6 ui: archive upload mode + lint stub, fix stress warmup output, add descriptions 2026-05-03 17:14:25 +04:00
“Naeel” a3bd05540b merge: взять нашу версию run_all.sh с авто-tee 2026-05-03 16:39:49 +04:00
“Naeel” 30ce76afee tests: добавить все тест-скрипты локально 2026-05-03 16:39:35 +04:00
“Naeel” 0c9862a85b tests: run_all.sh авто-tee в test-results/, правила логирования 2026-05-03 16:38:05 +04:00
Naeel a8ccf5e5c0 tests: тест-скрипты v2 — полный сьют PASS=8 FAIL=0
- lib.sh: утилиты (json_field, wait_invoke, print_summary)
- run_all.sh: запуск всех скриптов + финальная сводка
- pre_cleanup.sh: очистка тест-namespace-ов перед прогоном
- test_auth.sh: 14/14 PASS — авторизация, namespace детерминизм
- test_functions_crud.sh: 29/29 PASS — CRUD, валидация, >1MB
- test_ttl.sh: 10/10 PASS — TTL=15m/1h/2d, невалидные
- test_isolation.sh: 11/11 PASS — изоляция пользователей
- test_update.sh: 10/10 PASS — PUT /code v1→v2→v3 (livetest)
- test_invoke.sh: 9/9 PASS — NodeJS/Python invoke (livetest)
- test_stress.sh: 3/3 PASS — 8 пользователей параллельно (livetest)
- test_linters.sh: 31/31 PASS — синтаксис 5 языков
2026-05-03 14:02:24 +03:00
“Naeel” 10b06dfc7e fix(tests): X-Test-Sub → X-Auth-Token во всех тест-скриптах, cleanup для test59.sh 2026-05-03 13:50:32 +04:00
“Naeel” 6448bb9b1d feat: remove test mode (X-Test-Sub), all functions stored in S3 via storagesvc
- Remove FISSION_TEST_MODE and X-Test-Sub bypass from authMiddleware
- Remove testMode field from Server/Config structs
- Remove TestAuthenticator branch from main.go
- Add uploadToStoragesvc/buildDeploySpec: all function code uploaded to S3
- Add deleteFromStoragesvc: archive deleted from S3 on function delete
- Add FISSION_STORAGESVC_URL env to main.go and deploy/console.yaml
- image: naeel/fission-console:v1.3.31
2026-05-03 13:37:12 +04:00
“Naeel” 271d4f8578 move scripts, update UI, add s3cfg-ngcloud 2026-05-03 08:27:38 +04:00
“Naeel” 595f01aaac move scripts to scripts/ folder 2026-05-03 08:26:30 +04:00
“Naeel” 3eadced98a feat(auth): demo-логин ≥6 симв, MultiAuthenticator, UUID v5, v1.3.26 v1.3.26 2026-05-02 19:45:10 +04:00
“Naeel” d90e26bc2f fix(ui): email влево, версия вправо у логотипа, v1.3.25 v1.3.25 2026-05-02 19:24:28 +04:00
“Naeel” 154cd713ee feat(auth): auth layer decoupling, версия v1.3.24 в navbar и Help 2026-05-02 19:18:34 +04:00
“Naeel” 70058fbfc0 deploy: v1.3.23 — imagePullPolicy Always, email fix, версия в Help 2026-05-02 18:05:40 +04:00
“Naeel” bc85b4a423 rules: ВСЕГДА увеличивать тег перед docker build 2026-05-02 17:52:36 +04:00
“Naeel” 75712ad831 fix: resolve merge conflict in copilot-instructions.md 2026-05-02 17:47:29 +04:00
“Naeel” 7d7bb894a1 restore: .github/ files from commit d41cd011 2026-05-02 17:46:28 +04:00
“Naeel” 7a949a773d fix(ui): email без синего фона; версия v1.3.21 в подвале Help 2026-05-02 17:41:54 +04:00
“Naeel” d2b5ef56c2 refactor(ui): step11 - extract app.js (reloadAll + fn table render); fix: reloadAll was accidentally deleted in step10 2026-05-02 17:36:49 +04:00
“Naeel” a45f937ad1 refactor(ui): step10 - extract init.js (pollNSStatus, initLog, formatSeconds, explainDelay, startTimedStatus, renderInitStages и др.) 2026-05-02 17:33:43 +04:00
“Naeel” 0d42353845 refactor(ui): step9 - extract ai.js (llmGeneratedWarning, addLLMWarning, aiCheck, aiGenerate, aiExplain, askAssistant, toggleAssistant, showGenPrompt) 2026-05-02 17:30:33 +04:00
“Naeel” f1dad469a1 refactor(ui): step8 - extract functions.js (parseMethods, parseTimeout, onLangChange, openCreate/Edit/Invoke CRUD, removeFn) 2026-05-02 17:27:20 +04:00
“Naeel” 9f4cba728a refactor(ui): step7 - extract modals.js (openHelp, closeHelp, openInvoke, closeInvoke, submitInvoke) 2026-05-02 17:24:35 +04:00
“Naeel” ddbae81397 refactor(ui): step6 - extract triggers.js (httpTriggerByFn, timeTriggerByFn, toggleScheduleFields, schedulePayload, syncScheduleForFunction) 2026-05-02 17:22:27 +04:00
“Naeel” 97ad528aa8 refactor(ui): step5 - extract auth.js (doLogin, doLogout, checkAuth, showLoginOverlay, jwtEmail, setUserAvatar) 2026-05-02 17:20:31 +04:00
“Naeel” 7a9f7c7453 refactor(ui): step4 - extract ui.js (setText, showStatus, clearStatus, h, formatTimestamp, timestampCell) 2026-05-02 17:18:25 +04:00
“Naeel” be751ea2c5 refactor(ui): step3 - extract api.js (authHeaders, getJSON, requestJSON) 2026-05-02 17:16:32 +04:00
“Naeel” a7d5c23816 refactor(ui): step1+2 - extract CSS to styles.css, LANG_TEMPLATES to config.js 2026-05-02 17:14:01 +04:00
“Naeel” 8d0a1de81c feat: working console v1.3.20 from Рабочий-Первомай base 2026-05-02 17:04:06 +04:00
Naeel 059b0c243c feat: restore cron page, email in navbar, metrics pipeline v1.3.19 Рабочий-Первомай 2026-05-01 19:53:40 +03:00
Naeel cef3cdc8d3 refactor: extract metrics-collector from fission-console, bump console to v1.3.12 2026-04-29 10:17:09 +03:00
Naeel 4d3de8e54a feat(cron): Russian UI, table pagination 10 rows/page, bump to v1.3.11 2026-04-29 09:49:25 +03:00
Naeel acdd1a5389 feat(cron): clarify node metrics in UI description, bump to v1.3.10 2026-04-29 09:44:45 +03:00
Naeel 9ce38013e7 docs(cron): document full auth chain fix and push URL bug 2026-04-29
CRON/CRON_TIMER_FIX_2026-04-29.md:
- moved from doc/cron/ to CRON/ (correct location)

CRON/FISSION_CRON_NOTES.md:
- added section on timer->router 401 and resolution via console-gateway
- documented push URL bug (missing :8090 -> timeout)
- documented full working chain with timestamps
- added reminder: console service port is 8090, not 80

doc/report-2026-04-29-cron-fix.md:
- new session report: symptoms, diagnosis, all 3 problems fixed,
  architecture diagram, affected components table, lessons learned
2026-04-29 09:35:42 +03:00
Naeel de4b03075c fix(cron): timer auth chain via console gateway, bump image to v1.3.9 - Added handleFissionFunctionGateway in handlers.go: accepts unauthenticated POST /fission-function/<ns>/<fn>/, fetches router JWT, proxies upstream - Registered public routes /fission-function and /fission-function/ in server.go - Bumped image tag v1.3.8 -> v1.3.9 in deploy/console.yaml - Live: patched timer Deployment --routerUrl to http://fission-console.fission.svc.cluster.local:8090 - Added doc/cron/CRON_TIMER_FIX_2026-04-29.md Root cause: timer reads --routerUrl CLI arg only (not FISSION_ROUTER_URL env), router.fission requires JWT that timer does not provide -> 401 on every tick. 2026-04-29 09:21:25 +03:00
Naeel bbeec2eacf fix: document cron router auth chain 2026-04-29 08:39:19 +03:00
Naeel cf8015f4b4 Organize LLM assets and function lifecycle fixes 2026-04-28 13:04:08 +03:00
Naeel af6e0ad43f feat: add fission-aware ai prompts 2026-04-28 07:31:19 +03:00