Hi Piyush,

+1 on the use case, since today you can't hold or roll back one Dag without
doing it to the whole bundle.

On your question 3, the suggestion on this thread was to keep one candidate
and document the v2-overwritten-by-v3 case, but I think the tiered rollout
use case hits this without any v3. While a Dag is pinned, the latest row
for it keeps getting its bundle_version refreshed in place every time the
bundle gets a new version, whether or not that change touches the Dag. With
GitDagBundle that's every commit to the repo. So if tier 1 moved to the
candidate when it was at version X, and a tier 2 owner wants to advance a
day later, the row they would pin isn't X any more. Your slides have "test
the exact candidate" as one of the policies, so how does the release tool
promote X? The pin request only takes a dag_version_id, and the opt-in
doesn't help because the candidate has no task instances.

Also, AIP-116 (
https://cwiki.apache.org/confluence/pages/viewpage.action?pageId=430407790)
points to this AIP for pinning and rollback, and I can't recall if we
discussed this when you presented at the dev call. Part 2 of it has
on_demand bundles where code only goes live on a parseUpdate call, and a
bundle can allow that call to name a bundle_version. That overlaps a fair
bit with the standing-pin model. Can you add a few lines on how the two fit
together or atleast you and Dilnaz might want to talk through it? Along
that lines: AIP-116's deactivate sets is_stale, and this page keeps a stale
pinned Dag running, so as I read it deactivate wouldn't stop a pinned Dag.

Regards,
Kaxil

On Tue, 1 Dec 2026 at 11:12, Jarek Potiuk <[email protected]> wrote:

> Hi Piyush,
>
> Thanks for working through all of it - and sorry for the slow follow-up
> after your October reply. I re-checked the answers against my six
> points from the vote thread:
>
> 1, 3 and 6 are addressed. The opt-in for code-only changes, with the
> limitation documented when it is off, is a reasonable answer to the
> rollback gap, and moving divergence detection to a follow-up is fine.
>
> The db clean part of 5 is addressed too.
>
> That leaves two things before I can change my -1:
>
> a) Permissions (rest of 5). #61550 shipped in 3.4.0, so triggering at an
>    explicit bundle_version with only the trigger permission is now
>    released behaviour. With pinning behind ACTIVE_VERSION we would have
>    two ways to choose which recorded version runs, guarded by different
>    permissions. I don't think the AIP can leave that as a known
>    loophole. It should pick one position and write it into
>    security_model.rst:
>    - choosing which recorded version runs is a privileged operation:
>      then the bundle_version trigger needs the same permission, with a
>      deprecation step for existing callers in 3.5, or
>    - it is not: then ACTIVE_VERSION is an audit/organisation boundary,
>      not a security one, and the docs should say that.
>    My preference is the first, but either is fine as long as the two
>    paths are consistent.
>
> b) Ash's comments (my point 4). As far as I can see, his last input was
>    about the name. Could Ash confirm on the page or here that his two
>    original comments (gating as a non-goal, and scheduler vs. parser
>    owning the version choice) are settled - or, if not, the
>    disagreement and the reasoning go into the AIP?
>
> Separately, #73861 is still open. With the opt-in off (the default),
> triggering at a refreshed commit still fails. I'd treat that as a bug to
> fix on its own, not something to tie to this AIP - it doesn't block it.
>
> On your three questions:
> - Group releases: agreed, per-Dag only here, groups as a follow-up.
> - Candidates: I'd keep one candidate in this AIP and document the
>   v2-overwritten-by-v3 case. If tiered certification turns out to need
>   more, it can come later.
> - Name: "Dag Version Release Control" works for me.
>
> If a) and b) are settled on the page, I'll re-review within a few days,
> and I see no reason the vote can't restart before Xmas.
>
> J.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
>
>

Reply via email to