Repository navigation
chore: set version to 0.9.5-rc4 - #2838
Conversation
Release candidate cut off dev for the DigitalOcean Marketplace snapshot build. The VERSION file is what /api/version reports and what tags the agent base image, so it carries the full RC string including the suffix. Co-Authored-By: Claude Opus 5 (1M context) <[email protected]>
|
merge-train: not on this train — fails its own check.
This is a release-flow chore rather than a train member either way — it merges when the rc tag is cut. Rides on its own once fixed. |
The installer hardcodes the release it fetches, and the guide tells operators to run it straight off a tag with no environment set. Left at rc3, a script fetched FROM the rc4 tag would clone and pull rc3 — a successful install of the wrong release, invisible to the operator and to CI. test_2380_installer_release_pin fires on exactly this: it ties the default to the VERSION file so the bump cannot land alone. Caught by the regression-diff job on PR #2838. Co-Authored-By: Claude Opus 5 (1M context) <[email protected]>
The DigitalOcean installer hardcoded the release it fetched, and the guide
tells operators to run it straight off a tag with no environment set, so that
literal was what they got. A test tied it to the VERSION file to stop a bump
landing alone -- which worked, and cost a red CI run per release to deliver a
reminder someone then had to act on. That is bookkeeping, not a safeguard.
It now reads releases/latest at run time. There is no literal to keep in step.
Why an endpoint and not the `latest` image tag: one string feeds both
`git clone --branch` and `docker pull`, and `latest` is a Docker tag, not a
git ref -- it cannot serve the clone. `releases/latest` also EXCLUDES
pre-releases, which is the property that matters here. /release cuts every RC
with --prerelease precisely so an RC can publish images and seed a marketplace
snapshot without becoming what operators install, and publish-images.yml
withholds the `latest` image tag from hyphenated versions under the same rule.
Resolution today returns v0.9.0, correctly skipping rc1 through rc4.
Resolution failure aborts rather than falling back to a baked-in tag: a stale
fallback is exactly the defect being removed -- a successful install of the
wrong release, invisible to the operator and to CI. The message names the
override so a rate-limited API is not a dead end.
The guard is inverted rather than deleted: it now holds the ABSENCE of a
literal open, checks the resolver reads releases/latest rather than the
pre-release-inclusive list, and checks the failure path stays fatal. Verified
by reintroducing a pin and watching it fail.
Two pins deliberately survive, and neither is bookkeeping:
- packer/digitalocean/trinity.pkr.hcl still REQUIRES an explicit tag and
rejects `latest`. Marketplace review approves a specific artifact, and a
snapshot resolving a moving target would serve a different Trinity on
every droplet created from one reviewed image (#2281).
- The single-server guide still recommends pinning TRINITY_IMAGE_TAG in
.env, because an unpinned install turns the operator's next re-run into
an unscheduled upgrade.
Refs #2380, #2281
Co-Authored-By: Claude Opus 5 (1M context) <[email protected]>
|
merge-train 2026-09-16: not on this train. CI is green, but the third commit ( What breaks. The droplet's first-boot script ( Why no test caught it. The test that tied the installer to Also stale: Two ways forward, your call:
Rides the next train once fixed. |
…arrying one" This reverts commit 66569a1. releases/latest returns v0.9.0 today, and v0.9.0's start.sh has no --provision. Any run without TRINITY_IMAGE_TAG, including one fetched from the rc4 tag this PR exists to cut, created a billed droplet that never installed and timed out after 15 minutes (review on #2838). The resolver can land on its own once v0.9.5 is a full release, when releases/latest first returns a tag that can provision. Until then any floor is either this pin again or an installer that refuses to run. The commit is kept on feature/2380-installer-resolves-release. This PR goes back to being the version bump its title says, with the installer pinned to v0.9.5-rc4 and the VERSION-tie test restored. Co-Authored-By: Claude Opus 5 (1M context) <[email protected]>
|
Went with option 1. The stale spots you listed ( Why not option 2: the floor is the first release whose The resolver can land on its own after v0.9.5 ships, with the docs you flagged updated alongside it. I used a revert rather than a force-push so your review stays tied to the commits it read. It squash-merges the same either way. |
The rc5 bump moves to its own chore PR, as #2838 did for rc4, so this fix can merge on its own and the bump is not coupled to it. Review finding I1 on #2862: the bump must not land ahead of #2861 while dev is red. Co-Authored-By: Claude Opus 5 (1M context) <[email protected]>
…first boot serves again (#2862) * fix(onboarding): the getting-started checklist updates without a reload The store fetched the checklist once per page load, so a milestone reached mid-session (creating an agent from the dashboard, or chatting, scheduling or connecting a channel on another page) stayed unticked until a browser refresh. Re-read on every mount, so returning to the dashboard picks up milestones reached elsewhere, and whenever the agent count changes, since agents are created and deleted from the dashboard itself. Refs Abilityai/trinity-enterprise#238 Co-Authored-By: Claude Opus 5 (1M context) <[email protected]> * fix(deploy): make the rendered Caddyfile readable by the caddy user The 1-Click first boot runs start.sh under `umask 077`. Since the Caddyfile is rendered to Caddyfile.new and moved into place, the new file came out 0600 root, the `caddy` service user could not read it, the restart failed, and provisioning stopped before Trinity started: a droplet created from the v0.9.5-rc4 snapshot never served HTTPS. Overwriting in place had kept the package's 0644, so rc3 booted. chmod 0644 before the move (the file holds no secrets). The new test runs provision_caddyfile under umask 077 and asserts the installed mode. Co-Authored-By: Claude Opus 5 (1M context) <[email protected]> * chore: set version to 0.9.5-rc5 Bumps VERSION to 0.9.5-rc5 and points trinity-do-create.sh's default TRINITY_IMAGE_TAG at v0.9.5-rc5 (tied to VERSION by test_2380_installer_release_pin), so the v0.9.5-rc5 tag can be cut off dev with the Caddyfile permission fix for the DigitalOcean Marketplace snapshot. Co-Authored-By: Claude Opus 5 (1M context) <[email protected]> * fix(onboarding): don't re-ask an absent checklist surface on every forced read The checklist now forces a read on every mount, sidebar expand and fleet-size change. On OSS (404) and unentitled (403) builds that turned one swallowed request per session into one per event, each with a console 404, for a card that never renders. A 404/403 now marks the surface absent for the session; a genuine failure (5xx) stays retryable. Addresses review finding I1 on #2862. Co-Authored-By: Claude Opus 5 (1M context) <[email protected]> * Revert "chore: set version to 0.9.5-rc5" The rc5 bump moves to its own chore PR, as #2838 did for rc4, so this fix can merge on its own and the bump is not coupled to it. Review finding I1 on #2862: the bump must not land ahead of #2861 while dev is red. Co-Authored-By: Claude Opus 5 (1M context) <[email protected]> * chore: set version to 0.9.5-rc5 (restored) Reverts the split in ea0649a. Agreed with the reviewer to keep the rc5 bump here and merge in order instead: #2861 (green dev) first, then this PR, then tag v0.9.5-rc5. Co-Authored-By: Claude Opus 5 (1M context) <[email protected]> --------- Co-authored-by: Claude Opus 5 (1M context) <[email protected]>
Bumps
VERSIONfrom0.9.5-rc3to0.9.5-rc4so thev0.9.5-rc4tag can be cut offdev.It also points
scripts/deploy/trinity-do-create.sh's defaultTRINITY_IMAGE_TAGatv0.9.5-rc4, whichtest_2380_installer_release_pinties toVERSION.Why
The DigitalOcean Marketplace snapshot builds from a pinned tag, not from a branch —
packer/digitalocean/scripts/01-provision.shfeeds oneTRINITY_IMAGE_TAGto bothgit clone --branchanddocker pull, and the Packer template rejectslatest. So a tag has to exist before a snapshot can be built, andpublish-images.ymlonly fires on av*tag push.Step 8-RC of the release playbook hard-fails unless
VERSIONequals the tag minus itsv:This is release-candidate mode: no
dev→mainmerge, noClosesblock, no issue sweep, no release notes. The tag closes nothing and moves no branch.What rc4 carries that rc3 does not
rc3 was tagged off
feature/ent580-582-first-run, not offdev. Its packer bundle is near-identical to today's, but it predates these landing ondev:StepSecure.vue)hardeningGuide.js)scripts/deploy/start.shone-provisioning-path work from feat(deploy): one provisioning path, a prompting DigitalOcean installer, and a domain that gets a certificate (#2380) #2707rc4 is the first tag in this series whose lineage is actually
dev.Pre-release checks
latestguard present —publish-images.yml:200carries!contains(github.ref_name, '-'), so the RC will not movelatest(Step 2.12, not overridable)devv0.9.5-rc3..devcleandevtip0bddbc95🤖 Generated with Claude Code