Restore Shopify custom-install host (connect.lomi.africa) - #85
Open
princemuichkine wants to merge 3 commits into
Open
Restore Shopify custom-install host (connect.lomi.africa)#85princemuichkine wants to merge 3 commits into
princemuichkine wants to merge 3 commits into
Conversation
Keep connect.lomi.africa as the documented install URL (Partner toml, dashboard, docs). Add a Vercel deploy workflow for the private Shopify app, a /health probe, and a host-check script. Point Woo at the live docs zip because GitHub /latest is the CLI and 404s. DNS and the Vercel project still have to be created outside git. Co-authored-by: Babacar Diop <princemuichkine@users.noreply.github.com>
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
princemuichkine
marked this pull request as ready for review
September 6, 2026 11:15
Actions pnpm 9 rejects the committed overrides encoding with --frozen-lockfile, and supabase-js 2.x declares engines.node >=22. Allow a non-frozen, engine-lenient install for this app only. Co-authored-by: Babacar Diop <princemuichkine@users.noreply.github.com>
Shopify CI sets this so pnpm 9 can install despite lockfile overrides encoding drift, with PNPM_IGNORE_ENGINES for the Node 20 / supabase-js engines clash. Co-authored-by: Babacar Diop <princemuichkine@users.noreply.github.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What
Restores the in-repo Shopify custom-install path so merchants (including Abdoul Raouf /
kiz5dx-3m.myshopify.com) can leave dashboard Integrations → Shopify and reach OAuth once DNS + Vercel are live.Canonical host stays
https://connect.lomi.africa. That is already what Partnershopify.app.toml, dashboardVITE_SHOPIFY_APP_URLfallback, and docs document. Do not switch toshopify.lomi.africa.Why
Re-verified 2026-09-06:
connect.lomi.africashopify.lomi.africab16496f94f759a85.vercel-dns-016.comDEPLOYMENT_NOT_FOUND; TLSCN=*.lomi.africaexpired 2025-02-09 (Let's Encrypt R11)dashboard.lomi.africa/docs/pay/apiVercel team
Princemuichkinehas no Shopify project. Dashboard “Shopify on” only arms the channel;window.openofhttps://connect.lomi.africa/install?shop=…is the “Site inaccessible” page. Custom install only (not App Store).Comptoir can resume the call-first draft after this host answers.
How
Shopify app (
lomiafrica/shopify@cursor/restore-shopify-install-host-4988):GET /health(no Partner secret import) + CORS fordashboard.lomi.africa.env.example,.node-version20 (engines are>=18 <22)DEFAULT_SHOPIFY_APP_URLDashboard (
lomiafrica/dashboard@ same branch name):VITE_SHOPIFY_APP_URL/connect.lomi.africa/healthbefore opening OAuthconnect-srcallowshttps://connect.lomi.africaWoo (
lomiafrica/woo@ same branch name): download docs point athttps://docs.lomi.africa/downloads/woo-lomi.zipMonorepo:
.github/workflows/app-deploy-shopify.yml+tooling/vercel/shopify.json(Remix Build Output; do not copy the Next umbrella stub)apps/plugins/scripts/check-ecommerce-hosts.sh/releases/latestis the CLI, notwoo-lomi.zipOther ecommerce hosts (light pass)
Live:
api.lomi.africa,sandbox.api.lomi.africa, docswoo-lomi.zip, GitHubwoo/magento/prestashop/bubble. Magento/PrestaShop/Bubble already use those API hosts. No new rails or fees.Broken and fixed: dashboard + Woo README used
…/releases/latest/download/woo-lomi.zip→ 404 oncli-v3.4.0.Babacar — DNS / Vercel (cannot do from git)
GoDaddy (
ns03/ns04.domaincontrol.com), same pattern asinvoice.lomi.africa.lomiafrica/shopify). CLI deploy only.connect.lomi.africatooling/vercel/shopify.jsonlomiafrica/lomi.:VERCEL_PROJECT_ID_SHOPIFY(reuseVERCEL_TOKEN,VERCEL_ORG_ID).SHOPIFY_API_KEY,SHOPIFY_API_SECRET,SHOPIFY_APP_URL=https://connect.lomi.africa,SHOPIFY_SCOPES=read_checkouts,read_orders,write_checkouts,write_orders,write_products,SUPABASE_URL,SUPABASE_SERVICE_ROLE_KEY,NODE_ENV=production.connect→ the Vercel target (cname.vercel-dns.comor the project’s*.vercel-dns-016.com). Thenvercel domains add connect.lomi.africaand verify.*.lomi.africacert (Nov 2024–Feb 2025). Let Vercel issue a host cert (same as dashboard/docs).shopify.lomi.africaat the same project and remove the dangling DEPLOYMENT_NOT_FOUND assignment. Not the documented install URL.curl -i https://connect.lomi.africa/health→ 200{"ok":true,…}thenhttps://connect.lomi.africa/install?shop=kiz5dx-3m.myshopify.com.connect.lomi.africaredirect URLs. Only runshopify app deployif those URLs drifted.Review
Please review: Alpha Diop (
khossdev, alpha@lomi.africa) — Shopify app, Woo download, docs, deploy workflow. Dashboard submodule is private (Alpha should not be granted core-repo access); review that surface via this PR description + the dashboard branch if you have access.Linear context: CORE-30.
Testing
pnpm test+pnpm typecheckinapps/plugins/shopify(Node 20): health report tests passapps/plugins/scripts/check-ecommerce-hosts.sh: API, docs Woo zip, plugin GitHubs OK; Shopify/healthwarns (NXDOMAIN) until steps above