Skip to content

RDKEMW-8844: Analyse and Improve L1 coverage#79

Merged
vjain008 merged 5 commits into
developfrom
topic/RDKEMW-8844
Dec 10, 2025
Merged

RDKEMW-8844: Analyse and Improve L1 coverage#79
vjain008 merged 5 commits into
developfrom
topic/RDKEMW-8844

Conversation

@trupthi1403
Copy link
Copy Markdown
Contributor

Reason for change: Changes done to compile newly added test cases
Test Procedure: Able to build and run test cases in CI
Risks: low
Priority: P2

@trupthi1403 trupthi1403 requested a review from a team as a code owner October 31, 2025 09:19
@madanagopalt madanagopalt requested a review from Copilot November 3, 2025 13:17
Copy link
Copy Markdown
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 refactors code organization by moving inline class and struct definitions from .cpp files to header files, improves thread safety in console mode operations, and adds conditional key mappings for unit tests.

  • Moved TimeoutQueue, TimeoutInfo, TimeoutInfoComparator, and rtHttpRequestEx class/struct definitions from implementation to header files for better code organization
  • Enhanced thread safety in console mode by using managed threads and shutdown flags to prevent race conditions and ensure proper cleanup
  • Added conditional compilation support for additional Wayland key mappings when building for unit tests

Reviewed Changes

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

Show a summary per file
File Description
src/jsc/JavaScriptUtils.cpp Moved inline class/struct definitions to header; methods now reference classes from header
include/jsc/JavaScriptUtils.h Added declarations for TimeoutQueue, TimeoutInfo, TimeoutInfoComparator, and rtHttpRequestEx
src/NativeJSRenderer.cpp Replaced detached thread with managed thread; added shutdown flag and proper thread cleanup
include/NativeJSRenderer.h Added thread member, shutdown flag, and static consoleLoop variable
src/linux/KeyInput.cpp Added conditional key mappings for unit test builds
include/jsc/JavaScriptContext.h Made setPlaybackStartTime virtual
include/EssosInstance.h Whitespace/formatting changes
.github/workflows/jsruntime_L1tests.yml Updated test reference branch

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

Comment thread src/NativeJSRenderer.cpp
Comment thread src/NativeJSRenderer.cpp Outdated
Comment thread src/NativeJSRenderer.cpp
Comment thread src/NativeJSRenderer.cpp Outdated
Comment thread include/NativeJSRenderer.h Outdated
@trupthi1403 trupthi1403 force-pushed the topic/RDKEMW-8844 branch 3 times, most recently from 750f0a1 to ea530cb Compare November 4, 2025 09:42
    Reason for change: Changes done to compile newly added test cases
    Test Procedure: Able to build and run test cases in CI
    Risks: low
    Priority: P2
Copy link
Copy Markdown
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 6 out of 7 changed files in this pull request and generated 6 comments.


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

Comment thread src/NativeJSRenderer.cpp
Comment thread include/EssosInstance.h Outdated
Comment thread include/NativeJSRenderer.h Outdated
Comment thread include/NativeJSRenderer.h Outdated
Comment thread src/NativeJSRenderer.cpp
Comment thread src/linux/KeyInput.cpp Outdated
vjain008 and others added 4 commits December 10, 2025 07:32
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
@vjain008 vjain008 merged commit a8b999f into develop Dec 10, 2025
8 checks passed
@github-actions github-actions Bot locked and limited conversation to collaborators Dec 10, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants