Skip to content

Only use chr(30) and chr(31) delimiters in cirq-ionq#7699

Merged
mhucka merged 5 commits intoquantumlib:mainfrom
splch:no-ctrl-chars-in-json
Apr 3, 2026
Merged

Only use chr(30) and chr(31) delimiters in cirq-ionq#7699
mhucka merged 5 commits intoquantumlib:mainfrom
splch:no-ctrl-chars-in-json

Conversation

@splch
Copy link
Copy Markdown
Contributor

@splch splch commented Oct 10, 2025

  • update tests to remove\u* and \x*

relates to #5216

@github-actions github-actions Bot added the size: S 10< lines changed <50 label Oct 10, 2025
@splch splch closed this Oct 10, 2025
@splch splch force-pushed the no-ctrl-chars-in-json branch from f66d46b to e8e79bb Compare October 10, 2025 01:29
@github-actions github-actions Bot added Size: XS <10 lines changed and removed size: S 10< lines changed <50 labels Oct 10, 2025
@splch splch reopened this Oct 10, 2025
@github-actions github-actions Bot added size: S 10< lines changed <50 and removed Size: XS <10 lines changed labels Oct 10, 2025
@splch splch changed the title replace chr(30) and chr(31) delimiters with k and t only use chr(30) and chr(31) delimiters Oct 10, 2025
@codecov
Copy link
Copy Markdown

codecov Bot commented Oct 10, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 99.63%. Comparing base (5975e16) to head (07f635f).
⚠️ Report is 2 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #7699   +/-   ##
=======================================
  Coverage   99.63%   99.63%           
=======================================
  Files        1110     1110           
  Lines       99749    99749           
=======================================
+ Hits        99386    99387    +1     
+ Misses        363      362    -1     

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

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@mhucka
Copy link
Copy Markdown
Contributor

mhucka commented Oct 13, 2025

@splch Thank you for your work on this! When you get a chance, could you update the title of this PR to mention that this is for cirq-ionq, and also add a bit more explanation to the PR description? This will help future contributors and maintainers when reading and searching through past work.

@mhucka mhucka changed the title only use chr(30) and chr(31) delimiters Only use chr(30) and chr(31) delimiters in cirq-ionq Nov 23, 2025
@mhucka
Copy link
Copy Markdown
Contributor

mhucka commented Nov 23, 2025

@splch I'm not sure if this draft PR is still something planned. It looks like the associated issue was closed. Maybe this should be closed too? (No biggie either way; just going around and checking up on things.)

@github-actions
Copy link
Copy Markdown

This pull request has been automatically labeled as stale because 90 days have passed without comments or other activity. If no further activity occurs and the status/stale label is not removed by a maintainer within 60 days, this pull request will be closed. If you would like to restore its active status, please leave a comment here; doing so will cause the staleness handler to remove the label.

If you have questions or feedback about this process, we welcome your input. You can open a new issue to let us know (please also reference this issue there, for continuity), or reach out to the project maintainers at quantum-oss-maintainers@google.com.

@github-actions github-actions Bot added status/stale Closed due to inactivity for an extended period of time and removed status/stale Closed due to inactivity for an extended period of time labels Feb 22, 2026
@mhucka
Copy link
Copy Markdown
Contributor

mhucka commented Apr 2, 2026

@splch Gentle ping about the status of this PR …

splch added 2 commits April 3, 2026 08:54
Convert all hand-escaped JSON string literals in serializer_test.py
and service_test.py to use json.dumps() for consistency, and replace
the last \u001f escape with chr(31).
@splch splch marked this pull request as ready for review April 3, 2026 19:44
@splch splch requested review from a team, dabacon and vtomole as code owners April 3, 2026 19:44
@github-actions github-actions Bot added size: M 50< lines changed <250 and removed size: S 10< lines changed <50 labels Apr 3, 2026
@splch
Copy link
Copy Markdown
Contributor Author

splch commented Apr 3, 2026

@splch Gentle ping about the status of this PR …

thank you for the ping!! just pushed this over the finish line haha

Copy link
Copy Markdown
Contributor

@mhucka mhucka left a comment

Choose a reason for hiding this comment

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

LGTM. Thanks again for doing this!

@mhucka mhucka added this pull request to the merge queue Apr 3, 2026
Merged via the queue into quantumlib:main with commit 2941583 Apr 3, 2026
74 of 77 checks passed
jkalsi1 pushed a commit to jkalsi1/Cirq that referenced this pull request Apr 14, 2026
…7699)

- [x] update tests to remove`\u*` and `\x*`

relates to quantumlib#5216

---------

Co-authored-by: Michael Hucka <mhucka@caltech.edu>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

size: M 50< lines changed <250

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants