Skip to content

Complete supported P1 browser acceptance and surface expiry coverage - #1

Merged
GeoLibra merged 2 commits into
mainfrom
codex/webgpu-native-loss-acceptance
Nov 6, 2026
Merged

GeoLibra merged 2 commits into
mainfrom
codex/webgpu-native-loss-acceptance

Conversation

@GeoLibra

@GeoLibra GeoLibra commented Nov 5, 2026 •

Copy link
Copy Markdown
Owner

P1 browser acceptance now exercises native WebGPU device destruction and recoverable GPU-process loss, WebGL2 context recovery, the advertised color-copy formats, and borrowed-buffer interop through Aether-owned submission. Success-path JSON records native loss reasons, adapter/browser metadata, generation replacement and cleanup rather than inferring coverage from a green job.

Current-texture acceptance distinguishes valid microtask use from native expiry after a rendering update. Expired submission produces a captured native validation error; reconfiguration releases the old frame and rejects old RHI texture use. A fresh clear/present succeeds and submission leases drain. This adds acceptance coverage without changing the production surface lifecycle or adding a JavaScript expiry tracker.

The benchmark manifest gains deterministic CPU/Null MSAA and residency scenarios. A 10K dependency workload exposed recursive cook-graph stack exhaustion; explicit DFS frames preserve ordering, cycle diagnostics and transactional replacement. WebGL2 capability publication now accurately rejects unsupported sRGB-source/depth copy directions.

Validation on macOS arm64 / Node 24.3.0 / Chrome 156.0.8078.80 / Apple metal-3:

  • Typecheck, all 374 Vitest files / 2,428 tests, build and benchmark manifest validation pass.
  • Changed-suite smoke passes for P1 rendering acceptance, RHI and Asset Pipeline; the subsequent browser-only diff routes no suite.
  • Both WebGPU RHI browser cases pass, including render/resize goldens and the new expiry/reconfigure/recovery assertions.
  • Modified expiry-fixture files pass ESLint, formatting and diff checks.

Remote validation of e7fcc54920a0debd89f314a4629833672fe97865:

  • CI 41981784442 passes typecheck, tests, build and benchmark routing.
  • Browser E2E 41981784463 is successful after one failed-job rerun. Linux runs all five projects; macOS runs all four rendering/demo projects. Both WebGPU RHI projects pass the new expiry/reconfigure/recovery assertions and existing goldens.
  • The first Linux React/WebGL2 attempt reported CONTEXT_LOST_WEBGL and a submission fence wait failure during initial rendering. Its four subsequent cases passed. The unchanged failed project passed when rerun; the original failure is retained in attempt 1 logs and artifact e2e-react-vite-webgl2-41981784463-1. No retry policy, assertion or runtime behavior was weakened. The underlying cause of the transient loss remains unestablished.
  • Ten unexpired artifact bundles are present, including the failed first attempt and successful rerun. Existing workflow retention is seven days. Surface-lifetime and native-loss JSON are written on successful execution, alongside browser traces and platform goldens.

The new CPU/Null benchmark makes no GPU cost or speed-improvement claim. Full compressed/depth/aspect execution, proposed native RenderGraph adapters and non-Chromium/native matrices remain separate work. This PR completes the stated supported acceptance slice; it does not upgrade every P1 requirement to Verified.

Cover native device loss and recovery, supported copy formats and borrowed-buffer interop. Register MSAA and residency benchmark evidence, and replace recursive cook dependency traversal after the 10K workload exposed stack exhaustion.
Distinguish microtask validity from rendering-update expiry in a real browser. Assert reconfigure invalidation, clean reacquisition and drained submission leases, and retain success-path environment and validation evidence.
@GeoLibra
GeoLibra merged commit 6661673 into main Nov 6, 2026
21 of 22 checks passed
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