Commit Graph
44 Commits
Author SHA1 Message Date
“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
Naeel cf55828ba6 feat: implement function and http trigger resources via CRD 2026-04-14 22:40:11 +03:00
Naeel 8842ec070e feat: implement environment and package resources via fission CRD 2026-04-14 22:36:54 +03:00
Naeel 2e775e73a4 doc: switch provider MVP plan from REST v2 to Kubernetes CRD API 2026-04-14 21:53:34 +03:00
Naeel ef0f4e3c00 doc: CODEX_PLAN.md — подробный план для GPT 5.3 Codex 2026-04-14 21:23:23 +03:00