- API routers, ACA modules, integrations (draft operators) - Docs, landing pages, scripts (launch readiness, scorecard) - Tests and CI workflow updates for Dealix Co-authored-by: Cursor <cursoragent@cursor.com>
4.4 KiB
Post-merge verification — Dealix
Run this checklist after PR #125 is merged into main (or when validating the release branch). Record fresh numbers below.
Preconditions
- Revoke any exposed GitHub PAT (see
SECURITY_INCIDENT_PAT_EXPOSURE.md). - Merge completed only from GitHub UI (no
--forceon shared branches). - Local checkout updated:
git checkout main && git pull.
Commands (reference)
نفّذ من مجلد dealix (جذر حزمة التطبيق) بعد cd dealix:
python -m compileall api auto_client_acquisition integrations db core
pytest -q --no-cov
python scripts/print_routes.py
python scripts/smoke_inprocess.py
بوابة الإطلاق: بعد الدمج، شغّل أيضاً scripts/smoke_staging.py على staging مع STAGING_BASE_URL — انظر LAUNCH_DAY_RUNBOOK_AR.md.
Optional secret-pattern scan (adapt to your environment):
rg "ghp_|github_pat_|sk_live_" --glob '!htmlcov/**' --glob '!.venv/**'
Growth Control Tower — Wave 0 (baseline)
بعد إضافة مسارات /api/v1/platform/* و/api/v1/intelligence/* أعد تشغيل نفس الأوامر أعلاه وتأكد من ROUTE_CHECK_OK. Staging: STAGING_DEPLOYMENT.md وops/RAILWAY_AI_COMPANY_BIND.md.
Launch Ops + Service Tower (خرائط ثابتة)
- تأكد من:
GET /api/v1/launch/private-beta/offer،GET /api/v1/launch/go-no-go،GET /api/v1/services/verticals،GET /api/v1/services/contracts/templates. scripts/smoke_staging.pyيتضمن هذه المسارات عند التحقق من staging.
Frontend map + لغتين (Landing / EN)
- مرجع المشغّل:
FRONTEND_AND_API_MAP.md— يربطlanding/*.htmlبمسارات البرج والتحكم. - صفحات إنجليزية مختصرة:
landing/private-beta-en.html،services-en.html،command-center-en.htmlمع روابط من العربية. - Revenue offer i18n:
GET /api/v1/revenue-launch/offer?lang=enيضيفtitle_en/summary_en(وحقول إنجليزية موازية للقوائم حيث وُجدت) مع الإبقاء على الحقول العربية.
Last recorded run (workspace snapshot)
| Step | Result |
|---|---|
| Git HEAD | 16e8ba2 on branch ai-company (re-run on main after merge) |
| compileall | OK (api, auto_client_acquisition, db, core) |
| pytest | 652 passed, 6 skipped, 0 failed (APP_ENV=test, dummy LLM keys) — 2026-05-01 بعد launch_readiness + تكامل الواجهات؛ أعد التشغيل بعد الدمج |
print_routes.py |
ROUTE_CHECK_OK no duplicate method+path |
smoke_inprocess.py |
SMOKE_INPROCESS_OK (يشمل GET /api/v1/revenue-launch/offer وGET /api/v1/revenue-launch/offer?lang=en) |
launch_readiness_check.py |
VERDICT: GO_PRIVATE_BETA، exit 0 — يفحص محلياً: /health، customer-ops (checklist/sla/connectors)، services/catalog (حقول التسعير وProof لكل خدمة)، launch/private-beta/offer، security-curator/demo، ملفات `landing/companies |
smoke_staging.py |
يتطلب STAGING_BASE_URL — يشمل الآن …/revenue-launch/offer?lang=en؛ شغّله على الاستضافة الفعلية قبل أول عميل |
Frontend + EN + ?lang=en |
وثّق في FRONTEND_AND_API_MAP.md — أعد pytest بعد أي تغيير على revenue_launch |
CI
Confirm GitHub Actions workflow .github/workflows/dealix-api-ci.yml is green on the merged commit (jobs: pytest, smoke_inprocess, launch_readiness). لإعداد branch protection وأسماء الـ checks: BRANCH_PROTECTION_AND_CI.md.
Manual follow-ups (not automated)
- Merge PR #125 on GitHub when checks pass.
- Deploy staging and run
scripts/smoke_staging.pywithSTAGING_BASE_URLset.