Commit Graph
15 Commits
Author SHA1 Message Date
alex 089a965486 Replace setup-node with direct Node install
CI - Test & Build / Lint & Type Check (push) Canceled after 0s
CI - Test & Build / Backend Unit Tests (push) Canceled after 0s
CI - Test & Build / Frontend Build (push) Canceled after 0s
CI - Test & Build / E2E Tests (Playwright) (push) Canceled after 0s
CI - Test & Build / Security Scan (push) Canceled after 0s
CI - Test & Build / CI Summary (push) Canceled after 0s
2026-09-05 09:23:29 +00:00
alex 3fb6265f86 Skip checkout (workspace pre-populated)
CI - Test & Build / Lint & Type Check (push) Canceled after 0s
CI - Test & Build / Backend Unit Tests (push) Canceled after 0s
CI - Test & Build / Frontend Build (push) Canceled after 0s
CI - Test & Build / E2E Tests (Playwright) (push) Canceled after 0s
CI - Test & Build / Security Scan (push) Canceled after 0s
CI - Test & Build / CI Summary (push) Canceled after 0s
2026-09-05 09:16:33 +00:00
Alex 00cc6c06f7 Remove cache param (not supported in setup-node v4)
CI - Test & Build / Lint & Type Check (push) Canceled after 0s
CI - Test & Build / Backend Unit Tests (push) Canceled after 0s
CI - Test & Build / Frontend Build (push) Canceled after 0s
CI - Test & Build / E2E Tests (Playwright) (push) Canceled after 0s
CI - Test & Build / Security Scan (push) Canceled after 0s
CI - Test & Build / CI Summary (push) Canceled after 0s
2026-09-05 09:02:23 +00:00
Alex 5afeeca420 Fix YAML - remove broken steps, disable npm cache
CI - Test & Build / Lint & Type Check (push) Canceled after 0s
CI - Test & Build / Backend Unit Tests (push) Canceled after 0s
CI - Test & Build / Frontend Build (push) Canceled after 0s
CI - Test & Build / E2E Tests (Playwright) (push) Canceled after 0s
CI - Test & Build / Security Scan (push) Canceled after 0s
CI - Test & Build / CI Summary (push) Canceled after 0s
2026-09-05 08:56:54 +00:00
alex 646ac8ca95 Fix GITHUB_API_URL for setup-node 2026-09-05 08:44:59 +00:00
alex 74ff635913 Use setup-node v4 (v6 has Invalid URL bug)
CI - Test & Build / Lint & Type Check (push) Failing after 7m46s
CI - Test & Build / Backend Unit Tests (push) Failing after 6m35s
CI - Test & Build / Frontend Build (push) Failing after 6m8s
CI - Test & Build / E2E Tests (Playwright) (push) Skipped
CI - Test & Build / Security Scan (push) Successful in 11m8s
CI - Test & Build / CI Summary (push) Canceled after 0s
2026-09-05 08:06:32 +00:00
alex b779006559 Fix MariaDB port to 3308
CI - Test & Build / Lint & Type Check (push) Successful in 22m4s
CI - Test & Build / Backend Unit Tests (push) Failing after 3m46s
CI - Test & Build / Frontend Build (push) Failing after 9m5s
CI - Test & Build / E2E Tests (Playwright) (push) Skipped
CI - Test & Build / Security Scan (push) Failing after 18m47s
CI - Test & Build / CI Summary (push) Canceled after 0s
2026-09-05 06:59:25 +00:00
alex 7e0c028132 Fix MariaDB port 3306->3307
CI - Test & Build / Lint & Type Check (push) Successful in 14m58s
CI - Test & Build / Backend Unit Tests (push) Failing after 4s
CI - Test & Build / Frontend Build (push) Successful in 14m46s
CI - Test & Build / E2E Tests (Playwright) (push) Skipped
CI - Test & Build / Security Scan (push) Failing after 13m22s
CI - Test & Build / CI Summary (push) Failing after 4s
2026-09-05 06:58:07 +00:00
alexpolo1andClaude Sonnet 5 9b7df90385 feat: add carpenter walkthrough release gate (hydration, readiness, material link review)
Implements the plan from the carpenter walkthrough audit: make the
project flow -> final review -> PDF path measurable and safe to gate
CI on.

- projectHydrationService loads a project's geometry/labor/materials/
  rentals/packages/calculation in parallel and reports per-resource
  timing plus the slowest resource, so hydration SLA breaches are
  visible instead of silent
- projectReadiness centralizes the blocking checks final review must
  pass before a quote can be sent (name, customer, description,
  materials/labor present, zero-price lines)
- pdfSourceSignature detects when a generated PDF is stale relative to
  the current project data, so a carpenter doesn't send an outdated
  quote
- MaterialLinkReview + new customer-projects match-preview/link
  endpoints let a user review and confirm suggested master-material
  matches instead of silently auto-linking
- ProjectFlow refactored around the new hydration/readiness utilities;
  FinalReview surfaces readiness checks and unlinked material counts
- CI: the carpenter smoke test (full-roof-quote-flow.spec.js) is now
  a blocking gate on main, with the rest of the Playwright suite
  running best-effort alongside it
- docs/qa/CARPENTER_WALKTHROUGH_RELEASE_GATE.md documents the gate and
  the monthly production audit procedure

Co-Authored-By: Claude Sonnet 5 <[email protected]>
2026-08-20 13:20:33 +02:00
Alex d5f65f74d4 feat: mobil tømrerflow og Codex CLI-generering (#8)
Flyt brugerrettet indholdsgenerering til Codex CLI, forbedr mobilflowet og ret CI-miljøets afhængigheder og testkonfiguration.
2026-08-13 11:47:14 +02:00
alexpolo1 fe4f11fe32 ci: survive artifact quota, update actions, clean lint warnings
The last CI run failed only because GitHub artifact storage quota was
exhausted: backend tests and frontend build were green but their
upload-artifact steps failed the jobs.

- Mark all artifact uploads continue-on-error and cut retention to 3
  days (deploy workflows kept artifacts up to 30 days, which is what
  filled the quota)
- E2E job builds the frontend itself instead of downloading the
  frontend-build artifact, so it no longer depends on artifact storage
- Bump actions/checkout v4->v7, setup-node v4->v6, upload-artifact
  v4->v7, download-artifact v4->v8 (Node 20 runtime deprecation) and
  CI Node 18 (EOL) -> 22 to match production
- Fix all frontend lint warnings: remove unused imports/state and the
  dead Stepper-based form UI in SmartPackageForm (renderStepContent,
  parseAndAddMaterialsFromDescription were unreferenced), disable
  exhaustive-deps where the effect is intentionally scoped
2026-07-08 13:05:28 +02:00
alexpolo1 01ad8f4a49 feat: consolidate ordrestyring quote workflow 2026-07-05 08:10:59 +00:00
Claude 1ed77551a0 feat: Add comprehensive CI/CD pipelines and fix lint errors
CI/CD Pipelines:
- ci.yml: Enhanced with lint, unit tests, E2E tests, security scan
- deploy-test.yml: Test environment deployment workflow
- deploy-prod.yml: Production deployment with backup, rollback, smoke tests

Test Fixes:
- supportTickets.test.js: Fix field names (topic_id, priority_id)

Lint Fixes:
- CalendarGrid.js: Mark unused employeeTypeFilter
- CustomerSearch.js: Mark unused setTaskType
- EnhancedGeometry.js: Mark unused variables
- InlineSmartPackage.js: Add eslint-disable for unused handlers
- ProjectFlow.js: Remove unused imports and handlers
- WhosFreeWidget.js: Add eslint-disable for useEffect
- BackupImport.js: Remove unused TextField import
2026-01-25 10:47:16 +00:00
alexpolo1 30a4a9995e test: Add backend tests for API routes and formula safety, wire into CI 2025-12-22 22:23:13 +00:00
alexpolo1 0af151cda4 ci: Add minimal GitHub Actions workflow for frontend build and backend sanity 2025-12-22 22:20:22 +00:00