Duplicated activity item

I'm calling the graphql api to restart my service. Mutation is done as follow.

mutation DeploymentRestart($id: String!) {
  deploymentRestart(id: $id)
}

Deployment logs show correctly the container restart (first screenshot). It shows 2 lines, one from today and one from previous day/restart triggers.

However, in the activity thingy, there are 2 lines for today's and yesterday's restarts (second and third screenshots)

34849d22-d685-4e73-8858-fbd4fe42ea65

7 Replies

a year ago

is this reproducible?


I went back to old activities, and looks like every restart done through the api mutation show duplicated.

When I have some time, I can try to create a new project/deploy a dummy template and call the graphql api to try reproduce from scratch. Unless you have a faster way in mind to reproduce?


a year ago

not that I can think of, that sounds good to me


Alright, could reproduce.

  1. Create a new project

  2. Deploy any template, in my case "Node.js"

  3. Get the active deployment id

  4. CURL

curl --request POST \
      --url https://backboard.railway.app/graphql/v2 \
      --header 'Authorization: Bearer HEHE' \
      --header 'Content-Type: application/json' \
      --data '{"query":"mutation DeploymentRestart{deploymentRestart(id: \"ID\")}"}'
  1. Duplicated restarted item in the activity log. Did 2 restarts, both times the item were duplicated

My token comes from here if that matters https://railway.app/account/tokens


project id in case you wanna check the activity feed 032b17f2-ce06-42ce-ac5a-e46698b2d8c3


a year ago

perfect thank you!


a year ago

I have been able to reproduce reliably and have made a ticket


Loading...