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

207 test tarball runner + tweak rpc client logging #242

Merged
merged 19 commits into from
Aug 2, 2023

Conversation

jberthold
Copy link
Member

@jberthold jberthold commented Jul 26, 2023

  • Tweaks to rpc-client:
    • use MonadLogger and a log-level option
    • cancel the request in flight if the user interrupts the program (by ^C or sending SIGINT)
  • unpack and use all rpc_* directories, with their respective path
  • Add a regression test for running a tarball.

Fixes #207

@jberthold jberthold marked this pull request as ready for review August 1, 2023 08:25
@@ -8,14 +8,18 @@
haskell-nix.follows = "haskell-backend/haskell-nix";
Copy link
Member Author

Choose a reason for hiding this comment

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

I noticed that we are testing with a 5.6 version of K here... but upgrading seems to cause issues with the index-state being too new so I left that for a follow-up.

@@ -16,7 +16,7 @@ let
export ${f}
'') buildFlags}
export SERVER=${kore-rpc-booster}/bin/kore-rpc-booster
export CLIENT=${rpc-client}/bin/rpc-client
export CLIENT="${rpc-client}/bin/rpc-client -l debug"
Copy link
Member Author

Choose a reason for hiding this comment

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

I ran with debug logging to analyse the M1 failure but it is flaky... passed on the 2nd run after truncating some output on the first run.
Hopefully this won't become a problem later if/when we merge this.

@jberthold jberthold merged commit 662476c into main Aug 2, 2023
6 checks passed
@jberthold jberthold deleted the 207-test-tarball-runner_+_tweak-rpc-client-logging branch August 2, 2023 00:46
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.

Ability to consume RPC bug report tarballs
2 participants