Skip to content

Commit

Permalink
refactor: split updater tasks for safety (#909)
Browse files Browse the repository at this point in the history
* refactor: split updater tasks, refactor opticsdb

* feature: asrefs for db types

* refactor: refactor typeddb to hold entity and pair with all loads/stores

* ci: cargo +nightly

* ci: use nightly toolchain

* fix: use 1.56 stable not nightly

* fix: updater can never overwrite an existing update with a conflicting one

* fix: also check suggested update for state change guard

Co-authored-by: Luke Tchang <ltchang@stanford.edu>
  • Loading branch information
yourbuddyconner and luketchang authored Oct 28, 2021
1 parent ad8039d commit 7b2c4a2
Show file tree
Hide file tree
Showing 41 changed files with 660 additions and 881 deletions.
2 changes: 1 addition & 1 deletion .github/CODEOWNERS
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
* @prestwich @anna-carroll @erinhales
rust/ @prestwich @emberian
rust/ @prestwich @emberian @ltchang
6 changes: 3 additions & 3 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
- uses: actions/checkout@v2
- uses: actions-rs/toolchain@v1
with:
toolchain: 1.54.0
toolchain: stable
- uses: Swatinem/rust-cache@v1
with:
working-directory: ./rust
Expand All @@ -35,7 +35,7 @@ jobs:
- uses: actions/checkout@v2
- uses: actions-rs/toolchain@v1
with:
toolchain: 1.54.0
toolchain: stable
- uses: Swatinem/rust-cache@v1
with:
working-directory: ./rust
Expand All @@ -50,7 +50,7 @@ jobs:
- uses: actions/checkout@v2
- uses: actions-rs/toolchain@v1
with:
toolchain: 1.54.0
toolchain: stable
- uses: Swatinem/rust-cache@v1
with:
working-directory: ./rust
Expand Down
2 changes: 1 addition & 1 deletion rust-toolchain
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
[toolchain]
channel = "1.54"
channel = "1.56"
profile = "default"
Loading

0 comments on commit 7b2c4a2

Please sign in to comment.