chore: remove extra stop_modules from provisionerd proto - #21706
Conversation
Was a duplicate of start_modules
Documentation CheckNo Changes NeededThis PR removes a duplicate field ( Reasoning:
Automated review via Coder Tasks |
| "name": "test-daemon", | ||
| "version": "v0.0.0-devel", | ||
| "api_version": "1.14", | ||
| "api_version": "1.15", |
| Version: "2.0.0", | ||
| Source: "github.com/example2/example", | ||
| Transition: database.WorkspaceTransitionStop, | ||
| Transition: database.WorkspaceTransitionStart, |
There was a problem hiding this comment.
This is expected because all modules only come from start now?
There was a problem hiding this comment.
Correct. Honestly the transition is not even useful anymore. The start being referred to comes from InitComplete now. Not even the plan. So it comes from template import.
WorkspaceTransitionStart is hard coded here:
coder/coderd/provisionerdserver/provisionerdserver.go
Lines 1653 to 1668 in f0e918c
It will never be another transition
Was a duplicate of start_modules
Closes #21206