Automattic / Automattic/dserve

Add FailedBuild status for faster error detection

Open
#12 1 comment 1 reaction 0 assignees View on GitHub
Dominant language
TypeScript
Stars
24
Forks
5
PR merge metrics
No merged PRs in 30d

Description

Currently the canary tests that run against dserve don't have any way to detect when an image fails to build, so they need to wait for the full 10-minute timeout to report failure back to the PR. It would be helpful to have the `/status` endpoint register that there was a failure, and even provide the error message (i.e `Encountered error when building image` vs `Encountered error while git checking out, tarballing, or handing to docker`) for display on the CircleCI output

Contributor guide

No contributing guide indexed for this repository

Research direction

Start at dserve's /status endpoint and trace how canary tests report image-build and other failures to CircleCI. Confirm how the existing timeout path distinguishes checkout, tarballing, and Docker errors; done means the endpoint reports FailedBuild promptly with the relevant error message visible in the PR's CircleCI output.

Written by the indexing model from the issue text.

Assessment

Tech stack
docker, typescript
Domain
api, ci-cd, devops
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.