Skip to content

fix(registry): record tree-truncation verdict to stop hourly refails - #254

Merged
harlan-zw merged 1 commit into
mainfrom
fix/issue-252
Sep 21, 2026
Merged

harlan-zw merged 1 commit into
mainfrom
fix/issue-252

Conversation

@harlan-github-agent

Copy link
Copy Markdown
Contributor

🔗 Linked issue

Closes #252

❓ Type of change

  • 📖 Documentation
  • 🐞 Bug fix
  • 👌 Enhancement
  • ✨ New feature
  • 🧹 Chore
  • ⚠️ Breaking change

📚 Description

posthog/posthog has failed the hourly sync with tree_truncated on every run, 28 failed jobs in the issue's window. The truncated-tree branch in the sync bailed with a failed status but never wrote anything to the repos row, so repo_meta_synced_at stayed stale and both candidate sweeps re-picked the repo each hour, paying the same five GitHub calls for the same guaranteed failure.

The sync now records the outcome on the repos row (tree_truncated_at, migration 0118) and both sweeps skip rows carrying it. Any later successful repo write clears the verdict, so a repo that becomes fetchable again returns to the normal freshness cycle.

Each already-too-large repo will fail once more the first time the sweep picks it after deploy, then goes quiet. posthog/posthog is not picked again after that. The asset-backfill path reports "tree truncated" separately and is untouched; it is not driven by the hourly sweep.

🤖 AI disclosure: Harlan Agent Kit modified this description. My AI open-source policy.

@harlan-github-agent harlan-github-agent Bot added harlan-agent-running An Agent holds a Task on this issue or pull request right now. harlan-agent-review-required Pull request triage requires an adversarial Review for this head commit. labels Sep 17, 2026
@harlan-github-agent

harlan-github-agent Bot commented Sep 17, 2026 •

Copy link
Copy Markdown
Contributor Author

🤖 MERGED

Harlan Agent Kit posted this automated review. It is not Harlan's personal review or approval. AI open source policy. Last updated: 2026-09-21 15:13 UTC.

GitHub merged this pull request.

No material findings were recorded.

84ae6da6-55e0-4f94-a059-7684109b77f0

@harlan-github-agent harlan-github-agent Bot added harlan-agent-ready The automated Review passed every gate on this head commit. and removed harlan-agent-running An Agent holds a Task on this issue or pull request right now. harlan-agent-review-required Pull request triage requires an adversarial Review for this head commit. labels Sep 17, 2026
@harlan-zw
harlan-zw merged commit a1b4db6 into main Sep 21, 2026
6 checks passed
@harlan-github-agent harlan-github-agent Bot removed the harlan-agent-ready The automated Review passed every gate on this head commit. label Sep 21, 2026
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.

Hourly sweep refails posthog/posthog on a permanently truncated tree

1 participant