-
Notifications
You must be signed in to change notification settings - Fork 28
Open
Labels
enhancementNew feature or requestNew feature or request
Description
Background
In PR #552, we optimized the MW version extraction workflow from ~4 minutes to ~30 seconds by using labels from the CanastaBase image. However, @vedmaka suggested in PR #552 review a further optimization.
Current Implementation
The workflow currently:
- Builds a temporary Docker image
- Runs it to extract
MW_CORE_VERSIONfrom environment variables - Takes ~30 seconds
Suggested Improvement
Use regclient/actions to fetch labels directly from the base image manifest without downloading the entire image. This would:
- Be faster (no image download)
- Use less bandwidth
- Be more efficient overall
Considerations
regclient/actionsis an external third-party action (not a standard GitHub feature)- The action has low adoption (7 stars on GitHub)
- Current solution is already well-optimized at ~30 seconds
- Would add a dependency on an external action
Decision Needed
Should we:
- Implement this optimization now?
- Keep it as a future enhancement?
- Reject it due to external dependency concerns?
Related
- Issue Improve MW version extraction in Docker workflow #545 (original optimization request - resolved by PR Fix mw version labels #552)
- PR Fix mw version labels #552 (the optimization that was implemented)
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request