Repository navigation
refactor(nsgotest): own mounted view kinds - #1873
Merged
Merged
Conversation
Collaborator
Author
houko
enabled auto-merge (rebase)
November 22, 2026 04:20
3 tasks done
houko
force-pushed
the
refactor/view-kind-181
branch
from
November 22, 2026 04:34
d22c1d4 to
78890b0
Compare
houko
force-pushed
the
refactor/view-kind-181
branch
from
November 22, 2026 08:19
78890b0 to
325e2b7
Compare
houko
added this pull request to the merge queue
Nov 22, 2026
houko
force-pushed
the
refactor/view-kind-181
branch
from
November 22, 2026 08:56
325e2b7 to
6088786
Compare
houko
force-pushed
the
refactor/view-kind-181
branch
from
November 22, 2026 09:40
6088786 to
069036b
Compare
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.
Summary
Give mounted test-model views their own
nsgotest.ViewKindtype and constants (KindText,KindInput,KindScroll,KindCanvas,KindGPU, and the other mounted forms). The model maps the private mount protocol at its boundary, while selectors, automation, steps and diagnostics use the owned type. Migrate gallery and component tests to the public constants and removeViewKindandSurfaceKindfrom the driver API allowlist.Refs #181. This is an independent slice; the existing Event, WebConfig and ViewStyle/ViewProps slices remain separate.
Targets
Screenshots
None.
Verification
go tool nsgo test ./nsgotest -- -p 1 -count=1: 158 passed, one skipped.go tool nsgo test ./base -- -p 1 -count=1: 469 passed, two skipped.go tool nsgo test ./ui -- -p 1 -count=1: 231 passed.go tool nsgo check -target macos,ios,windows,linux,android_arm64,web -jobs 1passed remotely, including both desktop architectures, iOS and Android arm64. CI Build and vet also passed.TestMinimalAppLinks(macOS: net/http, crypto/tls, crypto/x509; Linux: net/http), reproducing the exact clean-main 0919846 baseline confirmed for refactor(core): own the host storage contract #1866. CodeQL/actions failed on installation API rate limiting; dependency review reports that Dependency graph is unavailable.git diff --checkpassed.Checklist