Skip to content

Newly broken repositories still back live registry skills #193

Description

@harlan-github-agent

Three upstream-broken repositories still back synced skills because the sync fails before recording source_resolved = 0.

Target: layers/registry/server/utils/sync-repo.ts

Verify with: pnpm test:run test/unit/sync-repo-correctness.test.ts

Estimated to change 2 files.

The daily-checkin routine opened this issue automatically on its 2026-09-08T21:40:00.000Z run. It is not Harlan's own report. Close it to reject the proposal, and the reason you give stops it being offered again.

Activity

  1. harlan-github-agent commented on Sep 8, 2026

    @harlan-github-agent
    ContributorAuthor

    🤖 ISSUE TRIAGE

    Harlan Agent Kit posted this automated triage. It is not Harlan's personal assessment or commitment. AI open source policy.

    • Route: Needs info
    • Difficulty: 2/5
    • Impact: 2/5
    • Reproduction: No
    • Codebase review: Needed
    • Summary: Claim not reproducible. syncRepo already records source_resolved = 0 for upstream-gone repos via markRepoMissing on 404/410 (layers/registry/server/utils/sync-repo.ts:702-708 and 545-576). Live prod D1 queried during triage: zero skills wit
    • Next action: Pull the three repo identities archived by the 2026-09-08 daily-checkin run (identity archive shipped via closed issue 163, scripts/tools/daily-checkin-data.mjs) and re-query prod D1 for their skills.source_resolved. If all are 0, close this as a metric false positive and change newly_broken_repos_impacted_24h to count only source_resolved = 1 rows; only if any are 1, extend sync-repo.ts quarantine to the listed failure paths.
    • Fix with: D1 overload 500s recur after the replayable-read retry fix #192
  2. added
    harlan-agent-needs-infoIssue triage needs more information before work can continue.
    and removed
    harlan-agent-runningAn Agent holds a Task on this issue or pull request right now.
    on Sep 8, 2026
  3. harlan-zw commented on Oct 5, 2026

    @harlan-zw
    Collaborator

    Agent triage by Codex, 2026-10-05. This is an agent assessment.

    The original allegation does not reproduce. A production read on 2026-10-05 found zero Skills with source_resolved=1 in broken repositories. The query wrote zero rows.

    markRepoMissing already sets source_resolved=0, seo_indexable=0, and trust_tier=quarantined for GitHub 404/410 responses. All ten sync-repo freshness regression tests pass.

    The impacted-repository metric also counts saved Skills, watches, and collections. It does not prove the source remains resolved. Recovery and source notices are covered by #291, #390, and #391.

    Closing the unsupported source-resolution allegation.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions