)]}'
{"src/pages/compute/containers/Instance/actions/Reset.jsx":[{"author":{"_account_id":30434,"name":"Jingwei.Zhang","email":"zhang.jingwei@algoblu.com","username":"jwzhang"},"change_message_id":"16016783f1b50658111b6b84e233f4fab0b05d49","unresolved":true,"context_lines":[{"line_number":62,"context_line":"        \u003cp\u003e"},{"line_number":63,"context_line":"          {this.unescape("},{"line_number":64,"context_line":"            t("},{"line_number":65,"context_line":"              \u0027Are you sure you want to reset the state of \"{name}\" to Active?\u0027,"},{"line_number":66,"context_line":"              {"},{"line_number":67,"context_line":"                name,"},{"line_number":68,"context_line":"              }"}],"source_content_type":"text/jsx","patch_set":1,"id":"773f1ec8_0fc4f88d","line":65,"updated":"2026-01-27 03:13:39.000000000","message":"The API only supports active and error as valid states. We recommend refactoring the form into a ModalAction component, enabling users to select the target state—this operation should only apply to unlocked instances.","commit_id":"eda2a4efea85c1580d038ce6a971f48c73743280"},{"author":{"_account_id":34517,"name":"Sowmya Nethi","email":"sowmya.kamavaram@rackspace.com","username":"sowmya.kamavaram"},"change_message_id":"0f51f39a66164d2faaf923e9420386c0d2f3a6fb","unresolved":false,"context_lines":[{"line_number":62,"context_line":"        \u003cp\u003e"},{"line_number":63,"context_line":"          {this.unescape("},{"line_number":64,"context_line":"            t("},{"line_number":65,"context_line":"              \u0027Are you sure you want to reset the state of \"{name}\" to Active?\u0027,"},{"line_number":66,"context_line":"              {"},{"line_number":67,"context_line":"                name,"},{"line_number":68,"context_line":"              }"}],"source_content_type":"text/jsx","patch_set":1,"id":"a967233c_81f9df9f","line":65,"in_reply_to":"773f1ec8_0fc4f88d","updated":"2026-01-27 05:25:44.000000000","message":"Done","commit_id":"eda2a4efea85c1580d038ce6a971f48c73743280"},{"author":{"_account_id":30434,"name":"Jingwei.Zhang","email":"zhang.jingwei@algoblu.com","username":"jwzhang"},"change_message_id":"c842691c5848b99a236a378af2183af4216cd791","unresolved":true,"context_lines":[{"line_number":77,"context_line":"    if (!item) {"},{"line_number":78,"context_line":"      return Promise.resolve(true);"},{"line_number":79,"context_line":"    }"},{"line_number":80,"context_line":"    const isActiveOrError \u003d checkStatus(VALID_STATES, item);"},{"line_number":81,"context_line":"    return Promise.resolve(isActiveOrError \u0026\u0026 !item.locked);"},{"line_number":82,"context_line":"  };"},{"line_number":83,"context_line":""},{"line_number":84,"context_line":"  get stateOptions() {"}],"source_content_type":"text/jsx","patch_set":2,"id":"9db9f2d7_6683819d","line":81,"range":{"start_line":80,"start_character":4,"end_line":81,"end_character":60},"updated":"2026-01-28 03:34:47.000000000","message":"Upon review of the Nova code related to os-resetState, this interface is designed to support operations on instances in any state. Please perform a test: call the API after removing the status check logic and confirm whether an error is triggered.","commit_id":"f1b777ff0f7becc7912cbf5b961e795932d00b3d"},{"author":{"_account_id":34517,"name":"Sowmya Nethi","email":"sowmya.kamavaram@rackspace.com","username":"sowmya.kamavaram"},"change_message_id":"c2e7e0f4ed9e7142c57f533a832469f55242d4a1","unresolved":false,"context_lines":[{"line_number":77,"context_line":"    if (!item) {"},{"line_number":78,"context_line":"      return Promise.resolve(true);"},{"line_number":79,"context_line":"    }"},{"line_number":80,"context_line":"    const isActiveOrError \u003d checkStatus(VALID_STATES, item);"},{"line_number":81,"context_line":"    return Promise.resolve(isActiveOrError \u0026\u0026 !item.locked);"},{"line_number":82,"context_line":"  };"},{"line_number":83,"context_line":""},{"line_number":84,"context_line":"  get stateOptions() {"}],"source_content_type":"text/jsx","patch_set":2,"id":"7f2acc98_d1d9594d","line":81,"range":{"start_line":80,"start_character":4,"end_line":81,"end_character":60},"in_reply_to":"63be9179_3beb7da0","updated":"2026-01-28 09:07:51.000000000","message":"I’ve made the required changes.","commit_id":"f1b777ff0f7becc7912cbf5b961e795932d00b3d"},{"author":{"_account_id":34517,"name":"Sowmya Nethi","email":"sowmya.kamavaram@rackspace.com","username":"sowmya.kamavaram"},"change_message_id":"66397d63d79afee277199565f4e303cad8ffe61c","unresolved":false,"context_lines":[{"line_number":77,"context_line":"    if (!item) {"},{"line_number":78,"context_line":"      return Promise.resolve(true);"},{"line_number":79,"context_line":"    }"},{"line_number":80,"context_line":"    const isActiveOrError \u003d checkStatus(VALID_STATES, item);"},{"line_number":81,"context_line":"    return Promise.resolve(isActiveOrError \u0026\u0026 !item.locked);"},{"line_number":82,"context_line":"  };"},{"line_number":83,"context_line":""},{"line_number":84,"context_line":"  get stateOptions() {"}],"source_content_type":"text/jsx","patch_set":2,"id":"63be9179_3beb7da0","line":81,"range":{"start_line":80,"start_character":4,"end_line":81,"end_character":60},"in_reply_to":"9db9f2d7_6683819d","updated":"2026-01-28 07:41:32.000000000","message":"I have already tried that, and it does not throw any error. Actually my intention is to avoid using resetState as a replacement for lifecycle operations. For actions such as suspend, pause, or stop or any other, Nova already provides the corresponding resume, unpause, and start operations. It is preferable for users to use those APIs rather than resetting the VM state. A reset only updates the reported state and does not actually transition the instance, which can lead to inconsistent behavior. Based on this reasoning, I restricted resetState usage to only error state VMs. Do you want me to remove this status check?","commit_id":"f1b777ff0f7becc7912cbf5b961e795932d00b3d"}]}
