Development Workflow
Overview
The repository follows a direct, engineering-oriented GitHub workflow.
Recommended principles:
- create an Issue first
- branch from
dev - PR into
dev - merge into
mainonly after stabilization
Branch Strategy
Recommended branch prefixes:
feature/*fix/*chore/*docs/*
Examples:
feature/rtsp-ws-bridge-core-pipelinefix/ws-route-registration-orderchore/update-eslint-configdocs/update-vitepress-homepage
Issue First
Before implementation begins, create an Issue.
A good Issue should usually include:
- title
- type
- goal
- scope
- acceptance criteria
Larger topics should be broken into smaller tasks whenever possible.
PR Flow
Recommended process:
- update local
dev - create a feature branch from
dev - make small logical commits
- open a PR into
dev - wait for review
- wait for CI to pass
- merge into
dev - merge from
devintomainafter stabilization
Labels / Milestones / Project Board
Recommended supporting conventions:
Labels
Examples:
featurefixchoredocsbridgertsp-wsbackendphase-1
Milestones
Example:
Phase 1 - rtsp-ws-bridge MVP
Project Board
Examples:
- Todo
- In Progress
- In Review
- Done
Local Verification Checklist
Before opening a PR, verify at minimum:
- the service starts successfully
/healthzreturns expected data/ws-pingcan connect/live/:idcan connect- invalid ids are rejected
- sessions are created and destroyed correctly
- lint passes
- typecheck passes
- build passes
Documentation Sync Expectations
Any change that affects runtime behavior, API shape, configuration, or recovery strategy should update documentation as part of the same PR.
At minimum, keep these aligned:
README.md.env.example- VitePress documentation
/healthzresponse description
A good practice is:
- keep code changes and doc changes in the same PR
- avoid postponing documentation updates