Impact
At least one user experienced issues while attempting to add exclusions on git roots in the platform. The issue started on UTC-5 23-11-03 11:28 and was reactively discovered 3.7 months (TTD) later by a client who reported through our help desk [1] that an on-screen error message There is an error :(
appeared when trying to exclude folders in a repository. The problem was resolved in 4.8 days (TTF), resulting in a total window of exposure of 3.9 months (WOE) [2].
Cause
An incorrect implementation of the file exclusion process led to the issue. Recent changes aimed at fixing another error involving the backslash character inadvertently caused the exclusion process to misinterpret file formats [3].
Solution
The validation process has been modified to ensure the information is formatted correctly. Specifically, we cleaned up the exclusions to ensure they are received in the correct regular expression format [4].
Conclusion
The absence of functional tests allowed this issue to reach production. To prevent similar incidents in the future, we plan to implement additional tests and validate the format using a more straightforward method to match Git’s behavior. Therefore, an issue was created to implement such tests [5]. INCOMPLETE_PERSPECTIVE < MISSING_TEST