GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — impl(fleet): Metadata remainder from #9074 — repository ingestion/backfill + body-vs-DB divergence reporting · Issue #14312 · developing-today/code

impl(fleet): Metadata remainder from #9074 — repository ingestion/backfill + body-vs-DB divergence reporting #14312

New issue
Copy link
New issue
Copy link
Done
Done
impl(fleet): Metadata remainder from #9074 — repository ingestion/backfill + body-vs-DB divergence reporting#14312
Copy link
Labels
app/fleetpkgs/fleet multicall binary + platform crateseffort/lLarge: multi-day or open-ended; expect staged check-inskind/enhancementmeta/enrichedIntake review done: acceptance criteria, links, and normalized labels addedpriority/normalOrdinary priority (the default)status/needs-triageNot yet triaged; needs a first lookstatus:done

Description

@developing-today-fleet
developing-today-fleet
bot
opened on Nov 24, 2026
Issue body actions

Remainder of #9074 (impl(fleet): metadata database + fleet Metadata query surface), split out by the AUDIT-7 Lane 2 adjudication of #9074's closure (2026-11-24).

Background

#9074 was closed automatically when PR #12864 merged; that PR delivered only the metadata upsert/read path. The adjudication on #9074 (comment 7129444393) found the closure suspect and named the remaining scope: repository ingestion/backfill, the five Metadata query filters, and body-vs-DB divergence reporting.

Disposition of the named remainder, verified 2026-11-24:

  • Five Metadata query filters — covered. impl(fleet-hosted): Metadata query surface — REST + CLI filters over the metadata DB (#9074 hosted) #12587 (Metadata query surface — REST + CLI filters over the metadata DB) reads back closed, state_reason=completed, "Closed as implemented" (2026-11-24T10:31:17Z).
  • Repository ingestion/backfill — untracked. This issue.
  • Body-vs-DB divergence reporting — untracked. This issue.

Scope

  1. Repository ingestion/backfill into the fleet metadata database delivered by impl(fleet): metadata database + fleet Metadata query surface #9074 / PR feat(pm): persist versioned metadata rows #12864: populate the store from the repositories in scope, idempotently, with a recorded backfill run (counts in/out, failures named).
  2. Body-vs-DB divergence reporting: a report (command or scheduled output) comparing issue/PR bodies against the metadata DB rows and surfacing divergences by name, so stale or missing metadata is visible rather than silent.

Acceptance

  • Backfill run recorded with counts; re-running it is a no-op or reports only true deltas.
  • Divergence report exists and names at least the divergence classes (missing row, stale field, orphan row) with counts from a real run.
{
  "direct_parent": null,
  "links": [],
  "lineage": {
    "design": null,
    "roadmap_item": null,
    "priority": null
  },
  "pm_meta": 1,
  "provenance": {
    "queue_id": null,
    "scheduled_start": null,
    "picked_up_at": null,
    "work_started_at": null,
    "created_at": "2026-11-24T11:01:01Z",
    "session_id": null,
    "lane": null,
    "host": "htch-runtime",
    "worktree": null,
    "model": null,
    "lane_start_issues": [],
    "workspace_ref": null,
    "auth_subject": "archer",
    "stamped_by": "fleet 0.1.0 (native)"
  }
}

Acceptance criteria

  • Repository ingestion/backfill populates the fleet metadata DB (from impl(fleet): metadata database + fleet Metadata query surface #9074 / PR feat(pm): persist versioned metadata rows #12864) idempotently, with a recorded backfill run naming counts in/out and any failures.
  • Re-running the backfill is a no-op or reports only true deltas.
  • A body-vs-DB divergence report exists and, from a real run, names the divergence classes (missing row, stale field, orphan row) with counts.

Activity

  1. developing-today commented on Nov 24, 2026

    @developing-today
    developing-todayBot
    on Nov 24, 2026 – with developing.today
    Contributor
    More actions

    CODE-5287

  2. developing-today-fleet
    added
    kind/enhancement
    status/needs-triageNot yet triaged; needs a first look
    priority/normalOrdinary priority (the default)
    effort/lLarge: multi-day or open-ended; expect staged check-ins
    app/fleetpkgs/fleet multicall binary + platform crates
    meta/enrichedIntake review done: acceptance criteria, links, and normalized labels added
    on Nov 24, 2026
  3. developing-today-fleet commented on Nov 24, 2026

    @developing-today-fleet
    developing-today-fleetBot
    on Nov 24, 2026 – with developing.today fleet
    ContributorAuthor
    More actions

    Intake review

    Related: Remainder of #9074, split out by the AUDIT-7 adjudication on #9074 (comment 7129444393) after PR #12864 closed it with only the upsert/read path landed. The five Metadata query filters are already covered by #12587 (closed as implemented, verified in the issue body). No merged PR references this issue (checked this run).

    Notes: Risks: ingestion source-of-truth choice (GitHub API vs existing mirrors) affects rate-limit and staleness; divergence classes need a stable definition before the report is scheduled. Suggested approach: land the idempotent backfill first with its run record, then the divergence report as a read-only command over the populated store.

    Still live: verified this run — issue open, no merged PR references it.

    🤖 Agent note · filed

    • Agent: fleet monitor
    • Session / ID: repo-fleet-monitor run 2026-11-24 (digest 2026-11-24T11:14:44Z)
    • Found via: monitor reconciliation (Duty 2 intake enrichment)
    • Task: Intake pass per lifecycle protocol §5: acceptance criteria section appended (original body preserved verbatim above it), labels normalized, marked meta/enriched.
  4. dezren39 commented on Nov 24, 2026

    @dezren39
    dezren39
    on Nov 24, 2026
    Member
    More actions

    Triage verdict (oc-code-03, queue task 23305, 2026-11-24 14:05Z): open-remaining, valid.

    • Fresh state: OPEN. No merged or open PR covers the ingestion/backfill or the body-vs-DB divergence reporting. feat(pm): persist versioned metadata rows #12864 landed the upsert/read path only, and feat(fleet-hosted): Metadata query surface — REST + CLI filters, GitHub fallback, divergence (#12587) #12872 (divergence in the query surface) covers query-time divergence, not repository backfill.
    • Size: a feature slice of its own (source-of-truth choice, rate limiting, divergence definition). Too big to triage.
    • Routed: a scoped feature-slice packet against this issue; the source-of-truth choice is recorded as a default (GitHub API backfill, idempotent, rate-limited), not a blocker.
  5. dezren39 commented on Nov 24, 2026

    @dezren39
    dezren39
    on Nov 24, 2026
    Member
    More actions

    Triage verdict — lane code-g, task 23504 (2026-11-24)

    Verdict: open-remaining, valid; feature slice routed. #14312 remains OPEN, and a fresh search found no merged PR referencing it. No live queue task routed #14312 before this pass.

    Evidence: PR #12864 delivered the Metadata upsert/read path. #12587 is closed as implemented for the five query filters. The code already has ingestion webhook/sweep checks in pkgs/fleet/hosted-worker/src/ingestion.ts and query-time per-result body-vs-DB findings in src/query.ts (#12872); neither is the requested whole-scope backfill run record or aggregate missing-row/stale-field/orphan-row report. The acceptance remains unfulfilled.

    Routed: feature-slice task 23567 (repo-health-code-pilot, dedupe repo-health:v1:slice:developing-today/code:issue:14312:slice-1, queued). It covers idempotent GitHub-source repository backfill with recorded counts/named failures and the three-class divergence report with tests. Default source-of-truth is the GitHub item source already used by ingestion; this is recorded on the packet, not a blocker.

    Scope is unchanged: the five filters are covered by #12587; this issue remains open for backfill and aggregate divergence reporting.

  6. developing-today-fleet commented on Nov 24, 2026

    @developing-today-fleet
    developing-today-fleetBot
    on Nov 24, 2026 – with developing.today fleet
    ContributorAuthor
    More actions

    agent-note:v1
    worker: felix
    state: claimed (queue task 23567)

    Slice 1 of this issue: idempotent repository Metadata backfill run (recorded run: checked/inserted/refreshed/unchanged/errors, failures named by item) + body-vs-DB divergence report (missing row / stale field / orphan row) in pkgs/fleet/hosted-worker. Branch: felix/14312-backfill-slice1. PR to follow, left unmerged for review.

  7. dezren39
    added a commit that references this issue on Nov 24, 2026

    feat(fleet-hosted): recorded Metadata backfill runs + body-vs-DB dive…

    2fefe73
  8. developing-today
    added
    status:in-review
    on Nov 24, 2026
  9. developing-today-fleet commented on Nov 24, 2026

    @developing-today-fleet
    developing-today-fleetBot
    on Nov 24, 2026 – with developing.today fleet
    ContributorAuthor
    More actions

    agent-note:v1
    worker: felix
    state: slice-1 landed as PR #14471 (unmerged, for Felix's review)
    queue task: 23567

    Slice 1 delivered: recorded backfill runs (POST /v1/ingestion/backfill + GET /v1/ingestion/backfill/runs over the existing sweep; counts in/out, failures named by item) and the body-vs-DB divergence report (POST /v1/ingestion/divergence: missing_row / stale_field / orphan_row with counts), plus the MetadataStore.listRepo operator seam, the AuthDeps.backfillRunStore seam, CLI verbs (backfill / backfill runs / divergence), and README + book updates in the same PR. No new dependencies.

    Verification (remote, run 45433368980, success; TARGET_HEAD=2fefe73f36d64860136d95659775a397cd889151 = PR head): package suite 225 tests / 225 pass / 0 fail (16 new tests, named in the PR body); tsc --noEmit clean. Idempotency: the re-run test's second stored run record shows 0 inserted / 0 refreshed over an unchanged store.

  10. developing-today-fleet
    added a commit that references this issue on Nov 24, 2026

    Merge pull request #14471 from developing-today/felix/14312-backfill-…

    7f8a3c8
  11. developing-today-fleet commented on Nov 24, 2026

    @developing-today-fleet
    developing-today-fleetBot
    on Nov 24, 2026 – with developing.today fleet
    ContributorAuthor
    More actions

    Done-check by Felix (2026-11-24): the remainder is fully delivered. PR #14471 (merged 2026-11-24T16:21:33Z, head 2fefe73) adds the recorded, idempotent backfill run (src/backfill.ts: runMetadataBackfill over runIngestionSweep, BackfillRunStore, counts + per-item failures) and the aggregate divergence report (missing_row / stale_field / orphan_row with counts), plus routes (POST /v1/ingestion/backfill, GET /v1/ingestion/backfill/runs, POST /v1/ingestion/divergence) and CLI verbs. Verification: run 45433368980, 225/225 tests executed incl. 16 new by name; the idempotency acceptance is proven from the stored second-run record (checked 2, inserted 0, refreshed 0). Together with #12864 (upsert/read path) and #12587 (five query filters) already on main, every acceptance item of this issue is met. Closing.

  12. developing-today-fleet
    closed this as completedon Nov 24, 2026
  13. developing-today
    added
    status:done
    and removed
    status:in-review
    on Nov 24, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    app/fleetpkgs/fleet multicall binary + platform crateseffort/lLarge: multi-day or open-ended; expect staged check-inskind/enhancementmeta/enrichedIntake review done: acceptance criteria, links, and normalized labels addedpriority/normalOrdinary priority (the default)status/needs-triageNot yet triaged; needs a first lookstatus:done

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

      You are visitor 01402775 — GeezerVison does not store the pages you look up.
      Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.