Conversation
Run scripts/format.sh to format repository sources according to .clang-format so that the automated format check introduced in RomanSnitko#24 passes on main.
There was a problem hiding this comment.
🟢 Approval recommended
The changes are formatting-only and no unresolved review issues were identified.
Pull request overview
Applies .clang-format across C++ sources to resolve the CI formatting check.
Changes:
- Reformats expressions, calls, and conditions.
- Normalizes empty aggregate initialization syntax.
- Updates the listed test, server, and client sources.
File summaries
| File | Description |
|---|---|
tests/core/test_core.cpp |
Reformats a long test input expression. |
server/src/transport/reactor.cpp |
Formats rusage initialization. |
server/src/system/linux_source.cpp |
Formats stat initialization. |
server/src/collectors/metrics_collector.cpp |
Formats statvfs initialization. |
server/src/collectors/linux_samples.cpp |
Reformats conditional expressions. |
client/src/app/client_app.cpp |
Formats signal-handler initialization. |
Review details
- Files reviewed: 6/6 changed files
- Comments generated: 0
- Review effort level: Lite
💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Runs
scripts/format.shto format repository sources according to.clang-format.This fixes the currently failing
Code formatting checkonmainthat was introduced in #24.