Skip to content

refactor(fleet): use shared release helper shim#29

Merged
JSONbored merged 3 commits into
mainfrom
codex/aio-fleet-final-consolidation
Apr 30, 2026
Merged

refactor(fleet): use shared release helper shim#29
JSONbored merged 3 commits into
mainfrom
codex/aio-fleet-final-consolidation

Conversation

@JSONbored
Copy link
Copy Markdown
Owner

Summary

  • Replaces duplicated app-local release helper implementations with the shared aio-fleet release shim
  • Regenerates caller workflows to pin aio-fleet at 3b8613bf305a8bbebfe9f61636db935c303fe2cd
  • Removes release-helper unit tests now covered centrally in aio-fleet

What changed

  • scripts/release.py now delegates to aio_fleet.release
  • Workflow callers point at the new reusable workflow commit that checks out .aio-fleet for release helper usage
  • Old duplicated release helper tests were deleted from app repos

Why

  • Keeps release/version/changelog behavior centralized in aio-fleet instead of copied across every AIO repo
  • Reduces future fleet maintenance when release gates or squash-merge handling changes

Validation

  • python3 scripts/release.py next-version
  • python -m aio_fleet validate --all
  • python -m aio_fleet sync-workflows --dry-run --ref 3b8613bf305a8bbebfe9f61636db935c303fe2cd
  • python -m aio_fleet sync-boilerplate --dry-run
  • python -m aio_fleet debt-report --catalog-path /Users/shadowbook/.codex/worktrees/7c71/awesome-unraid --format text
  • python -m aio_fleet trunk-audit
  • repo-local unit/template pytest suites passed for this fanout
  • git diff --check

Notes

  • Runtime/container behavior is unchanged.

Copy link
Copy Markdown

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: dfff0d0bad

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread scripts/release.py
Comment on lines +23 to +27
except ModuleNotFoundError as exc:
raise SystemExit(
f"Release commit {release_commit} for {version} is not reachable from HEAD."
"aio_fleet.release is required. Run from the standard workspace with "
"../aio-fleet present, or let the reusable aio-fleet workflows check "
"out .aio-fleet before invoking this shim."
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P1 Badge Preserve release helper in standalone repo checkouts

The new shim hard-fails when aio_fleet is not checked out at .aio-fleet/src or ../aio-fleet/src, so a normal clone of this repo can no longer run python scripts/release.py ... (it exits with code 1 and the ModuleNotFoundError message). This is a regression from the previous self-contained helper and breaks local release automation/tests outside the reusable workflow context; at minimum, the shim needs a fallback path (vendored logic or installable dependency) so repo-local release commands continue to work.

Useful? React with 👍 / 👎.

@JSONbored JSONbored merged commit ecaa02e into main Apr 30, 2026
11 checks passed
@JSONbored JSONbored deleted the codex/aio-fleet-final-consolidation branch April 30, 2026 22:02
Copy link
Copy Markdown

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: e56841296d

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

capture_output=True,
)

assert result.returncode == 0, result.stderr # nosec B101
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Badge Skip shim test when aio-fleet checkout is unavailable

This assertion hard-requires scripts/release.py to exit successfully, but the new shim only works when .aio-fleet/src or ../aio-fleet/src is present; in a standard standalone clone, it exits with ModuleNotFoundError and this test fails, turning the unit suite red for contributors without the fleet checkout. Fresh evidence: running python3 -m pytest -q tests/unit/test_release_shim.py in this repo fails at this assertion with that exact error.

Useful? React with 👍 / 👎.

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