fix(osint): run the PR #72 summarizer (fail-loudly + concurrent map phase)

The resilience fix sirius/osint-dashboard@fb5285d (PR #72) was merged but
never deployed: ns osint still ran the 11/19 image amd64-fe2b5df369d0, which
has neither the concurrent map phase nor NousAPIError, so a non-retryable
Nous rejection was swallowed as an empty completion and the analyst idled
for nine days without a single signal.

* pin deploy/osint-news-summarizer to the CI-built amd64-fb5285df7f38
  (build run 1497 / job 2165, manifest sha256:e2387f90...4de52)
* pin osint-analyst-exporter to the same tag — it borrows the summarizer
  image for python3 + psycopg2, and two tags for one image read as drift
* SUMMARY_MAP_CONCURRENCY=16 next to BATCH_SIZE: ~20 s per map call, the
  746-batch recap measured 951 s at 16 (8 projects to ~98 min)
* README: image inventory + a section on the new behaviour and log line
This commit is contained in:
Lance Walters 2026-12-05 00:29:11 -05:00
commit 2f613e4f11
4 changed files with 35 additions and 4 deletions

View file

@ -21,7 +21,10 @@
# Why the summarizer image: it is the only image in this namespace that already
# ships psycopg2 and a python3, and it is pinned by tag (no floating base). The
# script uses the stdlib HTTP server, so nothing is installed at runtime and no
# new image build is needed. Revisit if that image is ever replaced.
# new image build is needed. It tracks the summarizer's own pin (currently
# amd64-fb5285df7f38) — bump BOTH together; two different tags for one image in
# one namespace reads as drift in an audit, and the exporter only needs the
# interpreter + psycopg2, which every summarizer build carries.
---
apiVersion: v1
kind: ConfigMap
@ -217,7 +220,8 @@ spec:
containers:
- name: exporter
# Pinned summarizer image: python3 + psycopg2, see header comment.
image: forgejo.siriusdevops.com/sirius/osint-news-summarizer:amd64-fe2b5df369d0
# Kept equal to the summarizer pin in news-summarizer-deployment.yaml.
image: forgejo.siriusdevops.com/sirius/osint-news-summarizer:amd64-fb5285df7f38
imagePullPolicy: IfNotPresent
command: ["python", "/opt/exporter/exporter.py"]
env: