This repository was archived by the owner on Feb 3, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 267
Sim2h recording & playback of connections and messages #2030
Open
maackle
wants to merge
43
commits into
develop
Choose a base branch
from
sim2h-walkman
base: develop
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
43 commits
Select commit
Hold shift + click to select a range
85d963e
Add two queue sizes to StatusData
maackle 70851a8
Add status data for Limbo connections
maackle d3809c5
Merge branch 'develop' into sim2h-status-additions
zippy d9796b4
Break out into separate DebugData and print periodically
maackle 5f53838
Opt-in to debug dumps
maackle 82a1e8f
Merge branch 'sim2h-status-additions' of github.com:holochain/holocha…
maackle b070760
Add debug_dump flag to sim2h_server
maackle b538e7d
Merge remote-tracking branch 'origin/develop' into sim2h-status-addit…
maackle feac4d8
fmt
maackle 608701d
Change Job -> Client, beginnings of sim2h_walkman
maackle 3c05ea1
Hook up walkman sim2h logging
maackle 237e20b
Almost there
maackle c114c9d
Separate sim2h_client crate, more hookup
maackle 9adb032
fmt
maackle 8f6c14d
First pass at cassette playback
maackle f398187
Use SignedWireMessage, bypassing client agent identity
maackle 3d56bb6
Add cassette compile command
maackle 763470d
Can playback cassette correctly. But is it useful?
maackle c98953a
README
maackle 5cce189
Add installation blip
maackle 4ebb89c
README
maackle 18fa7f6
Update alpha1 -> alpha2
maackle a9c6996
WIP write an integration test using DebugData
maackle 659250c
Merge remote-tracking branch 'origin/develop' into sim2h-walkman
maackle be0cc05
Post-merge fixups
maackle e56fae3
fmt
maackle 4152af9
Add build info to README
maackle 9279840
Update README.md
maackle ebf8e5b
Update README.md
maackle e0dff9c
Use delays informed by timestamps of recorded events during playback
maackle 3170995
Merge branch 'sim2h-walkman' of github.com:holochain/holochain-rust i…
maackle c7fbce3
Merge branch 'develop' of https://github.com/holochain/holochain-rust…
freesig 55f13a2
fix unused import
freesig 160c449
add back in tracing
freesig 37a5a50
format code
freesig 86e412a
Merge branch 'develop' of https://github.com/holochain/holochain-rust…
freesig 03463c4
add compression
freesig b5de6e8
Merge branch 'develop' of https://github.com/holochain/holochain-rust…
freesig 8506dc6
lazy env check
freesig aef5e0a
Fix clippy
maackle 8cb865b
Remove get_debug_data test
maackle 057ac49
Merge remote-tracking branch 'origin/develop' into sim2h-walkman
maackle 4ac173e
POC do reconnect on disconnect, collab with @freesig
maackle File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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,6 @@ | ||
use std::path::PathBuf; | ||
// use crate::cli::sim2h_client::Sim2hClient; | ||
|
||
pub fn walkman(_cassette: PathBuf) { | ||
println!("run walkman"); | ||
} |
This file contains hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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,13 @@ | ||
#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)] | ||
pub struct DebugData { | ||
pub limbo: DebugLimboData, | ||
pub msg_queue_size: usize, | ||
pub wss_queue_size: usize, | ||
} | ||
|
||
#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)] | ||
pub struct DebugLimboData { | ||
pub total_connections: usize, | ||
pub total_messages: usize, | ||
pub max_messages: usize, | ||
} |
This file contains hidden or 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 hidden or 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.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm not sure why this section is moved or if that's what we want @maackle ?