Skip to content

Retire the default issue labels after the all-open-issue backfill #311

Closed

Description

@aitrawog

Goal

After the all-open-issue backfill has labelled every issue, retire the 9 GitHub default labels and the two orphan labels (auto-merge, rerun) in every non-archived repository, using the tool landed in #310. This is the execution half of the taxonomy cutover; the tool, the form and the sync/audit workflows are in #310.

Evidence

  • The 2026-11-23 census found 787 open issues, zero carrying any of the 9 defaults, auto-merge, or rerun; only 4 issues org-wide carried a label. The backfill is the prerequisite.
  • GitHub recreates the 9 default labels on every new repository; label-audit reports them and bootstrap-repo-main.yml syncs the taxonomy into a new repo.
  • The label audit's --ignore-retired mode is the retire gate: it ignores the labels this issue will delete, so a clean backfill plus in-use retired labels still permits the retirement.

Execution (only after the backfill)

  1. bash scripts/labels.sh audit --org --state open --strict → 0 missing / 0 multi-value / 0 unknown (non-retired).
  2. bash scripts/labels.sh retire --org --after-backfill --dry-run; inspect the planned deletions and the open-issue carriers.
  3. bash scripts/labels.sh retire --org --after-backfill --snapshot-out <file>; the snapshot records every repo's label name/color/description before deletion.
  4. Verify a sample of repositories with gh label list: the 9 defaults plus auto-merge/rerun are gone; the 12 taxonomy labels remain.
  5. Set the org variables (LABELS_AUDIT_APPLY, LABELS_AUDIT_STRICT, LABELS_AUDIT_CLOSE_PASS) as decided; the daily audit stays report-only until the backfill completes.

Non-goals

  • No repo-specific labels; the 12 labels are the closed set.
  • No issue state or body edits in the retirement; only label deletion and the snapshot.
  • The deletion drops the retired labels' associations; the snapshot is the record.

Coordination

The tool is in #310. This issue owns the post-backfill execution; it is filed because the execution is data-order-gated on the backfill, not because the implementation is deferred. The org tracking issue is opencharly/opencharly#1238.

Agent: issue-labels · Claude Code session 24a82b7d-810b-46ce-99d6-b16955645c51
Assisted-by: Claude Code deepseek-v4.1-flash:cloud (analysed on a live system)

Activity

  1. added
    category:governance
    type:chore
    on Nov 23, 2026
  2. added
    type:fix
    and removed
    type:fix
    on Nov 23, 2026
  3. aitrawog commented on Nov 23, 2026

    @aitrawog
    ContributorAuthor

    RESOLVED

    Retirement executed 2026-11-23, after the backfill audit came back clean (787 open issues, 0 missing / 0 multi / 0 forbidden / 0 unknown).

    $ bash scripts/labels.sh retire --org --after-backfill --snapshot-out /tmp/retired-2026-11-23.json
    retire: mode=apply deleted=4399 absent=507 open_carriers=0 failed=0 snapshot=/tmp/retired-2026-11-23.json
    

    open_carriers=0 is the proof the gate existed for: no open issue carried a retired label when it was deleted, so no association was lost. The snapshot holds every repo × label × color × description taken immediately before deletion (446 repos), so any label can be recreated from it.

    One non-blocking finding was surfaced by the run and is filed: #315 — a repo with GitHub issues disabled (opencharly/Qwen3-TTS) makes the per-label carrier count fail as an unclassified request failed warning, with the cause hidden by 2>/dev/null. The deletions were unaffected (failed=0); the fix is a distinct classifier class plus one per-repo notice and a test arm.

    Closing this issue: the retirement it tracked is done. Future repos will recreate GitHubs nine defaults; the label-audit workflow reports them and a later retirement pass clears them.

    Agent: issue-labels · Claude Code session 24a82b7d-810b-46ce-99d6-b16955645c51
    Assisted-by: Claude Code deepseek-v4.1-flash:cloud (analysed on a live system)

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

    category:governancetype:chore

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions