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

feat(jstzd): launch jstzd server with cli #685

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

huancheng-trili
Copy link
Collaborator

@huancheng-trili huancheng-trili commented Nov 22, 2024

Context

Completes JSTZ-168.

JSTZ-168

Description

Spins up jstzd server on jstzd run <config_path>. It makes things easier if we wait a bit for jstzd before spinning up jstzd server, so I made some changes to that part.

Threading is necessary in the tests because assert_cmd unfortunately does not handle async yet.

Manually testing the PR

  • Integration test: updated existing test cases

Copy link

codecov bot commented Nov 22, 2024

Codecov Report

Attention: Patch coverage is 60.86957% with 9 lines in your changes missing coverage. Please review.

Project coverage is 47.89%. Comparing base (e245e13) to head (4fd53ec).

Files with missing lines Patch % Lines
crates/jstzd/src/lib.rs 53.84% 3 Missing and 3 partials ⚠️
crates/jstzd/src/task/jstzd.rs 70.00% 2 Missing and 1 partial ⚠️
Files with missing lines Coverage Δ
crates/jstzd/src/task/jstzd.rs 74.80% <70.00%> (-1.12%) ⬇️
crates/jstzd/src/lib.rs 66.66% <53.84%> (-25.00%) ⬇️

... and 7 files with indirect coverage changes


Continue to review full report in Codecov by Sentry.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update e245e13...4fd53ec. Read the comment docs.

@huancheng-trili huancheng-trili changed the base branch from huanchengchang-jstz-168-7 to huanchengchang-jstz-168-8 November 25, 2024 10:10
@huancheng-trili huancheng-trili force-pushed the huanchengchang-jstz-168 branch 3 times, most recently from 9b750d2 to 3634975 Compare November 25, 2024 15:39
@huancheng-trili huancheng-trili changed the title feat(jstzd): implement jstzd cli feat(jstzd): launch jstzd server with cli Nov 25, 2024
@huancheng-trili huancheng-trili force-pushed the huanchengchang-jstz-168-8 branch 2 times, most recently from 3a00b63 to b79b8e9 Compare November 25, 2024 15:46
@huancheng-trili huancheng-trili changed the base branch from huanchengchang-jstz-168-8 to huanchengchang-jstz-168-9 November 25, 2024 15:50
@huancheng-trili huancheng-trili force-pushed the huanchengchang-jstz-168 branch 3 times, most recently from c259d03 to 797bb89 Compare November 26, 2024 15:20
@huancheng-trili huancheng-trili force-pushed the huanchengchang-jstz-168 branch 3 times, most recently from 620f38f to afc6f81 Compare November 28, 2024 10:36
@huancheng-trili huancheng-trili marked this pull request as ready for review November 28, 2024 11:47
.is_success());
handle
.join()
.expect("jstzd should have been taken down without any error");
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

add a TODO for checking the rollup / jstz_node later?

Copy link
Collaborator

@ryutamago ryutamago left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🛳️

Copy link
Collaborator

@ryutamago ryutamago left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

Base automatically changed from huanchengchang-jstz-168-9 to main December 2, 2024 17:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants