Skip to content

feat(devops): release visibility on listfeaturesets; switchfeatureset --release / --follow - #41

Merged
taleodor merged 2 commits into
mainfrom
2026-09-featureset-release-targeting
Sep 7, 2026
Merged

taleodor merged 2 commits into
mainfrom
2026-09-featureset-release-targeting

Conversation

@taleodor-claude

Copy link
Copy Markdown
Contributor

Companion to the ReARM Pro backend change that exposes releases on the instance feature-set surface. Intended to ship as rearm-cli 26.09.1; the agent orientation document references that version for this workflow.

  • devops listfeaturesets: per product also returns integrateType, targetRelease, deployedRelease and availableFeatureSets[].releases[] (uuid, version, lifecycle, createdDate, approvedForInstanceEnvironment). An instance-scoped key can now answer "what version is deployed" and see which versions it may switch to, without read access to the product. Falls back to the names-only selection against a backend that predates the fields.
  • devops switchfeatureset: --release <uuid or version> pins the deployment to one of those releases (plan entry becomes TARGET); --follow returns it to FOLLOW. Mutually exclusive.
  • docs/devops.md 15.9 / 15.10 updated.

🤖 Generated with Claude Code

taleodor-claude and others added 2 commits September 7, 2026 14:55
… --release / --follow

listfeaturesets now also returns, per product on the plan, the
integrate type, the release the plan aims at (targetRelease), the
release the instance actually reports as running (deployedRelease) and
the deployable releases of every available feature set. That is how an
instance-scoped key answers 'what version is deployed' and learns which
versions it may switch to without read access to the product. Against
a backend that predates the fields the command falls back to the
names-only selection.

switchfeatureset gains --release <uuid or version> to pin the
deployment to one of those releases (the plan entry becomes TARGET) and
--follow to return it to FOLLOW; mutually exclusive. Docs updated.

ReARM-Agentic-Session: featureset-release-targeting-cli-1788792946
ReARM-Agent: 62df357e-a3a4-4df5-82d4-049e629d1c6b
Co-Authored-By: Claude Fable 5.1 <[email protected]>
The previous commit shipped a second import of encoding/json, which
does not compile. Build and vet are clean again.

ReARM-Agentic-Session: featureset-release-targeting-cli-1788792946
ReARM-Agent: 62df357e-a3a4-4df5-82d4-049e629d1c6b
Co-Authored-By: Claude Fable 5.1 <[email protected]>
@taleodor-claude

Copy link
Copy Markdown
Contributor Author

Verified live on psclaude with this branch's build (rearm-backend:2026-09-featureset-release-targeting.0) and the rearm-cli branch build, using a FREEFORM key scoped to a single standalone instance (INSTANCE scope, DEVOPS_READ/DEVOPS_WRITE, no product access), product card-shuffle on feature set 2026-05-gate-check (two ASSEMBLED releases):

step result
listfeaturesets (FOLLOW, nothing pinned) integrateType=FOLLOW, targetRelease=null, candidates …gate-check.1, …gate-check.0 (ASSEMBLED, approved=true)
switchfeatureset --release 2026-05-gate-check.0 entry becomes TARGET, targetRelease.version=2026-05-gate-check.0
--release 9.9.9 Release '9.9.9' is not a deployable (ASSEMBLED or later) release of feature set 2026-05-gate-check; see listInstanceProductFeatureSets for the candidates
--release … --follow CLI refuses: mutually exclusive
--follow entry back to FOLLOW, recompute picked …gate-check.1
--release <uuid> pins by uuid, TARGET / …gate-check.0
actual state carrying a matched product release deployedRelease.version=2026-05-gate-check.0 reported

The new CLI against the pre-change backend fell back to the names-only output as intended. Test rows restored, key deleted, sandbox back on Base.

@taleodor
taleodor merged commit b515751 into main Sep 7, 2026
1 check passed
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