ci: make steps into jobs to rerun them independently; enable the job to be executed manually#171
Merged
michael-chang-appier merged 2 commits intomasterfrom Jan 12, 2026
Merged
Conversation
…ition to accept manually triggered on master
…between jobs; remove unnecessary tasks
wubai-wu-appier
approved these changes
Jan 12, 2026
Collaborator
wubai-wu-appier
left a comment
There was a problem hiding this comment.
approved with static review
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Release Framework Workflow Improvements
Summary
Refactored the release workflow to support both automatic PR merge triggers and manual retry capability via
workflow_dispatch. This fixes issues where failed jobs could block successful ones on rerun, and allows selective job skipping during manual retries.Changes
Problem Statement
github.head_refwhich is null during manual dispatch, preventing any manual rerunsSolution
Separated concerns into independent jobs
prepare: Validates release conditions (handles both PR merge and workflow_dispatch)setup: Runs checkout & gem setup once (avoids redundant execution)create_release: Creates GitHub release & tagdeploy_pod_framework: Deploys framework poddeploy_pod_extension: Deploys extension podenable_dependent_workflows: Enables downstream workflows (only if release created)Added idempotency checks
create_releaserelease_createdoutput to false if tag already existsEnabled selective job skipping
skip_add_tag_and_release,skip_deploy_pod_framework,skip_deploy_pod_extensionworkflow_dispatchtriggersMinimized redundant execution
setupjob runs once with checkout + gem installWorkflow Execution
graph TD A[PR Merge or Manual Dispatch] --> B[prepare: Check Conditions] B -->|should_release=true| C[setup: Checkout & Gem Setup] C --> D{skip_add_tag_and_release?} D -->|No| E[create_release: Tag & Release] D -->|Yes| E2[Skipped] C --> F{skip_deploy_pod_framework?} F -->|No| G[deploy_pod_framework: Deploy Framework] F -->|Yes| G2[Skipped] C --> H{skip_deploy_pod_extension?} H -->|No| I[deploy_pod_extension: Deploy Extension] H -->|Yes| I2[Skipped] E -->|release_created=true| J[enable_dependent_workflows] E -->|release_created=false| J2[Skipped] G --> K[Slack Success/Fail Message] I --> K J --> K B -->|should_release=false| L[All jobs skipped]