Commit Graph
155 Commits
Author SHA1 Message Date
“Naeel” b0895ad498 chore: add all untracked files from VM — scripts, test-results, LLM batch, docs 2026-05-04 06:22:16 +04:00
“Naeel” d342b649a8 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” db3815d03d feat: explain-archive LLM endpoint + UI button v1.3.40 2026-05-03 21:33:18 +04:00
“Naeel” 21c11f84d0 fix: lint-archive error handling, test: big zip binary, v1.3.39 2026-05-03 21:24:44 +04:00
“Naeel” b7a8074c73 feat: lint-archive endpoint, UI result inline v1.3.38 2026-05-03 21:08:32 +04:00
“Naeel” 971c7e7ab4 wip: локальный коммит всех изменений, включая новые тесты, артефакты и правки UI/infra 2026-05-03 20:21:42 +04:00
“Naeel” 6b6190635a tests: fix isolation t-t- bug, restore SUB=livetest for invoke/update/stress (router ns) 2026-05-03 20:17:13 +04:00
“Naeel” cf475d0d2d tests: тестовые ресурсы с префиксом test-/t-, ns fission-test-*, guard в cleanup 2026-05-03 17:59:12 +04:00
“Naeel” 47759b5231 demo: рабочая версия функции с requests, загрузка из архива работает 2026-05-03 17:41:52 +04:00
“Naeel” 4ecaa508ea ui: progressive table render + load timer, v1.3.34 2026-05-03 17:34:07 +04:00
“Naeel” f85027e986 deploy: v1.3.33 — fix version label, new tag to force image pull 2026-05-03 17:24:18 +04:00
“Naeel” ad215a2cab ui: fix version label v1.3.27 → v1.3.32 2026-05-03 17:18:37 +04:00
“Naeel” e4efaca6a9 deploy: bump fission-console to v1.3.32 2026-05-03 17:16:21 +04:00
“Naeel” e9853a4bc0 ui: archive upload mode + lint stub, fix stress warmup output, add descriptions 2026-05-03 17:14:25 +04:00
“Naeel” 2af39ff3e2 merge: взять нашу версию run_all.sh с авто-tee 2026-05-03 16:39:49 +04:00
“Naeel” bf9ada20a2 tests: добавить все тест-скрипты локально 2026-05-03 16:39:35 +04:00
“Naeel” 8211485501 tests: run_all.sh авто-tee в test-results/, правила логирования 2026-05-03 16:38:05 +04:00
Naeel c1e3039d15 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” f18508d2cb fix(tests): X-Test-Sub → X-Auth-Token во всех тест-скриптах, cleanup для test59.sh 2026-05-03 13:50:32 +04:00
“Naeel” a09291e208 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” e8f06d4ab2 move scripts, update UI, add s3cfg-ngcloud 2026-05-03 08:27:38 +04:00
“Naeel” 3b369f8abf move scripts to scripts/ folder 2026-05-03 08:26:30 +04:00
“Naeel” dbd35e11ff feat(auth): demo-логин ≥6 симв, MultiAuthenticator, UUID v5, v1.3.26 v1.3.26 2026-05-02 19:45:10 +04:00
“Naeel” 94a4eea50b fix(ui): email влево, версия вправо у логотипа, v1.3.25 v1.3.25 2026-05-02 19:24:28 +04:00
“Naeel” 81367f7a5d feat(auth): auth layer decoupling, версия v1.3.24 в navbar и Help 2026-05-02 19:18:34 +04:00
“Naeel” 7ebdaf743c deploy: v1.3.23 — imagePullPolicy Always, email fix, версия в Help 2026-05-02 18:05:40 +04:00
“Naeel” eb20b9f28d rules: ВСЕГДА увеличивать тег перед docker build 2026-05-02 17:52:36 +04:00
“Naeel” 7be2039491 fix: resolve merge conflict in copilot-instructions.md 2026-05-02 17:47:29 +04:00
“Naeel” 69d71f5e05 restore: .github/ files from commit 9a16ab16 2026-05-02 17:46:28 +04:00
“Naeel” 8a8a2e694d fix(ui): email без синего фона; версия v1.3.21 в подвале Help 2026-05-02 17:41:54 +04:00
“Naeel” ef1256ca73 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” a034c38a38 refactor(ui): step10 - extract init.js (pollNSStatus, initLog, formatSeconds, explainDelay, startTimedStatus, renderInitStages и др.) 2026-05-02 17:33:43 +04:00
“Naeel” 1f1afa95e1 refactor(ui): step9 - extract ai.js (llmGeneratedWarning, addLLMWarning, aiCheck, aiGenerate, aiExplain, askAssistant, toggleAssistant, showGenPrompt) 2026-05-02 17:30:33 +04:00
“Naeel” 4960bf0ee2 refactor(ui): step8 - extract functions.js (parseMethods, parseTimeout, onLangChange, openCreate/Edit/Invoke CRUD, removeFn) 2026-05-02 17:27:20 +04:00
“Naeel” bef4a545d9 refactor(ui): step7 - extract modals.js (openHelp, closeHelp, openInvoke, closeInvoke, submitInvoke) 2026-05-02 17:24:35 +04:00
“Naeel” ff29177aef refactor(ui): step6 - extract triggers.js (httpTriggerByFn, timeTriggerByFn, toggleScheduleFields, schedulePayload, syncScheduleForFunction) 2026-05-02 17:22:27 +04:00
“Naeel” d61d68f09b refactor(ui): step5 - extract auth.js (doLogin, doLogout, checkAuth, showLoginOverlay, jwtEmail, setUserAvatar) 2026-05-02 17:20:31 +04:00
“Naeel” 38a3c36768 refactor(ui): step4 - extract ui.js (setText, showStatus, clearStatus, h, formatTimestamp, timestampCell) 2026-05-02 17:18:25 +04:00
“Naeel” 3db402925a refactor(ui): step3 - extract api.js (authHeaders, getJSON, requestJSON) 2026-05-02 17:16:32 +04:00
“Naeel” 85ffad3772 refactor(ui): step1+2 - extract CSS to styles.css, LANG_TEMPLATES to config.js 2026-05-02 17:14:01 +04:00
“Naeel” 3e7d08894d feat: working console v1.3.20 from Рабочий-Первомай base 2026-05-02 17:04:06 +04:00
Naeel d21e1ac9a5 feat: restore cron page, email in navbar, metrics pipeline v1.3.19 Рабочий-Первомай 2026-05-01 19:53:40 +03:00
Naeel df8bf0d476 refactor: extract metrics-collector from fission-console, bump console to v1.3.12 2026-04-29 10:17:09 +03:00
Naeel abcd6bad36 feat(cron): Russian UI, table pagination 10 rows/page, bump to v1.3.11 2026-04-29 09:49:25 +03:00
Naeel 6816c038b4 feat(cron): clarify node metrics in UI description, bump to v1.3.10 2026-04-29 09:44:45 +03:00
Naeel 38f2641b31 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 59a5b77ca9 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 35fd9ec40e fix: document cron router auth chain 2026-04-29 08:39:19 +03:00
Naeel a534fddd2c Organize LLM assets and function lifecycle fixes 2026-04-28 13:04:08 +03:00
Naeel 82eba079f6 feat: add fission-aware ai prompts 2026-04-28 07:31:19 +03:00