Skip to content

fix(installer): close organization sync loop#18

Merged
OgeonX-Ai merged 1 commit into
mainfrom
codex/fix-installer-shell-quoting
Jul 10, 2026
Merged

fix(installer): close organization sync loop#18
OgeonX-Ai merged 1 commit into
mainfrom
codex/fix-installer-shell-quoting

Conversation

@OgeonX-Ai

Copy link
Copy Markdown
Contributor

Summary

Fix the scheduled Autopilot organization installer so its embedded Bash script parses and can process the repository loop.

Changes

  • Add the missing done terminator for the repository loop.
  • Extend workflow validation to run bash -n against the installer script embedded in YAML.
  • Record the verified failure pattern in the repository fix examples.

Why

The live scheduled installer failed before execution with syntax error: unexpected end of file because the for repo in $repos loop was never closed.

Validation

  • python3 tests/validate_workflows.py
  • python3 -m py_compile tests/validate_workflows.py
  • Parsed the embedded script directly with bash -n.
  • git diff --check

Risks

The installer continues to depend on organization API permissions and target-repository write policy after syntax validation succeeds.

Related

Fixes scheduled run 29074410026.

Reviewer notes

Start with .github/workflows/autopilot-org-installer.yml; the test change prevents this class of YAML-embedded Bash regression.

@OgeonX-Ai OgeonX-Ai merged commit f2000f4 into main Jul 10, 2026
4 checks passed
@OgeonX-Ai OgeonX-Ai deleted the codex/fix-installer-shell-quoting branch July 10, 2026 07:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant