perf(ci): shorten unstructured-api test and publishing runs - #587
Merged
Merged
Conversation
There was a problem hiding this comment.
No issues found across 8 files
Shadow auto-approve: would not auto-approve. This PR does not meet the repository auto-approval settings.
Re-trigger cubic
fxdgear
approved these changes
Sep 11, 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.
What
Standalone API CI avoids repeated inference work and redundant image transfers while retaining distinct smoke-test scenarios.
Successful PR run. Total baseline is nine historical runs; test-stage baselines come from August 27. This is not a controlled comparison: runner variability and faster individual inference calls contribute to the difference.
Why
Some option checks unintentionally repeated default inference, gzip parametrization duplicated seven cases, and the smoke-test client installed unused dependencies. The test harness now sends the intended options and avoids duplicated work. Release publishing also retags images in the registry instead of pulling them only to retag them.
The 37 distinct smoke cases and seven mode comparisons remain covered. Heavy PDF inference remains the largest test cost.
Relationship to other work
Independent of Plugins, platform-libs, and shared-workflow #434/#437. Core-product has its own vendored API and separate CI improvement in #1660; its savings are not an additional stage of this pipeline.
Publishing speed has not been measured: that workflow runs only on main. The timing table covers CI, not release publishing.
Validation
Current GitHub checks pass, including the Docker build, 37 smoke tests, seven mode comparisons, core tests, coverage, and lint. Six shell regression tests and registry-retagging dry runs passed; publishing itself still requires validation on main.