-
Notifications
You must be signed in to change notification settings - Fork 380
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
List major changes #2335
List major changes #2335
Conversation
* ACE/NEWS: * TAO/NEWS:
WalkthroughThe changes update both the ACE and TAO libraries. In ACE, the update deprecates the Changes
Sequence Diagram(s)sequenceDiagram
participant User
participant CLI_Parser
participant CosEventService
User->>CLI_Parser: Launch with CECShutdownWaitCompletion argument
CLI_Parser->>CosEventService: Parse and forward shutdown mode
CosEventService->>CosEventService: Initiate shutdown without waiting
CosEventService-->>User: Return shutdown confirmation
Poem
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media? 🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (Invoked using PR comments)
Other keywords and placeholders
CodeRabbit Configuration File (
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Actionable comments posted: 1
🧹 Nitpick comments (2)
ACE/NEWS (2)
8-9
: Typo in the changelog entry.There appears to be a typo in "pats" which should be "paths".
Apply this diff to fix the typo:
-. Add support for abstract pats to ACE_UNIX_ADDR +. Add support for abstract paths to ACE_UNIX_ADDR
12-13
: Minor logging fixes need more detail.The changelog entry about logging fixes lacks specificity. Consider expanding this entry to detail which logging classes were fixed and what issues were addressed.
📜 Review details
Configuration used: CodeRabbit UI
Review profile: CHILL
Plan: Pro
📒 Files selected for processing (2)
ACE/NEWS
(1 hunks)TAO/NEWS
(1 hunks)
⏰ Context from checks skipped due to timeout of 90000ms (21)
- GitHub Check: ubuntu-20.04 g++-10 ACE for TAO
- GitHub Check: ubuntu-22.04 clang++-14
- GitHub Check: ubuntu-20.04 clang++-12
- GitHub Check: ubuntu-20.04 clang++-11
- GitHub Check: ubuntu-20.04 clang++-10
- GitHub Check: VS2022Release64
- GitHub Check: VS2022Debug64
- GitHub Check: Codacy Static Code Analysis
- GitHub Check: VS2022WChar
- GitHub Check: VS2019Debug64Cxx20
- GitHub Check: VS2019Debug64Cxx17
- GitHub Check: VS2019Release32
- GitHub Check: VS2019Debug32
- GitHub Check: VS2019Release64
- GitHub Check: VS2019Debug64
- GitHub Check: windows-2019 vs2019
- GitHub Check: macos-14-C++
- GitHub Check: VS2019WChar
- GitHub Check: ubuntu-22.04 g++-12
- GitHub Check: MINGW64-gcc
- GitHub Check: macos-13-C++
🔇 Additional comments (6)
TAO/NEWS (3)
4-5
: LGTM! Clear documentation of the new command line argument.The addition of
CECShutdownWaitCompletion
to control shutdown behavior is well documented and provides useful flexibility for the CosEvent service.
9-10
: LGTM! Performance optimization for IP interface handling.The optimization to avoid querying all IP interfaces when no preferred interfaces are specified is a good performance improvement, especially for systems with many network interfaces.
7-7
:❓ Verification inconclusive
Verify the race condition fix impact.
While fixing the race condition in location forwards handling is important, it would be helpful to understand the potential impact on existing systems.
🏁 Script executed:
#!/bin/bash # Search for related tests and error handling code echo "Searching for location forward related tests..." rg -l "location.*forward" tests/ echo "Searching for race condition related error handling..." rg "race.*condition.*location" -A 5Length of output: 1188
Action: Confirm the impact of the race condition fix on client interfaces.
The current change in TAO/NEWS (line 7) is backed by historical references in TAO/ChangeLogs (e.g., ChangeLog-2006b) noting a race condition at a client location. However, our search did not locate dedicated tests (or a tests/ directory) directly validating this behavior. Please ensure that the updated mechanism for handling location forwards does not introduce any regressions or unexpected side effects in systems dependent on this functionality. Consider augmenting test coverage or performing additional validation where feasible.ACE/NEWS (3)
4-5
: Deprecation of ACE_Copy_Disabled is a good modernization step.The deprecation in favor of deleted copy/assignment is a positive change that aligns with modern C++ practices. This promotes better code clarity and compiler enforcement.
6-7
: Good replacement of custom macros with standard library functions.Replacing ACE_MIN/MAX with std::min/std::max improves code maintainability and reduces macro pollution. This change aligns with modern C++ best practices.
14-15
: Good modernization with C++11 defaults.Using C++11 defaults for more classes is a positive change that leverages modern C++ features for better code quality and maintainability.
. Improve support for 64bit file sizes | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
💡 Verification agent
🧩 Analysis chain
Verify the extent of 64-bit file size improvements.
The changelog entry about improved 64-bit file size support is vague. It would be helpful to verify which specific file operations now support 64-bit sizes.
🏁 Script executed:
#!/bin/bash
# Search for file size related changes
rg -A 5 "ACE_(UINT|INT)64.*file"
rg -A 5 "fseek|ftell|lseek|off_t"
Length of output: 58783
Action Required: Clarify Specific 64-Bit File Operation Enhancements
The NEWS entry remains quite terse. Based on our investigation, several file operations (such as lseek/llseek wrappers, ftell, and related offset management routines using types like ACE_OFF_T) have been updated for 64‑bit support. However, the changelog and accompanying documentation do not clearly enumerate which functions are affected.
- Please specify in the NEWS entry which file operations have been enhanced (for example, ACE_OS::lseek, ACE_OS::ftell, and any custom wrappers) so that users and maintainers know the full scope of 64‑bit file size support.
- Update the changelog to detail these modifications where applicable.
* ACE/NEWS:
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Actionable comments posted: 1
📜 Review details
Configuration used: CodeRabbit UI
Review profile: CHILL
Plan: Pro
📒 Files selected for processing (1)
ACE/NEWS
(1 hunks)
⏰ Context from checks skipped due to timeout of 90000ms (20)
- GitHub Check: ubuntu-20.04 g++-10 CodeQL
- GitHub Check: ubuntu-20.04 g++-10 ACE for TAO
- GitHub Check: ubuntu-20.04 g++-10 CORBA/e compact
- GitHub Check: ubuntu-20.04 g++-10 CORBA/e micro
- GitHub Check: ubuntu-22.04 clang++-16
- GitHub Check: ubuntu-22.04 clang++-15
- GitHub Check: ubuntu-22.04 clang++-14
- GitHub Check: ubuntu-20.04 clang++-13
- GitHub Check: ubuntu-20.04 clang++-12
- GitHub Check: ubuntu-20.04 clang++-10
- GitHub Check: ubuntu-20.04 clang++-8
- GitHub Check: ubuntu-20.04 clang++-7
- GitHub Check: ubuntu-20.04 clang++-6.0
- GitHub Check: ubuntu-22.04 g++-12
- GitHub Check: ubuntu-22.04 g++-11
- GitHub Check: ubuntu-20.04 g++-10
- GitHub Check: windows-2019 vs2019
- GitHub Check: ubuntu-22.04 g++-12
- GitHub Check: ubuntu-20.04 g++-10
- GitHub Check: alpine-3.18
🔇 Additional comments (5)
ACE/NEWS (5)
4-4
: LGTM: Moving towards modern C++ practices.The deprecation of
ACE_Copy_Disabled
in favor of deleted copy/assignment is a good modernization step that aligns with C++11's= delete
feature.
6-6
: LGTM: Adopting standard library features.Replacing custom
ACE_MIN
/ACE_MAX
macros withstd::min
/std::max
improves maintainability and reduces potential macro-related issues.
8-8
: LGTM: Enhanced Unix domain socket support.Adding abstract paths support to
ACE_UNIX_ADDR
improves Unix domain socket functionality.
10-10
: Verify the extent of 64-bit file size improvements.The changelog entry about improved 64-bit file size support is vague. Let's verify which specific file operations now support 64-bit sizes.
14-14
: LGTM: Increased C++11 adoption.Using C++11 defaults for more classes indicates continued modernization of the codebase.
|
||
. Improve support for 64bit file sizes | ||
|
||
. Minor fixes to ACE logging classes |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
💡 Verification agent
🧩 Analysis chain
Verify the nature of logging fixes.
The entry "Minor fixes to ACE logging classes" lacks specificity. Let's check what logging issues were addressed.
🏁 Script executed:
#!/bin/bash
# Search for logging-related changes
rg -A 5 "ACE_Log|logging"
Length of output: 124154
Clarify logging fixes in the commit message
The NEWS entry "Minor fixes to ACE logging classes" is too generic. The logging-related search output spans many historical changes, and it isn’t clear which specific issues this commit addresses. Please update the commit message or extend the NEWS entry to briefly summarize which logging concerns were fixed (for example, improvements in error handling, formatting adjustments, or thread-safety enhancements). This added detail will help maintainers understand the scope and impact of these changes.
Summary by CodeRabbit