Skip to content

test: migrate Pages Router deploy exclusions to force gates - #98157

Merged
jamiboym merged 3 commits into
canaryfrom
jstory/deploy-tests/pages-router
Oct 1, 2026
Merged

jamiboym merged 3 commits into
canaryfrom
jstory/deploy-tests/pages-router

Conversation

@gnoff

@gnoff gnoff commented Sep 1, 2026 •

Copy link
Copy Markdown
Contributor

Summary

Migrate the remaining Pages Router, API route, i18n, custom route, rewrite, redirect, and error-page deployment exclusions to @force-gate and remove their skipDeployment/skipped control flow. This stack is rooted at canary and independent of #98430; it preserves deployment coverage already enabled on canary.

The custom-app-render and client-max-body-size files covered by #98994 and #98911 are omitted.

Verification

  • Compared test registration against canary in development, production, and deploy modes with test bodies and hooks disabled (Webpack). Existing active deployment assertions are preserved; development/production test selection is unchanged apart from replacing empty skip placeholders with skipped real tests.
  • TypeScript, Prettier, and ESLint checks passed. Registration probes use a default config for lazy predicates and do not exercise fixture setup or test bodies.
  • Full bootstrap attempted, but the local native SWC build fails at cargo metadata with EPERM; full integration/deployment execution remains for CI.

@github-actions

github-actions Bot commented Sep 1, 2026 •

Copy link
Copy Markdown
Contributor

Tests Passed

Commit: d83d167

@gnoff
gnoff force-pushed the jstory/deploy-tests/pages-router branch from 8040de7 to 1cfbbb1 Compare September 2, 2026 00:13
@gnoff
gnoff marked this pull request as ready for review September 2, 2026 00:17
@gnoff
gnoff force-pushed the jstory/deploy-tests/pages-router branch from 1cfbbb1 to 7282d12 Compare September 2, 2026 00:20
Comment on lines +15 to +17
if (isNextDeploy) {
it('is excluded from deploy testing by @force-gate', () => {})
}

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why's this needed? Haven't seen this pattern anywhere else.

Comment on lines +7 to +8
// TODO(deploy-test-completion): Re-enable this suite in deploy mode.
// The source only records that these assertions fail after deployment; the root cause is unknown.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

should this move the the gate as well? There are more (global as any).isNextDeploy not using force-gate.

@gnoff
gnoff force-pushed the jstory/deploy-tests/pages-router branch from 7282d12 to 480364d Compare September 3, 2026 18:36
@gnoff
gnoff force-pushed the jstory/deploy-tests/pages-router branch from 480364d to 75f47ea Compare September 4, 2026 18:05
@gnoff
gnoff force-pushed the jstory/deploy-tests/pages-router branch from 75f47ea to 88e1320 Compare September 4, 2026 20:32
@gnoff
gnoff force-pushed the jstory/deploy-tests/pages-router branch from 88e1320 to f03cdc4 Compare September 8, 2026 15:00
@gnoff
gnoff force-pushed the jstory/deploy-tests/pages-router branch from f03cdc4 to c24feff Compare September 8, 2026 23:32
@gnoff
gnoff force-pushed the jstory/deploy-tests/pages-router branch from c24feff to e62f531 Compare September 9, 2026 02:41
@gnoff
gnoff force-pushed the jstory/deploy-tests/pages-router branch from e62f531 to 0141b5b Compare September 9, 2026 15:25
@gnoff
gnoff force-pushed the jstory/deploy-tests/pages-router branch from 0141b5b to 439aa72 Compare September 9, 2026 15:45
@gnoff
gnoff removed this pull request from stack #98373 September 9, 2026 15:46
@gnoff
gnoff added this pull request to stack #98431 September 9, 2026 15:47
@gnoff
gnoff force-pushed the jstory/deploy-tests/pages-router branch 2 times, most recently from 93bc6fb to a4a6c45 Compare September 11, 2026 14:55
@gnoff
gnoff force-pushed the jstory/deploy-tests/pages-router branch from a4a6c45 to 81f87ec Compare September 11, 2026 15:10
@jamiboym
jamiboym removed this pull request from stack #98431 September 28, 2026 20:23
@jamiboym
jamiboym force-pushed the jstory/deploy-tests/pages-router branch from 81f87ec to 27dc706 Compare September 28, 2026 20:23
@jamiboym
jamiboym changed the base branch from jstory/deploy-tests/tooling to canary September 28, 2026 20:23
@jamiboym
jamiboym force-pushed the jstory/deploy-tests/pages-router branch from 27dc706 to 2271b36 Compare September 28, 2026 20:35
@jamiboym
jamiboym changed the base branch from canary to jstory/deploy-tests/tooling September 28, 2026 20:35
@jamiboym
jamiboym added this pull request to stack #99381 September 28, 2026 20:35
@jamiboym
jamiboym force-pushed the jstory/deploy-tests/pages-router branch from 2271b36 to eed8964 Compare September 28, 2026 23:50
Base automatically changed from jstory/deploy-tests/tooling to canary September 29, 2026 02:41
@gnoff
gnoff force-pushed the jstory/deploy-tests/pages-router branch from eed8964 to a736f25 Compare September 29, 2026 02:41
@jamiboym
jamiboym force-pushed the jstory/deploy-tests/pages-router branch from 69fa18d to 4e71b9c Compare September 29, 2026 23:48
@jamiboym
jamiboym force-pushed the jstory/deploy-tests/pages-router branch from 4e71b9c to d83d167 Compare October 1, 2026 15:56
@jamiboym
jamiboym merged commit 3ca20b5 into canary Oct 1, 2026
418 of 427 checks passed
@jamiboym
jamiboym deleted the jstory/deploy-tests/pages-router branch October 1, 2026 21:37
@github-actions github-actions Bot locked as resolved and limited conversation to collaborators Oct 16, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants