nebulaflow

Contribution Workflow

This guide outlines the complete workflow for contributing to NebulaFlow, from setting up your environment to merging your changes.

Table of Contents

Overview

Contributing to NebulaFlow follows a standard open-source workflow:

  1. Fork the repository
  2. Create a feature branch
  3. Make changes and run checks
  4. Submit a pull request
  5. Wait for review and address feedback
  6. Merge into main (or dev for pre-release)

Step 1: Fork and Clone

  1. Fork the repository on GitHub.
  2. Clone your fork locally:
    git clone https://github.com/your-username/nebulaflow.git
    cd nebulaflow
    
  3. Add the upstream remote to keep your fork in sync:
    git remote add upstream https://github.com/PriNova/nebulaflow.git
    

Step 2: Set Up Development Environment

Follow the Development Setup guide to install dependencies, set environment variables, and build the project.

Quick start:

Step 3: Create a Feature Branch

Create a descriptive branch for your changes:

git checkout -b feature/your-feature-name

Branch naming conventions:

Step 4: Make Your Changes

Step 5: Run Checks

Before committing, run the full check suite:

npm run check

This runs:

If there are errors, fix them before proceeding.

Step 6: Update Documentation

If you add or modify features, update the relevant documentation:

Step 7: Commit Messages

Follow Conventional Commits. Format:

<type>(<scope>): <subject>

<body>

<footer>

Types:

Example:

feat(llm-node): add support for custom model parameters

- Extend LLM node data interface with `modelParams` field
- Update UI to allow editing model parameters
- Pass parameters to Amp SDK execution

Closes #123

Step 8: Push and Create Pull Request

  1. Push your branch to your fork:
    git push origin feature/your-feature-name
    
  2. Create a pull request on GitHub:
    • Base branch: main (or dev for pre-release features)
    • Head branch: your feature branch
    • Title: Clear description of the change
    • Description:
      • Reference any related issues
      • Summarize changes
      • Include a manual test checklist (if applicable)

Step 9: Review Process

Step 10: CI/CD Pipeline

NebulaFlow uses GitHub Actions for continuous integration. The CI pipeline runs on pushes to main and dev branches and includes:

You can run the same steps locally to verify your changes before pushing.

Step 11: Merging and Release

For detailed release process, see Deployment.

Troubleshooting

Issue Solution
Amp SDK not available Ensure vendor/amp-sdk/amp-sdk.tgz exists.
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).
Type errors Run npm run typecheck and fix diagnostics.
Lint/format issues Run npm run check or npm run biome.
Extension fails to load Check VS Code version ≥ 1.90.0; reload the window.
CI fails Run npm run check locally and fix any errors.

Last Updated: 2026-01-21