Skip to content

Deployment: reference is not a tree <commit-id> #1877

@hongthach12

Description

@hongthach12

Environment information

2024-08-16T04:26:30.807Z [INFO]: # Switching to commit: bebb03861c310222ecde1095d965c47d02e3d15
2024-08-16T04:26:30.824Z [INFO]: fatal: reference is not a tree: bebb03861c310222ecde1095d965c47d02e3d154

2024-08-16T04:26:30.926Z [INFO]: Successfully cleaned up Git credentials

2024-08-16T04:26:30.927Z [ERROR]: !!! CustomerError: Unable to clone repository due to user error code: 128

2024-08-16T04:26:30.927Z [INFO]: # Starting environment caching...
2024-08-16T04:26:30.928Z [INFO]: # Environment caching completed

Description

This issue happend when i merged 2 PRs on 2 repository (App1, App2) in the same time
on Amplify will be trigger deploy App1, App2 pending deploy.
after App1 deploy finished , App2 start deploy, but on App2 using commitId of repository of App1 , I don't know why App2 using commit of repository of App1.

to fix it, i need to force push / or recreate branch of repository of app 2.

i thinks this issue of Amplify Deployment

Metadata

Metadata

Assignees

No one assigned

    Labels

    console-buildsIssues related to Amplify console buildspending-responseIssue is pending response from authorquestionQuestion or confusion about some aspect of the product

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions