Skip to content

fix: check the steps of builds #94

Closed

Description

@uniqueg

Gaps of the build path (only with endpoints.builds.enabled), found while preparing v0.1.0:

  1. 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.
  2. 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.
  3. 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

  1. added this to the v0.1.0 milestone on Nov 9, 2026
  2. added
    priority: medium
    status: triage
    type: bug
    workload: hours
    status: in progress
    and removed
    status: triage
    on Nov 9, 2026
  3. removed
    status: in progress
    on Nov 9, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    priority: mediumtype: bugworkload: hours

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions