Commit Graph
53 Commits
Author SHA1 Message Date
“Naeel” 005b4786c0 docs: bench PV results 2026-05-20 PASS=20/20; misc updates 2026-05-20 08:30:26 +04:00
“Naeel” a2e1723e33 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” 78f1a2cfc4 doc: progress 2026-05-19 PV migration + fetcher v1.23.0, PASS=8 FAIL=0 2026-05-19 09:59:41 +04:00
“Naeel” 3eb4f5669b 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” 11c90bac9e docs: progress.md — v1.3.78-v1.3.85, env vars, clone, tests 2026-05-10 07:49:00 +04:00
“Naeel” 7887d4597d fix: env vars через newdeploy+podspec — попадают в pod OS env для всех языков 2026-05-09 07:49:36 +04:00
“Naeel” 1fa92e069f 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” 7f15a2c61d doc: TODO — биллинг, MQ-триггеры, метрики, прочий функционал 2026-05-07 21:48:30 +04:00
“Naeel” 72004dd943 doc: описание изменений fission-src vs официальный Fission (multi-tenant) 2026-05-04 15:39:53 +04:00
“Naeel” e128bdc28f chore: sync все локальные изменения (auto, 2026-05-04) 2026-05-04 11:55:49 +04:00
“Naeel” 78f72c593f doc: add full function lifecycle description (S3, lint, env, runtime) 2026-05-04 11:13:27 +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” 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” b7a8074c73 feat: lint-archive endpoint, UI result inline v1.3.38 2026-05-03 21:08:32 +04:00
“Naeel” 4ecaa508ea ui: progressive table render + load timer, v1.3.34 2026-05-03 17:34:07 +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” 81367f7a5d feat(auth): auth layer decoupling, версия v1.3.24 в navbar и Help 2026-05-02 19:18:34 +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 d21e1ac9a5 feat: restore cron page, email in navbar, metrics pipeline v1.3.19 2026-05-01 19:53:40 +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 fcc3449469 doc: progress log 2026-04-27 — poolmgr reuse fix + console cleanup 2026-04-27 15:16:36 +03:00
Naeel 7cfe20bf76 snapshot before legacy cleanup 2026-04-27 07:36:06 +03:00
Naeel 76b9fee364 doc: add notes on debugging model tradeoffs 2026-04-26 09:11:19 +03:00
Naeel 6b06db66b9 doc: record layer1 multi-tenant pass analysis 2026-04-26 09:06:45 +03:00
Naeel 3b9c6e2c5e fix: semaphore+singleflight for ensureUserNS, fix 504 on 10 parallel new users (v0.8.12) 2026-04-25 14:41:35 +03:00
Naeel ec23ddc0a6 feat: add fission_simple_function composite resource 2026-04-20 13:35:57 +03:00
Naeel 9eeda9b175 doc: report 2026-04-20, v0.7.6 bugs and fixes 2026-04-20 04:46:01 +03:00
Naeel 0a1708e682 doc: тест auth v0.5.0 (2026-04-19) 2026-04-19 08:50:34 +03:00
Naeel fd236d87ea 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 c78b539d24 doc: plan for multi-language support (Go, Java, PHP, Ruby, .NET, Perl) 2026-04-15 16:31:34 +03:00
Naeel a199745c77 fix: restore 15 functions and roll console favicon image 2026-04-15 15:05:27 +03:00
Naeel 8ac8428a76 docs: record strict cleanup to 6 verified functions 2026-04-15 14:43:58 +03:00
Naeel ba50d18f8f fix(console): sync function package resourceversion after code update 2026-04-15 11:14:42 +03:00
Naeel d9a6d2f29e fix(console): decode zip package literal before showing code in UI 2026-04-15 11:00:00 +03:00
Naeel 1b8bff8364 fix(provider): detect source code drift and validate package/function references 2026-04-15 10:51:40 +03:00
Naeel e2b6a4472e doc: add bugs #5, #6 (foreign key, entrypoint validation) 2026-04-15 10:43:05 +03:00
Naeel ac2d2a1288 doc: comprehensive bug report from adversarial testing 2026-04-15 10:40:32 +03:00
Naeel 19bcdc5fc7 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
Naeel cf55828ba6 feat: implement function and http trigger resources via CRD 2026-04-14 22:40:11 +03:00