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

conduit: Add Conduit startup banner and fix default log level. #1372

Merged
merged 5 commits into from
Dec 12, 2022

Conversation

winder
Copy link
Contributor

@winder winder commented Dec 8, 2022

Summary

Add a startup banner to Conduit. It prints to stdout and indicates that we're currently in a pre-release mode.

Optional configuration value to disable the banner. Indexer's automatically configured conduit disables the banner because that configuration has been tested much more thoroughly than other configurations.

Also fix the log-level setting.

Test Plan

New unit test.

@codecov
Copy link

codecov bot commented Dec 8, 2022

Codecov Report

❗ No coverage uploaded for pull request base (develop@66f035d). Click here to learn what that means.
The diff coverage is 80.00%.

@@            Coverage Diff             @@
##             develop    #1372   +/-   ##
==========================================
  Coverage           ?   63.28%           
==========================================
  Files              ?       76           
  Lines              ?    10495           
  Branches           ?        0           
==========================================
  Hits               ?     6642           
  Misses             ?     3292           
  Partials           ?      561           
Impacted Files Coverage Δ
loggers/loggers.go 91.17% <72.72%> (ø)
conduit/pipeline/pipeline.go 63.32% <100.00%> (ø)

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

@winder winder changed the title Add Conduit startup banner and fix default log level. conduit: Add Conduit startup banner and fix default log level. Dec 8, 2022
@winder winder self-assigned this Dec 8, 2022
@winder winder added the Enhancement New feature or request label Dec 9, 2022
Copy link
Contributor

@shiqizng shiqizng left a comment

Choose a reason for hiding this comment

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

since the banner is default to hidden, the release will also have a pre-release tag, right?

@winder
Copy link
Contributor Author

winder commented Dec 12, 2022

@shiqizng yes. It should only defaults to hidden when running via Indexer, I was it would be OK because that configuration has had much more testing.

@winder winder merged commit 5d2b49b into algorand:develop Dec 12, 2022
@winder winder deleted the will/prerelease-banner branch December 12, 2022 17:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants