cros/kron: Support ChromeOS 2-week release cadence (M153+) [infra/infra : main]

0 views
Skip to first unread message

See Wai Fu (Gerrit)

unread,
6:03 PM (3 hours ago) 6:03 PM
to Prasad Vuppalapu, Matt Bubernak, chromium...@chromium.org, infra-rev...@chromium.org
Attention needed from Matt Bubernak and Prasad Vuppalapu

See Wai Fu voted and added 1 comment

Votes added by See Wai Fu

Auto-Submit+1
Commit-Queue+1

1 comment

Patchset-level comments
File-level comment, Patchset 3 (Latest):
See Wai Fu . resolved

This CL supports change for the new 2-week release cadence. Please review. Thanks.

Open in Gerrit

Related details

Attention is currently required from:
  • Matt Bubernak
  • Prasad Vuppalapu
Submit Requirements:
  • requirement satisfiedCode-Owners
  • requirement is not satisfiedCode-Review
  • requirement is not satisfiedReview-Enforcement
Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
Gerrit-MessageType: comment
Gerrit-Project: infra/infra
Gerrit-Branch: main
Gerrit-Change-Id: I886f5b8f70b9b1166f809e6b7b2a2390cd38e7f7
Gerrit-Change-Number: 8067498
Gerrit-PatchSet: 3
Gerrit-Owner: See Wai Fu <seew...@google.com>
Gerrit-Reviewer: Matt Bubernak <mattbu...@google.com>
Gerrit-Reviewer: Prasad Vuppalapu <pra...@google.com>
Gerrit-Reviewer: See Wai Fu <seew...@google.com>
Gerrit-Attention: Prasad Vuppalapu <pra...@google.com>
Gerrit-Attention: Matt Bubernak <mattbu...@google.com>
Gerrit-Comment-Date: Wed, 08 Jul 2026 22:03:53 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: Yes
satisfied_requirement
unsatisfied_requirement
open
diffy

Prasad Vuppalapu (Gerrit)

unread,
6:13 PM (3 hours ago) 6:13 PM
to See Wai Fu, LUCI CQ, Matt Bubernak, chromium...@chromium.org, infra-rev...@chromium.org
Attention needed from Matt Bubernak and See Wai Fu

Prasad Vuppalapu added 2 comments

File go/src/infra/cros/cmd/kron/totmanager/totmanager.go
Line 95, Patchset 3 (Latest): return milestone > 0 && milestone < GetTot()-3
Prasad Vuppalapu . unresolved

Please fix this WARNING reported by autoreview issue finding: Since `GetStable()` now has dynamic logic for the 2-week cadence, `isLTS` should probably use `GetStable()` instead of `GetTot() - 3`.\n\nWith `GetTot() - 3`, when ToT is an even milestone (e.g., 158), `GetTot() - 3` evaluates to 155. This makes `154 < 155` true, incorrectly classifying the current active Stable (154) as an LTS branch.\n\nPrior to this change, `GetTot() - 3` was exactly equal to `GetStable()`. Updating this to `milestone < GetStable()` maintains the original behavior where LTS milestones are strictly older than the active Stable.

Line 180, Patchset 3 (Latest): case isNextStable(milestone):
Prasad Vuppalapu . unresolved

Please fix this WARNING reported by autoreview issue finding: Placing `isNextStable` before `isDev` and `isBeta` means that `IdentifyBranch` will shadow these branches. Specifically, it will never return `Branch_DEV` when ToT is odd, and never return `Branch_BETA` when ToT is even (as explicitly asserted in your tests).\n\nIf downstream consumers rely on `IdentifyBranch` to schedule or identify standard `DEV` and `BETA` branches, they will break when they receive `NEXT_STABLE` instead.\n\nIf `NEXT_STABLE` is only meant to be a target alias (e.g. for `IsTargetedBranch`), consider checking it after `isDev` and `isBeta`, or removing it from `IdentifyBranch` entirely so it doesn't mask the standard release channels.

Open in Gerrit

Related details

Attention is currently required from:
  • Matt Bubernak
  • See Wai Fu
Submit Requirements:
    • requirement satisfiedCode-Owners
    • requirement is not satisfiedCode-Review
    • requirement is not satisfiedNo-Unresolved-Comments
    • requirement is not satisfiedReview-Enforcement
    Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
    Gerrit-MessageType: comment
    Gerrit-Project: infra/infra
    Gerrit-Branch: main
    Gerrit-Change-Id: I886f5b8f70b9b1166f809e6b7b2a2390cd38e7f7
    Gerrit-Change-Number: 8067498
    Gerrit-PatchSet: 3
    Gerrit-Owner: See Wai Fu <seew...@google.com>
    Gerrit-Reviewer: Matt Bubernak <mattbu...@google.com>
    Gerrit-Reviewer: Prasad Vuppalapu <pra...@google.com>
    Gerrit-Reviewer: See Wai Fu <seew...@google.com>
    Gerrit-Attention: Matt Bubernak <mattbu...@google.com>
    Gerrit-Attention: See Wai Fu <seew...@google.com>
    Gerrit-Comment-Date: Wed, 08 Jul 2026 22:13:25 +0000
    Gerrit-HasComments: Yes
    Gerrit-Has-Labels: No
    satisfied_requirement
    unsatisfied_requirement
    open
    diffy

    See Wai Fu (Gerrit)

    unread,
    6:29 PM (3 hours ago) 6:29 PM
    to LUCI CQ, Prasad Vuppalapu, Matt Bubernak, chromium...@chromium.org, infra-rev...@chromium.org
    Attention needed from Matt Bubernak and Prasad Vuppalapu

    See Wai Fu voted and added 3 comments

    Votes added by See Wai Fu

    Auto-Submit+1
    Commit-Queue+1

    3 comments

    Patchset-level comments
    See Wai Fu . resolved

    Feedback was addressed. Please review again. Thanks.

    File go/src/infra/cros/cmd/kron/totmanager/totmanager.go
    Line 95, Patchset 3: return milestone > 0 && milestone < GetTot()-3
    Prasad Vuppalapu . resolved

    Please fix this WARNING reported by autoreview issue finding: Since `GetStable()` now has dynamic logic for the 2-week cadence, `isLTS` should probably use `GetStable()` instead of `GetTot() - 3`.\n\nWith `GetTot() - 3`, when ToT is an even milestone (e.g., 158), `GetTot() - 3` evaluates to 155. This makes `154 < 155` true, incorrectly classifying the current active Stable (154) as an LTS branch.\n\nPrior to this change, `GetTot() - 3` was exactly equal to `GetStable()`. Updating this to `milestone < GetStable()` maintains the original behavior where LTS milestones are strictly older than the active Stable.

    See Wai Fu

    Done

    Line 180, Patchset 3: case isNextStable(milestone):
    Prasad Vuppalapu . resolved

    Please fix this WARNING reported by autoreview issue finding: Placing `isNextStable` before `isDev` and `isBeta` means that `IdentifyBranch` will shadow these branches. Specifically, it will never return `Branch_DEV` when ToT is odd, and never return `Branch_BETA` when ToT is even (as explicitly asserted in your tests).\n\nIf downstream consumers rely on `IdentifyBranch` to schedule or identify standard `DEV` and `BETA` branches, they will break when they receive `NEXT_STABLE` instead.\n\nIf `NEXT_STABLE` is only meant to be a target alias (e.g. for `IsTargetedBranch`), consider checking it after `isDev` and `isBeta`, or removing it from `IdentifyBranch` entirely so it doesn't mask the standard release channels.

    See Wai Fu

    Done

    Open in Gerrit

    Related details

    Attention is currently required from:
    • Matt Bubernak
    • Prasad Vuppalapu
    Submit Requirements:
      • requirement satisfiedCode-Owners
      • requirement is not satisfiedCode-Review
      • requirement is not satisfiedReview-Enforcement
      Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
      Gerrit-MessageType: comment
      Gerrit-Project: infra/infra
      Gerrit-Branch: main
      Gerrit-Change-Id: I886f5b8f70b9b1166f809e6b7b2a2390cd38e7f7
      Gerrit-Change-Number: 8067498
      Gerrit-PatchSet: 4
      Gerrit-Owner: See Wai Fu <seew...@google.com>
      Gerrit-Reviewer: Matt Bubernak <mattbu...@google.com>
      Gerrit-Reviewer: Prasad Vuppalapu <pra...@google.com>
      Gerrit-Reviewer: See Wai Fu <seew...@google.com>
      Gerrit-Attention: Prasad Vuppalapu <pra...@google.com>
      Gerrit-Attention: Matt Bubernak <mattbu...@google.com>
      Gerrit-Comment-Date: Wed, 08 Jul 2026 22:28:59 +0000
      Gerrit-HasComments: Yes
      Gerrit-Has-Labels: Yes
      Comment-In-Reply-To: Prasad Vuppalapu <pra...@google.com>
      satisfied_requirement
      unsatisfied_requirement
      open
      diffy

      Prasad Vuppalapu (Gerrit)

      unread,
      6:29 PM (3 hours ago) 6:29 PM
      to See Wai Fu, LUCI CQ, Matt Bubernak, chromium...@chromium.org, infra-rev...@chromium.org
      Attention needed from Matt Bubernak and See Wai Fu

      Prasad Vuppalapu voted

      Code-Review+1
      Commit-Queue+2
      Open in Gerrit

      Related details

      Attention is currently required from:
      • Matt Bubernak
      • See Wai Fu
      Submit Requirements:
      • requirement satisfiedCode-Owners
      • requirement satisfiedCode-Review
      • requirement satisfiedReview-Enforcement
      Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
      Gerrit-MessageType: comment
      Gerrit-Project: infra/infra
      Gerrit-Branch: main
      Gerrit-Change-Id: I886f5b8f70b9b1166f809e6b7b2a2390cd38e7f7
      Gerrit-Change-Number: 8067498
      Gerrit-PatchSet: 4
      Gerrit-Owner: See Wai Fu <seew...@google.com>
      Gerrit-Reviewer: Matt Bubernak <mattbu...@google.com>
      Gerrit-Reviewer: Prasad Vuppalapu <pra...@google.com>
      Gerrit-Reviewer: See Wai Fu <seew...@google.com>
      Gerrit-Attention: Matt Bubernak <mattbu...@google.com>
      Gerrit-Attention: See Wai Fu <seew...@google.com>
      Gerrit-Comment-Date: Wed, 08 Jul 2026 22:29:23 +0000
      Gerrit-HasComments: No
      Gerrit-Has-Labels: Yes
      satisfied_requirement
      open
      diffy

      See Wai Fu (Gerrit)

      unread,
      6:35 PM (3 hours ago) 6:35 PM
      to Prasad Vuppalapu, LUCI CQ, Matt Bubernak, chromium...@chromium.org, infra-rev...@chromium.org
      Attention needed from Matt Bubernak and See Wai Fu

      See Wai Fu voted Commit-Queue+2

      Gerrit-Comment-Date: Wed, 08 Jul 2026 22:35:33 +0000
      Gerrit-HasComments: No
      Gerrit-Has-Labels: Yes
      satisfied_requirement
      open
      diffy

      LUCI CQ (Gerrit)

      unread,
      6:51 PM (3 hours ago) 6:51 PM
      to See Wai Fu, Prasad Vuppalapu, Matt Bubernak, chromium...@chromium.org, infra-rev...@chromium.org

      LUCI CQ submitted the change

      Change information

      Commit message:
      cros/kron: Support ChromeOS 2-week release cadence (M153+)

      Starting from M153, ChromeOS will align with Chrome Browser's bi-weekly
      milestone release cycle where only EVEN-numbered milestones are promoted
      to Stable.

      This implements GetNextStable() and updates GetStable(), isStable(), and
      isLTS() in totmanager to handle the dynamic even/odd milestone target
      rules. It also adds support for NEXT_STABLE in branch identification
      and milestone resolution.

      BUG=b:524877490
      TEST=go test ./...
      Change-Id: I886f5b8f70b9b1166f809e6b7b2a2390cd38e7f7
      Commit-Queue: Prasad Vuppalapu <pra...@google.com>
      Auto-Submit: See Wai Fu <seew...@google.com>
      Commit-Queue: See Wai Fu <seew...@google.com>
      Reviewed-by: Prasad Vuppalapu <pra...@google.com>
      Cr-Commit-Position: refs/heads/main@{#81728}
      Files:
      • M go/src/infra/cros/cmd/kron/totmanager/totmanager.go
      • M go/src/infra/cros/cmd/kron/totmanager/totmanager_test.go
      Change size: M
      Delta: 2 files changed, 202 insertions(+), 2 deletions(-)
      Branch: refs/heads/main
      Submit Requirements:
      • requirement satisfiedCode-Review: +1 by Prasad Vuppalapu
      Open in Gerrit
      Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
      Gerrit-MessageType: merged
      Gerrit-Project: infra/infra
      Gerrit-Branch: main
      Gerrit-Change-Id: I886f5b8f70b9b1166f809e6b7b2a2390cd38e7f7
      Gerrit-Change-Number: 8067498
      Gerrit-PatchSet: 5
      Gerrit-Owner: See Wai Fu <seew...@google.com>
      Gerrit-Reviewer: Matt Bubernak <mattbu...@google.com>
      Gerrit-Reviewer: Prasad Vuppalapu <pra...@google.com>
      Gerrit-Reviewer: See Wai Fu <seew...@google.com>
      open
      diffy
      satisfied_requirement
      Reply all
      Reply to author
      Forward
      0 new messages