Skip to content

[CHORE] Fix repository-dispatch branch reset boolean payload #293

Closed

Description

@c-vigo

Chore Type

CI / Build change

Description

Fix the smoke-test repository-dispatch workflow branch-reset step that fails when reusing an existing deploy branch (chore/deploy-<tag>).

Current failure in Prepare deploy branch and metadata:

  • gh api -X PATCH ... -f force=true
  • GitHub API returns HTTP 422 because force is sent as a string instead of a boolean.

This blocks deploy PR creation for repeat dispatches/re-runs.

Acceptance Criteria

  • repository-dispatch updates an existing chore/deploy-<tag> branch without API validation errors
  • Deploy tag and open PR to dev completes successfully for both:
    • first run (branch create path)
    • rerun/redeploy (branch patch path)
  • Dispatch summary passes after deploy succeeds
  • Add or update tests/verification evidence for this workflow behavior

Implementation Notes

  • Update gh api argument typing for the PATCH call in:
    • assets/smoke-test/.github/workflows/repository-dispatch.yml
    • build/assets/smoke-test/.github/workflows/repository-dispatch.yml
  • Prefer typed boolean input (e.g. -F force=true) or equivalent JSON payload with boolean true.
  • Validate with a manual dispatch against an existing deploy branch.

Related Issues

Priority

High

Changelog Category

No changelog needed

Additional Context

Failing job:
https://github.com/vig-os/devcontainer-smoke-test/actions/runs/23051686417/job/66954252175

Observed error:
For 'properties/force', "true" is not a boolean. (HTTP 422)

Activity

  1. added this to the 0.3 milestone on Mar 13, 2026
  2. added
    chore
    priority:high
    area:ci
    effort:small
    semver:patch
    on Mar 13, 2026
  3. self-assigned this
    on Mar 13, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

area:cichoreeffort:smallpriority:highsemver:patch

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions