Skip to content

chore(ci): remove committed Python bytecode and ignore __pycache__#54

Closed
dmchaledev wants to merge 1 commit into
mainfrom
claude/blissful-pascal-hhk78v
Closed

chore(ci): remove committed Python bytecode and ignore __pycache__#54
dmchaledev wants to merge 1 commit into
mainfrom
claude/blissful-pascal-hhk78v

Conversation

@dmchaledev

Copy link
Copy Markdown
Contributor

Summary

  • PR ci+docs(wrappers): detect and fix variable metadata drift (closes #18) #40 accidentally committed a compiled Python bytecode artifact (.github/scripts/__pycache__/wrapper_drift_check.cpython-311.pyc) alongside the new wrapper_drift_check.py CI script.
  • .gitignore had no rule for __pycache__//*.pyc, so any local run of the drift-check script (e.g. during CI debugging) risks re-staging compiled artifacts.
  • This PR removes the tracked .pyc file and adds __pycache__/ and *.pyc to .gitignore.

Test plan

  • git status clean after removal; no other __pycache__/*.pyc files tracked in the repo
  • N/A — no Terraform files changed, so terraform validate/tflint/checkov/trivy are unaffected

🤖 Generated with Claude Code

https://claude.ai/code/session_019KjcAeNHY6b48DGdjV2Ger


Generated by Claude Code

wrapper_drift_check.cpython-311.pyc was accidentally committed in #40.
Untrack it and add __pycache__/*.pyc to .gitignore so future CI runs
of the drift-check script don't get compiled artifacts staged again.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_019KjcAeNHY6b48DGdjV2Ger

Copy link
Copy Markdown
Contributor Author

Duplicate of #53 — both PRs make the identical change (untrack .github/scripts/__pycache__/wrapper_drift_check.cpython-311.pyc, add __pycache__/ + *.pyc to .gitignore); only the .gitignore comment wording differs. #53 was opened a day earlier. Flagged in #55, acceptance criteria item 1. Recommend closing this one in favor of #53 (or vice versa) — leaving that call to a maintainer rather than closing it here.


Generated by Claude Code

@dmchaledev dmchaledev closed this Jul 12, 2026

Copy link
Copy Markdown
Contributor Author

Closing as a duplicate of #53 — both PRs remove the same tracked .github/scripts/__pycache__/wrapper_drift_check.cpython-311.pyc and add the same __pycache__//*.pyc .gitignore rule, just with different wording. #53 was opened first (2026-07-07 vs 2026-07-08), so keeping that one. Per #55's triage request.


Generated by Claude Code

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants