Skip to content

Failed App Hosting rollout prints "Deploy complete!" #8866

@jhuleatt

Description

@jhuleatt

[REQUIRED] Environment info

firebase-tools: 14.11.0

Platform: macOS

[REQUIRED] Test case

Run firebase deploy --only apphosting of a web app with a broken build.

[REQUIRED] Steps to reproduce

  1. npm init -y
  2. npm pkg set scripts.build="node file-does-not-exist.js"
  3. firebase deploy --only apphosting

[REQUIRED] Expected behavior

Rollout fails, CLI says deploy failed.

[REQUIRED] Actual behavior

Rollout starts, CLI logs "rollout failed", then logs "Deploy Complete!"

=== Deploying to 'frameworks-blog-test'...

i  deploying apphosting
i  apphosting: Found backend(s) firebase-dot-blog
i  apphosting: Uploading source code at /Users/jhuleatt/projects/first-class-blog for backend firebase-dot-blog...
i  apphosting: Source code uploaded at gs://<redacted>/firebase-dot-blog--5539-WtMJaqIba6mm-.zip
i  apphosting: You may also track the rollout(s) at:
        https://console.firebase.google.com/project/frameworks-blog-test/apphosting
⠼ Starting rollout(s) for backend(s) firebase-dot-blog; this may take a few minutes. It's safe to exit now.
⚠  apphosting: Rollout for backend firebase-dot-blog failed.
⬢  apphosting: Failed to build your app. Please inspect the build logs at https://console.cloud.google.com/cloud-buil
✔  Deploy complete!

Project Console: https://console.firebase.google.com/project/frameworks-blog-test/overview

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions