Skip to content

Conversation

@mounikapalem
Copy link

No description provided.

@github-actions
Copy link

github-actions bot commented Jan 6, 2026

All contributors have signed the CLA ✍️ ✅
Posted by the CLA Assistant Lite bot.

@rdkcmf-jenkins
Copy link
Contributor

b'## Copyright scan failure
Commit: bb59c00
Report detail: https://gist.github.com/rdkcmf-jenkins/831eb0592ec2043a4d42896af41039e2'

@mounikapalem
Copy link
Author

I have read the CLA Document and I hereby sign the CLA

Copy link
Contributor

@madanagopalt madanagopalt left a comment

Choose a reason for hiding this comment

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

kindly look at comments

Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This pull request adds support for inspecting multiple web applications running in containers simultaneously. The implementation introduces a WebInspector gateway that sets up port forwarding from host ports (2000-2100) to the WebInspector port (22222) inside containers, enabling external debugging tools to connect to containerized web applications.

Changes:

  • Added WebInspector attachment/detachment logic in container lifecycle event handlers
  • Introduced new Gateway module with networking and iptables utilities for port forwarding
  • Enhanced RuntimeManager with debug port management and container IP address resolution

Reviewed changes

Copilot reviewed 16 out of 16 changed files in this pull request and generated 17 comments.

Show a summary per file
File Description
RuntimeManager/RuntimeManagerImplementation.h Added forward declaration for WebInspector and member variables for tracking WebInspector instances and port availability
RuntimeManager/RuntimeManagerImplementation.cpp Implemented WebInspector attachment on container start and cleanup on container stop
RuntimeManager/Gateway/WebInspector.h Defined WebInspector class for managing debugging connections
RuntimeManager/Gateway/WebInspector.cpp Implemented WebInspector with iptables port forwarding rules
RuntimeManager/Gateway/NetFilter.h Defined NetFilter wrapper class for iptables operations
RuntimeManager/Gateway/NetFilter.cpp Implemented NetFilter with locking and C++ wrapper functions
RuntimeManager/Gateway/NetFilterUtils.h C API header for low-level iptables operations
RuntimeManager/Gateway/NetFilterUtils.c Low-level C implementation of iptables rule management
RuntimeManager/Gateway/NetFilterLock.h File-based locking mechanism for iptables operations
RuntimeManager/Gateway/NetFilterLock.cpp Implementation of NetFilterLock using flock
RuntimeManager/Gateway/Debugger.h Base class for debugger attachments
RuntimeManager/Gateway/ContainerUtils.h Utility functions for container operations
RuntimeManager/Gateway/ContainerUtils.cpp Implementation for entering container namespaces and retrieving IP addresses
RuntimeManager/Gateway/CMakeLists.txt Build configuration for Gateway library
RuntimeManager/CMakeLists.txt Updated to build Gateway module and link iptables libraries
.github/workflows/L1-tests.yml Added required iptables development packages for CI

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Copilot AI review requested due to automatic review settings January 13, 2026 10:37
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Copilot reviewed 16 out of 16 changed files in this pull request and generated 16 comments.


💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Copilot AI review requested due to automatic review settings January 17, 2026 15:26
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Copilot reviewed 16 out of 16 changed files in this pull request and generated 17 comments.


💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Copy link
Contributor

Copilot AI commented Jan 19, 2026

@mounikapalem I've opened a new pull request, #43, to work on those changes. Once the pull request is ready, I'll request review from you.

Copilot AI review requested due to automatic review settings January 19, 2026 01:02
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Copilot reviewed 16 out of 16 changed files in this pull request and generated 14 comments.


💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Copilot AI review requested due to automatic review settings January 19, 2026 03:47
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Copilot reviewed 16 out of 16 changed files in this pull request and generated 8 comments.


💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Copilot AI review requested due to automatic review settings January 19, 2026 09:10
separate_arguments(RUNTIME_MANAGER_INCLUDES)
include_directories(BEFORE ${RUNTIME_MANAGER_INCLUDES})

find_path(LIBIPTC_INCLUDE_DIR NAMES libiptc/libiptc.h)
Copy link
Contributor

Choose a reason for hiding this comment

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

Can everylines of this can go inside DEBUG check?

Copy link
Author

Choose a reason for hiding this comment

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

Addressed

endif()

# IPv4 tables
find_package_handle_standard_args(LIBIP4TC
Copy link
Contributor

Choose a reason for hiding this comment

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

Can everylines of this can go inside DEBUG check?

Copy link
Author

Choose a reason for hiding this comment

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

Addressed

set(LIBIPTC_LIBRARIES ${LIBIPTC_LIBRARY})
endif()

if(LIBIPTC_FOUND AND NOT TARGET LibIptc::LibIptc)
Copy link
Contributor

Choose a reason for hiding this comment

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

Can everylines of this can go inside DEBUG check?

Copy link
Author

Choose a reason for hiding this comment

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

Addressed


mark_as_advanced(LIBIPTC_LIBRARY LIBIPTC_INCLUDE_DIR)

if(LIBIPTC_FOUND)
Copy link
Contributor

Choose a reason for hiding this comment

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

Can everylines of this can go inside DEBUG check?

Copy link
Author

Choose a reason for hiding this comment

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

Addressed

Copy link
Contributor

@madanagopalt madanagopalt left a comment

Choose a reason for hiding this comment

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

kindly update cmake file

mounikapalem and others added 18 commits January 28, 2026 12:23
    Reason for change: Updated WebInspector to support inspection across multiple web applications.
    Risks: low
    Priority: P2
Refactor NetFilter.cpp to enhance logging and add regex matching for comment removal.
Reason for change: Addressed the review comments.
Risks: low
Priority: P2
    Reason for change: Addressed the review comments.
    Risks: low
    Priority: P2
    Reason for change: Addressed the review comments.
    Risks: low
    Priority: P2
    Reason for change: Addressed the review comments.
    Risks: low
    Priority: P2
    Reason for change: Addressed the review comments.
    Risks: low
    Priority: P2
    Reason for change: Addressed the review comments.
    Risks: low
    Priority: P2
    Reason for change: Addressed the review comments.
    Risks: low
    Priority: P2
Co-authored-by: Copilot <[email protected]>
    Reason for change: Updated the cmake file.
    Risks: low
    Priority: P2
Copilot AI review requested due to automatic review settings January 28, 2026 07:34
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Copilot reviewed 16 out of 16 changed files in this pull request and generated 10 comments.


💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants