Commit Graph
183 Commits
Author SHA1 Message Date
“Naeel” fcce5d3b50 fix: chat system prompt — user-friendly, без внутренней кухни (v1.3.64) 2026-05-07 21:26:36 +04:00
“Naeel” 10cf4783a3 fix: logs — брать имя контейнера из pod.Spec.Containers[0] (v1.3.63) 2026-05-07 21:04:23 +04:00
“Naeel” af6e7354d6 fix: logs — убрать хардкод user-container, взять первый контейнер пода (v1.3.62) 2026-05-07 20:58:23 +04:00
“Naeel” 9b0089e15a feat: logs modal + ESC close + /functions/:name/logs endpoint (v1.3.61) 2026-05-07 20:51:02 +04:00
“Naeel” a9bd2e93c7 rules: запрет самодеятельных изменений рабочего кода — комментарии + правила 2026-05-07 20:39:24 +04:00
“Naeel” 87a46acc48 v1.3.60: debug logging in extractPackageSourceCode, fix edit modal (no mode toggle) 2026-05-07 20:28:57 +04:00
“Naeel” 817ee40fd2 v1.3.59: add logging to extractPackageSourceCode for debug 2026-05-07 20:14:12 +04:00
“Naeel” bd507db3ae v1.3.59: restore edit modal mode toggle — code/archive buttons 2026-05-07 20:08:10 +04:00
“Naeel” a9a81ce403 fix: правильный ingress /cron → metrics-collector, чистый console v1.3.58, запрет костылей 2026-05-07 12:06:27 +04:00
“Naeel” 72004dd943 doc: описание изменений fission-src vs официальный Fission (multi-tenant) 2026-05-04 15:39:53 +04:00
“Naeel” 796a938aa3 feat: helm chart для fission-console (без хардкодов, параметризован) 2026-05-04 12:17:09 +04:00
“Naeel” e128bdc28f chore: sync все локальные изменения (auto, 2026-05-04) 2026-05-04 11:55:49 +04:00
“Naeel” 25816395d3 test: полный CLI-совместимость кастомного fission-bundle (2026-05-04) [auto-report] 2026-05-04 11:53:19 +04:00
“Naeel” 78f72c593f doc: add full function lifecycle description (S3, lint, env, runtime) 2026-05-04 11:13:27 +04:00
“Naeel” 26247ea137 v1.3.56: use naeel/fission-python-env:v1.0 for new Python environments 2026-05-04 11:06:33 +04:00
“Naeel” d09348b6b9 v1.3.55: validate zip magic bytes on upload (UI + backend) 2026-05-04 10:57:32 +04:00
“Naeel” 4980eb4efa fix: форматирование lint_archive.go 2026-05-04 09:30:21 +04:00
“Naeel” 6ded699935 v1.3.54: лintер проверяет соответствие языка файлам в архиве
Если выбран Node.js но в архиве .py — сразу ошибка.
Фронтенд передаёт выбранный язык (ca-lang / e-lang-hidden) в запрос лintера.
2026-05-04 09:28:21 +04:00
“Naeel” 353cc0f5b1 v1.3.53: лintер проверяет entrypoint — файл и функция должны существовать в архиве
Entrypoint формат module.function: лintер ищет module.py в архиве
и проверяет что def function(...) определена внутри.
Если нет — сразу ошибка, не нужно ждать таймаута вызова.
Фронтенд передаёт entrypoint из поля e-entry / ca-entry.
2026-05-04 09:21:31 +04:00
“Naeel” 06389a425d test: aa1 def main(event, context) из архива — 200 OK
naeel/fission-python-env:v1.0 с патчем inspect.signature работает.
Любая сигнатура main() поддерживается без изменений кода пользователя:
- def main() -> main()
- def main(event, context) -> main(request, {})
- def main(request) -> main(request)
2026-05-04 09:13:48 +04:00
“Naeel” db7862b8bd fix: console-python-env не поддерживает def main(event, context) — TypeError при вызове архивных функций
Проблема: ghcr.io/fission/python-env v3 вызывает userfunc() без аргументов.
Пользователи пишут def main(event, context) (AWS Lambda стиль) — получают:
TypeError: main() missing 2 required positional arguments: 'event' and 'context'

Это НЕ ошибка пользователя. Fission просто не реализует Lambda-конвенцию.
demo.py: временно исправлен на event=None, context=None.

План: собрать naeel/console-python-env с патчем inspect.signature
чтобы любая сигнатура main() работала автоматически.
Подробнее: doc/plans/console-python-env-fix-2026-05-04.md
2026-05-04 09:03:51 +04:00
“Naeel” bb9f158bac v1.3.52: fix archive name display — remove package name fallback 2026-05-04 08:27:27 +04:00
“Naeel” 36f83892aa v1.3.51: remove invoke_url from response, unlock entrypoint field in edit modal 2026-05-04 08:22:12 +04:00
“Naeel” 2fdba29f79 v1.3.50: fix archive fn — entrypoint update in edit, store/show archive filename 2026-05-04 08:14:19 +04:00
“Naeel” f97fd8a744 v1.3.49: edit modal — remove mode toggle, show archive name, timeout-only save; add PUT /functions/:name/timeout 2026-05-04 07:03:43 +04:00
“Naeel” 6ac22d5f55 v1.3.48: remove internal invoke_url from invoke modal output 2026-05-04 06:59:25 +04:00
“Naeel” 4f6b4b87be v1.3.47: fix InvokeStrategy in archive handler, modal error display, draggable modals 2026-05-04 06:54:18 +04:00
“Naeel” 1cceb42f83 v1.3.46: separate create modals — code (cc-) and archive (ca-) as independent modules 2026-05-04 06:46:45 +04:00
“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