Commit Graph
117 Commits
Author SHA1 Message Date
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
openhands 73a36d503a fix: combine release workflow into single run block
Local Build and Deploy / deploy (push) Successful in 1m37s
Create Release / release (push) Failing after 13s
Each Gitea Actions step is a separate shell session; git context did not
persist between steps. All steps are now in one run block.
2026-07-20 15:03:11 +02:00
openhands 9b8a0e5075 ci: add Gitea release workflow on tag push
Local Build and Deploy / deploy (push) Successful in 1m25s
Create Release / release (push) Failing after 0s
Creates an automated Gitea release with changelog when a tag (v*) is pushed.
Requires GITEA_TOKEN secret in Gitea with repository write access.
2026-07-20 14:59:51 +02:00
SimoandCursor 224ccd654b perf(deploy): keep .next/cache while clearing stale generated types
Nuclear src replace already guarantees clean sources; restoring the build cache speeds deploys without reintroducing sticky typecheck ghosts.

Co-authored-by: Cursor <[email protected]>
2026-07-18 21:15:52 +02:00
SimoandCursor 80c6559143 fix(deploy): stop hanging on per-file sticky-bit scan
Local Build and Deploy / deploy (push) Successful in 1m48s
Only clear paths that already have skip-worktree/assume-unchanged; keep nuclear src replace and content verify.

Co-authored-by: Cursor <[email protected]>
2026-07-18 20:34:34 +02:00
SimoandCursor d0f9b3ef95 fix(deploy): nuclear-replace src to defeat skip-worktree ghosts
Local Build and Deploy / deploy (push) Canceled after 9m26s
Host built a different event-form than HEAD while git looked clean; delete src, restore from git objects, and hash-verify every tracked blob.

Co-authored-by: Cursor <[email protected]>
2026-07-18 20:30:21 +02:00
SimoandCursor 968f6ff7db fix(deploy): unstick nitro Json typecheck and wipe poisoned .next cache
Local Build and Deploy / deploy (push) Failing after 1m21s
Host next build still saw Json on nitro while tsc passed; use any helpers, verify blob hash, and delete .next entirely before build.

Co-authored-by: Cursor <[email protected]>
2026-07-18 20:14:50 +02:00
SimoandCursor 1abbf3fde7 fix(deploy): sync rooms Prisma types and harden checkout against stale host files
Local Build and Deploy / deploy (push) Failing after 1m19s
next build failed on host-local rooms.ts using Prisma without import while tsc incremental passed; force non-incremental typecheck and verify src matches HEAD.

Co-authored-by: Cursor <[email protected]>
2026-07-18 20:06:34 +02:00
SimoandCursor c053b8de87 fix(deploy): reclaim www-data ownership before git reset
Local Build and Deploy / deploy (push) Failing after 1m16s
Stale host sources survived reset when files were owned by www-data, leaving an old nitro editor with a removed Json type that failed typecheck.

Co-authored-by: Cursor <[email protected]>
2026-07-18 20:01:25 +02:00
SimoandCursor b22725d3a9 fix: type-safe nitro editor helpers and stabilize deploy build
Local Build and Deploy / deploy (push) Failing after 29s
Rewrite getNested/updateNested without fragile any/Json inference, clear stale .next types before build, and skip env refine during compile.

Co-authored-by: Cursor <[email protected]>
2026-07-18 19:57:33 +02:00
SimoandCursor 6b884ad25a Harden deploy gates, prod AUTH_SECRET, and Sentry error reporting.
Local Build and Deploy / deploy (push) Successful in 1m42s
Align onlyBuiltDependencies with the workspace, fail fast without AUTH_SECRET in production, and delete catalog_items via VARCHAR-safe SQL so page deletes do not leave orphans.

Co-authored-by: Cursor <[email protected]>
2026-07-18 19:32:15 +02:00
SimoandCursor bb7d581084 Add exportPermissions and clean stray untracked src on deploy.
Local Build and Deploy / deploy (push) Successful in 1m13s
Co-authored-by: Cursor <[email protected]>
2026-07-17 18:48:34 +02:00
remco 15966bcf6d Update .gitea/workflows/deploy.yaml
Local Build and Deploy / deploy (push) Successful in 55s
2026-07-15 21:57:02 +02:00
remco 64db83c5d3 Update .gitea/workflows/deploy.yaml
Local Build and Deploy / deploy (push) Failing after 15s
2026-07-15 21:54:27 +02:00
remco 3802a1cfb0 Update .gitea/workflows/deploy.yaml
Local Build and Deploy / deploy (push) Successful in 56s
2026-07-15 21:52:39 +02:00
openhands 1908136071 ci: kill lingering next-server before restarting service to avoid EADDRINUSE
Local Build and Deploy / deploy (push) Successful in 1m5s
2026-07-13 22:16:20 +02:00
openhands 2e4ed76121 style: format code with prettier
Local Build and Deploy / deploy (push) Successful in 49s
2026-07-12 21:07:34 +02:00
remco e85e4d74ea revert fb8e77bb68
Local Build and Deploy / deploy (push) Successful in 1m11s
revert style: clean up code with prettier and eslint
2026-07-12 21:02:03 +02:00
openhands fb8e77bb68 style: clean up code with prettier and eslint 2026-07-12 20:31:05 +02:00
Simo 41002aa36d fix: preserve Next.js deploy cache
Local Build and Deploy / deploy (push) Successful in 45s
2026-07-12 15:17:16 +02:00
remco 2e1c258bf4 Update .gitea/workflows/deploy.yaml
Local Build and Deploy / deploy (push) Successful in 57s
2026-07-12 14:25:13 +02:00
Simo 685033dcbd Update .gitea/workflows/deploy.yaml
Local Build and Deploy / deploy (push) Successful in 48s
2026-07-12 14:22:07 +02:00