Skip to content

Draft: Fix file object equality comparison for ci config include

What does this MR do and why?

Fix file object equality comparison for ci config include

The base class defined eql? and hash for equality comparison, but did not define ==, so Array#include? was falling back to object identity comparison instead of semantic equality eql?. The fix add the alias method to ensure that == is eql, making Array ops work correctly.

It also adds recursion detection to prevent processing in the same file twice

MR acceptance checklist

Evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.

Edited by Laura Montemayor

Merge request reports

Loading