Skip to content

Nextjs deployments are not turning off old cloud run revisions (for SSR) #6484

Open
@ghost

Description

We use the nextjs framework integration for firebase. When we deploy our app, it creates a new cloud run revision for the SSR backend, but the old revision stays active. Rarely will the old one be 'deactivated'. Our snippet below gives the historical revisions for cloud run instances and you can see that one of them was deactivated successfully.

This matters because those old revisions are costing us a lot of money (which we recently discovered through billing and deleting many of the old revisions that were still active).

firebase-tools:12.7.0

[REQUIRED] Expected behavior

When we deploy a nextjs app, the old ssr cloud run revision should be deactivated when the new one is active.

[REQUIRED] Actual behavior

The old revisions are staying active.

image

Activity

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

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