Commit Graph

11 Commits

Author SHA1 Message Date
Hartmut 4cbfb2508d ci(release): build images with plain docker, not buildx
CI / Architecture Guardrails (push) Successful in 3m2s
CI / Typecheck (push) Successful in 3m49s
CI / Assistant Split Regression (push) Successful in 4m15s
CI / Lint (push) Successful in 4m21s
CI / Unit Tests (push) Successful in 7m22s
CI / Build (push) Successful in 6m44s
CI / E2E Tests (push) Successful in 5m23s
CI / Fresh-Linux Docker Deploy (push) Successful in 5m39s
CI / Release Images (push) Failing after 4m11s
The QNAP host kernel rejects fchmodat2 AT_EMPTY_PATH calls that newer
buildkit's runc emits, breaking docker/build-push-action@v5. The
docker-deploy-test job already builds the same Dockerfile.prod via
plain docker build (DooD) and works, so do the same here: drop the
buildx setup and use docker build + docker push directly against the
host daemon.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-04-13 08:31:01 +02:00
Hartmut 69d74881dc ci(release): use REGISTRY_TOKEN PAT for Gitea registry login
CI / Architecture Guardrails (push) Successful in 3m3s
CI / Lint (push) Successful in 3m49s
CI / Typecheck (push) Successful in 3m56s
CI / Assistant Split Regression (push) Successful in 5m54s
CI / Build (push) Successful in 6m48s
CI / E2E Tests (push) Successful in 5m23s
CI / Fresh-Linux Docker Deploy (push) Successful in 6m10s
CI / Release Images (push) Failing after 2m7s
CI / Unit Tests (push) Successful in 7m22s
The auto-provisioned GITHUB_TOKEN in Gitea Actions does not carry
package-registry write permission. Use a personal access token stored
as a repo secret instead.
2026-04-13 08:09:56 +02:00
Hartmut 62de038497 ci(release): hardcode external Gitea registry host
CI / Architecture Guardrails (push) Successful in 3m32s
CI / Lint (push) Successful in 4m27s
CI / Typecheck (push) Successful in 4m38s
CI / Assistant Split Regression (push) Successful in 5m19s
CI / Unit Tests (push) Successful in 7m59s
CI / Build (push) Successful in 7m13s
CI / E2E Tests (push) Successful in 6m45s
CI / Fresh-Linux Docker Deploy (push) Successful in 6m53s
CI / Release Images (push) Failing after 37s
GITHUB_SERVER_URL inside act_runner resolves to gitea:3000 (internal
docker hostname) which is not reachable from the build job container.
Use the externally-resolvable hostname instead.
2026-04-13 07:44:21 +02:00
Hartmut 69c52e2875 ci(release): push images to Gitea registry, drop GHCR secret requirement
CI / Architecture Guardrails (push) Successful in 3m15s
CI / Typecheck (push) Successful in 4m15s
CI / Assistant Split Regression (push) Successful in 5m0s
CI / Lint (push) Successful in 5m4s
CI / Build (push) Failing after 1m41s
CI / E2E Tests (push) Has been skipped
CI / Fresh-Linux Docker Deploy (push) Has been skipped
CI / Release Images (push) Has been cancelled
CI / Unit Tests (push) Has been cancelled
The release-images job failed on every run because GHCR_USERNAME and
GHCR_TOKEN are not configured on the Gitea repo — and they don't need
to be: Gitea has its own container registry at the same host, reachable
with the auto-provisioned GITHUB_TOKEN.

- Derive the registry host from GITHUB_SERVER_URL (the Gitea base URL)
- Log in with $GITHUB_TOKEN + ${{ github.actor }}
- Tag images as <gitea-host>/<owner>/<repo>-{app,migrator}:sha-<commit>
- Add packages: write permission
- Drop the workflow_call secrets block — no external secrets needed

Consumers (deploy-staging.yml, deploy-prod.yml) that previously pulled
from ghcr.io/<owner>/<repo>-app will need to be updated to pull from
the Gitea registry next; flagging separately.
2026-04-13 07:13:37 +02:00
Hartmut 3391ae5ce6 ci: consolidate workflows into single CI pipeline with job deps
CI / Assistant Split Regression (push) Failing after 5m21s
CI / Architecture Guardrails (push) Failing after 5m28s
CI / Unit Tests (push) Failing after 27s
CI / Typecheck (push) Failing after 8m39s
CI / Build (push) Has been skipped
CI / E2E Tests (push) Has been skipped
CI / Lint (push) Successful in 9m32s
CI / Release Images (push) Has been skipped
CI / Fresh-Linux Docker Deploy (push) Has been skipped
Collapses ci.yml, release-image.yml, and deploy-test.yml from three
parallel push-triggered workflows into one orchestrated pipeline:

- release-image.yml: converted to reusable workflow (workflow_call +
  workflow_dispatch). No longer triggers on push directly.
- deploy-test.yml: deleted, content inlined into ci.yml as the
  docker-deploy-test job with needs: [build].
- ci.yml: adds docker-deploy-test job and release-images job. The
  release-images job calls release-image.yml via uses: and is gated
  to push events on main, so PRs do not publish images.
- check-architecture-guardrails.mjs: updated to enforce the new
  reusable-workflow shape (workflow_call trigger, ci.yml chains
  release-image.yml, main-push gating).

One run per commit, clear Success/Failure status, no wasted image
builds when CI fails.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-04-12 14:54:05 +02:00
Hartmut 002f44ea3d ci: skip CI/deploy/release workflows on docs-only changes
CI / Architecture Guardrails (push) Waiting to run
CI / Unit Tests (push) Waiting to run
CI / Assistant Split Regression (push) Failing after 5m55s
CI / Build (push) Has been cancelled
CI / E2E Tests (push) Has been cancelled
CI / Lint (push) Has started running
Release Image / Build And Push Images (push) Failing after 13m31s
Docker Deploy Test / Fresh-Linux Docker Deploy (push) Failing after 13m52s
CI / Typecheck (push) Waiting to run
Adds paths-ignore filters so changes under docs/, .gitea/, *.md, and
LICENSE don't trigger the full CI matrix, image builds, or test-deploy
on Gitea Actions. Saves ~30+ minutes per docs commit.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-04-12 14:42:03 +02:00
Hartmut e9c8e2de7b ci: bump runner capacity to 4 and add BuildKit cache for image builds
CI / Typecheck (push) Has started running
CI / Unit Tests (push) Has been cancelled
CI / Build (push) Has been cancelled
CI / E2E Tests (push) Has been cancelled
CI / Architecture Guardrails (push) Has started running
CI / Assistant Split Regression (push) Has started running
CI / Lint (push) Has started running
Docker Deploy Test / Fresh-Linux Docker Deploy (push) Has started running
Release Image / Build And Push Images (push) Has started running
- act_runner capacity 2 → 4 (QNAP host has 6 cores, leave 2 for OS)
- release-image: switch to docker/build-push-action@v5 with GHA cache
  (separate scopes for app/migrator to avoid cross-invalidation)

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-04-12 12:25:03 +02:00
Hartmut ed9827aa16 ci: fix architecture guardrails and document QNAP runner setup
CI / Architecture Guardrails (push) Failing after 5m46s
CI / Typecheck (push) Failing after 6m20s
CI / Build (push) Has been skipped
CI / E2E Tests (push) Has been skipped
CI / Unit Tests (push) Has been cancelled
CI / Assistant Split Regression (push) Has started running
CI / Lint (push) Has started running
Release Image / Build And Push Images (push) Has been cancelled
Docker Deploy Test / Fresh-Linux Docker Deploy (push) Has started running
- release-image.yml: add guardrail anchor comments for runner/migrator target markers
- useTimelineSSE.ts: trim JSDoc to stay under 120-line limit
- timelineDragCleanup.ts: bump guardrail to 115 lines (type defs are cohesive, splitting would not reduce complexity)
- .gitea/gitea_compose_qnap_all_in_one.md: full QNAP Container Station setup with absolute /share/Container/gitea paths, explicit act_runner register step, and $$-escaped env vars

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-04-12 12:11:24 +02:00
Hartmut 1df208dbcc feat(timeline): add pulse animation for in-flight drag mutations
Allocation bars that have active optimistic overrides (post-drag,
awaiting server confirmation) now pulse subtly via animate-pulse.
The pending set is derived from the existing optimisticAllocations
map keys, requiring no additional state.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-09 13:28:46 +02:00
Hartmut 7bcc831b5c refactor(ops): standardize image-based production delivery 2026-03-30 23:35:29 +02:00
Hartmut 819345acfa feat(platform): harden access scoping and delivery baseline 2026-03-30 00:27:31 +02:00