Prebuild success but dashboard shows `FAILED`
Open
Nobody has claimed this yet.
component: dashboard
feature: prebuilds
meta: never-stale
type: bug
- Dominant language
- TypeScript
- Stars
- 13.8k
- Forks
- 1.4k
- Avg merge
- 17h 58m
- Merged PRs (30d)
- 5
Description
Bug description
Prebuilds are succeed but dashboard state shows they are FAILED. See also internal chat
Steps to reproduce
- Create Project for repo https://github.com/mustard-mh/test/blob/main/.gitpod.yml or any repo that contains task like this.
- Trigger Prebuild in dashboard, after it completed and refreshed, prebuild status is FAILED
Anything else?
Maybe related to ws-manager doesn't check ExitCode
Contributor guide
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.
Research direction
Start at components/ws-manager/pkg/manager/status.go around lines 356-359 and reproduce the failure with a repository containing the shown task in .gitpod.yml. Trace how the prebuild result reaches the dashboard, then verify that a successfully completed prebuild is no longer reported as FAILED.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- go
- Domain
- backend
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 32/100