New lightning project.yaml variables can break CLI deployment
Open
@josephjclark is already working on this.
Since Apr 29, 2025.
bug
DevX
needs technical design
- Dominant language
- Elixir
- Stars
- 296
- Forks
- 86
- Avg merge
- 1d 13h
- Merged PRs (30d)
- 50
Description
New project-level features add new variables to the project.yaml. When this happens, the CLI must be updated to support the variables so that cli operations can run without breaking. This is a recent report of this bug.
We think fixing this will be expensive but we have a few ideas on how we might pay the debt sustainably.
Potential solutions
- Add compatibility to documentation to help users know which cli version is compatible with lightning version.
- Update the extraneous parameter error message to suggest updating cli- version.
- Add a sentry alert log for extraneous parameter error
- Limit the variables exported by project.yaml per time based on CLI compatibility. "don't export concurrency and collections if you are on this CLI version because deploy will break."
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.