Deployment issue on UI changes

Hi team,

it seems that I have one new issue with the development workflow of my Forest admin interface.
Unfortunately, I have not tested it for some months, so I am not able to say when it started to fail.

What I am trying to run is:
Development => Staging => Production
Project: MyPocket
Team: Settings

Here are the different steps that I made:

  • I defined a new forest branch in my Forest development environment using
   forest branch card_stock
=> from Production: Yes
  • in my DB, I added a column parner_id in card_stock table
  • I added the new column in the models definition in Forestadmin sources
  • I relaunched Forest in local development environment

All is running fine.


The User interface changes:
In Local environment, I moved the new column so it appears:

  • at first column in the list
  • at the top in the detailed view

To test in Staging:

  • I pushed my Forest backed to my repository
  • I pulled from my repository in Staging
  • I relaunched my Staging forest server
    => new column appears till at the end of the other columns

Then, in local development environment, I ran:

   forest set-origin Staging
√ Origin "Staging" successfully set.

   forest push
? Push branch card_stock onto Staging (Y/n)
? Push branch card_stock onto Staging Yes
√ Branch card_stock successfully pushed onto Staging.

Problem: the UI changes do not appear in Staging, even after waiting and refreshing the UI


Because the changes are small, I decided to make the UI changes once again
and to go forward:

  • I merged my changes in production
  • I pulled from my repository in Production
  • I relaunched my Production forest server

=> new column appears till at the end of the other columns

Then, in local development environment, I ran:

   FOREST_ENV_SECRET=<....secret_of_staging_env...> forest deploy
? Deploy layout changes to reference? (Y/n)
? Deploy layout changes to reference? Yes
√ Deployed layout changes to reference environment.

Problem again: the UI changes do not appear in Production, even after waiting and refreshing the UI

At the moment, I did not make any new change in production.
So the Production is not reflecting my changes.
Could you please let me understand what I am doing wrong?

My current setup:

    "liana": "forest-express-sequelize",
    "liana_version": "8.5.14",
    "stack": {
      "database_type": "multiple",
      "engine": "nodejs",
      "engine_version": "14.20.0",
      "orm_version": "5.22.5"

Hi @Louis-Marie :wave:, i’m sorry to hear that.
Your flow is correct :ok_hand:
I’m digging into our data and i’m wondering when did your perform these layout changes ?

Hi @Arnaud_Moncel

They have been done this afternoon.

Hope this will help.

Thanks
Louis-Marie

It is pretty strange actually, i see all your changes on my side.
The column partner are in the first position on table view as well as edit / create view.
Is it possible that the request who GET the layout may have been put in cache by any way?

Hi @Arnaud_Moncel

I am still having the same issue on my side:
image

Even after a refresh.
But I have tested with a colleague and he does not have this issue.

I have already tried multiple reloads.
Where can it come from?

Thanks in advance

Hi again,

I have reloaded again just now, and the issue disappeared.
Columns are in the right order now.

Have you changed something between 12h03 and now (12h09)?

But I have tested with a colleague and he does not have this issue.

Does your colleague have the same team and role ?

Have you changed something between 12h03 and now (12h09)?

We doesn’t do any modification on our side.
Pretty strange.

Does your colleague have the same team and role ?

Yes he has.

I continue to dig into that issue.
I have created a new branch in my development environment,
I made a small change / pushed into Staging / Then deployed in Production

I was not able to reproduce the issue.
Excepting that I had to wait a bit before seeing the changes applied.

I guess that we can close this issue, even if we had not been able to find its cause.

Thanks for your help

1 Like

You’r welcome, don’t hesitate to come back if you have any new issue.