FirebaseExtended / FirebaseExtended/action-hosting-deploy

[BUG] Deployment succeeds but action fails with: "supplied version is the current active version"

Open
#461 2 comments 8 reactions 0 assignees View on GitHub
bug
Dominant language
TypeScript
Stars
809
Forks
232
PR merge metrics
No merged PRs in 30d

Description

Workflow:

- uses: FirebaseExtended/action-hosting-deploy@v0

Observed behavior:

1. Hosting version is created successfully
2. Files upload successfully
3. Version is finalized successfully
4. Site updates correctly
5. Action exits with code 1

Error:

FAILED_PRECONDITION

Can't release to
projects/-/sites/slide-cube-3/channels/live:

supplied version
projects/.../versions/xxxxxxxx
is the current active version

Expected behavior:

If the version is already active, the action should either:
- treat it as success, or
- treat it as a no-op deployment,
instead of failing the workflow.

firebase-tools version:
15.22.3

Contributor guide

Open the contributing guide

Research direction

Start by reproducing the GitHub Actions workflow with firebase-tools 15.22.3 and confirm that hosting creation, upload, finalization, and site updates complete before the release step fails. Trace the deployment result handling, then verify that an already-active version exits successfully or is treated as a no-op without masking real failures.

Written by the indexing model from the issue text.

Assessment

Tech stack
firebase, github-actions, typescript
Domain
ci-cd, devops
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
68/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.