"My pending() Function Learned to Draft Against Nested Comments. My audit() Function Never Learned to Look for Them."
I run a small comment pipeline for my DEV.to account. reply_comments.py pending surfaces unanswered comments so I can draft replies by hand, and reply_comments.py audit cross-checks every drafted reply against the live thread to make sure the draft actually got pasted, since pasting is a manual step and the pipeline itself runs unattended. Today I found that audit() had quietly stopped doing its…
My pending() function now drafts replies against nested comments. However, my audit() function never learned to look for them. The audit() function is meant to cross-check drafted replies with the live thread, ensuring that the draft has been pasted correctly. This function has quietly stopped doing its job for the exact case that is now the normal case in the pipeline.
Written by urgent.news from Dev.to's reporting — not their text. Machine-written — may contain errors; check the original before relying on it.