Commit Graph
138 Commits
Author SHA1 Message Date
SimoandCursor fa40eebeed fix(deploy): migrate after stop and shrink DB pool
Deploy / release (push) Skipped
Deploy / deploy (push) Successful in 1m52s
Stage migrate hit ER_CON_COUNT_ERROR while live still held the pool. Build in stage with DATABASE_POOL_SIZE=5, run db:migrate only after stopping the service (with retries), and lower the default pool from 40 to 10.

Co-authored-by: Cursor <[email protected]>
2026-07-21 21:44:06 +02:00
SimoandCursor 687e1f9fb0 fix(deploy): stage worktree build and short .next cutover
Deploy / release (push) Skipped
Deploy / deploy (push) Failing after 11s
Build install/test/migrate in a detached worktree while the live site keeps serving, then swap .next and node_modules during a brief stop. Drops nuclear rm -rf src and rolls back .next.prev on cutover failure.

Co-authored-by: Cursor <[email protected]>
2026-07-21 21:39:45 +02:00
SimoandCursor 2ff08e5127 chore: patch deps, CSP style nonces, otplib 13, and PR CI
Deploy / release (push) Skipped
Deploy / deploy (push) Successful in 1m35s
Co-authored-by: Cursor <[email protected]>
2026-07-21 20:46:02 +02:00
SimoandCursor 9b47668fe9 chore: CSP script nonces, deploy health check, dead-code cleanup
Add per-request CSP nonces (drop script unsafe-inline), post-deploy /api/health gate, bump next-auth to beta.32, and remove unused motion/cache/permission helpers.

Co-authored-by: Cursor <[email protected]>
2026-07-21 20:27:08 +02:00
SimoandCursor c46dadeda4 chore: harden deps, env validation, admin errors, and redis warnings
Deploy / release (push) Skipped
Deploy / deploy (push) Successful in 1m39s
Align nodemailer with Auth.js peers, bump patch deps, validate env on deploy builds, add admin error boundary, and warn when Redis is missing in production.

Co-authored-by: Cursor <[email protected]>
2026-07-21 20:19:05 +02:00
openhands 7fc53396b4 fix: menu links use bare slugs (Gitea auto-prefixes href with user-content-)
Deploy / release (push) Successful in 8s
Deploy / deploy (push) Skipped
2026-07-20 21:03:02 +02:00
openhands c0975f8a43 fix: scope deploy contract test to deploy job; menu links use Gitea user-content anchors
Deploy / release (push) Successful in 12s
Deploy / deploy (push) Skipped
2026-07-20 20:59:37 +02:00
openhands 43a624bbe7 docs: add self-contained setup reference configs (emulator + nitro) and bold-link buttons
Deploy / release (push) Skipped
Deploy / deploy (push) Failing after 33s
2026-07-20 20:54:26 +02:00
openhands c4532dd340 style: use inline style for release buttons (Gitea strips class)
Deploy / release (push) Successful in 8s
Deploy / deploy (push) Skipped
2026-07-20 20:47:07 +02:00
openhands 039b46d12b docs: expand release wizard with emulator/Nitro/Catalogus steps + buttons
Deploy / release (push) Successful in 8s
Deploy / deploy (push) Skipped
2026-07-20 20:43:43 +02:00
openhands 43ca6dc4b0 fix: add explicit plain-id anchors so the release menu jumps to sections
Deploy / release (push) Successful in 8s
Deploy / deploy (push) Skipped
2026-07-20 20:38:50 +02:00
openhands 45b7a1d9ef test: add explicit anchor for System Requirements to verify Gitea keeps id
Deploy / release (push) Successful in 8s
Deploy / deploy (push) Skipped
2026-07-20 20:35:38 +02:00
openhands a741e6103d fix: menu anchors use Gitea user-content- prefix so TOC links work
Deploy / release (push) Successful in 13s
Deploy / deploy (push) Skipped
2026-07-20 20:31:34 +02:00
openhands 6e27d9c4fe docs: expand release notes with menu, requirements, install wizard, usage
Deploy / release (push) Successful in 8s
Deploy / deploy (push) Skipped
2026-07-20 20:25:45 +02:00
openhands e5de0b53d4 fix: single JSON-encode release body so newlines render (no literal \n)
Deploy / release (push) Successful in 8s
Deploy / deploy (push) Skipped
2026-07-20 20:21:33 +02:00
openhands cb91fbef6c chore: cleaner release notes (cap changelog, concise initial release)
Deploy / release (push) Successful in 8s
Deploy / deploy (push) Skipped
2026-07-20 20:15:44 +02:00
openhands 9617e59747 chore: remove obsolete catalogus pack-trigger proposal
Deploy / release (push) Successful in 8s
Deploy / deploy (push) Skipped
2026-07-20 20:05:42 +02:00
openhands d103316945 refactor: drop pack.yaml; v*-tag release now includes linked repo URLs + commits
Trigger Site Pack / notify (push) Successful in 0s
Deploy / release (push) Skipped
Deploy / deploy (push) Successful in 1m35s
2026-07-20 20:04:45 +02:00
openhands a6b708080c refactor: lightweight pack — bundle CMS only, link other repos via MANIFEST (URL+commit) 2026-07-20 20:02:07 +02:00
openhands a1ba13c1b5 fix: catalogus full clone (no sparse), fix manifest ver/status grep collision 2026-07-20 19:50:53 +02:00
openhands e16cf9b28f i18n: manifest + release notes in English 2026-07-20 19:46:19 +02:00
openhands 5c83f1e788 feat: clear MANIFEST.md in pack + readable release notes (component/version/status per pack) 2026-07-20 19:44:36 +02:00
openhands 5a7d0ab16c fix: guard assemble step (fail if component missing/empty) so pack never ships incomplete 2026-07-20 19:39:13 +02:00
openhands 57511872a2 fix: compute PACK_VERSION in bash (env: did not expand $(date), caused invalid tag -> 500) 2026-07-20 19:33:57 +02:00
openhands e9bd85ea09 diag: surface GITEA_API/REPO and pack-body bytes in release step to isolate 500 2026-07-20 19:29:22 +02:00
openhands 7bc7e5e7ad fix: revert pack release API vars to gitea.* (proven working in deploy.yaml) 2026-07-20 19:25:40 +02:00
openhands 3e1597fd62 fix: hardcode GITEA_API/GITEA_REPO (gitea.* vars produced 500 on release create) 2026-07-20 19:18:09 +02:00
openhands 997b74129e fix: harden release step (validate vars, per-curl http codes, diagnostics) to debug exit 3 2026-07-20 19:14:09 +02:00
openhands 3fcd1e1018 fix: build emulator from Emulator/ subdir (pom.xml lives there, not repo root) 2026-07-20 19:10:03 +02:00
openhands c4a0c607bf fix: retry all repo clones + fail loudly on missing pom/package.json (emulator clone was silently empty) 2026-07-20 19:07:03 +02:00
openhands 2af0fc3447 fix: run renderer build before Nitro-V3 so vite.config finds the SDK 2026-07-20 19:02:52 +02:00
openhands cc4b7da756 fix: clone CMS from local bare repo in pack workflow (avoids runner HTTPS auth failure)
Trigger Site Pack / notify (push) Successful in 0s
Deploy / release (push) Skipped
Deploy / deploy (push) Successful in 1m37s
Site Pack / pack (push) Failing after 28s
2026-07-20 18:55:11 +02:00
openhands 134bb97410 fix: clone renderer to Nitro_Render_V3 so Nitro-V3 vite build finds the SDK
Trigger Site Pack / notify (push) Successful in 1s
Deploy / release (push) Skipped
Deploy / deploy (push) Successful in 1m26s
Site Pack / pack (push) Failing after 47s
2026-07-20 18:50:39 +02:00
openhands 682babb1c0 perf: cache per-component builds in pack workflow (only rebuild changed repos; sparse catalogus clone)
Trigger Site Pack / notify (push) Successful in 0s
Deploy / release (push) Skipped
Deploy / deploy (push) Successful in 2m2s
Site Pack / pack (push) Failing after 46s
2026-07-20 18:45:24 +02:00
openhands 8b5999970b feat: pack auto-rebuilds on any upstream change (CMS/catalogus/nitro/render/emulator) via 15min cron poll
Trigger Site Pack / notify (push) Successful in 0s
Deploy / release (push) Skipped
Deploy / deploy (push) Successful in 1m26s
Site Pack / pack (push) Failing after 1m48s
2026-07-20 18:42:02 +02:00
openhands 87d72a1aef feat: add site-pack workflow (builds CMS+catalogus+nitro+render+emulator into pack-YYYYMMDD-HHMM release)
Trigger Site Pack / notify (push) Successful in 0s
Deploy / release (push) Skipped
Deploy / deploy (push) Successful in 1m35s
Site Pack / pack (push) Failing after 1m32s
2026-07-20 18:33:00 +02:00
openhands dd66a5ba2e fix: use TOKEN from env with fallback to secret
Deploy / release (push) Successful in 22s
Deploy / deploy (push) Skipped
2026-07-20 16:03:13 +02:00
openhands 0c0540cf59 fix: yaml syntax in deploy workflow
Deploy / release (push) Successful in 4s
Deploy / deploy (push) Skipped
2026-07-20 15:52:40 +02:00
openhands 0913e9d529 fix: merge release into deploy workflow for Gitea compatibility 2026-07-20 15:50:03 +02:00
openhands 02df513b18 debug: extensive logging in release workflow
Local Build and Deploy / deploy (push) Successful in 1m24s
2026-07-20 15:42:46 +02:00
openhands 323e2cd9d3 fix: generate changelog from bare repo before clone, use jq
Local Build and Deploy / deploy (push) Successful in 1m27s
Bare repo ensures all tags and full history are available.
Changelog saved before clone to avoid filesystem isolation issues.
2026-07-20 15:38:42 +02:00
openhands cb683b7322 chore: remove test workflow, clean up test tags
Local Build and Deploy / deploy (push) Successful in 1m29s
2026-07-20 15:36:55 +02:00
openhands c959487605 test: add tag trigger test workflow
Local Build and Deploy / deploy (push) Successful in 1m28s
Tag Trigger Test / test (push) Successful in 1s
2026-07-20 15:35:09 +02:00
openhands 26da114e0e fix: use curl+jq instead of Python for release creation
Local Build and Deploy / deploy (push) Successful in 1m27s
Eliminates potential Python/heredoc issues in Gitea Actions runner.
Full clone guarantees git history is available for changelog.
2026-07-20 15:29:54 +02:00
openhands 8badcd9c92 fix: full clone instead of shallow for proper changelog
Local Build and Deploy / deploy (push) Successful in 1m29s
Shallow clone (--depth 1) prevented git log from seeing full history.
Local bare repo clone is instant, so full clone adds no network delay.
2026-07-20 15:27:57 +02:00
openhands 25a8d6ab22 debug: add extensive logging to release workflow
Local Build and Deploy / deploy (push) Successful in 1m20s
Writes debug output to /tmp/release-debug.log for post-mortem analysis.
2026-07-20 15:23:14 +02:00
openhands 57ef6289ff fix: generate changelog via Python subprocess for reliability
Local Build and Deploy / deploy (push) Successful in 1m26s
Previous approaches using temp files or env vars failed in Gitea runner.
Python now runs git commands directly via subprocess, reads stdout,
and builds the JSON payload — no intermediate files or shell escaping.
2026-07-20 15:21:12 +02:00
openhands 80bf3bb0d5 fix: use local checkout for changelog generation
Local Build and Deploy / deploy (push) Successful in 1m26s
Bare git repo has no HEAD; git log without --all showed nothing.
Now uses /var/www/atom-nexst (full checkout with proper HEAD).
Also adds debug output and handles first-release edge case.
2026-07-20 15:16:19 +02:00
openhands 15ed8ffbf0 fix: generate release changelog from full local repo
Local Build and Deploy / deploy (push) Successful in 1m23s
Shallow clone (depth 1) only has one commit, so git log was empty.
Now generates changelog from the bare repo before cloning, and uses
Python to build the JSON payload for proper multiline escaping.
2026-07-20 15:11:59 +02:00
openhands df604bf432 fix: copy .env into temp clone for Prisma build
Local Build and Deploy / deploy (push) Successful in 1m37s
Create Release / release (push) Successful in 1m2s
2026-07-20 15:06:25 +02:00