ai-coding-minesIndexGitHub

Two schedulers producing the same artifact collide every day

Git and automation

Symptom

A CI scheduler (00:00 UTC) and a local task scheduler (09:00 KST) both write and commit the same file → a rebase conflict every morning → one side gives up silently.

Cause

When the automation was migrated, the old actor was disabled but not deleted, or simply forgotten.

Fix

One artifact, one actor. When you migrate, delete the old actor (don't just disable it).

Five places to sweep on migration

Scheduled tasks · the script file itself · cron · hooks · workflows

How it was found (for the record)

Full orphan-document sweep → ghost file → ghost path. A side branch of a different investigation. The duplication was silent; left alone, it would never have surfaced.