Skip to content

x/build/internal/releasetargets: update for each upcoming major Go release #40561

Open

Description

@dmitshur

At the start of each code freeze, we should evaluate the choice of releaselets (builders that are used for constructing a release artifact) used to make the upcoming major Go release, and confirm they are the most appropriate choice out of what is available.

The start of a code freeze is a safe time to introduce a builder change, as it will be tested during pre-release versions, starting with beta 1 and onwards.

Making this a release blocker for Go 1.16 (and not okay after beta 1—it needs to be done before). Once completed, this issue should be moved to the next major release milestone.

Edit: Starting with Go 1.21, releaselets are only used for running tests. Release artifact construction happens by reproducibly cross-compiling a distpack distribution on a fixed builder.

CC @golang/release, @ianlancetaylor.

Activity

  1. added
    Buildersx/build issues (builders, bots, dashboards)
    recurringIssues that should never be closed, but moved to the next milestone once fixed in the current one.
    on Aug 4, 2020
  2. added this to the Go1.16 milestone on Aug 4, 2020
  3. added
    NeedsDecisionFeedback is required from experts, contributors, and/or the community before a change can be made.
    on Aug 4, 2020
  4. toothrot commented on Nov 5, 2020

    @toothrot
    Contributor
  5. added
    NeedsFixThe path to resolution is known, but the work has not been done.
    and removed
    NeedsDecisionFeedback is required from experts, contributors, and/or the community before a change can be made.
    on Nov 19, 2020
  6. dmitshur commented on Nov 21, 2020

    @dmitshur
    MemberAuthor

    The @golang/release team has considered the current builders, and we are proposing the following builder changes for the Go 1.16 release:

    go1.16*.linux-amd64.tar.gz

    Builder Name Host Type
    Current linux-amd64-jessie host-linux-jessie
    New linux-amd64 host-linux-stretch

    (Or rather a new builder, identical to the linux-amd64 one, just named linux-amd64-stretch instead.)

    Rationale: Debian 8 "Jessie" Long Term Support (LTS) has ended on June 30, 2020 (see https://wiki.debian.org/LTS). We want to start using the next stable release, Debian 9 "Stretch", which has LTS support until June 2022.

    Note that this has caused #31293 in April 2019 when this change was made unintentionally as part of a minor release, and it was reverted. We hope that it should be okay to try again for Go 1.16 a year later, since this is being done intentionally this time, and for a major release. CC @ianlancetaylor, @jayconrod, @bradfitz.

    go1.16*.linux-386.tar.gz

    Builder Name Host Type
    Current linux-386 host-linux-jessie
    New linux-386-stretch host-linux-stretch

    Rationale: Same as the one above for linux/amd64.

    go1.16*.linux-armv6l.tar.gz

    Builder Name Host Type
    Current linux-arm host-linux-arm-scaleway
    New linux-arm-aws host-linux-arm-aws

    Rationale: The replacement builder has proven to be more reliable, and it is easier for us to maintain.

    go1.16*.linux-arm64.tar.gz

    Builder Name Host Type
    Current linux-arm64-packet host-linux-arm64-packet
    New linux-arm64-aws host-linux-arm64-aws

    Rationale: The replacement builder has proven to be more reliable, and it is easier for us to maintain.

    Also see #42304 (comment).


    Feedback is welcome: we are happy to alter the plan based on information we haven't already considered. These builder changes are planned for Go 1.16 Beta 1, and we will re-evaluate this as needed based on any new findings and feedback.

  7. self-assigned this
    on Dec 3, 2020
  8. gopherbot commented on Dec 8, 2020

    @gopherbot
    Contributor

    Change https://golang.org/cl/276034 mentions this issue: cmd/release, dashboard: implement builder plan for Go 1.16

  9. dmitshur commented on Dec 9, 2020

    @dmitshur
    MemberAuthor

    CL 276034 has implemented the aforementioned plan for Go 1.16.

    We'll need to revisit this issue next time during the Go 1.17 development cycle. (If we discover problems with the Go 1.16 plan, we'll come back here, or file new issues.) Moving to the next milestone for now.

  10. modified the milestones: Go1.16, Go1.17 on Dec 9, 2020
  11. 123 remaining items

  12. gopherbot commented on Oct 21, 2025

    @gopherbot
    Contributor

    Change https://go.dev/cl/713560 mentions this issue: internal/releasetargets: update list for Go 1.26

  13. cherrymui commented on Nov 26, 2025

    @cherrymui
    Member

    This list still looks good to me for Go 1.26. If we uncover anything during pre-release testing, we can revisit. Moving to Go 1.27 for now.

  14. modified the milestones: Go1.26, Go1.27 on Nov 26, 2025
  15. gopherbot commented on Apr 15, 2026

    @gopherbot
    Contributor

    Change https://go.dev/cl/767441 mentions this issue: internal/releasetargets: update list for Go 1.27

  16. gopherbot commented on Apr 17, 2026

    @gopherbot
    Contributor

    Change https://go.dev/cl/768223 mentions this issue: internal/relui: update TestRelease to use supported Go versions

  17. dmitshur commented on May 26, 2026

    @dmitshur
    MemberAuthor

    CL 767441 generated a preliminary list for Go 1.27. It's the same list as for Go 1.26 except the macOS minimum version became 13, and that's noted at https://tip.golang.org/doc/go1.27#darwin.

    I re-checked now that we're in the release freeze, and there haven't been changes since then. If we uncover something during pre-release testing, we can revisit, otherwise moving this to the next milestone.

  18. modified the milestones: Go1.27, Go1.28 on May 26, 2026
  19. removed their assignment
    on May 26, 2026
  20. gopherbot commented on Oct 9, 2026

    @gopherbot
    Contributor

    Change https://go.dev/cl/848086 mentions this issue: internal/releasetargets: update list for Go 1.28

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Buildersx/build issues (builders, bots, dashboards)NeedsInvestigationSomeone must examine and confirm this is a valid issue and not a duplicate of an existing one.recurringIssues that should never be closed, but moved to the next milestone once fixed in the current one.release-blocker

    Type

    No type

    Projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions