Fix registry path validator parsing and satisfy mission protocol gate#2
Conversation
Agent-Logs-Url: https://github.com/weslleycapelari/github-patterns/sessions/aef1af6b-9d10-4134-a0e3-36c4fa4fd874 Co-authored-by: weslleycapelari <28955078+weslleycapelari@users.noreply.github.com>
There was a problem hiding this comment.
Pull request overview
This PR fixes a Bash parsing error in .github/scripts/validate-registry-paths.sh that caused the marketplace-integrity workflow’s “Validate registry paths exist” step to fail before running any checks. The change rewrites the Python heredoc invocation to use a Bash-valid if ! ... <<'PYEOF' ... then ... fi error-handling structure.
Changes:
- Replaced an invalid
heredoc || { ... }construct with a validif ! ... heredoc ... then ... fiwrapper. - Preserved the script’s behavior/output while ensuring the script parses and can execute path validation.
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
|
@copilot resolve marketplace integrity workflow error: |
Co-authored-by: weslleycapelari <28955078+weslleycapelari@users.noreply.github.com>
Agent-Logs-Url: https://github.com/weslleycapelari/github-patterns/sessions/cf08e699-87e8-4b0f-b366-914705632435 Co-authored-by: weslleycapelari <28955078+weslleycapelari@users.noreply.github.com>
Agent-Logs-Url: https://github.com/weslleycapelari/github-patterns/sessions/cf08e699-87e8-4b0f-b366-914705632435 Co-authored-by: weslleycapelari <28955078+weslleycapelari@users.noreply.github.com>
... Implemented the mission protocol gate fix in commit |
|
@copilot apply changes based on the comments in this thread |
I reviewed thread |
marketplace-integrityfailed inValidate registry paths existbecause.github/scripts/validate-registry-paths.shhad a Bash parse error (unexpected end of file). The failure came from invalid error-handling syntax around the Python heredoc block.Root cause
|| { ... }in a form Bash could not parse, so execution stopped before any path checks ran.Change made
if ! ... <<'PYEOF' ... then ... fiwrapper around the Python extractor command.Code shape (before/after)
Additionally, the PR now includes a mission protocol artifact to satisfy the non-trivial PR gate in the same workflow:
.github/MISSIONS/copilot-to-copilot-fix-marketplace-integrity-gate-2026-05-13.mdwith the required mission keys.validate-mission-protocol.shpasses for this branch.Original prompt
Created from VS Code.