Skip to content

chore: remove tracked Python bytecode from organization tooling #87

Open

Description

@yeongseon

Confirmed repository-local finding

The main Git tree tracks scripts/__pycache__/sync_labels.cpython-310.pyc next to the maintained Python source scripts/sync_labels.py. A compiled bytecode cache is environment-specific generated output, not an appropriate source artifact. This concerns the .github repository's own scripts only; it is not a central cleanup tracker for product repositories.

Tasks

  • Verify that the sync-labels tooling executes from the Python source rather than the tracked bytecode and that no documented build/release process depends on the cache file.
  • Remove only the confirmed generated .pyc in a focused PR and add a minimal ignore pattern for __pycache__/ / *.pyc if not already present.
  • Run the existing source checks for label sync (read-only/audit mode as appropriate) and confirm no output or behavior change.
  • Review this repository's own other generated files for the same mistake; do not launch an org-wide scanner, cleanup workflow or issue-creation campaign.

Acceptance

The .pyc is no longer tracked, future local runs do not restage bytecode, source tooling works as before, and all modifications stay in this repository.

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