Repository navigation
Readable bugs for Tester: screenshots in issue descriptions print as image files, not raw data - #1701
Draft
Matt Kleinsmith (MattKleinsmith) wants to merge 2 commits into
Draft
Matt Kleinsmith (MattKleinsmith) wants to merge 2 commits into
Matt Kleinsmith (MattKleinsmith) wants to merge 2 commits into
Conversation
Issue descriptions carry screenshots as base64 data URLs. Printed raw, one screenshot fills an agent's shell output cap and hides the rest of an issue find page. The CLI now writes each image to a file and prints its path, and turns local image paths back into data URLs when a description is written, so a read-then-update keeps every image.
This branch has not been deployed
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.
Related to WIZ-12884
Overview of Problem
One base64 screenshot fills Tester's 50 KB shell output cap, hiding every later bug on an issue page.
Overview of Changes
Issue commands save description images as files and print paths; writing paths back re-inlines the images.
Testing
src/domains/publicApi/descriptionImages/descriptionImages.test.tscoversissue get,issue find(one file per distinct image, nothing in base64 left in the output) and the round trip: a description printed byissue getand sent back throughissue updatereaches the API with the original data URL. It also checks that a missing local image refuses the update and that a team storage path (uploads/...) is left for the platform. Checked the round trip on the real filesystem with a 300 KB WebP.bun run typecheck bun run lint bun run format:check bun run knip bun run testPost-Release Tasks
ai-taskimage installs@qawolf/cli@latestwhen it is built, so Tester gets this from the nextai-taskimage build after the release.Checklist
🤖 Generated with Claude Code