Conversation
Refs #3630. Publish, resolve, and retire screenshot coordinate transforms with the runtime-owned snapshot lifecycle. Refuse stale cross-session image coordinates while preserving latest-read replacement and platform delivery limitations. Salvaged from #3628 Co-authored-by: injaneity <[email protected]>
Keep snapshot and zoom retirement fail-closed, preserve bounded tombstones, and release persistent Wayland holds through retryable session cleanup.
6 tasks
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.
Refs #3630
Problem
A later screenshot can replace the coordinate transform used by an earlier
observation. A client can then send a valid pixel coordinate that Driver
silently interprets in another capture's scale.
Change
runtime-owned snapshot.
refuse stale, cross-session, ambiguous, or retired context.
session end, eviction, and late-completion races.
cache is cleared.
compositor output space.
hook, retaining failed releases for bounded retry.
replacement, independent windows, stale zoom, late completion, and
Windows native-coordinate dispatch.
This preserves the current public action shapes and latest-read replacement
behavior. It does not add historical screenshot IDs or the future perception
capture registry.
Attribution
Salvaged from #3628. The initial implementation commit preserves
Co-authored-by: injaneity <[email protected]>.Validation
Current head:
de0e5ff5c634baf63f5ac9e913e5de6f77a4e094cargo test -p cua-driver-core element_cache::tests --lib: 27 passedcargo test -p platform-linux --lib: 23 host-platform tests passedcargo check --workspace: passed with existing warningscargo fmt --all -- --check: passedgit diff --check origin/main...HEAD: passedcua-driver-platform.test.ts: 6 passedRemaining draft gates
CI: Test Scripts / testjob still carries the inheritedCI: release-wiring test rejects deduplicated AGENTS guidance #3935 release-guidance regression; this PR does not change the affected files.
before this PR is made ready or merged.
This PR remains draft and unmerged.