Naeel
e8e3f890db
Удалены все Go-ссылки из tests_v2.sh (переменная GO_NS и БЛОК AE)
2026-05-01 13:14:41 +03:00
Naeel
7385b59a13
Удалены все Go-тесты и функция write_go() из test_simple_function.sh
2026-05-01 13:08:20 +03:00
Naeel
2cf746aa6d
Откат к рабочему состоянию: удалён golang, чистая сборка
2026-05-01 12:39:24 +03:00
Naeel
3e2e4587b9
Restore working console header
2026-04-30 09:26:50 +03:00
Naeel
6507308af2
Fix console header
2026-04-30 09:25:26 +03:00
Naeel
23db47b5e2
Fix console help text
2026-04-30 09:14:10 +03:00
Naeel
ac789f3c2f
fix: metrics-collector /cron/metrics route + UI API path, croned-pkg URL updated, image v0.1.1
2026-04-29 10:45:44 +03:00
Naeel
cef3cdc8d3
refactor: extract metrics-collector from fission-console, bump console to v1.3.12
2026-04-29 10:17:09 +03:00
Naeel
4d3de8e54a
feat(cron): Russian UI, table pagination 10 rows/page, bump to v1.3.11
2026-04-29 09:49:25 +03:00
Naeel
acdd1a5389
feat(cron): clarify node metrics in UI description, bump to v1.3.10
2026-04-29 09:44:45 +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
cf8015f4b4
Organize LLM assets and function lifecycle fixes
2026-04-28 13:04:08 +03:00
Naeel
af6e0ad43f
feat: add fission-aware ai prompts
2026-04-28 07:31:19 +03:00
Naeel
23e70a2817
fix: Python template def main() without ctx arg
2026-04-27 18:08:00 +03:00
Naeel
eacc58230f
doc: progress log 2026-04-27 — poolmgr reuse fix + console cleanup
2026-04-27 15:16:36 +03:00
Naeel
4b5e2b54c5
console: remove time-trigger counter card from dashboard
2026-04-27 15:15:03 +03:00
Naeel
b77c1b611b
console: deploy requested memory quota fix
2026-04-27 13:17:13 +03:00
Naeel
5fe92d479e
console: raise default requested memory quota
2026-04-27 13:16:00 +03:00
Naeel
d50378cdb4
console: deploy quota headroom fix
2026-04-27 12:57:33 +03:00
Naeel
985b722094
console: raise default user quota headroom
2026-04-27 12:56:34 +03:00
Naeel
0ab1f2e1d5
console: deploy quota 8 fix
2026-04-27 12:43:50 +03:00
Naeel
f959510dd7
console: raise default user cpu quota to 8
2026-04-27 12:42:41 +03:00
Naeel
30413f94b6
console: deploy quota fix
2026-04-27 12:14:32 +03:00
Naeel
267c9f07b5
console: raise default user cpu quota
2026-04-27 12:13:21 +03:00
Naeel
4258c0a4da
console: deploy invoke timeout fix
2026-04-27 11:49:36 +03:00
Naeel
686a6cfec2
console: fix invoke client timeout
2026-04-27 11:47:57 +03:00
Naeel
d0ab3cf02b
console: deploy help text update
2026-04-27 11:39:07 +03:00
Naeel
7feeee08b8
console: format help example block
2026-04-27 11:38:16 +03:00
Naeel
24688d0b55
console: fix help wording and python example
2026-04-27 11:36:37 +03:00
Naeel
e5cec8a147
console: deploy user fn gateway
2026-04-27 11:25:39 +03:00
Naeel
3f993241d5
console: add user token fn gateway
2026-04-27 11:24:36 +03:00
Naeel
ebc78de29f
console: deploy help update
2026-04-27 11:08:25 +03:00
Naeel
6b5bc0dc72
console: remove namespace hint
2026-04-27 11:07:22 +03:00
Naeel
0e1de402bf
console: deploy root redirect update
2026-04-27 10:52:31 +03:00
Naeel
514d443f7c
console: redirect root to console
2026-04-27 10:51:41 +03:00
Naeel
07e8be2aa5
console: deploy llm label update
2026-04-27 10:44:34 +03:00
Naeel
7747a75169
console: label linter and llm actions
2026-04-27 10:43:44 +03:00
Naeel
a2263bd65d
console: deploy timeout UI update
2026-04-27 10:38:53 +03:00
Naeel
ceb096a646
console: use per-function invoke timeout
2026-04-27 10:33:40 +03:00
Naeel
f1600d5644
fix: recreate namespace after manual deletion
2026-04-27 09:09:47 +03:00
Naeel
d593baa1b1
fix: restore jwt login and control-plane checks
2026-04-27 09:00:46 +03:00
Naeel
c903882756
docs: forbid rollbacks and require commits
2026-04-27 08:57:04 +03:00
Naeel
b20e58246f
remove legacy console package and refresh syntax tests
2026-04-27 07:43:36 +03:00
Naeel
475829bf2f
snapshot before legacy cleanup
2026-04-27 07:36:06 +03:00
Naeel
2eee6231b1
refactor: checkpoint layer2 api console changes
2026-04-26 16:41:20 +03:00
Naeel
fad6816bef
doc: add layer2 api chat handoff
2026-04-26 16:39:52 +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
f5de13d7ba
refactor: split main.go into packages (internal/api, internal/fission, internal/runtime, cmd/server)
2026-04-25 23:53:20 +03:00
Naeel
ba07bb9917
fix: v0.8.15 — auth testMode validates @ in token (block P fix)
2026-04-25 17:05:02 +03:00
Naeel
8305c1127f
fix: AE test fixed GO_NS+600s retry; tf: go-builder-fast:v1 in simple_function
2026-04-25 16:46:06 +03:00
Naeel
c059a53fbd
feat: v0.8.14 — init overlay, /ns/status endpoint, token hint
2026-04-25 16:40:27 +03:00
Naeel
1dc364a782
feat: use naeel/go-builder-fast:v1 with prebuilt stdlib, deploy v0.8.13
2026-04-25 15:18:01 +03:00
Naeel
8f3f03027e
feat: custom go-builder-fast with prebuilt stdlib for plugin mode
2026-04-25 15:14:37 +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
fd7cc663b6
fix(console): assistant greeting -> Чем могу помочь v0.8.4
2026-04-20 15:23:15 +03:00
Naeel
4b1c216317
feat(console): generate prompt input before generating code v0.8.3
2026-04-20 15:21:26 +03:00
Naeel
a24a0b39aa
feat(console): wider assistant, generate+explain buttons v0.8.2
2026-04-20 15:17:17 +03:00
Naeel
58c5d9051c
fix(console): testMode auth — X-Auth-Token accepted as sub v0.8.1
2026-04-20 15:09:49 +03:00
Naeel
beafe531f1
feat(console): assistant answers any question v0.8.0
2026-04-20 15:01:37 +03:00
Naeel
594ebd4471
feat(console): add AI assistant panel /api/ai/ask v0.7.9
2026-04-20 14:45:00 +03:00
Naeel
9fc7006043
feat(console): replace LLM with real linters (node/python/ruby/php/perl/go) v0.7.8
2026-04-20 14:35:58 +03:00
Naeel
b5b53a3ab6
feat: LLM syntax check via /console/api/ai/check
...
- Server-side proxy to LLM API (FISSION_LLM_KEY, FISSION_LLM_URL env vars)
- Button in create-modal and edit-modal: check syntax before saving
- Result shown inline below code textarea (green=ok, red=errors)
2026-04-20 14:06:51 +03:00
Naeel
5ac56bd5cf
feat: add fission_simple_function composite resource
2026-04-20 13:35:57 +03:00
Naeel
bada48f852
feat: big-suite terraform example + provider nodejs zip fix
...
- examples/big-suite: E-Commerce 10 functions, 6 layers, real depends_on
- provider: nodejs packages now wrapped in ESM zip (buildJSDeployZip)
- provider: loadPackageLiteral reads raw file, nodejs zip via source_dir
- all 10 functions verified working: python/node/ruby/go runtimes
2026-04-20 11:38:45 +03:00
Naeel
187b4075d6
test: add block AE — Go language invoke test
2026-04-20 04:54:56 +03:00
Naeel
8fdfd89983
doc: report 2026-04-20, v0.7.6 bugs and fixes
2026-04-20 04:46:01 +03:00
Naeel
f71a14e4f0
test: блоки U-Z — multi-user concurrency, isolation, cross-user attacks, full cycle (PASS=63/FAIL=0)
2026-04-19 19:49:27 +03:00
Naeel
f76b96d873
fix: v0.7.2 — name limit 57 chars (HTTPTrigger -route suffix = 63), tests A-T PASS=54/FAIL=0
2026-04-19 18:41:27 +03:00
Naeel
aaeb90c1e8
test: add comprehensive test suite v2 (41 checks, blocks A-P)
2026-04-19 17:49:56 +03:00
Naeel
1b16a7edce
fix: route isolation, 404 on invoke/delete nonexistent (v0.6.8)
...
- Bug#1: namespace-prefix routes to avoid cross-user collision
Route format: /{ns-last-12-chars}/{fn-name}
- Bug#2: INVOKE nonexistent function -> HTTP 404 (was 200)
- Bug#3: DELETE nonexistent function -> HTTP 404 (was 200)
2026-04-19 17:10:01 +03:00
Naeel
ae451872fd
fix: nodejs ESM wrapper via new Function, README for fission-console
...
- Replace two-file zip (_userfn.cjs + main.js) with single-file approach
- User code embedded via new Function(module, exports, code) for safe CJS isolation
- Auto-adds status:200 when function omits it
- Add fission-console technical README section (v0.6.7)
2026-04-19 16:52:22 +03:00
Naeel
82aaa411b1
fix: RBAC bind cluster-admin + list namespaces + TEST_MODE multi-tenant test
2026-04-19 15:41:11 +03:00
Naeel
bd19990735
feat: lazy env creation + TTL functions + expiry reaper
2026-04-19 15:05:12 +03:00
Naeel
c95b94e0e4
docs: add detailed comments to addNSToFission and ensureUserNamespace RBAC block
2026-04-19 14:42:18 +03:00
Naeel
cbdf1d441c
feat: Fission SA RoleBindings in user namespace (cluster-admin) + v0.6.2
2026-04-19 14:40:03 +03:00
Naeel
5517c4eee5
feat: RBAC ClusterRole for console namespace management
2026-04-19 09:55:55 +03:00
Naeel
63e7aadbce
feat: namespace isolation per user JWT sub claim
...
- Auth middleware extracts user namespace from JWT sub (SHA256 → hex8)
- All K8s operations use per-user fission-{hex} namespace
- handleAuth calls ensureUserNamespace to create NS + shared envs
- handleAuth returns namespace in response
- buildLangEnvironment accepts ns string parameter
- Fallback to server default NS if JWT parse fails
2026-04-19 09:54:57 +03:00
Naeel
6718334f68
Merge feat/console-auth: auth через deck API, login overlay, logout
2026-04-19 09:43:55 +03:00
Naeel
2b03c15cfb
chore: copilot instructions update
2026-04-19 09:43:55 +03:00
Naeel
53d10e1efc
doc: тест auth v0.5.0 (2026-04-19)
2026-04-19 08:50:34 +03:00
Naeel
41b08a7d78
console v0.5.0: auth через deck API, login overlay, logout
2026-04-19 08:25:23 +03:00
Naeel
a66e3a9564
console v0.4.5: русификация UI, Go/TF предупреждения, handler.go в preferred
2026-04-15 19:47:41 +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
26135768a3
feat: multi-language support — PHP, Ruby, Perl, Go (binary-env)
...
- PHP: ghcr.io/fission/php-env, entrypoint main.php::handler
- Ruby: ghcr.io/fission/ruby-env, entrypoint handler (single-word)
- Perl: ghcr.io/fission/perl-env (version=1), sub {} return value
- Go: ghcr.io/fission/binary-env with pre-compiled binary (shell script placeholder)
Provider changes:
- package_resource: added main.php, main.rb, main.pl to source_dir candidates
- function_resource: relaxed entrypoint validation to allow PHP (::), Ruby, Perl (single-word)
- function_resource_test: updated BadFormat test to reflect new valid formats
2026-04-15 17:01:40 +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
513150cdd3
revert: remove Go function (runtime compilation timeout)
2026-04-15 16:24:57 +03:00
Naeel
e0b773c9d5
add: Go function example (tf-go-hello-fn)
2026-04-15 16:19:25 +03:00
Naeel
bb063f999b
console: fix favicon — full base64 data URI (v0.3.4)
2026-04-15 15:20:27 +03:00
Naeel
b50e8ee70f
console: embed favicon as data URI (v0.3.3)
2026-04-15 15:15:21 +03:00
Naeel
b90b24dc19
ui: use terra.k8c.ru favicon (same as qu.kube5s.ru/ui/)
2026-04-15 15:08:58 +03:00
Naeel
8c6ec2edb4
fix: restore 15 functions and roll console favicon image
2026-04-15 15:05:27 +03:00
Naeel
cce6e4bee2
ui: use nubes favicon url
2026-04-15 14:51:10 +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