Skip to content

fix: ignore Python bytecode during release validation - #78

Merged
pixincreate merged 1 commit into
masterfrom
fix/ignore-python-bytecode
Aug 2, 2026
Merged

fix: ignore Python bytecode during release validation#78
pixincreate merged 1 commit into
masterfrom
fix/ignore-python-bytecode

Conversation

@pixincreate

Copy link
Copy Markdown
Owner

Summary

  • ignore Python bytecode caches generated by the Action validation scripts
  • require the bytecode ignore rules in the distribution validator to prevent regression

Root cause

The v2.0.0 GitHub Release preflight ran the Python validator, which imported scenario modules and generated untracked __pycache__/*.pyc files. The subsequent strict cargo package --locked check rejected the dirty checkout.

Verification

  • regression reproduced before the fix: ERROR: Python bytecode caches must be ignored
  • python3 scripts/action_validation/validate.py
  • python3 -m py_compile scripts/action_validation/*.py
  • cargo package --locked
  • git diff --check
  • Oracle release-safety audit: PASS

@pixincreate pixincreate self-assigned this Aug 2, 2026
@pixincreate pixincreate added bug Something isn't working clanker changes done by ai under author's supervision. labels Aug 2, 2026
@pixincreate
pixincreate merged commit 78e93fa into master Aug 2, 2026
6 checks passed
@pixincreate
pixincreate deleted the fix/ignore-python-bytecode branch August 2, 2026 17:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working clanker changes done by ai under author's supervision.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant