Skip to content

Conversation

@ainsleyclark
Copy link
Contributor

The VMMaintenanceWorkflow function was only checking for DigitalOcean VMs, causing it to skip Hetzner VMs even though the template supports both providers. This resulted in the maintenance workflow not being generated for apps using Hetzner infrastructure.

Updated the logic to check for both DigitalOcean and Hetzner VMs, matching the template's conditional logic. Added test cases to verify both individual Hetzner VMs and mixed provider scenarios work correctly.

The VMMaintenanceWorkflow function was only checking for DigitalOcean VMs,
causing it to skip Hetzner VMs even though the template supports both providers.
This resulted in the maintenance workflow not being generated for apps using
Hetzner infrastructure.

Updated the logic to check for both DigitalOcean and Hetzner VMs, matching
the template's conditional logic. Added test cases to verify both individual
Hetzner VMs and mixed provider scenarios work correctly.
@ainsleyclark ainsleyclark merged commit e1fffcb into main Dec 1, 2025
3 of 4 checks passed
@ainsleyclark ainsleyclark deleted the claude/fix-workflow-generation-01P7kyqaqok23snxKbsW8chq branch December 1, 2025 18:59
@codecov
Copy link

codecov bot commented Dec 1, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 69.47%. Comparing base (7f6b060) to head (d19bb19).
⚠️ Report is 425 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #350      +/-   ##
==========================================
+ Coverage   64.59%   69.47%   +4.87%     
==========================================
  Files         154      184      +30     
  Lines        6064     7279    +1215     
==========================================
+ Hits         3917     5057    +1140     
+ Misses       2064     2025      -39     
- Partials       83      197     +114     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

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.

3 participants