-
Notifications
You must be signed in to change notification settings - Fork 23
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Includes: * restructure main * separate logger interface for rolling files vs stdout (all async nonblocking) * tarpc (non-proto) Server/Client implementation to "speak" RPC to the Runner * db initialization cleanup * Lots of channel scaffolding and reliance * CLI output with tables and diagnostic error(s) * Make resolve take an async closure and work via async_recursion * ability to run homestar runner/server in daemon mode * docker cleanup and now having an entrypoint w/ homestar start * cargo-nextest configuration * CLI / e2e RPC tests in serial mode * build.rs for compile-time pending migrations (if not run previously) * handle ports correctly for parallel tests * prep for worker set and delayqueue * ARCify your demons * proper use of spawn and block_on within a Runner's (tokio) runtime * rwlock for linkmap (cross-thread)
- Loading branch information
Zeeshan Lakhani
authored
Jul 21, 2023
1 parent
d8aa18f
commit 312a7af
Showing
42 changed files
with
2,051 additions
and
583 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
[profile.default] | ||
retries = 0 | ||
test-threads = "num-cpus" | ||
threads-required = 1 | ||
|
||
[profile.ci] | ||
retries = { backoff = "exponential", count = 3, delay = "30s", jitter = true, max-delay = "300s" } | ||
failure-output = "immediate-final" | ||
fail-fast = false | ||
|
||
[test-groups] | ||
serial = { max-threads = 1 } | ||
|
||
[[profile.default.overrides]] | ||
filter = 'test(/_serial$/)' | ||
test-group = 'serial' | ||
|
||
[[profile.ci.overrides]] | ||
filter = 'test(/_serial$/)' | ||
test-group = 'serial' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
use_flake | ||
|
||
export RUST_LOG=homestar_runtime=debug,libp2p=info,libp2p_gossipsub::behaviour=debug | ||
export RUST_LOG=homestar_runtime=debug,libp2p=info,libp2p_gossipsub::behaviour=debug,tarpc=info,tower_http=debug | ||
export RUST_BACKTRACE=full | ||
export RUSTFLAGS="--cfg tokio_unstable" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.