Scaffold app, chart, CI and release (26.11.1) #2

Merged
kai merged 1 commits from claude/ap1-geruest into main 2026-11-06 19:14:58 +00:00
Owner

Arbeitspaket 1, erster Teil: Gerüst, Chart, CI und Release — Version 26.11.1.

Inhalt

  • App: Next.js 15 (App Router, standalone), next-intl mit vier Sprachen ohne Sprachpräfix in der Adresse (Sprache je Person: Keks, sonst Browser, sonst Deutsch), Tailwind v4 mit der warmen Palette als Token (hell und dunkel), shadcn/ui-Button (44 px), Lucide, Geist lokal, Serwist-Service-Worker, PWA-Manifest und Symbole (docs/icon/lunch.svg → scripts/app-icons.mjs). Oberfläche duzt (Konzept).
  • Datenbank: lib/db.ts mit withHousehold() (setzt app.household_id je Transaktion), db/migrations/0001_households.sql mit RLS und FORCE, scripts/migrate.mjs (einmal je Datei, Prüfsumme, Wiederholschleife). Test mit zwei Haushalten als Tabelleneigentümerin.
  • Chart: ein Deployment (Vorlauf: chown, migrate aus demselben Abbild), Service ClusterIP, Entrance internal bis zur eigenen Anmeldung, Abbildpfad fest, Tag aus appVersion, Recreate wegen hostPath. scripts/check-chart.sh mit Rockets Regeln, dazu: public nur mit eigener Anmeldung.
  • Workflows: ci.yml (Chart, Typen, Tests gegen Postgres, Build; nachts 07:00 MESZ), release.yml (Abbild lunch-app, Tag, Release mit Chart). Markt-Eintrag folgt mit der Anmeldung.

Geprüft

  • npm run type-check, npm test (7, davon 4 gegen Postgres), npm run build, bash scripts/check-chart.sh lokal grün
  • Migrationen zweimal hintereinander (zweiter Lauf tut nichts), auch aus dem standalone-Baum
  • Startseite am iPhone 15 hell und dunkel angesehen

Offene Issues geprüft

  • keine offenen Issues

🤖 Generated with Claude Code

https://claude.ai/code/session_01HUc2nv7rJVU2gp3Bgtha3q

Arbeitspaket 1, erster Teil: Gerüst, Chart, CI und Release — Version 26.11.1. ## Inhalt - **App:** Next.js 15 (App Router, standalone), next-intl mit vier Sprachen ohne Sprachpräfix in der Adresse (Sprache je Person: Keks, sonst Browser, sonst Deutsch), Tailwind v4 mit der warmen Palette als Token (hell und dunkel), shadcn/ui-Button (44 px), Lucide, Geist lokal, Serwist-Service-Worker, PWA-Manifest und Symbole (`docs/icon/lunch.svg` → `scripts/app-icons.mjs`). Oberfläche duzt (Konzept). - **Datenbank:** `lib/db.ts` mit `withHousehold()` (setzt `app.household_id` je Transaktion), `db/migrations/0001_households.sql` mit RLS **und FORCE**, `scripts/migrate.mjs` (einmal je Datei, Prüfsumme, Wiederholschleife). Test mit zwei Haushalten als Tabelleneigentümerin. - **Chart:** ein Deployment (Vorlauf: chown, migrate aus demselben Abbild), Service ClusterIP, Entrance **internal** bis zur eigenen Anmeldung, Abbildpfad fest, Tag aus `appVersion`, Recreate wegen hostPath. `scripts/check-chart.sh` mit Rockets Regeln, dazu: `public` nur mit eigener Anmeldung. - **Workflows:** `ci.yml` (Chart, Typen, Tests gegen Postgres, Build; nachts 07:00 MESZ), `release.yml` (Abbild `lunch-app`, Tag, Release mit Chart). Markt-Eintrag folgt mit der Anmeldung. ## Geprüft - `npm run type-check`, `npm test` (7, davon 4 gegen Postgres), `npm run build`, `bash scripts/check-chart.sh` lokal grün - Migrationen zweimal hintereinander (zweiter Lauf tut nichts), auch aus dem standalone-Baum - Startseite am iPhone 15 hell und dunkel angesehen ## Offene Issues geprüft - keine offenen Issues 🤖 Generated with [Claude Code](https://claude.com/claude-code) https://claude.ai/code/session_01HUc2nv7rJVU2gp3Bgtha3q
kai added 1 commit 2026-11-06 19:08:26 +00:00
Scaffold the app, chart, CI and release (26.11.1)
ci / olares chart · sanity (pull_request) Successful in 5s
ci / app · types + tests + build (pull_request) Successful in 3m54s
release / which version (pull_request) Successful in 1s
release / olares chart · sanity (pull_request) Successful in 3s
release / app (pull_request) Successful in 1m25s
release / tag and release (pull_request) Skipped
fa83e560b2
Next.js 15 with next-intl (de, en, fr, es; locale per person, no URL
prefix), Tailwind v4 tokens for the warm palette with dark mode, a
shadcn/ui button, Serwist service worker and PWA manifest with icons.
One Postgres pool with withHousehold() setting app.household_id per
transaction; the first migration creates households with FORCE ROW
LEVEL SECURITY, and a two-household test checks the isolation as the
table owner. scripts/migrate.mjs applies db/migrations once each with a
checksum and retries until the database is reachable.

Olares chart with one deployment (init: chown, migrate from the same
image), ClusterIP service, entrance internal until the own sign-in
exists, image path fixed in the template and tag from appVersion.
scripts/check-chart.sh carries the rules from Rocket; CI runs it, type
check, tests against Postgres and the build; release builds
lunch-app, tags and attaches the chart.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01HUc2nv7rJVU2gp3Bgtha3q
kai merged commit a62e48116a into main 2026-11-06 19:14:58 +00:00
kai deleted branch claude/ap1-geruest 2026-11-06 19:14:59 +00:00
Sign in to join this conversation.
No Reviewers
No labels
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: aimighty/lunch#2