Skip to content

test(runtime): exercise in-flight accessibility deferral - #10

Merged
phall1 merged 1 commit into
cockpit/v0.9.5from
fix/cockpit-first-frame-a11y-fixture
Sep 3, 2026
Merged

test(runtime): exercise in-flight accessibility deferral#10
phall1 merged 1 commit into
cockpit/v0.9.5from
fix/cockpit-first-frame-a11y-fixture

Conversation

@phall1

@phall1 phall1 commented Sep 3, 2026

Copy link
Copy Markdown
Owner

Fix

Make the post-present accessibility batching regression exercise its stated premise. The fixture now provides a no-op request_gpu_surface_frame_fn, allowing requestCanvasFrameForView to mark the frame in flight. Batch end therefore keeps accessibility deferred until the explicit GPU frame completion.

Without the callback, the request returned UnsupportedService, no frame was pending, and batch end correctly settled accessibility immediately; the previous update_count == 0 assertion contradicted the fixture.

Evidence

  • focused test now drives the real request/flag/defer/completion sequence
  • consumer pin will be validated through the full Cockpit gate and live M4 first-frame measurement before merge

@phall1
phall1 merged commit eb9cf6b into cockpit/v0.9.5 Sep 3, 2026
23 checks passed
@phall1
phall1 deleted the fix/cockpit-first-frame-a11y-fixture branch September 3, 2026 05:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant