Merged
Conversation
b4ceeba to
d5e06a8
Compare
d5e06a8 to
53e891d
Compare
53e891d to
fad7ab5
Compare
fad7ab5 to
50dead7
Compare
50dead7 to
fba3758
Compare
fba3758 to
71602d2
Compare
71602d2 to
09c2034
Compare
09c2034 to
688fd91
Compare
There was a problem hiding this comment.
Cursor Bugbot has reviewed your changes and found 1 potential issue.
Bugbot Autofix is OFF. To automatically fix reported issues with Cloud Agents, enable Autofix in the Cursor dashboard.
| {"name": cs.name, "value": cs.value} | ||
| for cs in entry.review.custom_scores | ||
| ] | ||
| result["review"] = review |
There was a problem hiding this comment.
Missing explicit-None handling for review field in serialization
Medium Severity
The _to_gql_input function handles explicitly-set None values via model_fields_set checks for label and queue_type, but the review field is missing this same elif branch. When a user explicitly passes review=None to a ProjectSyncEntry, the review key is silently omitted from the GQL input instead of being sent as None, which is inconsistent with how label and queue_type behave.
688fd91 to
f0b166d
Compare
mnoszczak
approved these changes
Feb 23, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.


Description
Allow syncing external metrics to projects
Example usage:
Type of change
Please delete options that are not relevant.
All Submissions
New Feature Submissions
Changes to Core Features
Note
Medium Risk
Adds a new GraphQL mutation path and input serialization for project data sync; risk is mainly schema mismatch/serialization edge cases (e.g., optional vs explicit null) causing failed or incorrect syncs.
Overview
Adds a new
Project.sync_external_project()method that calls asyncExternalProjectGraphQL mutation to asynchronously push external label/review metadata (including AutoQA status/scores and queue state) into a project and returns asubmission_idfor tracking.Introduces a new
project_syncpydantic schema (ProjectSyncEntry,ProjectSyncLabel/Review,AutoQA, etc.) plus a_to_gql_inputserializer (including explicitnullsupport), and re-exports these types fromlabelbox.__init__for SDK users.Written by Cursor Bugbot for commit f0b166d. This will update automatically on new commits. Configure here.