Skip to content

Release builders are failing on ComputeContentHashOfHeadMinus1 #174155

@matanlurey

Description

@matanlurey

Example failure:

Executing command [
  '/b/s/w/ir/cipd_bin_packages/git',
  'fetch',
  'origin',
  'flutter-3.36-candidate.0^',
  '--recurse-submodules',
  '--progress',
  '--tags',
]

...

fatal: invalid refspec 'flutter-3.36-candidate.0^'

We expected:

repository, git_url, git_ref = GetRepoInfo(
    api.properties, api.buildbucket.gitiles_commit
)

... to return a git_ref that is a SHA, but it's returning a tag, and that doesn't support the ^ modifier.

Metadata

Metadata

Assignees

No one assigned

    Labels

    P0Critical issues such as a build break or regressionc: regressionIt was better in the past than it is nowinfra: recipesIssues with flutter/recipesinfra: releaseRelease-related requests and toolingteam-infraOwned by Infrastructure teamtriaged-infraTriaged by Infrastructure team

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions