Skip to content

Conversation

@sureshanaparti
Copy link
Contributor

Description

This PR fixes typo in the object event (Event.OperationSuccessed => Event.OperationSucceeded)

Types of changes

  • Breaking change (fix or feature that would cause existing functionality to change)
  • New feature (non-breaking change which adds functionality)
  • Bug fix (non-breaking change which fixes an issue)
  • Enhancement (improves an existing feature and functionality)
  • Cleanup (Code refactoring and cleanup, that may add test cases)
  • Build/CI
  • Test (unit or integration test code)

Feature/Enhancement Scale or Bug Severity

Feature/Enhancement Scale

  • Major
  • Minor

Bug Severity

  • BLOCKER
  • Critical
  • Major
  • Minor
  • Trivial

Screenshots (if appropriate):

How Has This Been Tested?

How did you try to break this feature and the system with this change?

@codecov
Copy link

codecov bot commented Dec 30, 2025

Codecov Report

❌ Patch coverage is 6.15385% with 61 lines in your changes missing coverage. Please review.
✅ Project coverage is 16.23%. Comparing base (56a39e6) to head (93de8e4).
⚠️ Report is 1 commits behind head on 4.20.

Files with missing lines Patch % Lines
...e/cloudstack/storage/volume/VolumeServiceImpl.java 4.16% 23 Missing ⚠️
.../cloudstack/storage/image/TemplateServiceImpl.java 0.00% 7 Missing ⚠️
...torage/motion/StorageSystemDataMotionStrategy.java 0.00% 6 Missing ⚠️
...oudstack/storage/snapshot/SnapshotServiceImpl.java 0.00% 6 Missing ⚠️
...torage/datastore/ObjectInDataStoreManagerImpl.java 0.00% 6 Missing ⚠️
...stack/storage/datastore/DataObjectManagerImpl.java 0.00% 4 Missing ⚠️
...tack/storage/motion/AncientDataMotionStrategy.java 0.00% 2 Missing ⚠️
...ack/storage/image/SecondaryStorageServiceImpl.java 0.00% 2 Missing ⚠️
...ack/storage/motion/StorPoolDataMotionStrategy.java 0.00% 2 Missing ⚠️
...storage/cache/manager/StorageCacheManagerImpl.java 0.00% 1 Missing ⚠️
... and 2 more
Additional details and impacted files
@@            Coverage Diff            @@
##               4.20   #12350   +/-   ##
=========================================
  Coverage     16.23%   16.23%           
  Complexity    13378    13378           
=========================================
  Files          5657     5657           
  Lines        498866   498866           
  Branches      60545    60545           
=========================================
  Hits          81011    81011           
  Misses       408821   408821           
  Partials       9034     9034           
Flag Coverage Δ
uitests 4.00% <ø> (ø)
unittests 17.09% <6.15%> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ 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.

Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR fixes a spelling typo in an enum value throughout the Apache CloudStack codebase, correcting Event.OperationSuccessed to Event.OperationSucceeded to use proper English grammar.

Key Changes

  • Renamed the enum value OperationSuccessed to OperationSucceeded in ObjectInDataStoreStateMachine.Event
  • Updated all references to this enum value across storage-related implementation classes, services, and strategies
  • Updated test expectations to use the corrected enum value

Reviewed changes

Copilot reviewed 15 out of 15 changed files in this pull request and generated 1 comment.

Show a summary per file
File Description
engine/api/src/main/java/org/apache/cloudstack/engine/subsystem/api/storage/ObjectInDataStoreStateMachine.java Renamed enum value from OperationSuccessed to OperationSucceeded; also made State._description final and removed redundant private modifier from enum constructor
engine/storage/src/main/java/org/apache/cloudstack/storage/datastore/ObjectInDataStoreManagerImpl.java Updated all state machine transitions to use the corrected enum value; removed some extraneous blank lines
engine/storage/src/main/java/org/apache/cloudstack/storage/datastore/DataObjectManagerImpl.java Updated event references in async callbacks to use corrected enum value
engine/storage/volume/src/main/java/org/apache/cloudstack/storage/volume/VolumeServiceImpl.java Updated numerous event processing calls across various callback methods to use corrected enum value
engine/storage/volume/src/main/java/org/apache/cloudstack/storage/volume/VolumeObject.java Updated event mapping to use corrected enum value
engine/storage/volume/src/test/java/org/apache/cloudstack/storage/volume/VolumeObjectTest.java Updated test expectations to use corrected enum value
engine/storage/snapshot/src/main/java/org/apache/cloudstack/storage/snapshot/SnapshotServiceImpl.java Updated event processing calls in snapshot-related callbacks to use corrected enum value
engine/storage/snapshot/src/main/java/org/apache/cloudstack/storage/snapshot/DefaultSnapshotStrategy.java Updated event processing in snapshot backup to use corrected enum value
engine/storage/image/src/main/java/org/apache/cloudstack/storage/image/TemplateServiceImpl.java Updated event processing calls in template-related callbacks to use corrected enum value
engine/storage/image/src/main/java/org/apache/cloudstack/storage/image/SecondaryStorageServiceImpl.java Updated event processing in data migration callback to use corrected enum value
engine/storage/datamotion/src/main/java/org/apache/cloudstack/storage/motion/StorageSystemDataMotionStrategy.java Updated event processing calls in various data motion strategies to use corrected enum value
engine/storage/datamotion/src/main/java/org/apache/cloudstack/storage/motion/AncientDataMotionStrategy.java Updated event processing in volume copying to use corrected enum value
engine/storage/cache/src/main/java/org/apache/cloudstack/storage/cache/manager/StorageCacheManagerImpl.java Updated event processing in cache object creation to use corrected enum value
plugins/storage/volume/storpool/src/main/java/org/apache/cloudstack/storage/snapshot/StorPoolSnapshotStrategy.java Updated event processing in snapshot deletion to use corrected enum value
plugins/storage/volume/storpool/src/main/java/org/apache/cloudstack/storage/motion/StorPoolDataMotionStrategy.java Updated event processing in post-migration handling to use corrected enum value

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@sureshanaparti
Copy link
Contributor Author

@blueorangutan package

@blueorangutan
Copy link

@sureshanaparti a [SL] Jenkins job has been kicked to build packages. It will be bundled with KVM, XenServer and VMware SystemVM templates. I'll keep you posted as I make progress.

Copy link
Collaborator

@sudo87 sudo87 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

clgtm

@blueorangutan
Copy link

Packaging result [SF]: ✔️ el8 ✔️ el9 ✔️ el10 ✔️ debian ✔️ suse15. SL-JID 16209

@sureshanaparti
Copy link
Contributor Author

@blueorangutan test

@blueorangutan
Copy link

@sureshanaparti a [SL] Trillian-Jenkins test job (ol8 mgmt + kvm-ol8) has been kicked to run smoke tests

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants