דילוג לתוכן
מרכז התיעוד
לאתר LinkNodes Energy
LinkNodesENERGYתיעוד

טוענים את החיפוש…

    חיפוש גם בתוך המאמרים ↑ ↓ לניווט Esc לסגירה

    לאתר החברה

    שחרורים ואימות

    אימות יסודות הפלטפורמה

    תוצאות בדיקות ותלויות ענן של שחרור הפלטפורמה המקורי.

    בעמוד הזה

    Branch: feature/multitenant-platform, baseline 6934afc. Local isolated test environment; no customer data was changed.

    • TypeScript, ESLint and optimized Next.js production build: passed.
    • Vitest: 60 passed (47 existing, 13 platform domain cases).
    • Playwright: 25 distinct cases passed across the full run and targeted rerun. Initial full run: 24 passed, one pre-existing visual test hit Next.js streaming's transient second heading. The test now waits for loading to finish. Final targeted platform/visual run: 10 passed, zero failed. Earlier editor test failures were traced to exact label matching/HMR during edits; explicit select labels and stable role locators were verified in the rerun.
    • PostgreSQL 17: 26 passed on a fresh ev1_test_final database after replaying both migrations. Test fixtures rolled back. Includes cross-tenant read/write, cross-tenant FK assignment, immutable tenant scope even for dual members, driver scope, finance/manager permissions, owner protection, private secrets, anonymous denial, read-only financial facts, SQL analytics arithmetic and historical visibility, state transitions, duplicate session prevention, pending credentials, invitation wrong-recipient/replay checks, membership revocation, RLS coverage and trigger-generated audits including comparison assumptions.
    • Visual inspection: desktop dashboard/onboarding at 1440px and mobile portal at 390px. Table overflow stays inside its scroll container. Dashboard shows six newest sessions; full list lives on the charging page. Existing visual-system tests cover 320/390px driver layouts. No approved reference screenshots were overwritten.
    • Screenshots: [local-path-redacted], [local-path-redacted], [local-path-redacted]. Screenshot capture waits for hydration; an earlier capture before hydration generated a Playwright caret-style warning, not an application state mismatch. Final capture had no page errors.

    Scope of security evidence#

    SQL tests use an isolated auth.jwt() shim and explicit PostgreSQL roles to exercise actual RLS and grants. Browser tests exercise demo isolation and fail-closed unconfigured APIs. These do not prove real Clerk issuer verification, Supabase third-party auth, production authorization end-to-end, payment correctness or charger command delivery.

    The connected Supabase account still exposes only the unrelated digitalops organization. The requested EV1 organization has not appeared. No schemas, data or configuration were changed in Car Dealers BMS. A separate EV1 Clerk development application exists, with credentials stored outside the source tree and not activated in this preview.

    Pending integration gates: dedicated EV1 Supabase project and native Clerk trust; live two-tenant/member-role tests; provider selection; atomic charging reservations/outbox worker and verified webhooks; real PSP authorization/capture/refunds/reconciliation; operational monitoring and backup/restore verification. See architecture.md for scope and sequence.

    Deployed preview#

    Source commit c1bb7ab, Vercel deployment [operational-id-redacted], target staging/Preview, state READY. URL: https://ev1-6lq0ornsf-digital-ops-engineering.vercel.app/platform

    Eight remote checks passed: onboarding/type selection; four dashboard KPIs and six recent sessions; persisted demo vehicle after reload; tenant switch excluding other workspace edits; real API 503 rather than demo fallback; analytics CSV; mobile 390px without page overflow; original driver app and map worker. No page errors. Temporary verification access was revoked. The standard URL remains Vercel-authenticated.