apps(osint): 58f71f5b4520 — future-dated items dropped at ingest, hidden in /api/news

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.
This commit is contained in:
Lance Walters 2026-11-13 21:43:58 -05:00
commit ff1dc24b93
4 changed files with 5 additions and 5 deletions

View file

@ -24,7 +24,7 @@ spec:
initContainers: initContainers:
# Wait for Postgres before alembic runs (the entrypoint migrates). # Wait for Postgres before alembic runs (the entrypoint migrates).
- name: wait-for-db - name: wait-for-db
image: forgejo.siriusdevops.com/sirius/osint-dashboard:amd64-84ea0a17b1af image: forgejo.siriusdevops.com/sirius/osint-dashboard:amd64-58f71f5b4520
imagePullPolicy: IfNotPresent imagePullPolicy: IfNotPresent
command: command:
- python - python
@ -42,7 +42,7 @@ spec:
sys.exit("postgres did not become reachable in 300s") sys.exit("postgres did not become reachable in 300s")
containers: containers:
- name: app - name: app
image: forgejo.siriusdevops.com/sirius/osint-dashboard:amd64-84ea0a17b1af image: forgejo.siriusdevops.com/sirius/osint-dashboard:amd64-58f71f5b4520
imagePullPolicy: IfNotPresent imagePullPolicy: IfNotPresent
ports: ports:
- containerPort: 8000 - containerPort: 8000

View file

@ -23,7 +23,7 @@ spec:
kubernetes.io/hostname: siriussec kubernetes.io/hostname: siriussec
containers: containers:
- name: camera-service - name: camera-service
image: forgejo.siriusdevops.com/sirius/osint-dashboard:amd64-84ea0a17b1af image: forgejo.siriusdevops.com/sirius/osint-dashboard:amd64-58f71f5b4520
imagePullPolicy: IfNotPresent imagePullPolicy: IfNotPresent
command: ["python", "app/run_camera_service.py"] command: ["python", "app/run_camera_service.py"]
envFrom: envFrom:

View file

@ -23,7 +23,7 @@ spec:
kubernetes.io/hostname: siriussec kubernetes.io/hostname: siriussec
containers: containers:
- name: ingester - name: ingester
image: forgejo.siriusdevops.com/sirius/osint-dashboard:amd64-84ea0a17b1af image: forgejo.siriusdevops.com/sirius/osint-dashboard:amd64-58f71f5b4520
imagePullPolicy: IfNotPresent imagePullPolicy: IfNotPresent
command: ["python", "app/run_ingester.py"] command: ["python", "app/run_ingester.py"]
envFrom: envFrom:

View file

@ -23,7 +23,7 @@ spec:
kubernetes.io/hostname: siriussec kubernetes.io/hostname: siriussec
containers: containers:
- name: news-scraper - 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 imagePullPolicy: IfNotPresent
# Image ENTRYPOINT is `scrapy`; the loop crawls, sleeps, crawls again. # Image ENTRYPOINT is `scrapy`; the loop crawls, sleeps, crawls again.
command: ["python", "run_news_scraper.py"] command: ["python", "run_news_scraper.py"]