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.
[ ] All commits are tagged with the ticket number
[ ] No linting errors / newline at end of file warnings
[ ] All code follows repository-configured prettier formatting
[ ] No merge conflicts
[ ] All checks passing
[ ] Screenshots of UI changes (see Screenshots section)
[ ] Remove any non-applicable sections of this template
[ ] Assign the PR to yourself
[ ] No package-lock.json changes (unless dependencies have changed)
[ ] Request reviewers & ping on Slack
[ ] PR is linked to the ticket (fill in the closes line below)
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
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
andFiles 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.package-lock.json
changes (unless dependencies have changed)Closes #200