Skip to content

fix(onboarding): write minReleaseAgeDays to the generated uptide.yml - #118

Merged
lucasbraum merged 1 commit into
mainfrom
claude/onboarding-min-release-age
Oct 14, 2026
Merged

lucasbraum merged 1 commit into
mainfrom
claude/onboarding-min-release-age

Conversation

@lucasbraum

Copy link
Copy Markdown
Collaborator

What and why

The onboarding 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). When it isn't set, the file is unchanged. The schema range stays 0 to 365.

UPT-7

How it was verified

  • New golden __golden__/release-age/uptide.yml: the npm case with minReleaseAgeDays: 7. The workflow file must match the plain npm case. Before this change, the line was missing.
  • New test: an unset value leaves the line out. 0, 7 and 365 are written and parse back to the same config.
  • The existing goldens did not change.
  • pnpm lint && pnpm typecheck && pnpm test pass locally. The one biome warning was already on main.

Checklist

  • Tests for the change (a bug fix starts with a failing test)
  • pnpm lint && pnpm typecheck && pnpm test pass
  • README and docs updated if behavior changed (docs/config.md)
  • Changeset added if a user would notice (patch, uptide)
  • No new dependency, or it was agreed in an issue
  • No private code, names or paths in fixtures, tests or docs
  • The rules in CONTRIBUTING.md ("Rules that do not bend") still hold

🤖 Generated with Claude Code

https://claude.ai/code/session_01NUYPcrHgdnqJVnsbEpL8ce


Generated by Claude Code

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]>
@lucasbraum
lucasbraum merged commit 40b3c1f into main Oct 14, 2026
10 checks passed
@lucasbraum
lucasbraum deleted the claude/onboarding-min-release-age branch October 14, 2026 00:11
@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.

2 participants