Issues
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
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
- Assign a machine scoping to a variable in a git-sourced project
- Delete the machine associated with the variable
- Attempt to view the project's deployment process
- 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.