Skip to content

chore(ENG-9225): mark ModelIngestionResource.complete (completeWithVersion) deprecated - #509

Merged
gjedlicska merged 1 commit into
mainfrom
gergo/eng-9225-mark-modelingestionresourcecomplete-completewithversion
Aug 12, 2026
Merged

chore(ENG-9225): mark ModelIngestionResource.complete (completeWithVersion) deprecated#509
gjedlicska merged 1 commit into
mainfrom
gergo/eng-9225-mark-modelingestionresourcecomplete-completewithversion

Conversation

@gjedlicska

Copy link
Copy Markdown
Member

Why

specklepy twin of the sharp-sdk [Obsolete] marking (ENG-9221) following the server-side GraphQL deprecation (ENG-8970): completeWithVersion bypasses the v2 REST uploads/complete seam where the server dispatches dat-generation, so versions created through it are not viewer-consumable in the bundle era.

Closes ENG-9225.

What

  • @deprecated (the deprecated package, already a dependency) on ModelIngestionResource.complete in both the core resource and the metrics-tracking api-layer wrapper, sharing one module-level reason constant — the same pattern as the in-flight file-upload deprecation branch.
  • The message names specklepy.bundle.upload.ArtifactPipeline (the v2 REST uploads/complete flow) as the replacement.
  • Warning only — the method stays for deployed packfile-era callers.

Verification

  • Smoke-tested that calling complete emits a DeprecationWarning carrying the full replacement message.
  • ruff check and ruff format --check pass on both files.

🤖 Generated with Claude Code

…recated

Mirrors the sharp-sdk [Obsolete] marking (ENG-9221) and the server-side
GraphQL deprecation (ENG-8970): completeWithVersion bypasses the v2 REST
uploads/complete seam, so versions created through it are not
viewer-consumable in the bundle era. Warning only — the method stays for
deployed packfile-era callers. Replacement:
specklepy.bundle.upload.ArtifactPipeline.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@linear-code

linear-code Bot commented Aug 11, 2026

Copy link
Copy Markdown

ENG-9225

@netlify

netlify Bot commented Aug 11, 2026

Copy link
Copy Markdown

Deploy Preview for specklepy ready!

Name Link
🔨 Latest commit 40dc939
🔍 Latest deploy log https://app.netlify.com/projects/specklepy/deploys/6a7b6e24f8a9a70008183b98
😎 Deploy Preview https://deploy-preview-509--specklepy.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@codecov

codecov Bot commented Aug 11, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 89.41%. Comparing base (c5f7921) to head (40dc939).
⚠️ Report is 2 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #509      +/-   ##
==========================================
+ Coverage   89.35%   89.41%   +0.05%     
==========================================
  Files         173      173              
  Lines        8454     8492      +38     
==========================================
+ Hits         7554     7593      +39     
+ Misses        900      899       -1     

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@gjedlicska
gjedlicska merged commit 77c5688 into main Aug 12, 2026
17 checks passed
@gjedlicska
gjedlicska deleted the gergo/eng-9225-mark-modelingestionresourcecomplete-completewithversion branch August 12, 2026 08:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants