Skip to content

Allow migration packs to require successful builds - #116

Merged
lucasbraum merged 2 commits into
mainfrom
feat/pack-required-build
Oct 14, 2026
Merged

lucasbraum merged 2 commits into
mainfrom
feat/pack-required-build

Conversation

@lucasbraum

Copy link
Copy Markdown
Collaborator

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

@lucasbraum
lucasbraum merged commit 4419673 into main Oct 14, 2026
10 checks passed
@lucasbraum
lucasbraum deleted the feat/pack-required-build branch October 14, 2026 00:33
@uptide-release uptide-release Bot mentioned this pull request Oct 14, 2026
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]

### Patch Changes

- [#118](#118)
[`40b3c1f`](40b3c1f)
Thanks [@lucasbraum](https://github.com/lucasbraum)! - The onboarding
generator (`uptide/onboarding`, the "Add Uptide" pull request) writes
`minReleaseAgeDays` to `uptide.yml`, with a comment, when the settings
set it. Before, the
  setting was kept in the returned config but left out of the file.

- [#117](#117)
[`d1e7388`](d1e7388)
Thanks [@lucasbraum](https://github.com/lucasbraum)! - Let packs inspect
declared config and convention files without imports and apply verified
multi-file create, delete, write and rename transactions.

- [#116](#116)
[`4419673`](4419673)
Thanks [@lucasbraum](https://github.com/lucasbraum)! - Allow migration
packs to require a successful repository build before publication,
including subsequent verification runs.

- [#120](#120)
[`b7e0f42`](b7e0f42)
Thanks [@lucasbraum](https://github.com/lucasbraum)! - `uptide pr` (and
`fix --pr`) publishes when the migration branch is already on GitHub, as
it is after a pull request was closed without merging. A branch holding
only Uptide's commits is replaced with `--force-with-lease`, and an open
Uptide pull request on it is updated instead of a second one being
opened. A branch with anyone else's commit is never overwritten: the run
goes to the next free `<branch>-2`, `-3`, … and the pull request says
so. When publication fails in the Action, the job summary and run report
name the reason.

- [#115](#115)
[`17cb9a2`](17cb9a2)
Thanks [@lucasbraum](https://github.com/lucasbraum)! - Support explicit
pack release groups so installed lockstep companions move with their
lead even without dependency edges or incompatible peers.

Co-authored-by: uptide-release[bot] <338861287+uptide-release[bot]@users.noreply.github.com>
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