Code Workflow¶
This page covers the complete workflow from picking up an issue to merging your code.
Overview¶
1. Working with Issues¶
Finding an Issue¶
Issues are managed in GitHub Issues and GitHub Projects.
During sprints, issues are assigned to teams by the SM group after Sprint Planning. If you need more work:
- Find an unassigned issue in the Sprint Backlog
- Ask the SM group for approval
- Prefer high-priority issues for better approval chances
Creating an Issue¶
If you find a bug or have a feature idea:
- Go to the repository's Issues tab (e.g., foodplanner issues)
- Click "New issue"
- Choose Bug Report or Task Creation Request
- Follow the template — don't delete the headers
- Add appropriate labels
- Inform the PO group so they can prioritize
2. Branching¶
GIRAF follows GitFlow.
During Sprints¶
Create feature branches from develop (or staging for some repos):
Naming: feature/XX where XX is the issue number.
During Release Preparation¶
Create fix branches from the release branch:
3. Pull Requests¶
When your work is complete, create a pull request.
Before Creating a PR¶
Ensure your code:
- Addresses only one issue (one PR per user story)
- Is fully tested (removing any functionality should break a test)
- Is reachable in the application
Creating the PR¶
- Go to the repository's Pull Requests tab
- Click "New pull request"
- Select base branch:
developorstagingduring sprintsrelease/*during release preparation- Select your feature branch
- Title:
Feature 123orFeature 123: Short description - Description: Use
closes #123orfixes #123to auto-link and close the issue
4. Code Review¶
Reviewing PRs is the highest priority for developers.
As a Reviewer¶
- Open the PR and go to "Files changed"
- Review each file for:
- Deprecated or unnecessary code
- Non-optimized implementations
- Formatting issues
- Missing tests
- Add comments or suggestions on specific lines (click the blue + icon)
- Submit your review:
- Request changes if issues need fixing
- Approve if the code is ready to merge
As an Author¶
- Respond to all feedback
- Make requested changes and push updates
- Request re-review after addressing comments
5. Merging¶
Once approved:
- Ensure CI checks pass
- Merge the PR (squash or regular merge per repo conventions)
- Delete the feature branch
- Verify the issue is closed
Quick Reference¶
| I want to... | Command/Action |
|---|---|
| Start work on issue #42 | git checkout -b feature/42 |
| Link PR to issue | Write closes #42 in PR description |
| Request review | Assign reviewers in PR sidebar |
| See all open PRs | Go to repository → Pull Requests tab |