From ff1dc24b9334bd0f090146207324821b474dc424 Mon Sep 17 00:00:00 2001 From: Lance Walters Date: Fri, 13 Nov 2026 21:43:58 -0500 Subject: [PATCH] =?UTF-8?q?apps(osint):=2058f71f5b4520=20=E2=80=94=20futur?= =?UTF-8?q?e-dated=20items=20dropped=20at=20ingest,=20hidden=20in=20/api/n?= =?UTF-8?q?ews?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit PR #52: the Scrapy pipeline drops items dated >2h ahead (event listings were pinning ORDER BY timestamp DESC), and /api/news excludes rows where timestamp > now() as a second guard. Rebuild app + scraper at the merge sha. --- apps/base/osint/app-deployment.yaml | 4 ++-- apps/base/osint/camera-deployment.yaml | 2 +- apps/base/osint/ingester-deployment.yaml | 2 +- apps/base/osint/news-scraper-deployment.yaml | 2 +- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/apps/base/osint/app-deployment.yaml b/apps/base/osint/app-deployment.yaml index b2e197a..91cc7cb 100644 --- a/apps/base/osint/app-deployment.yaml +++ b/apps/base/osint/app-deployment.yaml @@ -24,7 +24,7 @@ spec: initContainers: # Wait for Postgres before alembic runs (the entrypoint migrates). - name: wait-for-db - image: forgejo.siriusdevops.com/sirius/osint-dashboard:amd64-84ea0a17b1af + image: forgejo.siriusdevops.com/sirius/osint-dashboard:amd64-58f71f5b4520 imagePullPolicy: IfNotPresent command: - python @@ -42,7 +42,7 @@ spec: sys.exit("postgres did not become reachable in 300s") containers: - name: app - image: forgejo.siriusdevops.com/sirius/osint-dashboard:amd64-84ea0a17b1af + image: forgejo.siriusdevops.com/sirius/osint-dashboard:amd64-58f71f5b4520 imagePullPolicy: IfNotPresent ports: - containerPort: 8000 diff --git a/apps/base/osint/camera-deployment.yaml b/apps/base/osint/camera-deployment.yaml index e5a859b..04a79ed 100644 --- a/apps/base/osint/camera-deployment.yaml +++ b/apps/base/osint/camera-deployment.yaml @@ -23,7 +23,7 @@ spec: kubernetes.io/hostname: siriussec containers: - name: camera-service - image: forgejo.siriusdevops.com/sirius/osint-dashboard:amd64-84ea0a17b1af + image: forgejo.siriusdevops.com/sirius/osint-dashboard:amd64-58f71f5b4520 imagePullPolicy: IfNotPresent command: ["python", "app/run_camera_service.py"] envFrom: diff --git a/apps/base/osint/ingester-deployment.yaml b/apps/base/osint/ingester-deployment.yaml index b7a7953..6d5e711 100644 --- a/apps/base/osint/ingester-deployment.yaml +++ b/apps/base/osint/ingester-deployment.yaml @@ -23,7 +23,7 @@ spec: kubernetes.io/hostname: siriussec containers: - name: ingester - image: forgejo.siriusdevops.com/sirius/osint-dashboard:amd64-84ea0a17b1af + image: forgejo.siriusdevops.com/sirius/osint-dashboard:amd64-58f71f5b4520 imagePullPolicy: IfNotPresent command: ["python", "app/run_ingester.py"] envFrom: diff --git a/apps/base/osint/news-scraper-deployment.yaml b/apps/base/osint/news-scraper-deployment.yaml index f2a5a77..c211ee8 100644 --- a/apps/base/osint/news-scraper-deployment.yaml +++ b/apps/base/osint/news-scraper-deployment.yaml @@ -23,7 +23,7 @@ spec: kubernetes.io/hostname: siriussec containers: - name: news-scraper - image: forgejo.siriusdevops.com/sirius/osint-news-scraper:amd64-c48788d4b614 + image: forgejo.siriusdevops.com/sirius/osint-news-scraper:amd64-58f71f5b4520 imagePullPolicy: IfNotPresent # Image ENTRYPOINT is `scrapy`; the loop crawls, sleeps, crawls again. command: ["python", "run_news_scraper.py"]