[PLT-0] Skip test_labeling_frontend_connecting_to_project (removed capability)#2066
Merged
mrobers1982 merged 1 commit intoJul 13, 2026
Merged
Conversation
…pability) Manual connect() of the legacy 'Editor' labeling frontend is no longer supported: per intelligence #30098 the backend's getEditorType only accepts modern Pictor editors, so connecting the legacy frontend now returns MalformedQueryException. Projects auto-attach the correct frontend. Skip (rather than delete) keeps the test in place and reversible pending a follow-up on whether connect/disconnect should be deprecated or rewritten against a supported Pictor frontend. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
mrobers1982
requested review from
ChuckTerry,
KeshavSahoo,
RainIwakura,
dsinha244,
gmadaan-hue,
golchin-shahriar and
john-labelbox
July 13, 2026 15:27
itssujan
approved these changes
Jul 13, 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.
Summary
test_labeling_frontend_connecting_to_projecthas been failing on all 5 Python versions in thedevelopintegration suite. The root cause is a removed backend capability, not a stale assertion.Per intelligence #30098 ("Remove legacy custom and DICOM editors"), the backend's
getEditorTypenow only accepts modern Pictor editor URLs. Projects auto-attach the correct frontend, and a manualproject.labeling_frontend.connect(<legacy "Editor" frontend>)is now rejected withMalformedQueryException: Unsupported labeling frontend. The test fails at theconnect()call before reaching any later assertions.This is the only remaining deterministic (non-environmental) code failure from the
developCI cleanup effort.Changes
@pytest.mark.skiptotest_labeling_frontend_connecting_to_projectinlibs/labelbox/tests/integration/test_labeling_frontend.py, with areason=citing intelligence #30098.test_get_labeling_frontendsis untouched.Skip vs. delete: skipping (rather than deleting) keeps the code in place and documents why inline, pending a separate follow-up on whether the SDK
connect/disconnectmethods should be deprecated or rewritten against a modern Pictor frontend.Test Plan
Verified locally:
test_labeling_frontend_connecting_to_projectreportsSKIPPEDwith the reason (no live backend needed).--collect-only→ 2 items);test_get_labeling_frontendsunaffected.checkandformat --checkpass (matching CI's bundled ruff).CI will confirm the test is skipped across all Python versions.
🤖 Generated with Claude Code
Note
Low Risk
Test-only change with no production code or runtime behavior impact.
Overview
Marks
test_labeling_frontend_connecting_to_projectas skipped so thedevelopintegration suite stops failing on a removed backend behavior.The test manually connects the legacy "Editor" frontend via
project.labeling_frontend.connect(), which the API now rejects (MalformedQueryException: Unsupported labeling frontend) after intelligence #30098—only modern Pictor editors are accepted and projects auto-attach the right frontend. The skip reason documents that in-line; the test body is unchanged for a possible future rewrite against a supported frontend.test_get_labeling_frontendsis unchanged.Reviewed by Cursor Bugbot for commit 305720d. Bugbot is set up for automated code reviews on this repo. Configure here.