Skip to content

fix(projects): handle large synchronization histories - #84

Merged
zoeyrose merged 1 commit into
mainfrom
fix/project-health-large-output-20261004
Oct 4, 2026
Merged

zoeyrose merged 1 commit into
mainfrom
fix/project-health-large-output-20261004

Conversation

@zoeyrose

@zoeyrose zoeyrose commented Oct 4, 2026 •

Copy link
Copy Markdown
Member

Summary

Project Synchronization Health crashes with jq: Argument list too long when GitHub returns a large synchronization history. Stream the API responses through private temporary files so large histories can be classified normally.

Implementation / behavior

  • Merge the two workflow responses from files instead of passing full JSON in command-line arguments.
  • Preserve API exit codes, JSON truthiness checks, single-document workflow validation, incident ownership, and recovery behavior.
  • Add regressions with responses exceeding 2 MiB and malformed, empty, multiple-document, and failed API responses.

Validation

  • Full repository test suite, bin/validate, Bash syntax checks, ShellCheck 0.11.0, and git diff --check passed at 86af35cb2ff4bc388cfe5cc3af79b02cec083ef3.
  • Independent review and an independent focused health-check suite passed at the same revision.
  • Remote Policy validation, Conventional PR title, and CodeQL checks passed on the reviewed head and current main base.

Limitations / follow-up

The monitored synchronization workflow separately reports pending Pages activation has unexpected live source for atrinik/classic. This fix preserves that unhealthy result; it does not change Pages settings, apply governance, or dispatch production workflows.

@zoeyrose
zoeyrose marked this pull request as ready for review October 4, 2026 03:43
@zoeyrose
zoeyrose merged commit 2430853 into main Oct 4, 2026
6 checks passed
@zoeyrose
zoeyrose deleted the fix/project-health-large-output-20261004 branch October 4, 2026 03:46
@github-actions

github-actions Bot commented Oct 4, 2026

Copy link
Copy Markdown

🎉 This PR is included in version 2.9.0 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant