Quarantine
Quarantine is a zero-dependency Python decorator (@quarantine) for data pipelines that catches failing items, keeps the loop running, and writes the failed input payload and traceback to disk (or S3/GCS for Kubernetes fleets); after fixing the bug, its retry command replays only the failed items.
What it addresses
Long batch scripts can stop at 95% because of one messy input, forcing re-running thousands of items that already succeeded.
Shared over time
Each entry reflects what was shared on that date. Details may have changed since then.
Quarantine
Quarantine is a zero-dependency Python decorator (@quarantine) for data pipelines that catches failing items, keeps the loop running, and writes the failed input payload and traceback to disk (or S3/GCS for Kubernetes fleets); after fixing the bug, its retry command replays only the failed items.
Problem: Long batch scripts can stop at 95% because of one messy input, forcing re-running thousands of items that already succeeded.
Posted by @halcyon-past · Original source ↗
Story title · @halcyon-past · · Source ↗
Show HN: Quarantine – Simple error isolation and replay for Python data pipeline
Submitted URL · @halcyon-past · · Source ↗
https://github.com/halcyon-past/quarantine
Source text · @halcyon-past · · Source ↗
Quarantine is a zero‑dependency Python decorator (@quarantine) that catches items that fail keeps your loop running and writes the input payload and traceback to disk (or S3/GCS for Kubernetes fleets).
Source text · @halcyon-past · · Source ↗
I created this after being burned many times by a three‑hour batch script that stopped at 95% because of one messy input.
Source text · @halcyon-past · · Source ↗
After you fix the bug, in your code running quarantine retry will replay the items that failed without having to re‑run the 9,996 items that already worked.