
An error occurs during the GSSoC contribution window when trying to set up a new weekly commit goal on the dashboard. After entering the goal parameters and clicking the "Add goal" button, the dashboard surfaces a red error message: *"Failed to create goal. Please try again."* The goal fails to persist or update the UI.
To Reproduce
- Navigate to the DevTrack Dashboard page (
/dashboard).
- Scroll down to the Goals component.
- Input the goal details (e.g., Title:
m, Target: 05, Unit: Commits, Recurrence: Weekly).
- Click on the [Add goal] button.
- Notice the error message "Failed to create goal. Please try again." appearing beneath the submission button.
Expected Behavior
The commit goal should be successfully instantiated, the form should clear, and an automated tracking item linked to the contributor's GitHub activity should appear.
Environment & Context
Additional Context
This blocks participants from setting up trackable metrics directly on their dashboards during active evaluation periods. Likely tied to a backend validation layer mismatch or an unhandled exception on the POST request to the goals endpoint.
To Reproduce
/dashboard).m, Target:05, Unit:Commits, Recurrence:Weekly).Expected Behavior
The commit goal should be successfully instantiated, the form should clear, and an automated tracking item linked to the contributor's GitHub activity should appear.
Environment & Context
Additional Context
This blocks participants from setting up trackable metrics directly on their dashboards during active evaluation periods. Likely tied to a backend validation layer mismatch or an unhandled exception on the
POSTrequest to the goals endpoint.