celestiaorg / orchestrator-relayer

Go implementation of the Blobstream orchestrator and relayer
Apache License 2.0
29 stars 17 forks source link

chore: log the version when starting orchestrator and relayer #630

Closed rach-id closed 11 months ago

rach-id commented 11 months ago

Overview

Checklist

Summary by CodeRabbit

coderabbitai[bot] commented 11 months ago

Walkthrough

The recent updates to the codebase involve enhancing the initialization process of both the orchestrator and relayer components by incorporating build information logging. This is achieved by importing a new version package and invoking its GetBuildInfo() function, which gathers and logs build details to assist in tracking the version and build state of the applications upon startup.

Changes

File Path Change Summary
cmd/.../orchestrator/cmd.go Imported version package and added build info logging on initialization.
cmd/.../relayer/cmd.go Imported version package and added build info logging on initialization.

🐇✨ To log a version, so clear and bright, A rabbit hopped through code, with light. With each GetBuildInfo() call, The build's tale was told to all. 🌟

(\__/) ||
(•ㅅ•) ||
/   づ

Tips ### Chat with CodeRabbit Bot (`@coderabbitai`) - If you reply to a *review comment* from CodeRabbit, the bot will automatically respond. - To engage with CodeRabbit bot directly around the specific lines of code in the PR, mention @coderabbitai in your review comment - Note: Review comments are made on code diffs or files, not on the PR overview. - Add `@coderabbitai ignore` anywhere in the PR description to prevent this PR from being reviewed. ### CodeRabbit Commands (invoked as PR comments) - `@coderabbitai pause` to pause the reviews on a PR. - `@coderabbitai resume` to resume the paused reviews. - `@coderabbitai review` to trigger a review. This is useful when automatic reviews are disabled for the repository. - `@coderabbitai resolve` resolve all the CodeRabbit review comments. - `@coderabbitai help` to get help. Note: For conversation with the bot, please use the review comments on code diffs or files. ### CodeRabbit Configration File (`.coderabbit.yaml`) - You can programmatically configure CodeRabbit by adding a `.coderabbit.yaml` file to the root of your repository. - The JSON schema for the configuration file is available [here](https://coderabbit.ai/integrations/coderabbit-overrides.v2.json). - If your editor has YAML language server enabled, you can add the path at the top of this file to enable auto-completion and validation: `# yaml-language-server: $schema=https://coderabbit.ai/integrations/coderabbit-overrides.v2.json`
codecov-commenter commented 11 months ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Comparison is base (071cba2) 0.00% compared to head (4f8078f) 25.91%.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #630 +/- ## ========================================= + Coverage 0 25.91% +25.91% ========================================= Files 0 29 +29 Lines 0 3044 +3044 ========================================= + Hits 0 789 +789 - Misses 0 2160 +2160 - Partials 0 95 +95 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.