Repository navigation
Conversation
|
@cursor review |
|
Skipping Bugbot: Bugbot is disabled for this repository. Visit the Bugbot dashboard to update your settings. |
f3ae699 to
b16f0b6
Compare
Codex Review Summary: ✅ CompletedThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: e3f87b0d7b
ℹ️ About Codex in GitHub
Your team has set up Codex to 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 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
|
Some of the issues mentioned here will be addressed on follow-up PRs. |
There was a problem hiding this comment.
More details
The completed static review raised no actionable findings. Vega runtime compatibility remains unverified because JavaScript dependencies and the Vega toolchain were unavailable.
🤖 Bits Code Review · Commit e3f87b0
There was a problem hiding this comment.
🔵 Needs a closer look
Maintainer review and real Kepler/Vega runtime validation are still needed because mocked JS and host-only tests leave emitter delivery, XHR-backed fetch suppression, and teardown unverified.
No open issues 🎉
3 resolved since last review
Review effort: Balanced
There was a problem hiding this comment.
PR Review — Quality: 5.0 / 5 · Review load: Broad (~2–3h)
Shared proxy state and the upload deadline behave as intended. The 3.13.0-beta package version is an intentional difference for this private package, so this is ready to merge as-is.
Customer impact: Low — private @datadog/mobile-react-native-vega only. Vega apps that load two copies of the package share one upload session and one resource-tracking exclusion. A fetch still pending at 25 seconds, or stopped while in flight, is reported as retryable and the batch is kept. iOS and Android collection stays on the current path.
| Concern | |
|---|---|
| JS↔native HTTP transport session (startup, response, cancellation, deadline, shared lifecycle) | Risky |
| Excluding SDK uploads from core Fetch and XHR resource tracking | Risky |
Vega package version (3.13.0-beta, kept by update-version.sh) |
Routine |
Assessment: getGlobalInstance stores the lifecycle and the fetch-proxy depths on globalThis, so a second package copy replaces the listener instead of posting the upload twice, and callWithoutResourceTracking still excludes only the synchronous fetch start. In HttpJsProxy.cpp, status 0, cancellation, and the native 30-second wait all return retryable. The new Jest tests cover one listener across copies, a single httpResponse after a late settlement, and timer removal. The beta suffix is the intended private-package version, and AGENTS.md records that exception.
Review load — Broad (~2–3h): The upload-thread session and the core fetch exclusion are one private package plus a small core change. Review them together. The separate beta version is intentional.
This run assessed the delta since e3f87b0 and revalidated the earlier findings. The previous 4.0 score counted the beta suffix; that difference is intended and is not a finding.
Sent by Cursor Automation: dd-sdk-react-native reviews
🎉 All green!🧪 All tests passed 🔗 Commit SHA: 9360b2d | Docs | View more details | Give us feedback! |




What does this PR do?
Adds the private
@datadog/mobile-react-native-vegapackage with a Kepler native bridge backed by Datadog C++ SDK 0.7.0. (This will be updated for the final release)fetchand returns responses to the upload thread.example-vega/and native build artifacts to the ignore rules.Motivation
Vega needs a Kepler bridge and an HTTP transport compatible with its runtime. This provides the native foundation for Datadog support while keeping the package private during development.
Additional Notes
SDK initialization and RUM/logging APIs are outside this PR’s scope. The package adds
@amazon-devices/keplerscript-turbomodule-api1.2.5.Transport startup must be awaited before starting native uploads.
Validation:
yarn workspace @datadog/mobile-react-native-vega test --runInBand --watchman=falseyarn workspace @datadog/mobile-react-native-vega test:nativeaarch64,armv7, andx86_64using the Vega toolchain.yarn lintandyarn preparepass.Review checklist (to be filled by reviewers)