Repository navigation
[MOD-19006] QN_TAG: improve tests and c wrapper API - #11601
Conversation
… byte #11202 fixed the unicode_tolower() bug so we can now test this.
Define BAD_POINTER in terms of an integer BAD_POINTER_ADDR macro and bind it, so Rust callers can recognize the sentinel some C helpers return.
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: f75d001c5b
ℹ️ About Codex in GitHub
Codex has been enabled to automatically review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
When you sign up for Codex through ChatGPT, Codex can also answer questions or update the PR, like "@codex address that feedback".
Add QueryRequestTimeoutHandle::clock_deadline, which reports the deadline of a clock-driven timeout cycle and None for any other source.
8caf42a to
a277f76
Compare
Codecov Report✅ All modified and coverable lines are covered by tests. Please upload reports for the commit 7647ff9 to get more accurate results. Additional details and impacted files@@ Coverage Diff @@
## master #11601 +/- ##
==========================================
- Coverage 84.26% 83.54% -0.72%
==========================================
Files 640 665 +25
Lines 85418 86526 +1108
Branches 39255 40363 +1108
==========================================
+ Hits 71975 72292 +317
- Misses 13077 13860 +783
- Partials 366 374 +8
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
a277f76 to
7647ff9
Compare
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 7647ff9a91
ℹ️ About Codex in GitHub
Codex has been enabled to automatically review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
When you sign up for Codex through ChatGPT, Codex can also answer questions or update the PR, like "@codex address that feedback".
|
JonasKruckenberg
left a comment
There was a problem hiding this comment.
Seems all good, but double check: BAD_POINTER_ADDR is used in a follow-up? or in generated bindings?
|
Yeah it's used when handling the tag query node in Rust. |



Describe the changes in the pull request
BAD_POINTERsentinel and a clock-driven timeout's deadline.unicode_tolower().Each commit is independent so it may be easier to review them one by one.
Main objects this PR modified
QueryRequestTimeoutHandle— newclock_deadline.BAD_POINTER— now defined via a bindableBAD_POINTER_ADDRinteger macro.Mark if applicable
Release Notes
If a release note is required (bug fix / new feature / enhancement), describe the user impact of this PR in the title.