Go deploy fails because no Go files are found in /app
Error recorded 1 times in PanelAlpha Engine deploys on Go. The deploy log below is the recorded failure output.
TypeErrorAn error that occurred in the deployed application. It is not necessarily a PanelAlpha Engine error, but we keep working on improvements so you run into fewer of them.
Seen1 times
WhereGo
StatusObservedOur team will look into this soon, verify the cause and try to fix it in an upcoming release.
Why it happens
The Go strategy started compilation in /app, but no Go source files were available there. This usually means the build context or working directory does not match the repository layout, or the selected strategy is not suitable for this repository. A separate log-permission warning was also reported, but the deployment stopped on the missing Go files.
What the log looks like
Deploy log
Starting stage: runningDetected project type: GoUsing strategy: goCompiling application on hostERROR: Unable to open log: Permission deniedno Go files in /appDeploy failed: Failed to start app: no Go files in /app