Skip to content

fix(verify): stop the verify-status sync loop (idempotent status.json)#36

Merged
Seungpyo1007 merged 1 commit into
mainfrom
fix/verify-status-loop
Jun 23, 2026
Merged

fix(verify): stop the verify-status sync loop (idempotent status.json)#36
Seungpyo1007 merged 1 commit into
mainfrom
fix/verify-status-loop

Conversation

@Seungpyo1007

Copy link
Copy Markdown
Member

verify-status and bump-techapi were firing every ~3 minutes in an endless loop. Root cause: app.verify status stamps a fresh generated_at on every run, so the committed status.json always differed → verify-status committed → that push re-fired the techapi-updated dispatch → verify-status ran again → forever.

Fix: when the verification numbers are unchanged, preserve the previous generated_at so the file is byte-identical and nothing gets committed. (A companion TechAPI PR also adds data/_verify/** to notify-engine's paths-ignore as defense-in-depth.)

Refs #1

cmd_status rewrote generated_at every run, so verify-status always committed a
new status.json, which re-dispatched techapi-updated and re-ran itself (~every
3 min). Preserve the prior timestamp when the verification numbers are unchanged
so the file stays byte-identical and nothing is committed.

Refs #1
@Seungpyo1007 Seungpyo1007 merged commit f5458ee into main Jun 23, 2026
1 check passed
@Seungpyo1007 Seungpyo1007 deleted the fix/verify-status-loop branch June 23, 2026 18:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant