test: migrate independent App Router deploy exclusions to force gates (#99431)
## Summary
Replace the App Router `skipDeployment` options still present in the
base with equivalent static `@force-gate` directives. Existing `skipped`
bindings and checks, manual mode guards, fixture configuration,
assertions, and hooks are preserved. Tests whose deployment exclusions
were already removed on canary are left unchanged.
The two adapter exceptions remain `!deploy || adapter`. The existing
Turbopack restriction on the missing-root-layout suite is retained. The
shared instant-validation suite wrapper moves to its five test entry
points so the gate transformer can apply `!deploy`; the
partial-prefetching variants inherit these gates.
This is the independent portion of #98155, after #98160 in the
canary-based stack containing #98158. The viewport known-limitation
suite remains in #98155 because its lazy configuration predicate needs
#98430.
## Verification
- Compared the complete syntax trees of all 60 previously touched files
against the base: only deployment-option removal, directly associated
adapter bindings, and required gate-wrapper placement differ. All 120
references to `skipped` are preserved; 27 files are now byte-for-byte
unchanged from the base.
- Registration-only comparisons cover 37 entry points in dev, start, and
deploy with Webpack and Turbopack, including deploy with the adapter
disabled. Fixture eligibility is unchanged. The already-enabled
opaque-origin sibling is no longer suppressed by the legacy `it.only`
placeholder.
- TypeScript, Prettier, and ESLint passed. Registration probes disable
bodies and hooks and use default resolved values for existing lazy
predicates; they do not validate remote deployment builds or browser
behavior.
- Rebased the five open migration layers onto canary; 16 superseded
files are unchanged from canary, with all other layer files preserved
exactly. All 15 commits retain their authorship and signatures.
- The 79 gate unit tests passed. Full bootstrap attempted: 14/15 tasks
passed; the isolated worktree lacks the bundle-analyzer app
dependencies. Browser and remote deployment execution remains for CI.
<!-- NEXT_JS_LLM -->
---------
Co-authored-by:
Josh Story <gnoff@storyposted.com>
Showing
This diff is collapsed.
Please
register
or
sign in
to comment