Code of Conduct
This project follows the NVIDIA Code of Conduct.Release Process
There is no formal release process for the AlpaSim repository. Once CICD pipelines are enabled, we will automate the versioning and release process, although there is no plan for formal qualification/certification of releases at this time.Automatic Versioning
Services automatically receive minor version bumps when their code changes in merge requests. This also includes rebuilding the docker container and uploading the corresponding squash file.Post-merge Release Pipeline
After a merge request is merged, the pipeline on main will check the following, for each package:Check for existing tag
If so, does a git tag already exist for this package with the same version number?
Branching and Rebasing
Fast-Forward Merges
This repository is configured to require fast-forward merges only. This is to ensure the commit history is linear and easy to reason about.If you are behind main, you will be required to rebase. Force pushes are expected and necessary when rebasing due to the linear history requirement.
How to Rebase
If you need to rebase your branch, follow these steps:Pull Request Process
Before Submitting
Before Submitting
- Ensure all tests pass locally
- Run pre-commit hooks:
pre-commit run --all-files - Manually bump versions in
pyproject.tomlif needed - Rebase onto main if your branch is behind
PR Requirements
PR Requirements
- Merge/Pull requests are required for all changes to the codebase
- Templates are provided to ensure consistency and completeness
- PRs should explain scenario impact and reference issue IDs
- Attach logs/screenshots for wizard/runtime regressions
Review Process
Review Process
- Code review is required before merging
- Address all reviewer comments
- Ensure CI/CD pipelines pass
- Maintain linear commit history through rebasing
Development Setup
Environment Setup
Create and update your local environment:uv to create .venv, install editable packages, compile gRPC stubs, and register pre-commit hooks.
Activate Environment
Running Tests
Code Quality Checks
Next Steps
Code Standards
Learn about coding standards and conventions
Maintainers
View project maintainers and roles