fix: AFM caller pre-production cleanup (debug removal + timeout)
Merged
EO
4mo ago+108+108+012345678901234567890123456789-10-10-01234567890123456789
Pre-production cleanup of the AFM release notes caller workflow.
Changes
Remove debug: 'true' hardcode
Was left in for smoke testing. Verbose AFM sidecar logs on every real release are noise. debug defaults to 'false' in the action.
Add timeout-minutes: 10
Guards against the job queuing forever if the AFM self-hosted runner is offline during a real release.
Notes
@v1pin was already correct — no change needed- Fence-strip fix (which caused the broken
release_titleon first smoke test) is handled in afm-release-notes-action #5
Closes #2092
Closes #2090 (fence-strip fix landed in afm-release-notes-action #5)
Summary by cubic
Wired AFM release notes into the publish workflow via runbot-hq/afm-release-notes-action@main with safe fallbacks. Cleaned up the AFM caller (debug off, 10‑minute timeout) and hardened release creation to avoid injection and temp file leaks.
-
New Features
- Integrated
runbot-hq/afm-release-notes-action@maininpublish.ymlafter tag push; runs only on real releases when no manualrelease_notesare provided;continue-on-error: truefalls back to--generate-notes. - Title/notes priority: AFM title > tag; manual notes > AFM body > auto‑generated. Documented tag expression, step ordering,
${{ }}safety, composite‑action runner compatibility, and why@mainis safe for this first‑party composite action.
- Integrated
-
Bug Fixes
- AFM caller: removed hardcoded
debug: 'true'; addedtimeout-minutes: 10to avoid stuck runs. - Create Release: pass AFM outputs via
envand write notes to a temp file with--notes-file; addedtrap EXITfor cleanup.
- AFM caller: removed hardcoded
Summary by CodeRabbit
- Chores
- Added a 10-minute limit to the release-notes generation process.
- Removed unnecessary debug output from release-notes generation.