[object Object]

← back to Rentv 2026

RENTV: deals+registry ride the 20-min news cron (auto-accumulate) — TK-10246

955211ecd627657b0abe223ee2c8400918edd80d · 2026-08-05 12:56:12 -0700 · Steve Abrams

pull-news.mjs now chains pull-deals.mjs (same guarded await-import pattern as pull-ticker)
so every news refresh also parses deals and records them into the registry. The 'list of
all deals' now grows on its own, capturing every deal it finds + any field changes, without
a separate scheduled job.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>

Files touched

Diff

commit 955211ecd627657b0abe223ee2c8400918edd80d
Author: Steve Abrams <steve@designerwallcoverings.com>
Date:   Wed Aug 5 12:56:12 2026 -0700

    RENTV: deals+registry ride the 20-min news cron (auto-accumulate) — TK-10246
    
    pull-news.mjs now chains pull-deals.mjs (same guarded await-import pattern as pull-ticker)
    so every news refresh also parses deals and records them into the registry. The 'list of
    all deals' now grows on its own, capturing every deal it finds + any field changes, without
    a separate scheduled job.
    
    Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
---
 scripts/pull-news.mjs | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/scripts/pull-news.mjs b/scripts/pull-news.mjs
index 615fe236..cb944eb0 100644
--- a/scripts/pull-news.mjs
+++ b/scripts/pull-news.mjs
@@ -56,3 +56,9 @@ try {
 
 // Refresh the live market ticker on the same cron (runs regardless of news outcome).
 try { await import('./pull-ticker.mjs'); } catch (e) { console.error('ticker refresh failed:', e.message); }
+
+// Refresh the deal listings + persist EVERY deal found into the append-only registry with
+// change history (TK-10246). Rides the same news cron so the registry keeps accumulating on
+// its own — deals are parsed from the news.json we just wrote. Guarded: never breaks the news
+// job. (pull-deals.mjs runs on import; it reads the fresh news.json.)
+try { await import('./pull-deals.mjs'); } catch (e) { console.error('deals refresh failed:', e.message); }

← a15c8be0 RENTV: persistent deal registry + per-deal change history —  ·  back to Rentv 2026  ·  PR intel: add national CRE media + association-media + PR ag 875aaec0 →