Direct navigation to /bugs, /oils, /manage etc. returned 404 because
FastAPI's StaticFiles only served index.html for /. Now all non-API,
non-asset routes return index.html so Vue Router handles client-side routing.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
- is_resolved (0/1/2/3) instead of string status
- priority (0/1/2 numbers) instead of strings
- content field instead of title/description
- display_name/username for reporter
- comment endpoint /comment (singular), body: {content}
- Fix duplicate content display in template
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Without restart, K8s reuses cached pods even with imagePullPolicy: Always
when the manifest spec hasn't changed.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Endpoint fixes:
- AuditLog: /api/audit-logs → /api/audit-log
- BugTracker: /api/bugs → /api/bug-reports, create → /api/bug-report
- BugTracker: fix create body (content+priority, not title/description)
- MyDiary: /api/brand-settings → /api/brand
- MyDiary: /api/me/display-name → PUT /api/me
- RecipeSearch: /api/category-modules → /api/categories
Test improvements:
- Remove blanket uncaught:exception swallow (only ignore ResizeObserver)
- Add endpoint-parity.cy.js: intercept-based test that verifies correct
API endpoints are called and wrong ones are NOT called
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
api.post/get/put/delete now throw Error with .message from response
body (detail/message field), not raw Response object. Fixes login
modal showing no feedback on auth failure.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
- test.yml: unit + e2e + build on 'test' runner (hera)
- Vitest results + Cypress videos/screenshots as artifacts
- Auto starts/stops backend + frontend for E2E
- preview.yml: test on hera → deploy on oci (sequential)
- deploy.yml: test on hera → deploy-prod on oci
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Shows orange warning banner on pr-{id}.oil.oci.euphon.net with PR number.
Production site (oil.oci.euphon.net) is unaffected.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
- Runner now runs on oci (arm64) — docker/kubectl are local, no SSH needed
- deploy-preview.py rewritten with subprocess (no os.system, no SSH)
- deploy: build image, copy prod DB, create namespace, apply manifests
- teardown: delete namespace + image
- deploy-prod: build, push, rollout restart
- Simplified all workflow files to just call the Python script
- Deleted old hera-runner
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
- .gitea/workflows/test.yml: unit tests + build on every push
- .gitea/workflows/deploy.yml: auto deploy to production on push to main
- .gitea/workflows/preview.yml: PR preview environments at pr-{id}.oil.oci.euphon.net
- Bakes production DB copy into preview image (no PVC needed)
- Auto-creates namespace + deployment + ingress with TLS
- Comments PR with preview URL
- Tears down on PR close
- scripts/setup-runner.sh: act_runner installation script
Runner: hera-runner (host mode, ubuntu-latest label)
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
- oils store: change Map to plain object for Vue reactivity
- recipes store: map `oil_name` from API (was only mapping `oil`/`name`)
- OilReference: fix .get() calls to bracket access
- Add price-display.cy.js regression test (3 tests)
- Add visual-check.cy.js for screenshot verification
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>