Skip to content

fix(release): harden fleet publish gates#111

Merged
JSONbored merged 1 commit into
mainfrom
codex/security-complete
May 10, 2026
Merged

fix(release): harden fleet publish gates#111
JSONbored merged 1 commit into
mainfrom
codex/security-complete

Conversation

@JSONbored
Copy link
Copy Markdown
Owner

@JSONbored JSONbored commented May 10, 2026

Summary

  • hardens aio-fleet release and publish tag integrity checks
  • disables recursive submodule checkout for pull_request targets even when a repo enables submodules for main
  • restores authenticated dashboard safety gh calls after the dashboard token env rename

What changed

  • release package tags now allow post-release changelog-format commits only when the final diff is exactly CHANGELOG.md
  • release publishing uses the same changed-file guard before targeting a formatted follow-up commit
  • poll/manual app checkout expressions reject recursive submodules for pull_request events
  • safety.py now maps dashboard/upstream/check/app tokens into GH_TOKEN for its direct gh calls and strips alternate token env names from the child process
  • regression tests cover forged runtime changes, PR submodule denial, and dashboard safety gh authentication

Why

  • closes the remaining supply-chain boundary issues around forged release subjects, privileged PR submodule checkout, and unauthenticated dashboard safety reads

Validation

  • .venv/bin/python -m pytest -q
  • .venv/bin/python -m pytest tests/test_safety.py tests/test_fleet_dashboard.py -q
  • .venv/bin/python -m pytest tests/test_registry.py tests/test_release.py tests/test_poll.py tests/test_control_plane_workflow.py -q
  • .venv/bin/python -m aio_fleet.cli validate-repo --repo mem0-aio --repo-path /Users/shadowbook/Documents/mem0-aio
  • .venv/bin/python -m aio_fleet.cli validate-repo --repo dify-aio --repo-path /Users/shadowbook/Documents/dify-aio
  • .venv/bin/python -m aio_fleet.cli validate-repo --repo unraid-aio-template --repo-path /Users/shadowbook/Documents/unraid-aio-template

Notes

  • Docker Hub public template cleanup was handled operationally outside this PR; future template-profile publishes remain blocked by existing aio-fleet policy.

@JSONbored JSONbored force-pushed the codex/security-complete branch from 2dee437 to ab7078d Compare May 10, 2026 11:31
@JSONbored JSONbored merged commit fc4373f into main May 10, 2026
5 checks passed
@JSONbored JSONbored deleted the codex/security-complete branch May 10, 2026 11:32
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