Skip to content

Phase 2: Fix Existing Label Prefix Violations (24-48 hrs) #1604

Closed

Description

@ashleyshaw

Objective

Remediate ~100 existing issues with bare labels (created before validation in place).

Tasks

Related

Timeline

24–48 hours after Phase 1 completion


Definition of Ready (DoR)

  • Clear problem statement and expected outcome
  • Acceptance criteria defined
  • Related issues/dependencies identified
  • Required resources/approvals listed

Definition of Done (DoD)

  • All acceptance criteria met
  • Changes tested and validated
  • Documentation updated
  • Changes merged and deployed
  • Stakeholders notified

Activity

  1. linear-code commented on Aug 5, 2026

    @linear-code
  2. github-actions commented on Aug 5, 2026

    @github-actions
    Contributor

    ✅ Template check passed after update. Thanks for fixing the issue body.

  3. github-actions commented on Aug 5, 2026

    @github-actions
    Contributor

    ⏱️ Aging and SLA annotation

    • Age: 7 day(s)
    • SLA state: SLA risk
    • Thresholds: warn at 7 days, breach at 14 days
    • Last updated: 2026-08-12T22:42:08.973Z

    Maintained by project-meta-sync workflow.

  4. self-assigned this
    on Aug 7, 2026
  5. ashleyshaw commented on Aug 7, 2026

    @ashleyshaw
    MemberAuthor

    📋 Project Planning & OpenSpec Update — Label Prefix Audit & Enforcement

    This issue is part of the Label Prefix Audit & Enforcement initiative. Phase 1-3 planning and project documentation are now available:

    ✅ What's Been Completed (Phases 1-3)

    Phase 1: Audit & Root Cause Analysis (2026-08-05)

    • Comprehensive audit of all repository labels (158 total)
    • Identified 100+ violations of label prefix standards
    • Root cause analysis: workflow labeling rules, manual label creation, inconsistent validation

    Phase 2: Remediation Planning (2026-08-05 → 2026-08-07)

    • 5-phase remediation plan created
    • Resource estimates: 24-48 hours for fix phase (this issue)
    • Workflow consolidation analysis (19 affected workflows)
    • Impact mapping: 6 workflows require updates

    Phase 3: Enforcement Implementation (2026-08-07 → Ongoing)

    • Validation rules established for label creation
    • GitHub Actions workflow hardening underway
    • Label prefix standards enforced at creation time

    📊 Current Project Status

    Key Resources:

    🎯 This Issue: Phase 2 — Fix Existing Violations

    Scope: 24-48 hour effort to fix bare labels across repository

    Deliverables:

    1. Fix all 100+ bare labels (type:bug → type:bug was already correct; examples: bug → type:bug)
    2. Update label references in workflows and automations
    3. Validation that all new labels use prefixed format

    Next Steps:

    1. Execute batch fix script (prepared in remediation plan)
    2. Run validation workflow to confirm all labels prefixed
    3. Move to Phase 3: Enforcement (see automation: label-validation - Enforce validation #1605)

    📁 Related Phase Issues

    🔗 OpenSpec RFC

    Full specification available: .github/projects/active/openspec/changes/ (TBD link)

    • Implementation roadmap
    • Success criteria (0% bare labels, 100% validation coverage)
    • Resource and timeline estimates

    Co-Authored-By: Claude Haiku 4.5 noreply@anthropic.com

  6. added this to the v1.1 milestone on Aug 29, 2026
  7. github-actions commented on Aug 30, 2026

    @github-actions
    Contributor

    ⚠️ This issue was closed but the Definition of Done (DoD) is not complete.

    Unchecked DoD items found. Please complete all checklist items before closing this issue.

    To close this issue:

    • ✅ Complete all DoD checklist items and check them off
    • 🔁 Close the issue again

    To force close this issue without completing DoD:

    • Add the meta:force-close label
    • The system will then allow closure

    For more information on Definition of Done standards, see the issue template guide: https://github.com/lightspeedwp/.github/issues/new/choose

  8. github-actions commented on Aug 30, 2026

    @github-actions
    Contributor

    ✅ Issue checklists finalised after closure.

  9. github-actions commented on Aug 30, 2026

    @github-actions
    Contributor

    Milestone Allocation

    
    
  10. added a commit that references this issue on Aug 30, 2026
  11. ashleyshaw commented on Sep 2, 2026

    @ashleyshaw
    MemberAuthor

    🔄 Phase 2 Dry-Run Execution Started — 2026-09-02

    Status: Dry-run workflow triggered and executing on develop branch

    Execution Timeline

    ✅ Completed:

    🔄 In Progress:

    • Workflow discovering bare labels across repository
    • Expected completion: 2-3 minutes
    • Generating remediation report artifact

    What's Happening

    The workflow is currently:

    1. Loading the bare→canonical label mapping (77 entries)
    2. Querying GitHub API for all issues/PRs with bare labels
    3. Generating a detailed report of findings
    4. Uploading remediation-report.md artifact

    No changes are being made — dry-run mode only discovers and reports.

    Next Steps

    1. Monitor workflow: https://github.com/lightspeedwp/.github/actions/workflows/remediate-bare-labels.yml
    2. Review report artifact for:
      • Number of issues/PRs with bare labels
      • Correct label mappings
      • Any errors or warnings
    3. Validate results before proceeding
    4. Execute live remediation (if validated) with dry_run=false

    Related Documentation

    • Execution Status: .github/projects/active/label-prefix-audit-2026-08-05/PHASE2_EXECUTION_STATUS.md
    • Implementation Plan: .github/reports/label-remediation/PHASE2_PLAN.md
    • Label Mapping: .github/reports/label-remediation/bare-label-mapping.json

    Generated by Claude Code — Phase 2 remediation automation


    Generated by Claude Code

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

Metadata

Metadata

Assignees

Type

No type

Fields

Priority

None yet

Projects

No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions