You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Gaps of the build path (only with endpoints.builds.enabled), found while preparing v0.1.0:
GitHub's response to the dispatch of the signing workflow is ignored (builds.py, after repository_dispatch). A 401, 404 or 422 counts as success: the build is set to SUCCEEDED, its files and pod are removed, and subscribers are notified of an image that is never published. The response should be checked (204), and a failure should take the existing path back to the previous status (InternalServerError). docs/deployment.md says that GitHub's responses aren't checked; update it.
The updater assumes a build ID length of 6 (BUILD_ID_LENGTH in build-complete-updater/updater.py): with another repository.id_length, every report gets a 404 and builds never complete. Pass the repository ID (or the length) to the build pod.
String splitting:repo_url.split("/")[4] fails with a 500 for URLs that aren't scheme://host/owner/repo; split("/")[2] assumes a base directory one level deep; credentials are split at every : instead of the first.
Activity
test: match the GitHub host exactly in mocks