Unable to push branches to remote environment

Feature(s) impacted

push command for forest-cli

Observed behavior

showing error message

Invalid value “undefined” for header “forest-secret-key”

Expected behavior

show environment list for push action

Failure Logs

Invalid value “undefined” for header “forest-secret-key”

Context

To reproduce, simply type forest push in the command line.

After tracing the source code of forest-cli, the error might come from the API missing return field of secretKey
${env.FOREST_URL}/api/projects/${projectId}/development-environment-for-user

  • Project name: Brewing
  • Team name:
  • Environment name: Development
  • Agent type & version:
  • Recent changes made on your end if any: No

@JimmyHu, Thank you for sharing this with us.

I think I can reproduce the problem. We will investigate and I’ll come back with more details as soon as possible.

To help me, do you remember when this issue occurred? Did you update your forest-cli package before?

Thank you for your patience.

Hi @Guillaume_Deslandes,

My colleague and I find this issue yesterday but we haven’t used the cli tool for a long time.

Thank you @JimmyHu

A fix has been found and was released a few minutes ago.

Would mind checking that everything is back to normal on your end?

1 Like