· 5 min read
Replacing the Siber Bülten newsroom with Temporal
by Furkan Durna
#yusigam #temporal #go #postgres #migration
I joined YUSİGAM on 5 October 2026 and spent about two weeks building the first live automation for Siber Bülten: n8n workflows, a NocoDB editorial board, LLM select/write/image steps, and the existing bulletin API for publish. It shipped. It published. It matched the real daily volume of a university cybersecurity bulletin.
Then the brief changed shape. Not “make tomorrow’s run more reliable.” More like: what if we decided to do a million news items a day?
I found that overengineering. They found it the right way. An order is an order, so I replaced the whole stack with Go workers on Temporal. n8n is cut off. The bulletin path runs on Temporal now, and I am still polishing it. This post is that migration, including the part where we built a freight railway for a campus newspaper route.
What had to move
The old system was not a toy. It already had the domain:
- scraper packs across roughly twelve sources (NVD, news sites, advisory surfaces)
- a NewsFeed intake queue and an Outputs editorial board
- a Content Agent that selected stories, wrote Turkish copy, enforced length limits, and published
- an image path for posted articles
- a morning MAIN orchestration and human-visible statuses
The rewrite had to keep that product behavior while changing the control plane. NocoDB stayed useful as a temporary bridge while app Postgres became the system of record for jobs, feed rows, and outputs. The long-term direction was obvious: stop treating a spreadsheet-shaped board as the queue of record.
Shape of the new stack
The new service is a single Go binary with explicit modes: migrate, schedule management, HTTP serve, and Temporal workers. Temporal owns durable workflows. Postgres owns durable state. A Fiber HTTP surface handles health checks and authenticated internal kicks (manual scrape/content/bulletin runs, job inspect/requeue). Workers and the HTTP process stay separate (same binary, different processes) so a busy poller and an API crash domain do not share a fate they do not need to share.
Work is split across task queues instead of one kitchen-sink worker:
- dispatch: claim eligible image work, reconcile open jobs, start image workflows
- imagegen: prompt, generate, resize, upload, attach
- scrape: source packs and the parent bulletin orchestration
- content: select, write, publish
Schedules cover a frequent dispatch tick and a daily 08:30 Europe/Istanbul bulletin run. That calendar shape is deliberate parity with the old morning MAIN, not a new editorial religion.
Domain workflows
Image generation became a workflow with idempotent stages: load job state, begin attempt, build prompt, generate and resize, upload, attach, mark success or failure. If an artifact or upload already exists, later retries should not redo expensive work for sport. Attempt budgets and eligibility rules stayed close to the old board: posted, missing image, backend news id present, attempts under the cap.
Scrape expands locked source packs and runs sources sequentially with continue-on-failure. A dead HTML parser should poison a source status, not silently cancel the rest of the morning. Results land in app Postgres news_feed, with an optional versioned outbox toward Noco while the bridge still mattered.
Content keeps the old roles as separate activities: select stories, write stories, publish stories. Prompts stayed harsh on faithfulness: no invented CVEs, no vibes-based exploitation claims. Empty select/write paths still continue cleanly so a quiet news day is a successful workflow, not an exception festival. Posted rows without images enqueue into the image job path so “every published news gets an image” remains a product rule, not a sticky note.
Bulletin main is the parent that replaced n8n MAIN: run scrape, then content. Scrape trouble does not skip content blindly in a way that strands waiting work; both sides are joined into the parent result so operators see the day as one run.
Cutover, not cosplay
I built the replacement in phases (image path first, then scrape, then content/bulletin) because that is how you keep a live bulletin alive while changing its spine. The end state is not a dual-run museum. n8n is fully cut off. The whole stack works on Temporal today. Shadow bridges and parity pins existed so we could leave without lying about behavior; they were not an excuse to keep two producers writing the same queue forever.
Dual-writing the old and new scrape paths into the same board is how you invent ghost stories. Cutover means one writer wins.
Reliability patterns worth keeping
A few choices mattered more than the logo on the orchestrator:
- Postgres as source of truth for jobs and feed/output rows; external boards as bridges with versions, not as the ledger.
- Leases and reconcile so “workflow says running” and “database says claimed” can be compared instead of believed.
- Single-flight for heavy manual/scheduled runs so overlapping scrape or content executions return conflict instead of double work.
- Serve ≠ worker process split for blast radius.
- Parity where n8n defined behavior, knobs only when parity or safety demanded them. The goal was a smaller bug surface, not a configuration theme park.
- Watchdogs and notify gates for stale dispatch and exhausted image jobs, without turning Telegram into a firehose.
I am deliberately not publishing host topology, auth internals, or kill-switch choreography here. Those are ops details; this is a public post.
What I still think
For the volume Siber Bülten actually had when n8n was production, Temporal was not the missing ingredient. Durable workflows, split queues, outbox versions, and coverage gates are excellent answers to a class of problems. “A million news a day” was not the class we were in. It was the class someone asked us to design for.
I still call that overengineering. They still call it the right way. The freight railway is built, the campus route runs on it, and the trains do leave on time. I finished the Temporal cutover about two days before writing this and I am still polishing the system, because once you own a stack this heavy, polishing is not optional, it is rent.
Takeaways
- Replace a working newsroom by pinning behavior first, then swapping the control plane, not by inventing a new editorial product mid-migration.
- Split queues by failure domain. Image generation and HTML scraping do not deserve the same poller fate.
- Keep product rules explicit: dedup, statuses, attempt budgets, “every posted story gets an image.”
- Bridges are temporary. Dual writers are how you lose trust in the queue.
- Architecture taste and organizational orders are different inputs. Document both, especially when they disagree.
- If you ship the heavy stack anyway, finish the cutover. Half-migrated automation is the worst of both worlds.