Skip to content

Project #4: UNSET-status backlog is growing (208 items) — reconcile apply throughput cannot drain auto-add inflow #6535

Closed

Description

@dezren39

Program-tending filing (tracking: #1352; Project residue duty §8, code#2155 step 2b)

Problem

Org Project #4 ("Developing Today") is accumulating items whose Status field is UNSET faster than the reconcile drains them:

  • 2026-11-05 tending dry-run: 374 items, 161 UNSET-status proposals (all MOVE <issue> UNSET -> <status>).
  • 2026-11-06 tending dry-run (2026-11-06T15:34Z, project-reconcile.sh --dry-run, log in the tending snapshot pt-2026-11-06-0912/project-dryrun.log): 523 items, 262 proposals — 208 of them UNSET -> {Done, Todo, In Review, In Progress}, plus 54 stale-status moves (e.g. code#308 Todo -> Done). Pending queue: 262.

The reconcile's --apply cap is 25 updates/pass and hourly orchestration passes are also carrying the auto-add load (the board grew 200 -> 374 -> 523 items in two days as gate-labelled auto-adds landed), so the UNSET backlog is growing, not draining (+47 net UNSET in one day despite the owner's passes). The 2026-11-05 tending run named this the watch item ("file if not falling next run"); it rose, so this issue is that filing.

What would fix it

Any one of (owner's call):

  1. Raise the per-pass apply budget for UNSET-status syncs specifically (they are set-to-value from issue/PR reality, idempotent, and state-guarded at drain time — see the script's rate-limit ladder notes), until the backlog reaches zero; or
  2. Set Status at auto-add time (Todo, or computed) so new items never enter UNSET; and/or
  3. Run a one-off full --apply --full catch-up pass for the UNSET class.

Acceptance

  • A project-reconcile dry-run reports 0 UNSET-status proposals (the stale-status class may remain at its normal small churn), and two consecutive hourly passes hold it at ~0.
  • The fix is in the reconcile path itself (script or pass cadence/budget), not a one-time manual board edit, so the backlog cannot silently regrow.

Related: code#1408 (reconcile timeouts over ~200 items — the board is now 523 items, which bears on option 3's feasibility).

Acceptance criteria

  • A project-reconcile dry-run reports 0 UNSET-status proposals (the stale-status class may remain at its normal small churn), and two consecutive hourly passes hold it at ~0.
  • The fix is in the reconcile path itself (script or pass cadence/budget — e.g. a raised per-pass apply budget for the UNSET class, Status set at auto-add time, or a one-off full catch-up pass for the UNSET class), not a one-time manual board edit, so the backlog cannot silently regrow.

Activity

  1. added
    meta/roadmap-drift
    on Nov 6, 2026
  2. developing-today commented on Nov 6, 2026

    @developing-today
    Contributor
  3. added
    kind/infrastructure
    priority/high
    effort/m
    status/needs-triage
    app/fleet
    meta/enriched
    on Nov 6, 2026
  4. dezren39 commented on Nov 6, 2026

    @dezren39
    MemberAuthor

    Intake review

    🤖 Fleet monitor intake (repo-fleet-monitor), 2026-11-06.

  5. added
    queue/queued
    task/triage
    on Nov 7, 2026
  6. dezren39 commented on Nov 8, 2026

    @dezren39
    MemberAuthor

    🤖 Agent note · handed off

  7. added
    work/assigned
    queue/parked
    status/parked
    on Nov 8, 2026
  8. 33 remaining items

  9. dezren39 commented on Nov 10, 2026

    @dezren39
    MemberAuthor

    🤖 Agent note · handed off to opencode claimant

  10. dezren39 commented on Nov 10, 2026

    @dezren39
    MemberAuthor

    🤖 Agent note · correction — Agent: queue worker (repo-worker-code), lane code-w — Session/ID: task 11216, repo-queue-worker-shift-w 2026-11-10 run. CORRECTION: task 11216 (triage) for issue #6535 was completed by this lane with outcome "triaged" in error. The completion relied on a loose comment scan that matched earlier handoff agent notes; verified fresh after the fact, issue #6535 has NO triage-step agent note (lanes code-b and code-v noted exactly this absence on 2026-11-09/10 and parked task 11216 awaiting_triage). fleet queue revive refuses a done task ("task status done cannot be revived"), so the queue completion cannot be undone. Corrective routing: this note records the error, and issue #6535 is labelled status/needs-triage + queue/queued so the dedicated triage step (#8097 rule 3) picks it up and emits the fix packet. The issue itself is unchanged and still OPEN.

  11. added
    status/needs-triage
    queue/queued
    task/small-fix
    and removed
    status/parked
    queue/parked
    work/assigned
    task/triage
    status/needs-triage
    on Nov 10, 2026
  12. dezren39 commented on Nov 10, 2026

    @dezren39
    MemberAuthor

    🤖 Agent note · triaged

    • Agent: triage-step
    • State: triaged
    • Work kind: task/small-fix — the fix is a bounded change in the project-reconcile path (apply budget/cadence for the UNSET class, and/or Status set at auto-add time, and/or a scripted one-off UNSET catch-up).
    • Priority: priority/high — Priorities brief line 4 (Drew's named programs kept moving: the four repos healthy) and line 3 (finish what is already open): Project Bump build/buck/preludes/buck2-prelude from 3a02ea3 to 9530656 #4 reconciliation is a named open wound and the UNSET backlog grows daily until the reconcile path itself is fixed. Not critical — the fleet is not stalled.
    • Effort: effort/m (already on the issue; kept).
    • Kind: kind/infrastructure (already on the issue; kept).
    • First concrete step: Run project-reconcile.sh --dry-run fresh, measure the current UNSET count, then implement one of the issue's owner options in the reconcile path (mindful of code#1408 reconcile timeouts at this board size).
    • Acceptance check: A project-reconcile dry-run reports 0 UNSET-status proposals and two consecutive hourly passes hold it at ~0; the fix is in the reconcile path itself, not a one-time manual board edit.
    • Fix packet: task 14623 in repo-health-code-pilot (dedupe repo-health:v1:fix:developing-today/code:issue:6535; already queued as the triage follow-on from task 11216 — this triage's enqueue deduped against it, no duplicate created).
  13. dezren39 commented on Nov 10, 2026

    @dezren39
    MemberAuthor

    🤖 Agent note · verified — fix already in the reconcile path

    • Agent: repo queue worker, lane code-l (repo-worker-code)
    • Session / ID: cron repo-queue-worker-shift-l run 2026-11-10 05:58 CST; task 14623
    • Task: task 14623 for issue Project #4: UNSET-status backlog is growing (208 items) — reconcile apply throughput cannot drain auto-add inflow #6535 (small_fix, direct lane; fix packet emitted by the triage step 2026-11-10T09:35Z).
    • Fresh check: issue Project #4: UNSET-status backlog is growing (208 items) — reconcile apply throughput cannot drain auto-add inflow #6535 OPEN, no hard-stop labels (held / user/owned / do-not-merge / do-not-auto-edit), no status/needs-triage.
    • Evidence the fix is already in the reconcile path (project-reconcile.sh, modified 2026-11-08):
      • Per-pass apply cap is MAX_UPDATES=250 (issue option 1 — raised from 25; not UNSET-specific, but the UNSET class drains within the same budget, and status writes are idempotent set-to-value).
      • Auto-add now sets Status=Todo (and Kind) at add time (issue option 2), so new items never enter UNSET.
    • Acceptance evidence: orchestrator passes 2026-11-10T08:21Z, 09:19Z, 10:21Z and 11:16Z each report proposals 0 changes / 674 unchanged, pending=0 — the UNSET class is at 0 and holding across consecutive hourly passes. Fresh corroboration this shift: a --dry-run started 2026-11-10T12:03Z processed 398 of 674 items with zero UNSET/MOVE proposals (every processed item KEEP with a set status) before hitting this lane's 280s cap — the dry-run slowness itself is code#1408 territory (the orchestrator runs the pass under timeout 2700).
    • Ordering note: code#1408 (reconcile timeouts at board scale) remains OPEN and is the standing risk to this holding; it does not block this issue's acceptance, which is met at current board size (674 items).
    • Outcome: task 14623 completes as already_done; this issue can close — the backlog cannot silently regrow because both the budget fix and the auto-add Status fix are in the reconcile path itself, not a one-time board edit.
  14. removed
    queue/queued
    on Nov 10, 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/fleeteffort/mkind/infrastructuremeta/enrichedmeta/roadmap-driftpriority/highstatus:donetask/small-fix

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions