ruling owed: what "ask me first" promises when every release is cumulative — a later patch carries an unapproved feature release onto the community by itself #1974

Open
opened 2026-09-28 22:27:00 +00:00 by ben · 1 comment
Owner

Parent: #1562 — contract: ADR 0017 (ask-me-first for feature/major), ADR 0068, ADR 0248 decision 3, #1746 (supersession), #1814

The question

A community sets feature releases to ask me first. What does that promise, on a channel where every release is the whole of main?

What's true today (read from the code on main @ be126a6b — not run)

  • Every cut is main's tip: a release contains everything before it.
  • internal/update/supersede.go treats security/patch as cumulative and keeps a feature/major release "on its own terms" — it is never folded away by a newer patch.
  • But nothing holds the newer patch. Kind.Automatic() is true for it, so it rolls in the window by itself — carrying the feature release's code, which the steward never approved.
  • The feed serves one manifest. Once the patch is cut, the feature release is no longer on the feed at all; a community that polls after the patch never hears that a feature went by.
  • After the patch applies, the waiting feature release sits below the running sequence. What Approve does then has not been tried.

On testing today this cannot arise — the rail only cuts patch. It arises the moment anything cuts a feature kind: the test aid #1973, and every stable promote (PROMOTE_KIND is set by hand, per promote).

Why human

A one-way-door ruling on a member-facing trust surface: it decides what the Updates policy screen's "ask me first" means to a steward.

Proposed default ruling

  1. testing follows main; kinds there are a test aid. No hold. A community on testing has agreed to take what main carries. The policy screen says so in words when the channel is testing.
  2. On stable, a release's kind is the strictest kind of everything it carries since the previous stable release. promote works the kind out from the promoted range and refuses a PROMOTE_KIND weaker than it; a human may always set it stricter. A patch promoted after an unapproved feature is therefore itself a feature release, and waits.
  3. A release that a newer one has overtaken leaves the pending list with a history line naming the release that carries it, the way #1746 does for patches — it is never left as an Approve that cannot apply.

Options considered

  • A — hold later cuts as feature until a community approves one. Rejected as the default: the rail cannot know what any community approved, and testing would stop following main after the first feature cut.
  • B — per-community hold: the gateway refuses to auto-apply any release above a waiting feature release. Honest, but a steward who never opens the panel stops receiving security fixes. Conflicts with ADR 0017's security lane unless security is exempted — and a security release also carries the feature's code.
  • C — the proposed default above.

Blocks

The first stable promote (#1562), if ruled as proposed: promote needs rule 2 before it cuts a real release. Does not block the testing review test.

## Parent: #1562 — contract: ADR 0017 (ask-me-first for feature/major), ADR 0068, ADR 0248 decision 3, #1746 (supersession), #1814 ## The question A community sets feature releases to **ask me first**. What does that promise, on a channel where every release is the whole of main? ## What's true today (read from the code on `main` @ `be126a6b` — not run) - Every cut is main's tip: a release contains everything before it. - `internal/update/supersede.go` treats security/patch as cumulative and keeps a feature/major release "on its own terms" — it is never folded away by a newer patch. - But nothing holds the newer patch. `Kind.Automatic()` is true for it, so it rolls in the window by itself — carrying the feature release's code, which the steward never approved. - The feed serves one manifest. Once the patch is cut, the feature release is no longer on the feed at all; a community that polls after the patch never hears that a feature went by. - After the patch applies, the waiting feature release sits below the running sequence. What Approve does then has not been tried. On `testing` today this cannot arise — the rail only cuts `patch`. It arises the moment anything cuts a `feature` kind: the test aid #1973, and every `stable` promote (`PROMOTE_KIND` is set by hand, per promote). ## Why human A one-way-door ruling on a member-facing trust surface: it decides what the Updates policy screen's "ask me first" means to a steward. ## Proposed default ruling 1. **`testing` follows main; kinds there are a test aid.** No hold. A community on `testing` has agreed to take what main carries. The policy screen says so in words when the channel is `testing`. 2. **On `stable`, a release's kind is the strictest kind of everything it carries since the previous `stable` release.** `promote` works the kind out from the promoted range and refuses a `PROMOTE_KIND` weaker than it; a human may always set it stricter. A patch promoted after an unapproved feature is therefore itself a feature release, and waits. 3. **A release that a newer one has overtaken leaves the pending list** with a history line naming the release that carries it, the way #1746 does for patches — it is never left as an Approve that cannot apply. ## Options considered - **A — hold later cuts as `feature` until a community approves one.** Rejected as the default: the rail cannot know what any community approved, and `testing` would stop following main after the first feature cut. - **B — per-community hold: the gateway refuses to auto-apply any release above a waiting feature release.** Honest, but a steward who never opens the panel stops receiving security fixes. Conflicts with ADR 0017's security lane unless security is exempted — and a security release also carries the feature's code. - **C — the proposed default above.** ## Blocks The first `stable` promote (#1562), if ruled as proposed: `promote` needs rule 2 before it cuts a real release. Does not block the `testing` review test.
Author
Owner

Detached from #1562 on 2026-10-21 (Ben's stale sweep): #1562 is proven and closed; this ruling stands on its own and no longer gates it.

Detached from #1562 on 2026-10-21 (Ben's stale sweep): #1562 is proven and closed; this ruling stands on its own and no longer gates it.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
Matou/idss#1974
No description provided.