Skip to content

fix(installer): accept Roku delete succeeded response#50

Merged
altaywtf merged 1 commit into
mainfrom
fix/delete-succeeded
Jul 14, 2026
Merged

fix(installer): accept Roku delete succeeded response#50
altaywtf merged 1 commit into
mainfrom
fix/delete-succeeded

Conversation

@altaywtf

Copy link
Copy Markdown
Member

Summary

Accept the success wording returned by current Roku developer installers when deleting a sideloaded channel.

Changed

  • recognize Delete Succeeded. as a successful delete response
  • add a regression test around the native installer request and response path

Risks

Low. The additional wording is accepted only when a recognized delete verb precedes succeeded; unrelated HTTP 200 bodies remain failures.

Verification

  • repository verify gate: formatting, lint, typecheck, 83 tests, package build, package dry-run
  • real developer-installer delete returned Delete Succeeded. and completed successfully
  • the consumer development channel was reinstalled and launched afterward

Follow-Ups

None.

Copilot AI review requested due to automatic review settings July 14, 2026 11:43

Copilot AI left a comment

Copy link
Copy Markdown

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 updates the native Roku developer-installer delete flow to recognize the newer success phrasing "Delete Succeeded.", ensuring deleteInstalledChannel treats that response as a successful uninstall instead of a false failure.

Changes:

  • Extend isDeleteSuccess to accept installer delete messages containing succeeded (in addition to success/successful).
  • Add a regression test covering the HTML-wrapped "Delete Succeeded." response path through the native installer request/response handling.

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.

File Description
src/installer-message.ts Expands delete-success message matching to include "succeeded" for recognized installer messages.
test/roku-capture.test.ts Adds a regression test ensuring "Delete Succeeded." responses are accepted as successful deletes.

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

@altaywtf
altaywtf merged commit 55f3f25 into main Jul 14, 2026
4 checks passed
@altaywtf
altaywtf deleted the fix/delete-succeeded branch July 14, 2026 11:45
putio-release-bot Bot added a commit that referenced this pull request Jul 14, 2026
## [2.4.1](v2.4.0...v2.4.1) (2026-07-14)

### Bug Fixes

* **installer:** accept Roku delete succeeded response ([#50](#50)) ([55f3f25](55f3f25))
@putio-release-bot

Copy link
Copy Markdown
Contributor

🎉 This PR is included in version 2.4.1 🎉

The release is available on:

Your semantic-release bot 📦🚀

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

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants