Skip to content

Conversation

@Mia-Cross
Copy link
Contributor

@Mia-Cross Mia-Cross commented Dec 9, 2025

This PR adds the following features:

  • State actions: poweron, stop_in_place, poweroff, terminate, reboot
  • Create a snapshot
  • Export a snapshot to S3
  • Backup

Closes #3333

@Mia-Cross Mia-Cross self-assigned this Dec 9, 2025
@Mia-Cross Mia-Cross added enhancement instance Instance issues, bugs and feature requests priority:high New features action Related to terraform actions labels Dec 9, 2025
@codecov-commenter
Copy link

codecov-commenter commented Dec 11, 2025

Codecov Report

❌ Patch coverage is 0% with 355 lines in your changes missing coverage. Please review.
✅ Project coverage is 1.67%. Comparing base (53d2805) to head (530e52f).
✅ All tests successful. No failed tests found.

Files with missing lines Patch % Lines
...ternal/services/instance/action_create_snapshot.go 0.00% 143 Missing ⚠️
...ternal/services/instance/action_export_snapshot.go 0.00% 127 Missing ⚠️
internal/services/instance/testfuncs/checks.go 0.00% 44 Missing ⚠️
internal/services/instance/action_server_action.go 0.00% 35 Missing ⚠️
provider/framework.go 0.00% 4 Missing ⚠️
internal/services/instance/helpers_instance.go 0.00% 2 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff            @@
##           master   #3520      +/-   ##
=========================================
- Coverage    1.67%   1.67%   -0.01%     
=========================================
  Files         428     430       +2     
  Lines       46748   47086     +338     
=========================================
+ Hits          785     787       +2     
- Misses      45875   46212     +337     
+ Partials       88      87       -1     

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

@Mia-Cross Mia-Cross marked this pull request as ready for review December 11, 2025 22:04
@Mia-Cross Mia-Cross requested review from a team and remyleone as code owners December 11, 2025 22:04
@Mia-Cross Mia-Cross marked this pull request as draft December 15, 2025 10:55
@Mia-Cross Mia-Cross marked this pull request as ready for review December 15, 2025 22:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

action Related to terraform actions enhancement instance Instance issues, bugs and feature requests priority:high New features

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add support for actions in instance

2 participants