feat(core): activate WebP screenshots with JPEG fallback - #3014
Draft
quanru wants to merge 9 commits into
Draft
Conversation
Co-authored-by: quanruzhuoxiu <robin.lifeos@gmail.com>
Co-authored-by: quanruzhuoxiu <robin.lifeos@gmail.com>
Deploying midscene with
|
| Latest commit: |
23a48d2
|
| Status: | ✅ Deploy successful! |
| Preview URL: | https://2ab52bf6.midscene.pages.dev |
| Branch Preview URL: | https://feat-webp-core-activation-v2.midscene.pages.dev |
Co-authored-by: quanruzhuoxiu <robin.lifeos@gmail.com>
Co-authored-by: quanruzhuoxiu <robin.lifeos@gmail.com>
This was referenced Aug 26, 2026
Merge the validated format-aware screenshot layer into Core activation. Co-authored-by: quanruzhuoxiu <robin.lifeos@gmail.com>
Cache identical inline image conversions for one model request. Keep the cache request-scoped to bound memory and preserve retry behavior. Co-authored-by: quanruzhuoxiu <robin.lifeos@gmail.com>
Merge the Rstest browser encoder test fix through the final stack layer. Co-authored-by: quanruzhuoxiu <robin.lifeos@gmail.com>
This was referenced Aug 26, 2026
quanru
marked this pull request as draft
August 27, 2026 09:18
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
Behavior
MIDSCENE_MODEL_IMAGE_INPUT_FORMAT=webpis the defaultMIDSCENE_MODEL_IMAGE_INPUT_FORMAT=jpegenables compatibility for providers without WebP supportValidation
pnpm run lintpnpm --dir packages/shared test(524 passed)pnpm --dir packages/core test(1518 passed, 8 skipped)pnpm exec nx build @midscene/sharedpnpm exec nx build @midscene/corepnpm exec nx build @midscene/reportpnpm --dir packages/web-integration test -- tests/unit-test/browser-webp-encoder-e2e.test.ts(2 passed)pnpm --dir packages/core exec vitest --run tests/unit-test/model-image-input.test.ts(4 passed)Stack
The superseded WebP stacks (#2851–#2855 and #2857–#2859) are closed. #2856 remains an independent model-input evidence change.