Skip to content

Conversation

@github-actions
Copy link

@github-actions github-actions bot commented Feb 3, 2026

Automated Submodule Update

This PR updates all submodules to their latest versions.

Changes:

  • PyPTO: 4e52fbc -> 95f74e5

Testing

Please review the changes and ensure all tests pass before merging.


🤖 Generated automatically by GitHub Actions

luohuan19 and others added 10 commits February 3, 2026 10:15
- Add CI workflow for automated testing across multiple Python versions
  - Test on Python 3.9 and 3.10 (3.11 temporarily disabled due to PyPTO TensorType API compatibility)
  - Build PyPTO and dependencies with ccache for faster builds
  - Run pytest with --codegen-only flag for code generation validation
  - Upload test artifacts on failure for debugging

- Add code quality checks with black and isort
  - Format all Python code in src/ and tests/ to comply with CI checks
  - Ensure consistent code style across the project

- Add documentation build verification
  - Verify README.md exists and is valid

- Add automated submodule update workflow
  - Schedule: runs 3 times daily (UTC 00:00, 06:00, 12:00)
  - Auto-creates PR when submodules have updates
  - Tracks version changes for PyPTO and Simpler submodules

- Fix Simpler module import verification
  - Use 'import pto_compiler' instead of 'import simpler'
  - Simpler is not a Python package (no __init__.py), only contains standalone modules

Co-Authored-By: Claude Sonnet 4.5 <[email protected]>
Add GitHub Actions CI/CD workflows
Problem:
- Python 3.9 CI tests were failing due to build issues
- Submodule update workflow failed with permission denied error
- Missing commit specification documentation

Solution:
- Remove Python 3.9 from CI test matrix, keep only 3.10
- Add permissions (contents: write, pull-requests: write) to submodule workflow
- Add comprehensive commit specification documentation

Changes:
- Update .github/workflows/ci.yml
  - Remove Python 3.9 from test matrix (only 3.10 now)
  - Python 3.11 remains disabled due to PyPTO TensorType API compatibility

- Update .github/workflows/update-submodules.yml
  - Add permissions block to fix 403 error when pushing branches
  - Allow workflow to create PRs and push to repository

- Add docs/specification/commit-specification.md
  - Define commit message format and types
  - Provide examples for different commit scenarios
  - Document PR squash requirements

Impact:
- CI now runs faster with single Python version
- Automated submodule updates can now successfully create PRs
- Contributors have clear guidelines for commit messages

Co-Authored-By: Claude Sonnet 4.5 <[email protected]>
Fix: Resolve CI workflow issues and add commit specification
Automated submodule update to latest versions:
- PyPTO: 8e71317 -> 71a3555
- Simpler: f6e2e31 -> 88fec73
chore: Update submodules to latest versions
Automated submodule update to latest versions:
- PyPTO: 71a3555 -> c422216
- Simpler: 88fec73 -> d07191f
chore: Update submodules to latest versions
Problem:
- PRs can change submodule gitlinks and .gitmodules, causing CI to test against unreviewed submodule revisions or forked URLs

Solution:
- Checkout PR merge ref without submodules
- Restore .gitmodules from base SHA and resync submodule config
- Reset each submodule gitlink to the base branch recorded commit, then update submodules recursively

Impact:
- PR code changes are still tested, but submodule revisions are pinned to base branch state
Fix: Force PR CI to use base submodule gitlinks
luohuan19 and others added 7 commits February 4, 2026 03:17
Automated submodule update to latest versions:
- PyPTO: c422216 -> 4e52fbc
- Simpler: d07191f -> af5e309
chore: Update submodules to latest versions
- Fetch the latest base branch HEAD using base_ref instead of base.sha
- Ensure submodule pointers align with current base branch state
- Add logging to show which base version is being used
- Optimize code formatting and conditional logic
ci: use latest base branch HEAD for PR submodule checks
- Replace KernelGenerator with ProgramCodeGenerator that uses PyPTO's ir.compile() for both kernel and orchestration code generation.
- Updated directory structure for generated files
- Update test cases and simplify TestRunner/StandaloneRunner.
- Deprecate get_orchestration() method in favor of FunctionType.Orchestration pattern.
Refactor codegen to use PyPTO ir.compile() API
Automated submodule update to latest versions:
- PyPTO: 4e52fbc -> 95f74e5
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants