Skip to content

fix: clean wheel contents and update .rat-excludes for release#744

Open
elijahbenizzy wants to merge 1 commit intomainfrom
fix/release-cleanup
Open

fix: clean wheel contents and update .rat-excludes for release#744
elijahbenizzy wants to merge 1 commit intomainfrom
fix/release-cleanup

Conversation

@elijahbenizzy
Copy link
Copy Markdown
Contributor

Summary

  • Remove .terraform.lock.hcl, .gitignore, and source maps from wheel build (not runtime dependencies, saves ~15MB)
  • Add .github/ templates and image file extensions to .rat-excludes
  • Add ASF header to examples/deployment/aws/terraform/tutorial.md

Addresses feedback from RC2 audit to ensure clean wheel contents and zero RAT false positives.

Test plan

  • Rebuild wheel and verify no .terraform.lock.hcl, .gitignore, or *.map files in contents
  • Run Apache RAT on source tarball and confirm zero unapproved files

Wheel cleanup:
- Remove .terraform.lock.hcl and .gitignore from wheel (not runtime deps)
- Remove source maps from UI build (debug artifacts, saves ~15MB)

RAT excludes:
- Add .github/ templates (YAML/MD with frontmatter, can't take headers)
- Add image file extensions (.png, .gif, .ico, .jpg)
- Add ASF header to examples/deployment/aws/terraform/tutorial.md
@github-actions github-actions Bot added area/ci Workflows, build, release scripts area/examples Relates to /examples labels Apr 19, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area/ci Workflows, build, release scripts area/examples Relates to /examples

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant