Northeastern-Electric-Racing / Argos

Our full-stack data visualization tool
GNU Affero General Public License v3.0
1 stars 0 forks source link

#200 switch new run to static atomic #222

Closed bracyw closed 1 month ago

bracyw commented 1 month ago

Changes

Implemented a global AtomicI32 to keep track of current run number.

Notes

Had to do a global Atomic because Atomics couldn't be passed through a post (doesn't have clone trait).

Checklist

It can be helpful to check the Checks and Files changed tabs. Please review the contributor guide and reach out to your Tech Lead if anything is unclear. Please request reviewers and ping on slack only after you've gone through this whole checklist.

Closes #200

RChandler234 commented 1 month ago

pls verify that getCurrentRun/ add new run button works correctly in this PR. Right now it's not working on my local (I think bc of an empty db) and causes the UI to say it's disconnected from the backend