Repository navigation
fix(snapshot): Encode selected image identifiers - #982
Merged
Merged
Conversation
This was referenced May 20, 2026
Contributor
Author
NicoHinderling
approved these changes
May 20, 2026
|
Can image names contain things like |
Contributor
Author
|
On some *nix based systems |
cameroncooke
force-pushed
the
snapshot-encode-selected-image
branch
2 times, most recently
from
May 26, 2026 09:00
96ef97b to
ac97610
Compare
This was referenced May 26, 2026
Ensure slash-containing snapshot image identifiers are sent as a single path segment when requesting image details. Add coverage for selected image names that include path-like prefixes. Co-Authored-By: Codex CLI <[email protected]>
cameroncooke
force-pushed
the
snapshot-encode-selected-image
branch
from
May 27, 2026 11:18
ac97610 to
f244615
Compare
4 tasks done
Contributor
Author
Merge activity
|
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.

Encode selected snapshot image identifiers before sending them to the preprod image-detail endpoint. Snapshot image names can contain slash-like prefixes, but the API treats the whole value as a single identifier, not as URL path segments.
Business Rule
selectedSnapshotand image file names are opaque image identifiers. A value likesnapshots-iphone-17e/test_CoffeeProductCards.swift_FeaturedProductCard_Kenya.pngmust be encoded into one path segment when calling the image-detail endpoint.Behavior
This keeps URL-mode reads working for path-like snapshot image names without changing how callers provide the identifier. The selected image value remains human-readable in MCP input and output; only the outbound Sentry API path is encoded.
Coverage
Adds regression coverage for slash-containing selected image names so future refactors do not accidentally split them into multiple API path segments.
Co-Authored-By: Codex CLI [email protected]