Skip to content

Announcement: CodeDeploy Agent 2.1.3 is now available #437

Open

Description

@nathan-inge

Agent 2.1.3

Release Notes

Installation Instructions

Added

  • Optional preserve_directory_symlinks (default false, Linux and macOS). A symlink to a directory in the revision is installed as a symlink instead of copying the directory it points to
    (#152). The permissions section is not applied through a preserved link.

Fixed

  • Lifecycle event results are retried on transient errors. When reporting a result fails with a 5xx or network error, the agent retries with exponential backoff for up to 65 minutes after the command was acknowledged,
    instead of dropping the result. A hook that succeeded no longer fails with "CodeDeploy agent was not able to notify CodeDeploy server the execution result of this lifecycle event". Stopping the agent during retries can take as
    long as the retry period, bounded by kill_agent_max_wait_time_seconds.
  • Installing a symlink over an existing file or symlink replaces it (#143). A symlink over an existing directory is refused before any file is copied, and cleanup
    removes dangling symlinks.
  • File names that are not valid UTF-8 no longer hang the Install event (#284). They are installed and cleaned up on the next deployment. A destination path that
    contains a line break fails the deployment before any files are copied.
  • On Windows, standard users keep read access to the agent's deployment folders (deployment-logs, ongoing-deployment, and others), matching the 0755 folders on Linux and macOS. They cannot modify them.
  • Concurrent deployments that create the same missing parent directory no longer fail Install (#429).
  • GitHub deployments that use an access token no longer fail with HTTP 401 (#434, #435).

Security

  • Improved file system permissions on the agent installation folder on Windows Server.

Full changelog: v2.1.2...v2.1.3

Activity

  1. pinned this issue on Nov 5, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions