Skip to content

Code review fix - #5

Closed
sunilnom wants to merge 27 commits into
mainfrom
code_review_fix
Closed

Code review fix#5
sunilnom wants to merge 27 commits into
mainfrom
code_review_fix

Conversation

@sunilnom

@sunilnom sunilnom commented May 8, 2026

Copy link
Copy Markdown
Contributor

Description

Checklist

Code Quality

  • Code follows project style guidelines
  • No unnecessary debug logs or commented-out code
  • No hardcoded values / secrets

Testing

  • Unit test added/modified accordingly
  • Perform manual basic sanity testing at system level

Review Readiness

  • PR title and description are clear and meaningful
  • Story/Task IDs are linked

Documentation

  • README or relevant docs updated (if applicable)

Security

  • No sensitive data exposed (keys, passwords, tokens)
  • Input validation added where needed

PR Type

What kind of change does this PR introduce?

  • Bugfix
  • Feature
  • Code style update (formatting, local variables)
  • Refactoring (no functional changes, no api changes)
  • Documentation content changes
  • Testing
  • Other... Please describe:

dmkarthi and others added 27 commits May 5, 2026 13:55
…d MTL builds; remove install hints from environment-check
… daily_build; gate PR jobs on env-check and build
…#1 from OpenVisualCloud/rename-paths

Renamed the application from TxApp to dvledtx across all source files, headers, configs, build system, and docs. Added BSD-3-Clause headers to all files. Fixed innersource URLs to point to the public GitHub repo. Removed BOM from meson.build files that was causing build failures.

Refactored CI into five reusable composite actions: environment-check, build-dvledtx, smoke-tests, unit-tests, and static-analysis. Environment-check runs first and gates everything — it verifies APT packages, pip packages, system libraries, build dependencies via pkg-config, static analysis tools, and confirms FFmpeg is patched with the MTL plugin. Build action compiles two binaries (dvledtx-ffmpeg and dvledtx-mtl) and saves them outside the build directory so the clean step between builds does not wipe them. Smoke tests run -v on each binary to validate the version string and --help to confirm the binary runs. All four workflows (pull_request, daily_build, ci, trivy) now follow the same sequential structure with a single checkout, single cleanup, and all reports collected in one reports directory uploaded as a single artifact.
- session_manager.h: make frame_counter atomic for thread safety
- main.c: add --test-time CLI option for timed transmit runs
- config_reader.c: replace atoi with strtol, fix null-app check,
  handle PCI BDF regex compilation failure
- logger.c: guard level check with mutex, handle freopen failure
- test_config_reader.c: update null-app test to expect error return
@sunilnom
sunilnom requested a review from dmkarthi May 8, 2026 09:12
@sunilnom sunilnom closed this May 8, 2026
@sunilnom
sunilnom deleted the code_review_fix branch May 11, 2026 06:14
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.

3 participants