Commit Graph
54 Commits
Author SHA1 Message Date
“Naeel” 015946c9a1 bench: S3 results 2026-05-20 PASS=20/20 + PV vs S3 comparison
RUNID=9251970 (S3 ngcloud msk-1):
- PASS=20/20 — все тесты прошли
- Upload: мелкие файлы медленнее (+1-3s), крупные — сопоставимо
- Cold start: S3 ≈ PV (python быстрее, ruby small медленнее, PHP одинаково)
- Hot avg: практически идентично на обоих бэкендах

ruby/medium cold=80568ms — аномалия воспроизвелась 4-й раз подряд на S3.
Подтверждено: не связана с типом хранилища, это поведение poolmgr.

Вердикт: S3 == PV по производительности. S3 предпочтительнее.
2026-05-20 08:45:40 +04:00
“Naeel” 3b98140234 docs: bench PV results 2026-05-20 PASS=20/20; misc updates 2026-05-20 08:30:26 +04:00
“Naeel” 7e808b7535 bench: fix PHP arrow functions (fn()=> requires 7.4+), PASS=20/20 on PV
- Replace fn()=> with traditional function() syntax in php_medium and php_large
- 8 arrow function occurrences fixed across processWords/statsArr/caesar/lookupOps/nested array_map
- Added diag_bugs.sh: diagnostic script for PHP pool exhaustion + ruby/medium cold anomaly
- bench_full.sh RUNID=9250986: PASS=20 FAIL=0 (was PASS=18 FAIL=2)
- ruby/medium cold=81549ms anomaly confirmed reproducible (3rd time), not a FAIL
- Added doc/report-2026-05-20-bench-php-analysis.md
2026-05-20 08:27:32 +04:00
“Naeel” 6a6b42e90a doc: progress 2026-05-19 PV migration + fetcher v1.23.0, PASS=8 FAIL=0 2026-05-19 09:59:41 +04:00
“Naeel” d4cc6ba4f6 feat: PV storage backend + fix fetcher image v1.23.0
- helm/fission-values.yaml: storagesvc на vcd-disk-ext4 PV 2Gi
  fetcher image: naeel/fetcher:v1.23.0 (собран из fission-src/cmd/fetcher)
- scripts/migrate_s3_to_pv.py: скрипт перелива S3→storagesvc (no-op: 0 пакетов с s3://)
- doc/report-2026-05-19-pv-migration-bugs.md: баги helm upgrade, FETCHER_IMAGE, field manager
2026-05-19 09:46:57 +04:00
“Naeel” eae7dee1ef docs: progress.md — v1.3.78-v1.3.85, env vars, clone, tests 2026-05-10 07:49:00 +04:00
“Naeel” f05b40c20a fix: env vars через newdeploy+podspec — попадают в pod OS env для всех языков 2026-05-09 07:49:36 +04:00
“Naeel” bf470a4408 feat: переменные окружения функций (env vars в CRD)
- Backend: handleGetFunctionEnvVars / handlePutFunctionEnvVars в function_crud.go
- API: GET/PUT /functions/:name/envvars
- handleGetFunction теперь возвращает env_vars в ответе
- Frontend: блок env vars в edit modal (key=value + [×] + [+ Добавить])
- TF-функции показывают env vars в режиме read-only
- Документация: doc/descriptions/function-envvars-flow.md
- Версия v1.3.72
2026-05-09 06:50:52 +04:00
“Naeel” b75aae4a02 doc: TODO — биллинг, MQ-триггеры, метрики, прочий функционал 2026-05-07 21:48:30 +04:00
“Naeel” 2c3063c972 doc: описание изменений fission-src vs официальный Fission (multi-tenant) 2026-05-04 15:39:53 +04:00
“Naeel” ad7b335ece chore: sync все локальные изменения (auto, 2026-05-04) 2026-05-04 11:55:49 +04:00
“Naeel” db0da9f8c6 doc: add full function lifecycle description (S3, lint, env, runtime) 2026-05-04 11:13:27 +04:00
“Naeel” 34d016eee5 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” cfab33a173 v1.3.47: fix InvokeStrategy in archive handler, modal error display, draggable modals 2026-05-04 06:54:18 +04:00
“Naeel” 40fc2febc9 v1.3.46: separate create modals — code (cc-) and archive (ca-) as independent modules 2026-05-04 06:46:45 +04:00
“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” 444e2b581d feat: lint-archive endpoint, UI result inline v1.3.38 2026-05-03 21:08:32 +04:00
“Naeel” aa9ef9fb17 ui: progressive table render + load timer, v1.3.34 2026-05-03 17:34:07 +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” 154cd713ee feat(auth): auth layer decoupling, версия v1.3.24 в navbar и Help 2026-05-02 19:18:34 +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 059b0c243c feat: restore cron page, email in navbar, metrics pipeline v1.3.19 2026-05-01 19:53:40 +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 eacc58230f doc: progress log 2026-04-27 — poolmgr reuse fix + console cleanup 2026-04-27 15:16:36 +03:00
Naeel 475829bf2f snapshot before legacy cleanup 2026-04-27 07:36:06 +03:00
Naeel 7d512c078d doc: add notes on debugging model tradeoffs 2026-04-26 09:11:19 +03:00
Naeel 73b666afc2 doc: record layer1 multi-tenant pass analysis 2026-04-26 09:06:45 +03:00
Naeel 02e6e33d39 fix: semaphore+singleflight for ensureUserNS, fix 504 on 10 parallel new users (v0.8.12) 2026-04-25 14:41:35 +03:00
Naeel 5ac56bd5cf feat: add fission_simple_function composite resource 2026-04-20 13:35:57 +03:00
Naeel 8fdfd89983 doc: report 2026-04-20, v0.7.6 bugs and fixes 2026-04-20 04:46:01 +03:00
Naeel 53d10e1efc doc: тест auth v0.5.0 (2026-04-19) 2026-04-19 08:50:34 +03:00
Naeel 4ca7f988db feat: provider audit — builder support, function tuning, source archive
Аудит провайдера vs каноничный Fission. Добавлено:

Environment:
- builder_image, builder_command для Go и языков с build step

Package:
- deploy_type (literal/source) для переключения deployment/source archive
- loadPackageSourceArchive() — zip-упаковка source_dir
- Убран пустой source:{} из literal mode

Function:
- executor_type (poolmgr/newdeploy/container)
- function_timeout, idle_timeout
- min_scale, max_scale для ExecutionStrategy

Все 21 тест пройден. Обратная совместимость проверена.
Документация: doc/AUDIT_PROVIDER_VS_FISSION_2026-06-03.md
2026-04-15 17:46:47 +03:00
Naeel fea1875515 doc: plan for multi-language support (Go, Java, PHP, Ruby, .NET, Perl) 2026-04-15 16:31:34 +03:00
Naeel 8c6ec2edb4 fix: restore 15 functions and roll console favicon image 2026-04-15 15:05:27 +03:00
Naeel f1d8f0df1a docs: record strict cleanup to 6 verified functions 2026-04-15 14:43:58 +03:00
Naeel 26c73ceebe fix(console): sync function package resourceversion after code update 2026-04-15 11:14:42 +03:00
Naeel 39ef24264d fix(console): decode zip package literal before showing code in UI 2026-04-15 11:00:00 +03:00
Naeel 36f459a7dc fix(provider): detect source code drift and validate package/function references 2026-04-15 10:51:40 +03:00
Naeel 339a18e878 doc: add bugs #5, #6 (foreign key, entrypoint validation) 2026-04-15 10:43:05 +03:00
Naeel 8c694130d6 doc: comprehensive bug report from adversarial testing 2026-04-15 10:40:32 +03:00
Naeel c0654be4e3 docs: add repo rules, thinking log, and progress update for console 2026-04-15 07:57:43 +03:00
Naeel 8c3385693f doc: add Fission Console UI plan for Codex 2026-04-15 06:44:24 +03:00
Naeel f9dfb882f0 feat: support JS and Go source files in fission package loader 2026-04-14 23:37:32 +03:00
Naeel d40c5c6e07 test: add multi-function stress suite and severe load testing 2026-04-14 23:15:26 +03:00
Naeel b1b990ada3 test: add live acceptance CRUD test and document test flow 2026-04-14 23:02:20 +03:00
Naeel 81852c28b1 feat: add import support and unit tests for provider resources 2026-04-14 23:00:46 +03:00
Naeel f0446742fe feat: complete MVP resources and validate end-to-end terraform flow 2026-04-14 22:53:33 +03:00