Repository navigation
Add verified Next.js 15 to 16 migration pack - #114
Merged
Merged
Conversation
This was referenced Oct 13, 2026
lucasbraum
added a commit
that referenced
this pull request
Oct 14, 2026
Release-group members now move with the lead even when they have no dependency/peer edge or their installed range already accepts the target. This fixes the exif-photo-blog and wortkarte shapes where Next companions remained on 15.x. Adds the source-backed `releaseGroup` pack contract and uses one planner in check, peer/range preflight, fix, and pack verification. List reports declared members through `movesWith`. The lead's exact version wins; if unpublished for a member, the newest stable release with a published dependency/peer range accepting the lead is selected. A missing compatible release blocks the plan. Ordinary companions retain their existing behavior. Regression tests cover exif-photo-blog @3f1a363 (three members), wortkarte @e3bd367, compatible installed peers, missing edges, compatible fallback, missing compatible releases, unused-member compilation, fix installation, inventory-independent list grouping, and contract validation. The four planner regressions failed before the implementation. Core suite: 1,418 passed / 32 skipped; additional focused integration and contract tests passed. Core typecheck, changed-file Biome, and diff checks passed. ## Full pack gate Ran `pnpm uptide pack test` with per-pack process isolation from #110, exit 0. All five verified packs retain exactly their recorded breaking metrics. No ground-truth expectations or verification records changed. | Pack | Status | Public repos | Breaking TP / FP / FN | Precision | Recall | Recorded recall | Overall TP / FP / FN | | --- | --- | ---: | --- | ---: | ---: | ---: | --- | | ai | verified | 2 | 9 / 0 / 2 | 100% | 81.82% | 81.82% | 54 / 0 / 7 | | react | verified | 2 | 89 / 0 / 40 | 100% | 68.99% | 68.99% | 92 / 6 / 40 | | stripe | verified | 2 | 18 / 0 / 2 | 100% | 90% | 90% | 18 / 0 / 2 | | vitest | verified | 2 | 16 / 0 / 16 | 100% | 50% | 50% | 16 / 18,938 / 16 | | zod | verified | 3 | 59 / 0 / 21 | 100% | 73.75% | 73.75% | 120 / 0 / 21 | The overall score includes non-breaking findings: React has six false positives and Vitest has 18,938 `unverified` false positives. These do not count toward the recorded breaking gate. A separate clean-main run (`d0dea2a`) reproduced exactly the same Vitest overall counts (16 TP / 18,938 FP / 16 FN) and breaking counts (16 / 0 / 16). This overall noise predates the PR; no expectations have been adjusted. Next's candidate is still on #114, not main. Its release-group declaration will use eslint-config-next, @next/eslint-plugin-next, @next/bundle-analyzer, @next/mdx, and @next/third-parties when the requested post-merge follow-up is applied. This PR does not activate the candidate or change its expectations. UPT-6 Signed-off-by: Lucas Braum <[email protected]>
lucasbraum
added a commit
that referenced
this pull request
Oct 14, 2026
Packs can declare `requiresBuild: true` when compiler checks cannot establish that the upgraded repository builds. Fix runs the existing repository build runner after migration, using the same credential-filtered environment as tests. Missing, failed, timed-out, or unrun required builds block publication with a reason. The PR's **Verified by** row displays the build result, and reverification reruns the required build rather than reusing a stale pass. Other packs retain their existing behavior. Regression tests cover successful, failed and missing builds; actual execution without inherited secrets; failure during reverification; and unchanged behavior for ordinary packs. The four initial regression cases failed before implementation. Core suite: 1,417 passed / 32 skipped. Six focused required-build tests, the existing generic-build tests, core typecheck, changed-file Biome, and diff checks passed. ## Full pack gate Ran `pnpm uptide pack test` with per-pack process isolation from #110, exit 0. All five verified packs retain exactly their recorded breaking metrics. No ground-truth expectations or verification records changed. | Pack | Status | Public repos | Breaking TP / FP / FN | Precision | Recall | Recorded recall | Overall TP / FP / FN | | --- | --- | ---: | --- | ---: | ---: | ---: | --- | | ai | verified | 2 | 9 / 0 / 2 | 100% | 81.82% | 81.82% | 54 / 0 / 7 | | react | verified | 2 | 89 / 0 / 40 | 100% | 68.99% | 68.99% | 92 / 6 / 40 | | stripe | verified | 2 | 18 / 0 / 2 | 100% | 90% | 90% | 18 / 0 / 2 | | vitest | verified | 2 | 16 / 0 / 16 | 100% | 50% | 50% | 16 / 18,938 / 16 | | zod | verified | 3 | 59 / 0 / 21 | 100% | 73.75% | 73.75% | 120 / 0 / 21 | The overall score includes non-breaking findings: React has six false positives and Vitest has 18,938 `unverified` false positives. These do not count toward the recorded breaking gate. A separate clean-main run (`d0dea2a`) reproduced exactly the same Vitest overall counts (16 TP / 18,938 FP / 16 FN) and breaking counts (16 / 0 / 16). This overall noise predates the PR; no expectations have been adjusted. Next's candidate remains on #114, not main. Set `requiresBuild` there in the requested follow-up after the first two engine PRs merge, then rerun its unchanged ground truth. No pack expectations or verification records are edited here. UPT-6 Signed-off-by: Lucas Braum <[email protected]>
lucasbraum
added a commit
that referenced
this pull request
Oct 14, 2026
Packs can declare a scoped file inventory independent of imported usages, so runtime rules can inspect configuration, scripts and file conventions even when the dependency has no imported call sites. Rules can return writes, creates, deletes and renames together. The engine prevalidates all paths, applies the edits as one verified transaction, and restores all affected files when compilation or related tests reject it. Renames retain the old path as the finding anchor, and formatting handles the resulting paths. Regression tests cover inventory-only check results, brace/glob scopes, all four edit operations, executable-mode preservation, rollback after rejected verification or exceptions, invalid paths, and a real fix rename that preserves its old anchor. The initial inventory and multi-file regression tests failed before implementation. Core suite: 1,419 passed / 32 skipped, then the additional executable-mode regression passed with the six transaction tests. Core typecheck, Biome and diff checks passed. ## Full pack gate Ran `pnpm uptide pack test` with per-pack process isolation from #110, exit 0. All five verified packs retain exactly their recorded breaking metrics. No ground-truth expectations or verification records changed. | Pack | Status | Public repos | Breaking TP / FP / FN | Precision | Recall | Recorded recall | Overall TP / FP / FN | | --- | --- | ---: | --- | ---: | ---: | ---: | --- | | ai | verified | 2 | 9 / 0 / 2 | 100% | 81.82% | 81.82% | 54 / 0 / 7 | | react | verified | 2 | 89 / 0 / 40 | 100% | 68.99% | 68.99% | 92 / 6 / 40 | | stripe | verified | 2 | 18 / 0 / 2 | 100% | 90% | 90% | 18 / 0 / 2 | | vitest | verified | 2 | 16 / 0 / 16 | 100% | 50% | 50% | 16 / 18,938 / 16 | | zod | verified | 3 | 59 / 0 / 21 | 100% | 73.75% | 73.75% | 120 / 0 / 21 | The overall score includes non-breaking findings: React has six false positives and Vitest has 18,938 `unverified` false positives. These do not count toward the recorded breaking gate. A separate clean-main run (`d0dea2a`) reproduced exactly the same Vitest overall counts (16 TP / 18,938 FP / 16 FN) and breaking counts (16 / 0 / 16). This overall noise predates the PR; no expectations have been adjusted. Next's middleware/proxy and removed eslint configuration rules remain a follow-up commit on #114 after this engine PR merges. No Next expectations are changed here. UPT-6 Signed-off-by: Lucas Braum <[email protected]>
Signed-off-by: Lucas Braum <[email protected]>
Signed-off-by: Lucas Braum <[email protected]>
lucasbraum
force-pushed
the
feat/next-16-pack
branch
from
October 14, 2026 01:44
7a16c78 to
8a6e3b8
Compare
lucasbraum
marked this pull request as ready for review
October 14, 2026 01:44
Signed-off-by: Lucas Braum <[email protected]>
Merged
lucasbraum
pushed a commit
that referenced
this pull request
Oct 14, 2026
This PR was opened by the [Changesets release](https://github.com/changesets/action) GitHub action. When you're ready to do a release, you can merge this and publish to npm yourself or [setup this action to publish automatically](https://github.com/changesets/action#with-publishing). If you're not ready to do a release yet, that's fine, whenever you add more changesets to main, this PR will be updated. # Releases ## [email protected] ### Minor Changes - [#114](#114) [`ac2755f`](ac2755f) Thanks [@lucasbraum](https://github.com/lucasbraum)! - Add a verified Next.js 15 to 16 migration pack with source-backed rules, lockstep release-group companions, required consumer builds, scoped config/convention discovery, and transactional middleware-to-proxy edits. Verify against two unchanged public upgrade baselines and document remaining generated-type, deprecation and runtime coverage limits. ### Patch Changes - [#124](#124) [`01553c7`](01553c7) Thanks [@lucasbraum](https://github.com/lucasbraum)! - Retain accepted agent patches and show migration choices in PR decisions. Merge paired compiler and pack findings, bound repeated test output, and scope Next platform minimum warnings to missing or insufficient versions. - [#123](#123) [`079f496`](079f496) Thanks [@lucasbraum](https://github.com/lucasbraum)! - Allow pnpm peer-suffix and non-resolution lockfile metadata changes during upgrades. Continue checking each unrelated package and importer specifier/resolved version, with named diagnostics for importer changes. npm and Yarn scope checks are unchanged. - [#123](#123) [`079f496`](079f496) Thanks [@lucasbraum](https://github.com/lucasbraum)! - Render applicable behavior notes under “Decisions for you” when a migration pack has no custom decision hook. Next 16 decisions now cite repository configuration, scripts, runtime declarations and missing parallel-route fallbacks instead of generic migration notes. - [#121](#121) [`3da4978`](3da4978) Thanks [@lucasbraum](https://github.com/lucasbraum)! - `uptide init` pins the Uptide Action of v0.11.2 Co-authored-by: uptide-release[bot] <338861287+uptide-release[bot]@users.noreply.github.com>
8 tasks done
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.
Next 15 → 16 now has a verified pack against two public upgrade baselines. Rebased on main
6f67430after the 0.11.2 release; no GitHub “Update branch” merge was used.Addresses UPT-6.
Uses the released engine APIs:
releaseGroup: installed eslint-config-next, @next/eslint-plugin-next, @next/bundle-analyzer, @next/mdx and @next/third-parties move with Next even without a dependency edge.requiresBuild: a missing/failing consumer build blocks migration publication. A successful pack test is not evidence that a consumer migration build passed.filename.txtfor convention-sensitive rules, avoiding production exceptions for fixture paths. No migration-engine implementation changes.The existing ground-truth.json is byte-for-byte unchanged (git blob
4f9b2278227a45d311d1f82d33e110002f05c8ff).pnpm uptide pack test next --write: PASS, verified, four fixtures / six positive sites; two public repositories, zero breaking false positives, companion expectations satisfied.N/A means no predictions (the CLI prints 100% for the empty denominator). Other rules have no public expected sites and remain unmeasured. Middleware is deprecated, not removed; its new rule uses deprecated severity, while the old unclaimed expectation was counted as breaking by the scorer. No expectation was edited to obtain this classification.
Remaining false negatives: ExIF's shared
ImageWithFallback.tsx:16deprecation and application-specific static-generation gates atsrc/app/static.ts:24and:50. Generated route types and wrapper root-cause evidence still need separate engine work. Ambient-type truth linking, cross-process extraction and uniform pnpm/Yarn peer publication blocking also remain follow-ups; they are not implemented here. The pack still requires explicit caching, runtime, lint-tooling and other config decisions. Published next-i18next 15.4.2/15.4.3 accepts Next >=12 and is not a fabricated blocker.Research and source ledger includes official source URLs/read dates, the classified change list, independent compiler evidence, exact peer ranges, public upgrade provenance and remaining limits. README, verification record and changeset reflect the measured verified status. Queue remains in progress until merge.
Validation results and full pack regression table follow below.
pnpm uptide pack test(all packs, per-pack isolation): exit 0, every previously verified pack retains identical overall and breaking counts.React’s six and Vitest’s 18,938 non-breaking false positives are pre-existing and unchanged; they are not hidden by the breaking-only gate.
pnpm build, core typecheck, targeted Biome,pnpm docs:packs --check,pnpm docs:links, andgit diff --check: passed.The PR was kept draft until the verified gate and full regression run passed.
Pre-merge runtime safety follow-up (
9977b0e, new signed-off commit): middleware detection, deprecated severity and guide are unchanged. Rewriting requires explicit static Node configuration; absent/Edge/dynamic runtimes return the requested runtime-choice reason. Regression tests were run before the fix (11 failures), then 55 Next/contract tests and core typecheck passed.pnpm uptide pack test nextpassed with unchanged 12/0/3 overall and 11/0/2 breaking counts; all companion moves remain unchanged. RESEARCH.md has the one-line correction; ground truth and verification record are unchanged.