Skip to content
This repository has been archived by the owner on Oct 31, 2024. It is now read-only.

chore: run tce only if there is tce config #379

Closed
wants to merge 1 commit into from

Conversation

atanmarko
Copy link
Member

Description

Check of existence of tce component configuration before running tce process.

PR Checklist:

  • I have performed a self-review of my code
  • I have commented my code, particularly in hard-to-understand areas
  • I have made corresponding changes to the documentation
  • I have added or updated tests that comprehensively prove my change is effective or that my feature works

@atanmarko atanmarko self-assigned this Nov 20, 2023
@atanmarko atanmarko requested a review from a team as a code owner November 20, 2023 15:43
Copy link

codecov bot commented Nov 20, 2023

Codecov Report

Attention: 9 lines in your changes are missing coverage. Please review.

Comparison is base (c70bfad) 62.60% compared to head (0c50da9) 62.61%.
Report is 2 commits behind head on main.

Files Patch % Lines
crates/topos/src/components/node/mod.rs 0.00% 9 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main     #379      +/-   ##
==========================================
+ Coverage   62.60%   62.61%   +0.01%     
==========================================
  Files         218      218              
  Lines       11874    11878       +4     
==========================================
+ Hits         7434     7438       +4     
  Misses       4440     4440              

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

genesis,
(shutdown_token.clone(), shutdown_sender.clone()),
));
if let Some(tce_config) = config.tce {
Copy link
Contributor

Choose a reason for hiding this comment

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

We can remove the unwrap and fail more gracefully, but we still need to fail.

@atanmarko
Copy link
Member Author

Cancelled per discussion

@atanmarko atanmarko closed this Nov 20, 2023
@atanmarko atanmarko deleted the chore/tce-config-check branch January 5, 2024 10:17
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants