SPB Git

spb/fabri-ka

Public

Agrégateur de produits québécois — www.fabri-ka.com

[ka6] fix connecteur foodcrayon.com: re-migration de la FICHE shopify→generic (platform generic + catalog_endpoint __generic__) — la migration validée 398d211 du 11-03 a été PERDUE par le revert concurrent 10cd65e, qui a remis la fiche en shopify + /products.json → la fiche replantait sur le 402 non géré de shopify.py (fix code 402 abandonné après 22 pertes, doctrine kefiplant 04c0126) → broken (3 échecs consécutifs au scan). Cause racine inchangée, re-vérifiée live 2026-11-04 ~17h30 UTC: boutique Shopify toujours GELÉE (abonnement impayé) — accueil www → 402 « Store unavailable » (10 350 octets), /sitemap.xml → « Unavailable Shop », /products.json?limit=250 → 429/402. Avec la fiche generic: aucun root sitemap ne répond 200 avec des <loc> → aucun URL produit → fetch() return [] → ok/0 FIDÈLE (médiane historique 0.0 — boutique déjà verrouillée par mot de passe avant le gel, 0 produit actif en base). Réapplication par ÉDITION DIRECTE ciblée de 2 lignes dans data/stores.json (pas de git revert/checkout, pattern theprettyuglycompany d888efc), jamais de json.dump global, AUCUN code touché — shopify.py volontairement laissé tel quel. Sync réel 2026-11-04: foodcrayon.com ok / 0 produit; non-régression atelierora.ca ok / 23 (chemin generic nominal) et ateliersaintcerf.com ok / 62 (chemin shopify nominal) — 3 ok, 0 erreur en 5 s. pm2 restart fabri-ka-sync fait, web local 200. NE PAS RE-REVERTER tant que la boutique répond 402: toute fiche shopify ici replante en broken. Si le marchand régularise (curl -s -o /dev/null -w '%{http_code}' https://www.foodcrayon.com/products.json → 200), re-migrer la fiche vers shopify + /products.json. Si re-broken: grep foodcrayon data/stores.json (doit être generic + __generic__), re-migrer les 2 lignes, ne pas toucher shopify.py.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Simon-Pierre Boucher committed (Nov 4, 2026) parent 5f50a13 Browse files

1 changed file +2 −2

Unified Split
modified data/stores.json +2 −2
@@ -55369,8 +55369,8 @@
55369 55369 "id": "foodcrayon.com",
55370 55370 "name": "Food Crayon",
55371 55371 "url": "https://www.foodcrayon.com",
55372 − "platform": "shopify",
55373 − "catalog_endpoint": "/products.json",
55372 + "platform": "generic",
55373 + "catalog_endpoint": "__generic__",
55374 55374 "city": "",
55375 55375 "region": "",
55376 55376 "postal_prefix": "H4E",
55377 55377
Menu

Theme