Commits
2026-09-14
✨ feat: compose-stack deploy plus in-tree schema workAhmet Kaan Gümüş · 57fad2c
✨ feat: compose-stack deploy plus in-tree schema work Production deploy is podman compose (postgres + backend + openobserve) instead of a systemd binary. CI stays a throwaway postgres sidecar. Operator credentials live in ~/hezarfen_backend/hezarfen_backend.env (0600); the deploy never writes that file. Also lands the working-tree schema/junction and .sqlx updates that were already sitting next to this change.
2026-09-12
🗃️ fix: macro-legal binds/decodes + Send-general closures (repair round, 1564→0)Ahmet Kaan Gümüş · 83c3ce5Browse files
🐛 fix: board_stroke::history clause placeholders follow positional bind orderAhmet Kaan Gümüş · bc532b9Browse files
🗃️ feat!: port boards, notes and rag to sqlx/PostgresAhmet Kaan Gümüş · c928ecf
🗃️ feat!: port boards, notes and rag to sqlx/Postgres - board/note/course_note/rag_output db layers: static query!/query_as! against the union-schema prepare DB; PagedList/FieldUpdate for the runtime builders - file caps via the cap claim CTE at each call site; board create claims app_user.board_count, delete releases it in the same tx - BOARD_ROSTER_LOCK deleted: invite is one guarded atomic-array union (coalesce(array_agg(DISTINCT unnest(participants || $n))) with a cardinality cap on the row version the UPDATE acts on) - stroke dual-counter claim: one UPDATE bumps both counters, lifetime cap + open guard + epoch in the WHERE; zero rows re-read via cap::full_kind - board clear: pre-image read under SELECT ... FOR UPDATE, refusal precedence preserved (closed > not-creator > locked > blank), guarded epoch bump, marker insert, one tx (CLEAR_REFUSED THROW now Rust-level refusals) - rag_output.payload JSONB (sqlx::types::Json), sources uuid[] cascade via $n = ANY(sources); note/course_note delete cascades sweep rag_output in-tx (real FKs refuse dangling derived rows) - board rosters: uuid[] + GIN, membership reads $n = ANY(participants) - dead SurrealQL-shaped constants removed (BOARD_OPEN_GUARD, BOARD_STROKE_TABLE, counter/file-count field constants); uuid::Uuid imports for my domain files