Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(client): Serialize properly escape characters #4335

Merged
merged 1 commit into from
Jan 15, 2025

Conversation

pkoprda
Copy link
Contributor

@pkoprda pkoprda commented Jan 14, 2025

All Pull Requests:

Check all that apply:

  • Have you followed the guidelines in our Contributing document, including the instructions about commit messages?
  • No Sensitive Data in this change?
  • Is this PR to correct an issue?
  • Is this PR an enhancement?

Complete Description of Additions/Changes:

  • Card ID: CCT-1065

Backslashes in regex patterns were not properly escaped, causing inconsistencies between Fedora 40 and CentOS Stream 9 environments. This commit ensures that all escape characters are properly serialized.

This pull request is a backport from insights-ansible-playbook-verifier#27

@codecov-commenter
Copy link

codecov-commenter commented Jan 14, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 77.03%. Comparing base (c530404) to head (b25cc3f).

Additional details and impacted files
@@           Coverage Diff           @@
##           master    #4335   +/-   ##
=======================================
  Coverage   77.03%   77.03%           
=======================================
  Files         736      736           
  Lines       41369    41374    +5     
  Branches     8789     8790    +1     
=======================================
+ Hits        31869    31874    +5     
  Misses       8438     8438           
  Partials     1062     1062           
Flag Coverage Δ
unittests 77.02% <100.00%> (+<0.01%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@xiangce xiangce added the client These issues represent work to be done by the "client" team. label Jan 15, 2025
Copy link
Contributor

@m-horky m-horky left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't think the two Jenkins failures are caused by this PR. @xiangce I believe this is ready for merge.

* Card ID: CCT-1065

Backslashes in regex patterns were not properly escaped, causing
inconsistencies between Fedora 40 and CentOS Stream 9 environments. This
commit ensures that all escape characters are properly serialized.

Signed-off-by: pkoprda <[email protected]>
@xiangce
Copy link
Contributor

xiangce commented Jan 15, 2025

I don't think the two Jenkins failures are caused by this PR. @xiangce I believe this is ready for merge.

@m-horky, Yes you are right. These Jenkins are still WIP, @zhangqianqian is working on it. Let's ignore them for now. Sorry for the inconvenience. I'm going to merge the PR.

@xiangce xiangce merged commit f8451aa into RedHatInsights:master Jan 15, 2025
12 of 14 checks passed
@pkoprda pkoprda deleted the cct-1065 branch January 15, 2025 11:57
xiangce pushed a commit that referenced this pull request Jan 16, 2025
* Card ID: CCT-1065

Backslashes in regex patterns were not properly escaped, causing
inconsistencies between Fedora 40 and CentOS Stream 9 environments. This
commit ensures that all escape characters are properly serialized.

Signed-off-by: pkoprda <[email protected]>
(cherry picked from commit f8451aa)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
client These issues represent work to be done by the "client" team.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants