Conversation
|
|
|
✨ Fix all issues with BitsAI or with Cursor
|
8643f18 to
663c4dc
Compare
|
s |
673929a to
0a24ac3
Compare
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 7a2d1e4fa5
ℹ️ 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".
| if isinstance(span_id, str): | ||
| assert span_id.startswith("0x") |
There was a problem hiding this comment.
Remove strict 0x check until all clients emit new format
This assertion now rejects every string span_id that does not start with 0x, but the PHP parametric server still returns decimal string IDs for /trace/otel/start_span (it sends span_id => $spanId as a string), and PHP OTel tests are active (e.g., tests/parametric/test_otel_span_methods.py::Test_Otel_Span_Methods is enabled in manifests/php.yml). In that environment, _TestOtelSpan construction fails immediately, so many PHP OTel tests regress before reaching their assertions.
Useful? React with 👍 / 👎.
mabdinur
left a comment
There was a problem hiding this comment.
Thanks for opening this PR 😄
Co-authored-by: Munir Abdinur <munir_abdinur@hotmail.com>
mabdinur
left a comment
There was a problem hiding this comment.
We will need to work through a few of the failing tests but the motivation looks good to me
Motivation
otel span id was returned either:
The heuristic to determine between
2.and3.was the presence of one ofabcdef. Brittle ...Changes
otel span id can be one of :
0x, which is a hexadecimal numberAnd nothing else.
Workflow
🚀 Once your PR is reviewed and the CI green, you can merge it!
🛟 #apm-shared-testing 🛟
Reviewer checklist
tests/ormanifests/is modified ? I have the approval from R&P teambuild-XXX-imagelabel is present