Skip to main content

Updated for Fall 2026

Processes are cross-cutting concerns and will be evaluated throughout the project.

Process is graded as a team and is assessing how you implement and test your system. You may earn full process points even if your product isn’t fully correct.

The same processes are documented in your team repository, in technical-documents/github-process.md, static-analysis.md, and maven-build.md, so they are at hand while you work. If the two ever disagree, ask the teaching staff.

Process Grade Items

Grade Item Points
GitHub Setup 10
Following GitHub Processes 30
Following Issue Processes 30
Following Bug Reporting Process 30
Maintaining Green Main 30
Total Points 130

GitHub Setup

Branches provide a location to experiment and work on functionality without breaking the main branch. The main branch represents a working, deployable product.

The development branch is a place to integrate new features and bug fixes for system level testing before merging with main. You will need to create this.

For each feature, you must have a backend, frontend-data-entry, and frontend-report branch. We suggest a naming scheme of <feature>-backend, unityID/<feature>-frontend-data-entry, and unityID/<feature>-frontend-report, such that each branch represents the following in feature-based development:

  • backend: development and testing of backend features
  • frontend-data-entry: development and testing of frontend data entry features
  • frontend-report: development and testing of frontend reporting and display features

Ownership can be indicated by using unity ids as part of the branch name/path, unityID/branchname.

You may have additional branches that represent smaller tasks or bug fixes.

The only exception to feature-based branches is the branch to integrate the starting CoffeeMaker functionality.

Record your branches and their owners in the Branches and Owners table of your Project Management Plan (project-management/index.md). Never delete a merged branch; the history is part of what’s evaluated.

Project Management Branches

Changes to the documents in project-management/ (the plan, the task sheets, team goals, ground rules, and AI policy) are made on a branch and delivered by pull request, the same as code. They are never committed directly to development or main. Your team chooses one of two approaches, and records the choice in your Ground Rules:

  • One project management branch for the whole project, named project-management. After each pull request merges, bring development back into the branch before the next round of updates so it doesn’t drift.
  • One branch per iteration part, named for the part it covers: project-management-i0, project-management-i1a, project-management-i1b, project-management-i2a, project-management-i2b, and project-management-final. Create each from development when the part starts.

(The names use a hyphen rather than a slash, because Git cannot have both a project-management branch and a project-management/... branch.)

Either way:

  • Every team member commits their own updates — marking off their tasks, recording actual hours, approving the ground rules and AI policy — in their own commits. This is how the teaching staff see each member’s project management contribution.
  • Reference an issue for the project management work in each commit message, as for any other commit.
  • Deliver by pull request to development, reviewed by a teammate, and then from development to main, by the deadline of each iteration part. What is on main at the deadline is what is graded.
  • Record the branch or branches in the Branches and Owners table.

Technical Document Branches

Changes to the documents in technical-documents/ are also made on branches and delivered by pull request, never committed directly to development or main. Which branch depends on whether the document change stands on its own or goes with code:

Kind of change Branch Examples
Document-only work, where the document is the deliverable Its own document branch, named docs-<part>-<topic> docs-i0-investigation for the CoffeeMaker investigation; docs-i0-requirements for the requirements and system test plan; docs-i1a-design-orders for a feature design; docs-i1a-inspection-fixes for changes made in response to an inspection; docs-users-guide for a guide or policy
Documents that change because code changed The feature branch with the code, so one pull request shows both Actual results of the system tests for that feature; new or changed endpoints in design/rest-api.md; the logging details of a use case; design corrections found while implementing

Document branches follow the same rules as project management branches:

  • Every team member commits their own contributions, in their own commits, and each commit references an issue.
  • Deliver by pull request to development, reviewed by a teammate, and then from development to main, by the deadline of the iteration part.
  • Record document branches in the Branches and Owners table.
  • Keep project-management/ changes and technical-documents/ changes on separate branches.

Two decisions are left to your team; record them in your Ground Rules:

  • The REST API design. It is designed collaboratively. You may keep design/rest-api.md changes on their own shared document branch, or on the feature’s <feature>-backend branch even when the whole team worked on it.
  • Organizing the system tests. Every feature branch updates system-tests.md with actual results, so organize it to keep those updates from colliding, for example by grouping tests by use case so each sub-team edits only its own section.

GitHub Processes

Team members will work on implementation and test code in a branch appropriate for a given task. Pull requests are initiated from a branch when you are ready for review of changes. A pull request should first merge first to development and then to main. The pull request summarizes the changes associated with one or more issues and provides a mechanism for teammate review to insure that:

  • the architecture of the system is maintained
  • departmental style guidelines are met (Checkstyle for the backend and ESLint for the frontend, as described in technical-documents/static-analysis.md)
  • tests are high quality
  • all tests pass
  • all static analysis notifications are resolved
  • code is commented

Wait for the GitHub Actions checks on the pull request’s latest commit (Build backend, Lint frontend, and Quality) before merging, and don’t merge with a red check. See Green main. If AI-generated code or tests are part of the change, acknowledge it the way your team’s AI Policy specifies.

When working with pull requests, the following processes MUST be followed:

  • A pull request to development must be reviewed by another team member.
  • The reviewing team member must inspect the changes and provide a comment approving the inspection or requesting additional work. The teaching staff expects that the inspection will take longer than five minutes.
  • If additional commits are added to the pull request, they must be inspected by another team member.
  • All changes must first be merged into the development branch. Once development is green (all three checks, including Quality), changes in development can be merged into main.
  • PRs to main should be reviewed by a member of the other subteam.

Your development branch is where all work should be funneled, and built by GitHub Actions, before merging to main. The branch should be named development (all lower case).

Bypassing the development branch with a pull request directly to main will lead to a deduction.

You may find more information about GitHub Branching, Merging, and Pull Requests:

Issue Processes

GitHub issues provide a mechanism for recording tasks and bugs associated with a software project. Issues may be assigned to a specific developer who can own the task and all team members can contribute to the discussion about the task or bug. They can be an excellent way to document discussion about a development task or bug.

When working with issues, ensure that you and your team are doing the following:

  • Document all enhancement tasks, general tasks, and bugs as issues. Bugs should have a full bug report.
  • Assign issues to team members. Take into consideration feature-based roles when making assignments.
  • All commits should be associated with an issue through an # mention in the commit message, e.g. Add item price validation #12
  • Close each issue when its work is delivered. At the end of the project, all issues should be closed unless the issue is a bug found during development and not fixed.

Bug Reporting Processes

When reporting bugs, you should include the following information in an issue:

  • Reproduce: include the steps to reproduce the bug
  • Isolate: test other conditions to understand the extent of the bug
  • Generalize: identify if the bug happens in other similar situations

Green main

The main branch represents a system that can be deployed at any time. The GitHub Actions workflow in .github/workflows/build.yml runs on every push to every branch, and each run reports three checks:

Check What it does Red when
Build backend runs ./mvnw verify: compiles the backend, runs all of the tests, and measures coverage the backend doesn’t compile or a test fails
Lint frontend installs the frontend and runs ESLint the frontend’s dependencies don’t install
Quality reads the other two jobs’ reports Checkstyle reports any problem, ESLint reports any error or warning, or coverage is below 70% of lines or 50% of branches

Green means all three checks pass, including Quality. Quality is how the build enforces the done criteria for coverage and static analysis. To ensure project momentum, a green main branch will be evaluated throughout the project. The following processes MUST be followed:

  • main should stay green, with all three checks passing. If you run into build failures on development, let the teaching staff know (with sufficient time) to figure out what’s going on.
  • Your team should make at least one pull request from development to main as part of your tasks for each part of each iteration (i.e., at least one pull request from development to main a week).

A feature branch with work in progress may have a red Quality check while Build backend stays green; that is expected while you work, but the Quality problems must be resolved before the branch is merged. When Quality is red, look in:

  • The pull request’s Files changed tab, where each Checkstyle and ESLint problem in a file you changed appears beside the line that caused it.
  • The run’s summary page (open the run from the Actions tab), which lists every problem with its file, line, and rule, and shows the coverage against the minimums. GitHub shows at most 10 problems of each kind beside the code, so a long list only appears in full here.

The Quality job has a separate step for Checkstyle, ESLint, and coverage, so the red step tells you which one failed. If Build backend or Lint frontend failed before writing its report, fix that job first. To clear a red Quality check before you push, run ./mvnw verify in wolf-cafe-backend and npm run lint in wolf-cafe-frontend, and fix what they report. The repository’s technical-documents/static-analysis.md describes the checks in more detail.

All jobs in the workflow run on the course’s self-hosted runners with runs-on: [ campus ]. A job you add with any other runs-on value will sit in the queue and never start.

Utilizing development Branch

During development iterations, all code changes MUST funnel through the development branch before being merged to main.

Javadoc

All code and test files must have their Javadoc updated before being pushed to main. Missing or out of date Javadoc will lead to a deduction. You do not need to generate Javadoc HTML pages.

Wireframing Process

As part of designing new features, your design must include wireframe(s) that show the user interface design of the system.

Suggested tools:

  • Balsamiq for Mockups. There’s a 30 day trial for the download. One team member should use the trial at a time. There’s also a cloud version with a free trial.
  • MockFlow
  • Wireframe.cc