This guide details the process for creating, reviewing, and merging pull requests (PRs) in the NebulaFlow repository.
Contributing to NebulaFlow follows a standard open-source workflow:
main (or dev for pre-release)Before creating a PR, ensure you have:
git remote add upstream https://github.com/PriNova/nebulaflow.git
git checkout -b feature/your-feature-name
npm run check
Push your feature branch to your fork:
git push origin feature/your-feature-name
main for stable changesdev for pre-release features (if applicable)Title: Use a clear, concise description of the change. Follow Conventional Commits format:
<type>(<scope>): <subject>
Example: feat(llm-node): add support for custom model parameters
Description: Provide a detailed explanation of the changes:
Closes #123 or Fixes #456)If you want to use a template, you can copy the following into your PR description:
## Summary
Brief description of the changes.
## Changes
- List key changes
- Bullet points for clarity
## Testing
- [ ] LLM node streams output and respects thread continuation
- [ ] CLI node executes with approval, script mode, and safety levels
- [ ] If/Else node routes correctly based on condition
- [ ] Loop node iterates and updates loop variable
- [ ] Variable node sets and retrieves values
- [ ] Accumulator node concatenates outputs
- [ ] Preview node displays data
- [ ] Subflow node executes saved workflow
## Checklist
- [ ] Code follows the [Code Style](/nebulaflow/contributing/code-style.html) guidelines
- [ ] Tests pass (if any)
- [ ] Documentation updated
- [ ] No new dependencies added (or justified)
## Related Issues
Closes #123
The NebulaFlow repository uses GitHub Actions for continuous integration. However, CI does not run automatically on pull requests from forks due to security restrictions. Instead, the CI pipeline runs on pushes to the main and dev branches.
main branch to build and package the extension.npm run checknpm run check locally and fix any errors.npm run package:vsix.vsix file.npm run build locally.mkdocs buildpip install mkdocs mkdocs-material and run mkdocs build.All checks must pass locally before opening a PR. Maintainers will verify these checks before merging.
Once a maintainer approves your PR and verifies all checks locally, the PR is ready for merging. CI will run after merging on the main branch.
main branch history clean.main and merge.Note: The default merge strategy is determined by the repository settings. Maintainers may choose the appropriate strategy based on the PR.
build workflow runs on main and dev branches, building and packaging the extension.v1.2.3), a GitHub release is automatically created with the .vsix file.docs/** trigger the deploy-docs workflow, updating GitHub Pages.CHANGELOG.md.package.json and create a Git tag.| Issue | Solution |
|---|---|
| CI fails with type errors | Run npm run check locally and fix diagnostics. |
| CI fails with lint errors | Run npm run biome to auto-fix, or npm run check to see errors. |
| Build fails | Run npm run build locally. Ensure dependencies are installed (npm install). |
| Documentation deployment fails | Check mkdocs.yml syntax and ensure all linked files exist. |
| PR branch is out of date | Merge main into your branch: git merge upstream/main and push. |
Conflicts with main |
Rebase your branch onto main: git rebase upstream/main and resolve conflicts. |
| Amp SDK not available | Ensure vendor/amp-sdk/amp-sdk.tgz exists (see Development Setup). |
| AMP_API_KEY is not set | Set the environment variable before launching VS Code. |
| Webview assets don’t load | Run npm run build or start the webview watcher (npm run watch:webview). |
Last Updated: 2026-01-21