McMaster-Baja-Racing / McMaster-Baja-Racing/BajaBot

Store data better

Open
#19 0 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

serious guy
Dominant language
JavaScript
Stars
0
Forks
0
PR merge metrics
No merged PRs in 30d

Description

Currently, most of the data that we keep track of (for example, reminders, todos, PRs) all get forgotten when the bot resets. I think the "proper" solution is to use a production database, but local json files (such as schmits.json) might work well too. Just writing these variables to json and reading them would mean that a crash doesn't lead to complete data loss.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by inventorying the reminders, todos, PRs, and other data that currently disappear when the bot resets, then inspect the existing handling around schmits.json. Clarify whether local JSON or a production database is expected before implementation. Done should mean the tracked data survives crashes and restarts without being lost.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
backend
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.