Skip to content

Fail the build on network failure #20817

Open
@laflannery

Description

@laflannery

Background

This ticket will only be done after reviewing the logs in #20815 and if it has been determined that failing the build will not have a serious detrimental impact.

Description

On network failure, we have decided to fail the build for next-build. This is to ensure we get a notification when there is an issue and that files aren't deleted without being rebuilt during a successful build.

Considerations

It was also discussed with the team that increasing the number of retries if the network request straight-up fails could be helpful as well and a worthwhile update. We should consider doing this as well.

Acceptance Criteria

  • Build fails when there is a network failure
  • Number of retries is increased when there is a network fails
  • Testing to confirm this is working?

Activity

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

    CMS TeamCMS Product team that manages both editor exp and devopsNeeds refiningIssue statusnext-buildFE Repository that will replace content-build. Uses NextJS, builds static pages.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions