Skip to content

chore: archive skipped changes and fix browser test setup#19

Merged
LessUp merged 2 commits into
masterfrom
cleanup/archive-changes-browser-testing
May 22, 2026
Merged

chore: archive skipped changes and fix browser test setup#19
LessUp merged 2 commits into
masterfrom
cleanup/archive-changes-browser-testing

Conversation

@LessUp
Copy link
Copy Markdown
Collaborator

@LessUp LessUp commented May 22, 2026

Summary

  • Archive demo-benchmark-orchestration change — over-engineering for a demo project
  • Archive doc-implementation-sync change — core work already completed
  • Fix playwright.config.ts for WebGPU support in Chromium
  • Fix ScanModule GPU command batching
  • Fix browser test fixtures for proper page navigation

Changes

File Change
openspec/archive/2026-05-demo-benchmark-orchestration/ Archived (skipped)
openspec/archive/2026-05-doc-implementation-sync/ Archived (completed)
playwright.config.ts Add WebGPU flags, testMatch pattern
src/sorting/scan/ScanModule.ts Batch GPU commands in single encoder
test/browser/fixtures.ts Navigate to Vite dev server

Test Status

  • ✅ Node.js tests: 103/103 passed
  • ⚠️ Browser tests: SwiftShader limitations (WebGPU compute shader support incomplete)

Browser tests fail in headless Chromium due to SwiftShader's incomplete WebGPU compute shader support. This is a known limitation of the software renderer, not a code issue.

Test plan

  • npm run typecheck passes
  • npm run lint passes
  • npm run test passes (103 tests)
  • npm run build succeeds

LessUp added 2 commits May 22, 2026 15:11
- Extract GPU prefix sum into dedicated ScanModule
  - Create src/sorting/scan/ with ScanModule class
  - Split scan WGSL kernels from radix.wgsl to scan.wgsl
  - Refactor RadixSorter to consume ScanModule
  - Add ScanModule interface tests

- Archive completed OpenSpec changes:
  - sorting-runtime-hardening
  - injectable-gpu-runtime
  - scan-module-extraction

This improves code organization by giving GPU prefix sum its own
module, shader ownership, and tests. RadixSorter is now reduced
to histogram/scatter orchestration plus scan consumption.
- Archive demo-benchmark-orchestration (over-engineering for demo project)
- Archive doc-implementation-sync (core work completed)
- Fix playwright.config.ts: add WebGPU flags and testMatch pattern
- Fix ScanModule: batch GPU commands in single command encoder
- Fix fixtures: navigate to Vite dev server before tests
- Update browser-e2e-testing tasks with blocker note

Browser tests fail on SwiftShader (headless Chromium) due to incomplete
WebGPU compute shader support. Node.js tests pass (103/103).
@LessUp LessUp merged commit 6d54fbd into master May 22, 2026
1 check passed
@LessUp LessUp deleted the cleanup/archive-changes-browser-testing branch May 22, 2026 08:43
LessUp added a commit that referenced this pull request May 22, 2026
…testing

chore: archive skipped changes and fix browser test setup
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