Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Lucy Local Framework extension #14648

Merged
merged 32 commits into from
Jan 11, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
32 commits
Select commit Hold shift + click to select a range
eddc593
Add .opam and dune files for local engine
MartinMinkov Jun 8, 2021
6fe2363
Add engine interfaces for local engine
MartinMinkov Jun 8, 2021
28f4e20
Add implementation for network_config and stubbed interfaces
MartinMinkov Jun 8, 2021
9ecf456
Implemented support for snark coordinator and workers
MartinMinkov Jun 11, 2021
2f89ef8
Add .opam and dune files for local engine
MartinMinkov Jun 8, 2021
bb3787b
Add engine interfaces for local engine
MartinMinkov Jun 8, 2021
bd88d17
Add implementation for network_config and stubbed interfaces
MartinMinkov Jun 8, 2021
5c45ec4
Implemented support for snark coordinator and workers
MartinMinkov Jun 11, 2021
0707643
Local Integration work refactor and feedback
MartinMinkov Jun 18, 2021
51bb3e9
Merge branch 'compatible' of github.com:MinaProtocol/mina into featur…
MartinMinkov Jun 18, 2021
9539e59
Merge branch 'feature/local-engine-network-config' of github.com:Mina…
MartinMinkov Jun 18, 2021
4249a7a
Added Archive node support to local test engine
MartinMinkov Jun 29, 2021
b86c34a
Cleaned up modules in mina_docker and node_config
MartinMinkov Jul 7, 2021
c6daae0
Added GraphQL networking to docker containers
MartinMinkov Jul 15, 2021
2570ec8
Merge branch 'compatible' into feature/local-engine-network-config
Nov 12, 2021
71cfc6d
Fix compilation
Nov 12, 2021
8613893
add local version for rebuild-deb script
Dec 21, 2021
b0ca83b
added local/buildkite modes to rebuild-deb.sh
Dec 28, 2021
875a7ff
Merge branch 'feature/local-engine-network-config' into feature/local…
MartinMinkov Nov 22, 2023
4c3cca3
catchup latest develop changes to local integration lib
MartinMinkov Nov 28, 2023
ee55b30
refactor graphql log engine to be functor and reuse with cloud and local
MartinMinkov Dec 23, 2023
d56b4a5
add a polling interval to graphql log functor
MartinMinkov Dec 23, 2023
8cf3062
rename Make_GraphQL_Polling_log_engine to Make_GraphQL_polling_log_en…
MartinMinkov Dec 23, 2023
4c2d451
refactor mina nodes to use a base config when generating docker defin…
MartinMinkov Dec 23, 2023
5a6716e
Add archive node entrypoint
MartinMinkov Dec 27, 2023
126f64d
Revert "added local/buildkite modes to rebuild-deb.sh"
MartinMinkov Jan 2, 2024
9d40215
Revert "add local version for rebuild-deb script"
MartinMinkov Jan 2, 2024
f7af3ce
refactor: rename 'interval' to 'start_filtered_logs_interval' in inte…
MartinMinkov Jan 2, 2024
821599a
Merge branch 'develop' into feature/local-engine-network-config-develop
MartinMinkov Jan 2, 2024
e7bb1e3
refactor(docker_network.ml): remove unused warning directive
MartinMinkov Jan 3, 2024
186fc0b
Merge branch 'develop' into feature/local-engine-network-config-develop
stevenplatt Jan 4, 2024
4fcdae6
Merge branch 'develop' into feature/local-engine-network-config-develop
dkijania Jan 11, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
124 changes: 63 additions & 61 deletions src/app/test_executive/dune
Original file line number Diff line number Diff line change
@@ -1,64 +1,66 @@
(executable
(name test_executive)
(libraries
;; opam libraries
async_kernel
async
core
uri
yojson
core_kernel
cmdliner
base.base_internalhash_types
base.caml
async_unix
unsigned_extended
stdio
sexplib0
;; local libraries
mina_wire_types
with_hash
data_hash_lib
kimchi_backend
kimchi_backend.pasta
kimchi_backend.pasta.basic
pickles
pickles_types
random_oracle_input
genesis_constants
bash_colors
integration_test_lib
signature_lib
mina_signature_kind
mina_base
mina_stdlib
mina_transaction
file_system
currency
mina_runtime_config
secrets
integration_test_cloud_engine
mina_generators
logger
random_oracle
mina_numbers
transaction_snark
snark_params
pickles.backend
pipe_lib
mina_base.import
key_gen
integers
user_command_input
participating_state
graph_algorithms
visualization
sgn
zkapp_command_builder
network_pool
zkapps_examples
cache_dir
snarky.backendless
)
(instrumentation (backend bisect_ppx))
(preprocess (pps ppx_mina ppx_jane ppx_deriving_yojson ppx_mina ppx_version)))
;; opam libraries
async_kernel
async
core
uri
yojson
core_kernel
cmdliner
base.base_internalhash_types
base.caml
async_unix
unsigned_extended
stdio
sexplib0
;; local libraries
mina_wire_types
with_hash
data_hash_lib
kimchi_backend
kimchi_backend.pasta
kimchi_backend.pasta.basic
pickles
pickles_types
random_oracle_input
genesis_constants
bash_colors
integration_test_lib
signature_lib
mina_signature_kind
mina_base
mina_stdlib
mina_transaction
file_system
currency
mina_runtime_config
secrets
integration_test_cloud_engine
integration_test_local_engine
mina_generators
logger
random_oracle
mina_numbers
transaction_snark
snark_params
pickles.backend
pipe_lib
mina_base.import
key_gen
integers
user_command_input
participating_state
graph_algorithms
visualization
sgn
zkapp_command_builder
network_pool
zkapps_examples
cache_dir
snarky.backendless)
(instrumentation
(backend bisect_ppx))
(preprocess
(pps ppx_mina ppx_jane ppx_deriving_yojson ppx_mina ppx_version)))
4 changes: 3 additions & 1 deletion src/app/test_executive/test_executive.ml
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,9 @@ let validate_inputs ~logger inputs (test_config : Test_config.t) :
else Deferred.return ()

let engines : engine list =
[ ("cloud", (module Integration_test_cloud_engine : Intf.Engine.S)) ]
[ ("cloud", (module Integration_test_cloud_engine : Intf.Engine.S))
; ("local", (module Integration_test_local_engine : Intf.Engine.S))
]

let tests : test list =
[ ( "peers-reliability"
Expand Down
1 change: 1 addition & 0 deletions src/dune-project
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,7 @@
(package (name inline_test_quiet_logs))
(package (name integers_stubs_js))
(package (name integration_test_cloud_engine))
(package (name integration_test_local_engine))
(package (name integration_test_lib))
(package (name internal_tracing))
(package (name interpolator_lib))
Expand Down
123 changes: 67 additions & 56 deletions src/lib/integration_test_cloud_engine/dune
Original file line number Diff line number Diff line change
@@ -1,59 +1,70 @@
(library
(public_name integration_test_cloud_engine)
(name integration_test_cloud_engine)
(inline_tests (flags -verbose -show-counts))
(instrumentation (backend bisect_ppx))
(preprocessor_deps ../../graphql-ppx-config.inc ../../../graphql_schema.json)
(preprocess (pps
ppx_here
ppx_mina ppx_version ppx_let ppx_inline_test ppx_pipebang
ppx_custom_printf ppx_deriving_yojson lens.ppx_deriving
ppx_sexp_conv
graphql_ppx -- %{read-lines:../../graphql-ppx-config.inc}))
(libraries
;; opam libraries
async_unix
async_kernel
core_kernel
core
async
cmdliner
base
uri
sexplib0
stdio
result
base.caml
integers
re2
;; local libraries
key_gen
integration_test_lib
graphql_lib
mina_runtime_config
mina_base
genesis_constants
genesis_ledger_helper
logger
mina_base_import
signature_lib
currency
mina_version
timeout_lib
mina_numbers
mina_state
mina_stdlib
mina_transaction
file_system
pickles
pickles_types
backend
kimchi_pasta
kimchi_backend.pasta.basic
with_hash
data_hash_lib
generated_graphql_queries
mina_graphql
error_json
)
)
(inline_tests
(flags -verbose -show-counts))
(instrumentation
(backend bisect_ppx))
(preprocessor_deps
../../graphql-ppx-config.inc
../../../graphql_schema.json)
(preprocess
(pps
ppx_here
ppx_mina
ppx_version
ppx_let
ppx_inline_test
ppx_pipebang
ppx_custom_printf
ppx_deriving_yojson
lens.ppx_deriving
ppx_sexp_conv
graphql_ppx
--
%{read-lines:../../graphql-ppx-config.inc}))
(libraries
;; opam libraries
async_unix
async_kernel
core_kernel
core
async
cmdliner
base
uri
sexplib0
stdio
result
base.caml
integers
re2
;; local libraries
key_gen
integration_test_lib
graphql_lib
mina_runtime_config
mina_base
genesis_constants
genesis_ledger_helper
logger
mina_base_import
signature_lib
currency
mina_version
timeout_lib
mina_numbers
mina_state
mina_stdlib
mina_transaction
file_system
pickles
pickles_types
backend
kimchi_pasta
kimchi_backend.pasta.basic
with_hash
data_hash_lib
generated_graphql_queries
mina_graphql
error_json))
Loading