Skip to content

Conversation

Copilot
Copy link
Contributor

@Copilot Copilot AI commented Sep 2, 2025

The Stage 4 - Post Release Validation workflow was not being triggered after alpha releases completed. This meant that alpha packages were published to the APT repository without the validation step that ensures they can be installed correctly and that Homebridge starts successfully.

Problem

The Stage 4 workflow only listened for completion of:

  • "Stage 3 - Promote Release Package to APT Stores"
  • "Beta Stage 2 - Build and Release Beta Package"

However, alpha releases use a different workflow: "Alpha Stage 2 - Build and Release Alpha Package", which publishes directly to the alpha APT repository without going through Stage 3.

Solution

This PR adds alpha support to the Stage 4 validation workflow by:

  1. Adding alpha workflow trigger: Added "Alpha Stage 2 - Build and Release Alpha Package" to the workflow_run.workflows list so Stage 4 runs after alpha releases complete
  2. Adding alpha channel detection: Added logic to detect when the alpha workflow completes and automatically set the validation channel to "alpha"
  3. Adding manual alpha option: Added "alpha" as an option for manual workflow dispatch testing

Changes

  • Stage 4 now automatically runs after successful alpha releases
  • Alpha packages are validated against the alpha APT channel (https://repo.homebridge.io alpha main)
  • Manual testing of alpha packages is now possible via workflow dispatch
  • All existing stable and beta validation behavior remains unchanged

The implementation follows the existing pattern used for beta releases, ensuring consistency across all release types.

Fixes #177.


✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.

Co-authored-by: NorthernMan54 <19808920+NorthernMan54@users.noreply.github.com>
@Copilot Copilot AI changed the title [WIP] Stage 4 - Post Release Validation is not being run after alpha releases Fix Stage 4 validation not running for alpha releases Sep 2, 2025
@Copilot Copilot AI requested a review from NorthernMan54 September 2, 2025 14:43
Copilot finished work on behalf of NorthernMan54 September 2, 2025 14:43
@NorthernMan54 NorthernMan54 marked this pull request as ready for review September 2, 2025 14:47
@NorthernMan54 NorthernMan54 merged commit b648e54 into latest Sep 2, 2025
10 checks passed
@NorthernMan54 NorthernMan54 deleted the copilot/fix-177 branch September 2, 2025 14:48
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.

Stage 4 - Post Release Validation is not being run after alpha releases
2 participants