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

Dev infrastructure #71

Merged
merged 4 commits into from
Nov 19, 2024
Merged

Dev infrastructure #71

merged 4 commits into from
Nov 19, 2024

Conversation

fjarri
Copy link
Member

@fjarri fjarri commented Nov 15, 2024

Stacked on top of #68

  • Added ExecutionResult and run_sync_with_tracing(), to remove some boilerplate from tests
  • Renamed testing module and feature to dev to avoid confusion with test

@fjarri fjarri self-assigned this Nov 15, 2024
@fjarri fjarri requested a review from dvdplm November 15, 2024 22:21
@coveralls
Copy link

coveralls commented Nov 15, 2024

Pull Request Test Coverage Report for Build 11903713816

Details

  • 31 of 72 (43.06%) changed or added relevant lines in 2 files are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage decreased (-0.8%) to 68.6%

Changes Missing Coverage Covered Lines Changed/Added Lines %
manul/src/dev/run_sync.rs 31 35 88.57%
manul/src/session/transcript.rs 0 37 0.0%
Totals Coverage Status
Change from base Build 11903674817: -0.8%
Covered Lines: 1798
Relevant Lines: 2621

💛 - Coveralls

@fjarri fjarri mentioned this pull request Nov 15, 2024
/// Same as [`run_sync()`], but enables a [`tracing`] subscriber that prints the tracing events to stdout,
/// taking options from the environment variable `RUST_LOG` (see [`mod@tracing_subscriber::fmt`] for details).
#[allow(clippy::type_complexity)]
pub fn run_sync_with_tracing<EP, SP>(
Copy link
Contributor

Choose a reason for hiding this comment

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

What is the point of actually providing two flavours of this? Like, why can't we have only run_sync (and make it use tracing)?

Copy link
Member Author

Choose a reason for hiding this comment

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

The basic run_sync is used for benchmarks. With test-log I guess we don't need to provide a special function anymore.

@fjarri fjarri mentioned this pull request Nov 18, 2024
@fjarri fjarri force-pushed the dev-infrastructure branch from 048f007 to 59aec37 Compare November 19, 2024 00:26
@fjarri fjarri merged commit 963d36e into entropyxyz:master Nov 19, 2024
8 checks passed
@fjarri fjarri deleted the dev-infrastructure branch November 19, 2024 00:33
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.

3 participants