Skip to content

Ruby erlang fix#58

Merged
sandhi18 merged 7 commits intomainfrom
ruby-erlang-fix
May 6, 2026
Merged

Ruby erlang fix#58
sandhi18 merged 7 commits intomainfrom
ruby-erlang-fix

Conversation

@shanmugapriya-tr
Copy link
Copy Markdown
Collaborator

@shanmugapriya-tr shanmugapriya-tr commented May 5, 2026

Description

This PR implements and validates generic BlackDuck SCA and Polaris SAST scan logic for repositories containing Ruby, Erlang, or both. Key changes:

  • Makes scan logic generic (no longer chef-server specific).
  • Introduces dynamic search depth for BlackDuck to support nested Gemfile/rebar.config.
  • Adds robust dependency resolution for Ruby (Bundler) and Erlang (rebar3/HEX).
  • Ensures correct scan coverage for pure Ruby, pure Erlang, and mixed-language repos.
  • Reverts all test-only changes (e.g., pull_request triggers, branch pinning, temporary gating) to restore production workflow gating.
Validation was performed on chef-server, a Ruby-only repo, and an Erlang-only repo. All scan results are as expected, with no regressions.

Related Issue

Addresses issues with SCA scan skipping for Ruby-Erlang repos and ensures generic, robust scan logic for all supported languages.

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • Chore (non-breaking change that does not add functionality or fix an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)

Checklist:

  • I have read the CONTRIBUTING document.
  • I have run the pre-merge tests locally and they pass.
  • I have updated the documentation accordingly.
  • I have added tests to cover my changes.
  • If Gemfile.lock has changed, I have used --conservative to do it and included the full output in the Description above.
  • All new and existing tests passed.
  • All commits have been signed-off for the Developer Certificate of Origin.

@shanmugapriya-tr shanmugapriya-tr marked this pull request as ready for review May 6, 2026 05:09
@shanmugapriya-tr shanmugapriya-tr changed the title Ruby erlang fix[WIP] Ruby erlang fix May 6, 2026
Signed-off-by: shanmugapriya-tr <shanmugapriya.tiruchengoderamanathan@progress.com>
@sandhi18 sandhi18 merged commit 60aba91 into main May 6, 2026
5 checks passed
@sandhi18 sandhi18 deleted the ruby-erlang-fix branch May 6, 2026 06:26
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.

2 participants