From 03ba48fe367deb9ee1d1c720a277f56b0eb31512 Mon Sep 17 00:00:00 2001 From: Graham McIntire Date: Sun, 19 Apr 2026 16:14:17 -0500 Subject: [PATCH] chore(prop): stop seeding grid_tasks until Rust is validated MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Option A from the shadow-mode duplication discussion — Elixir still owns f00-f18 fan-out via Oban and writes to /data/scores. The Rust worker sits idle polling an empty grid_tasks table instead of re-fetching the same HRRR GRIB2 and writing a parallel tree to /data/scores_shadow. Brings the seed call back when Phase 2 cutover is approved (at which point the Elixir fan-out shrinks to fh=0 and PROP_SCORES_DIR flips from /data/scores_shadow to /data/scores). --- lib/microwaveprop/workers/propagation_grid_worker.ex | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) diff --git a/lib/microwaveprop/workers/propagation_grid_worker.ex b/lib/microwaveprop/workers/propagation_grid_worker.ex index 0e318698..6e48b9f2 100644 --- a/lib/microwaveprop/workers/propagation_grid_worker.ex +++ b/lib/microwaveprop/workers/propagation_grid_worker.ex @@ -45,7 +45,6 @@ defmodule Microwaveprop.Workers.PropagationGridWorker do alias Microwaveprop.Propagation alias Microwaveprop.Propagation.BandConfig alias Microwaveprop.Propagation.Grid - alias Microwaveprop.Propagation.GridTaskEnqueuer alias Microwaveprop.Propagation.ProfilesFile alias Microwaveprop.Propagation.ScoreCache alias Microwaveprop.Weather @@ -98,13 +97,10 @@ defmodule Microwaveprop.Workers.PropagationGridWorker do Oban.insert_all(jobs) - # Seed the grid_tasks table in parallel so the Rust `prop-grid-rs` - # worker can pick up f01..f18 from a shared NFS mount. During Phase - # 1 shadow mode this runs alongside the Elixir chain; the Rust - # writes land in /data/scores_shadow and are diffed by - # `ShadowComparator`. At cutover the Elixir fan-out above is - # trimmed to just fh=0. - _ = GridTaskEnqueuer.seed(run_time) + # `GridTaskEnqueuer.seed/1` feeds the Rust `prop-grid-rs` worker via + # grid_tasks. Disabled until the Rust image is validated end-to-end + # on talos5 — once cutover is approved, the Elixir fan-out above + # shrinks to just fh=0 and this line comes back. :ok end