Skip to content

Gold tryjobs cannot be executed by first-time contributors #46687

Closed

Description

@Piinks

Pre-submit tryjobs rely on being able to decrypt the service account on Cirrus. For first time contributors, this becomes an issue when pre-submit checks attempt to run since they have not yet attained write permission to the repository. This is needed in order to decrypt the service account.
Tryjobs cannot execute without authenticating, so another solution must be implemented for this edge case.

Early ideas:

  • goldctl imgtest check is a new feature from gold to check image results against baselines without authenticating.
    • tests will run, will need triage after merging
    • Will need a way to flag a failing test as permissible so a change can land (see old implementation below) OR
    • we could decide that first time contributors cannot change existing golden files on their first pull request
  • The previous, manual implementation of pre-submit checks
    • tests ran, needed triage after merging
    • subject to breaking changes from Gold if the api changes

Activity

  1. added
    a: tests"flutter test", flutter_test, or one of our tests
    c: contributor-productivityTeam-specific productivity, code health, technical debt.
    frameworkflutter/packages/flutter repository. See also f: labels.
    team-infraOwned by Infrastructure team
    on Dec 10, 2019
  2. self-assigned this
    on Dec 10, 2019
  3. added this to the January 2020 milestone on Jan 27, 2020
  4. Piinks commented on Jan 31, 2020

    @Piinks
    ContributorAuthor

    This is resolved for now for cirrus, but I think when we switch to luci it will be better. Gold doesn't need a service account to authenticate in a luci environment, which would handle this edge case much better. Currently tracking luci support for gold in #49837 and #49749. :)

  5. github-actions commented on Aug 23, 2021

    @github-actions

    This thread has been automatically locked since there has not been any recent activity after it was closed. If you are still experiencing a similar issue, please open a new bug, including the output of flutter doctor -v and a minimal reproduction of the issue.

  6. locked as resolved and limited conversation to collaborators on Aug 23, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

a: tests"flutter test", flutter_test, or one of our testsc: contributor-productivityTeam-specific productivity, code health, technical debt.frameworkflutter/packages/flutter repository. See also f: labels.team-infraOwned by Infrastructure teamwaiting for PR to land (fixed)A fix is in flightwill affect goldensChanges to golden files

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions