Skip to content

Fix CodeDeploy install when service is missing - #10583

Open
6065meet wants to merge 1 commit into
aws:developfrom
6065meet:fix/codedeploy-bytes-str-typeerror
Open

Fix CodeDeploy install when service is missing#10583
6065meet wants to merge 1 commit into
aws:developfrom
6065meet:fix/codedeploy-bytes-str-typeerror

Conversation

@6065meet

Copy link
Copy Markdown

*Issue #10576

Fixes a TypeError that occurred when installing or uninstalling the
CodeDeploy agent on a host where the agent service does not exist.

Subprocess output was returned as bytes while the service status checks
compared it against string values. The subprocess calls now use text mode
so the output is returned as strings.

Added regression tests to ensure the service-not-found case is handled
without raising a TypeError.

@6065meet
6065meet requested a review from a team as a code owner August 18, 2026 16:52
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.

1 participant