[CLI] forge lint's server side check has errors when using environment variables

XMLWordPrintable

    • Minor
    • Integration testing
    • S

      Issue Summary: 

      Forge CLI 13.3.0 introduced a new server-side pre-deployment manifest check, tied to the newly announced approval-workflow feature (published in CHANGE-3376). As part of this change, forge deploy now invokes a new validation endpoint before the actual deployment step begins.

      If a manifest contains environment variables, these are not being interpolated before being sent to the server side lint check, meaning developers are seeing false positives of the `MANIFEST_INVALID_RULE` error.

      Steps to Reproduce

      1. Use 13.3.0
      2. Run `forge deploy` with a manifest that uses environment variables. 

      Expected Results

      Environment variables are interpolated before linting occurs.

      Actual Results

      There is a false positive MANIFEST_INVALID_RULE error. 

      Workaround

      The server side linting can be skipped by deploying with `forge deploy --no-verify` or you can temporarily downgrade to v13.2.0 until the next cli release.

              Assignee:
              Xavier Caron
              Reporter:
              Liz Gibbs
              Votes:
              9 Vote for this issue
              Watchers:
              13 Start watching this issue

                Created:
                Updated:
                Resolved: