Issues icon indicating copy to clipboard operation
Issues copied to clipboard

Variables scoped to a missing resource receive an error and lose access to the deployment process and variables for git sourced projects

Open donnybell opened this issue 4 months ago • 0 comments

Severity

Not blocking

Version

Reported in 2024.4.7147, confirmed in 2025.3.11011

Latest Version

None

What happened?

Variables scoped to a missing resource receive an error and lose access to the deployment process and variables for git sourced projects

Reproduction

  1. Assign a machine scoping to a variable in a git-sourced project
  2. Delete the machine associated with the variable
  3. Attempt to view the project's deployment process
  4. Attempt to view the project's variables

Error and Stacktrace

Error mapping from slugs to IDs for variables
ProjectVariables.Variables[X].Scope["Machine"][X] has unknown slug "some-deployment-target-slug"

More Information

No response

Workaround

Remove the machine variable scope directly in git for the affected branch and commit.

donnybell avatar Aug 19 '25 14:08 donnybell