diff --git a/scripts/workers/pipeline_orchestrator.py b/scripts/workers/pipeline_orchestrator.py index b5407f1..1353251 100644 --- a/scripts/workers/pipeline_orchestrator.py +++ b/scripts/workers/pipeline_orchestrator.py @@ -45,7 +45,11 @@ DB_URL = os.getenv("DATABASE_URL", "") # (e.g. MC authority needs an *active* USDOT; UCR/D&A need an active USDOT). # `activation_target` names what must be active at FMCSA: "usdot" | "authority". PIPELINES = { - "new-carrier-bundle": [ + # Trucking/DOT new-carrier onboarding pipeline. Keyed by the DOT-specific + # slug (dot-new-carrier-bundle); the bare "new-carrier-bundle" slug is the + # TELECOM VoIP bundle, handled by NewCarrierBundleHandler -- they must not + # share a key here or trucking orders would run the telecom pipeline. + "dot-new-carrier-bundle": [ {"slug": "llc-formation", "name": "LLC Formation", "wait_for": None}, {"slug": "ein-application", "name": "EIN Application", "wait_for": "llc-formation"}, {"slug": "dot-registration", "name": "USDOT Registration", "wait_for": "ein-application"}, diff --git a/site/public/order/success/index.html b/site/public/order/success/index.html index 80a3848..eca77f8 100644 --- a/site/public/order/success/index.html +++ b/site/public/order/success/index.html @@ -234,8 +234,8 @@ Send reset link var params = new URLSearchParams(window.location.search); var orderId = params.get("order_id") || params.get("session_id") || ""; var API = window.__PW_API || "https://api.performancewest.net"; - var DOT_SLUGS = ["mcs150-update","ucr-registration","boc3-filing","dot-registration","mc-authority","dot-drug-alcohol","dot-audit-prep","dot-full-compliance","irp-registration","ifta-application","usdot-reactivation","emergency-temporary-authority","new-carrier-bundle"]; - var NEW_CARRIER_SLUGS = ["new-carrier-bundle","dot-registration","mc-authority"]; + var DOT_SLUGS = ["mcs150-update","ucr-registration","boc3-filing","dot-registration","mc-authority","dot-drug-alcohol","dot-audit-prep","dot-full-compliance","irp-registration","ifta-application","usdot-reactivation","emergency-temporary-authority","new-carrier-bundle","dot-new-carrier-bundle"]; + var NEW_CARRIER_SLUGS = ["new-carrier-bundle","dot-new-carrier-bundle","dot-registration","mc-authority"]; // Fetch and render order timeline function renderTimeline(orderId) {