Repository navigation
fix(onboarding): write minReleaseAgeDays to the generated uptide.yml - #118
Merged
Merged
Conversation
The generator kept minReleaseAgeDays in the config it returned but renderConfig never wrote it, so the "Add Uptide" pull request dropped the setting. renderConfig now writes it, with a comment, only when it is set (0 included). The schema range stays 0 to 365. Adds a release-age golden and a round-trip test; documents it in docs/config.md; patch changeset for uptide. UPT-7 Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01NUYPcrHgdnqJVnsbEpL8ce Signed-off-by: Claude <[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] ### 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>
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.
What and why
The onboarding generator kept
minReleaseAgeDaysin the config it returned, butrenderConfignever wrote it. So the "Add Uptide" pull request dropped the setting.renderConfignow writes it, with a comment, only when it is set (0included). When it isn't set, the file is unchanged. The schema range stays 0 to 365.UPT-7
How it was verified
__golden__/release-age/uptide.yml: the npm case withminReleaseAgeDays: 7. The workflow file must match the plain npm case. Before this change, the line was missing.0,7and365are written and parse back to the same config.pnpm lint && pnpm typecheck && pnpm testpass locally. The one biome warning was already onmain.Checklist
pnpm lint && pnpm typecheck && pnpm testpassdocs/config.md)uptide)🤖 Generated with Claude Code
https://claude.ai/code/session_01NUYPcrHgdnqJVnsbEpL8ce
Generated by Claude Code