Skip to content

e2e: extract shared elastic-agent download helpers from AgentInstallSuite#6611

Merged
ycombinator merged 15 commits intoelastic:mainfrom
ycombinator:e2e-agent-download-refactor
Mar 23, 2026
Merged

e2e: extract shared elastic-agent download helpers from AgentInstallSuite#6611
ycombinator merged 15 commits intoelastic:mainfrom
ycombinator:e2e-agent-download-refactor

Conversation

@ycombinator
Copy link
Copy Markdown
Contributor

@ycombinator ycombinator commented Mar 18, 2026

Summary

  • Extracts downloadElasticAgent, extractAgentArchive, and internal tar/zip helpers from AgentInstallSuite into a new testing/e2e/agent_download.go file so other E2E tests can reuse them without duplication. There will be a follow up PR that adds an E2E test for [OpAMP][E2E Test] Verify that EDOT Collectors can talk to Fleet over OpAMP #6394, and that test will also need to download Elastic Agent / EDOT Collector.
  • Adds download caching: the archive is stored in os.UserCacheDir()/fleet-server-e2e/ and reused on subsequent runs if the remote .sha512 checksum matches, avoiding repeated 600 MB downloads
  • AgentInstallSuite updated to call the shared helpers; behaviour is unchanged

🤖 Generated with Claude Code

@ycombinator ycombinator requested a review from a team as a code owner March 18, 2026 16:09
@mergify
Copy link
Copy Markdown
Contributor

mergify Bot commented Mar 18, 2026

This pull request does not have a backport label. Could you fix it @ycombinator? 🙏
To fixup this pull request, you need to add the backport labels for the needed
branches, such as:

  • backport-./d./d is the label to automatically backport to the 8./d branch. /d is the digit
  • backport-active-all is the label that automatically backports to all active branches.
  • backport-active-8 is the label that automatically backports to all active minor branches for the 8 major.
  • backport-active-9 is the label that automatically backports to all active minor branches for the 9 major.

…uite

Extract downloadElasticAgent, extractAgentArchive (and internal tar/zip
helpers) into a new agent_download.go file so they can be reused by other
E2E tests without duplication.

Improvements over the original inline methods:
- Caching: the downloaded archive is stored in os.UserCacheDir() and
  reused on subsequent runs if the remote .sha512 checksum matches,
  avoiding repeated 600 MB downloads
- ExtractFilter callback: lets callers limit which entries are written to
  disk (complementing the existing FileReplacer)
- Explicit chmod after extraction: ensures execute bits are preserved
  regardless of the process umask

AgentInstallSuite is updated to call the shared helpers; behaviour is
unchanged.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@ycombinator ycombinator marked this pull request as draft March 18, 2026 16:16
@ycombinator ycombinator force-pushed the e2e-agent-download-refactor branch from 6f69604 to 1ace6df Compare March 18, 2026 16:19
ycombinator and others added 5 commits March 18, 2026 09:28
…e methods

Replace the FileReplacer callback with the original extractZip/extractTar/copyFleetServer
suite methods on AgentInstallSuite, matching the pre-refactor approach. The shared
downloadElasticAgent function (with caching) remains in agent_download.go.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
…t cache

Avoids persistent cache growth in ~/Library/Caches (macOS) or ~/.cache (Linux).
TempDir is cleared on reboot and is appropriate for CI/test artifacts.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
…code

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@ycombinator ycombinator marked this pull request as ready for review March 18, 2026 16:57
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Copy link
Copy Markdown
Contributor

@michel-laterman michel-laterman left a comment

Choose a reason for hiding this comment

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

Mostly nitpicks, but we really should check return status codes before handling the response bodies

Comment thread testing/e2e/agent_download.go Outdated
Comment thread testing/e2e/agent_download.go
Comment thread testing/e2e/agent_download.go Outdated
Comment thread testing/e2e/agent_download.go Outdated
Comment thread testing/e2e/agent_download.go Outdated
Comment thread testing/e2e/agent_download.go
Comment thread testing/e2e/agent_download.go Outdated
Comment thread testing/e2e/agent_download.go Outdated
Comment thread testing/e2e/agent_download.go
ycombinator and others added 8 commits March 20, 2026 13:17
The download helpers contain nothing FIPS-specific; removing the tag
allows them to be used by any e2e test regardless of FIPS stance.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-authored-by: Michel Laterman <82832767+michel-laterman@users.noreply.github.com>
Co-authored-by: Michel Laterman <82832767+michel-laterman@users.noreply.github.com>
Co-authored-by: Michel Laterman <82832767+michel-laterman@users.noreply.github.com>
Co-authored-by: Michel Laterman <82832767+michel-laterman@users.noreply.github.com>
Co-authored-by: Michel Laterman <82832767+michel-laterman@users.noreply.github.com>
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@ycombinator ycombinator merged commit 3c2c3c2 into elastic:main Mar 23, 2026
10 checks passed
@ycombinator ycombinator deleted the e2e-agent-download-refactor branch March 23, 2026 17:03
@ycombinator ycombinator added Team:Elastic-Agent-Control-Plane Label for the Agent Control Plane team skip-changelog labels Mar 23, 2026
@ycombinator ycombinator added the backport-active-9 Automated backport with mergify to all the active 9.[0-9]+ branches label Mar 23, 2026
@github-actions
Copy link
Copy Markdown
Contributor

@Mergifyio backport 9.2 9.3

@mergify
Copy link
Copy Markdown
Contributor

mergify Bot commented Mar 23, 2026

backport 9.2 9.3

✅ Backports have been created

Details

mergify Bot pushed a commit that referenced this pull request Mar 23, 2026
…uite (#6611)

* e2e: extract shared elastic-agent download helpers from AgentInstallSuite

Extract downloadElasticAgent, extractAgentArchive (and internal tar/zip
helpers) into a new agent_download.go file so they can be reused by other
E2E tests without duplication.

Improvements over the original inline methods:
- Caching: the downloaded archive is stored in os.UserCacheDir() and
  reused on subsequent runs if the remote .sha512 checksum matches,
  avoiding repeated 600 MB downloads
- ExtractFilter callback: lets callers limit which entries are written to
  disk (complementing the existing FileReplacer)
- Explicit chmod after extraction: ensures execute bits are preserved
  regardless of the process umask

AgentInstallSuite is updated to call the shared helpers; behaviour is
unchanged.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>

* refactor(e2e): remove FileReplacer abstraction, restore original suite methods

Replace the FileReplacer callback with the original extractZip/extractTar/copyFleetServer
suite methods on AgentInstallSuite, matching the pre-refactor approach. The shared
downloadElasticAgent function (with caching) remains in agent_download.go.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>

* refactor(e2e): use os.TempDir() instead of os.UserCacheDir() for agent cache

Avoids persistent cache growth in ~/Library/Caches (macOS) or ~/.cache (Linux).
TempDir is cleared on reboot and is appropriate for CI/test artifacts.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>

* chore(e2e): preserve commented-out Artifact fields from pre-refactor code

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>

* chore(e2e): restore comments removed during refactor

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>

* chore(e2e): restore "Use local fleet-server" comment in extractTar

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>

* chore(e2e): gofmt fixes

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>

* chore(e2e): remove !requirefips build tag from agent_download.go

The download helpers contain nothing FIPS-specific; removing the tag
allows them to be used by any e2e test regardless of FIPS stance.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>

* Update testing/e2e/agent_download.go

Co-authored-by: Michel Laterman <82832767+michel-laterman@users.noreply.github.com>

* Update testing/e2e/agent_download.go

Co-authored-by: Michel Laterman <82832767+michel-laterman@users.noreply.github.com>

* Update testing/e2e/agent_download.go

Co-authored-by: Michel Laterman <82832767+michel-laterman@users.noreply.github.com>

* Update testing/e2e/agent_download.go

Co-authored-by: Michel Laterman <82832767+michel-laterman@users.noreply.github.com>

* Update testing/e2e/agent_download.go

Co-authored-by: Michel Laterman <82832767+michel-laterman@users.noreply.github.com>

* chore(e2e): check artifacts API HTTP status before decoding response

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>

* chore(e2e): check sha512 fetch HTTP status before reading response

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>

---------

Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-authored-by: Michel Laterman <82832767+michel-laterman@users.noreply.github.com>
(cherry picked from commit 3c2c3c2)
mergify Bot pushed a commit that referenced this pull request Mar 23, 2026
…uite (#6611)

* e2e: extract shared elastic-agent download helpers from AgentInstallSuite

Extract downloadElasticAgent, extractAgentArchive (and internal tar/zip
helpers) into a new agent_download.go file so they can be reused by other
E2E tests without duplication.

Improvements over the original inline methods:
- Caching: the downloaded archive is stored in os.UserCacheDir() and
  reused on subsequent runs if the remote .sha512 checksum matches,
  avoiding repeated 600 MB downloads
- ExtractFilter callback: lets callers limit which entries are written to
  disk (complementing the existing FileReplacer)
- Explicit chmod after extraction: ensures execute bits are preserved
  regardless of the process umask

AgentInstallSuite is updated to call the shared helpers; behaviour is
unchanged.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>

* refactor(e2e): remove FileReplacer abstraction, restore original suite methods

Replace the FileReplacer callback with the original extractZip/extractTar/copyFleetServer
suite methods on AgentInstallSuite, matching the pre-refactor approach. The shared
downloadElasticAgent function (with caching) remains in agent_download.go.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>

* refactor(e2e): use os.TempDir() instead of os.UserCacheDir() for agent cache

Avoids persistent cache growth in ~/Library/Caches (macOS) or ~/.cache (Linux).
TempDir is cleared on reboot and is appropriate for CI/test artifacts.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>

* chore(e2e): preserve commented-out Artifact fields from pre-refactor code

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>

* chore(e2e): restore comments removed during refactor

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>

* chore(e2e): restore "Use local fleet-server" comment in extractTar

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>

* chore(e2e): gofmt fixes

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>

* chore(e2e): remove !requirefips build tag from agent_download.go

The download helpers contain nothing FIPS-specific; removing the tag
allows them to be used by any e2e test regardless of FIPS stance.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>

* Update testing/e2e/agent_download.go

Co-authored-by: Michel Laterman <82832767+michel-laterman@users.noreply.github.com>

* Update testing/e2e/agent_download.go

Co-authored-by: Michel Laterman <82832767+michel-laterman@users.noreply.github.com>

* Update testing/e2e/agent_download.go

Co-authored-by: Michel Laterman <82832767+michel-laterman@users.noreply.github.com>

* Update testing/e2e/agent_download.go

Co-authored-by: Michel Laterman <82832767+michel-laterman@users.noreply.github.com>

* Update testing/e2e/agent_download.go

Co-authored-by: Michel Laterman <82832767+michel-laterman@users.noreply.github.com>

* chore(e2e): check artifacts API HTTP status before decoding response

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>

* chore(e2e): check sha512 fetch HTTP status before reading response

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>

---------

Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-authored-by: Michel Laterman <82832767+michel-laterman@users.noreply.github.com>
(cherry picked from commit 3c2c3c2)
ycombinator added a commit that referenced this pull request Mar 23, 2026
…uite (#6611)

* e2e: extract shared elastic-agent download helpers from AgentInstallSuite

Extract downloadElasticAgent, extractAgentArchive (and internal tar/zip
helpers) into a new agent_download.go file so they can be reused by other
E2E tests without duplication.

Improvements over the original inline methods:
- Caching: the downloaded archive is stored in os.UserCacheDir() and
  reused on subsequent runs if the remote .sha512 checksum matches,
  avoiding repeated 600 MB downloads
- ExtractFilter callback: lets callers limit which entries are written to
  disk (complementing the existing FileReplacer)
- Explicit chmod after extraction: ensures execute bits are preserved
  regardless of the process umask

AgentInstallSuite is updated to call the shared helpers; behaviour is
unchanged.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>

* refactor(e2e): remove FileReplacer abstraction, restore original suite methods

Replace the FileReplacer callback with the original extractZip/extractTar/copyFleetServer
suite methods on AgentInstallSuite, matching the pre-refactor approach. The shared
downloadElasticAgent function (with caching) remains in agent_download.go.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>

* refactor(e2e): use os.TempDir() instead of os.UserCacheDir() for agent cache

Avoids persistent cache growth in ~/Library/Caches (macOS) or ~/.cache (Linux).
TempDir is cleared on reboot and is appropriate for CI/test artifacts.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>

* chore(e2e): preserve commented-out Artifact fields from pre-refactor code

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>

* chore(e2e): restore comments removed during refactor

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>

* chore(e2e): restore "Use local fleet-server" comment in extractTar

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>

* chore(e2e): gofmt fixes

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>

* chore(e2e): remove !requirefips build tag from agent_download.go

The download helpers contain nothing FIPS-specific; removing the tag
allows them to be used by any e2e test regardless of FIPS stance.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>

* Update testing/e2e/agent_download.go

Co-authored-by: Michel Laterman <82832767+michel-laterman@users.noreply.github.com>

* Update testing/e2e/agent_download.go

Co-authored-by: Michel Laterman <82832767+michel-laterman@users.noreply.github.com>

* Update testing/e2e/agent_download.go

Co-authored-by: Michel Laterman <82832767+michel-laterman@users.noreply.github.com>

* Update testing/e2e/agent_download.go

Co-authored-by: Michel Laterman <82832767+michel-laterman@users.noreply.github.com>

* Update testing/e2e/agent_download.go

Co-authored-by: Michel Laterman <82832767+michel-laterman@users.noreply.github.com>

* chore(e2e): check artifacts API HTTP status before decoding response

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>

* chore(e2e): check sha512 fetch HTTP status before reading response

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>

---------

Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-authored-by: Michel Laterman <82832767+michel-laterman@users.noreply.github.com>
(cherry picked from commit 3c2c3c2)
ycombinator added a commit that referenced this pull request Mar 23, 2026
…uite (#6611)

* e2e: extract shared elastic-agent download helpers from AgentInstallSuite

Extract downloadElasticAgent, extractAgentArchive (and internal tar/zip
helpers) into a new agent_download.go file so they can be reused by other
E2E tests without duplication.

Improvements over the original inline methods:
- Caching: the downloaded archive is stored in os.UserCacheDir() and
  reused on subsequent runs if the remote .sha512 checksum matches,
  avoiding repeated 600 MB downloads
- ExtractFilter callback: lets callers limit which entries are written to
  disk (complementing the existing FileReplacer)
- Explicit chmod after extraction: ensures execute bits are preserved
  regardless of the process umask

AgentInstallSuite is updated to call the shared helpers; behaviour is
unchanged.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>

* refactor(e2e): remove FileReplacer abstraction, restore original suite methods

Replace the FileReplacer callback with the original extractZip/extractTar/copyFleetServer
suite methods on AgentInstallSuite, matching the pre-refactor approach. The shared
downloadElasticAgent function (with caching) remains in agent_download.go.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>

* refactor(e2e): use os.TempDir() instead of os.UserCacheDir() for agent cache

Avoids persistent cache growth in ~/Library/Caches (macOS) or ~/.cache (Linux).
TempDir is cleared on reboot and is appropriate for CI/test artifacts.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>

* chore(e2e): preserve commented-out Artifact fields from pre-refactor code

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>

* chore(e2e): restore comments removed during refactor

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>

* chore(e2e): restore "Use local fleet-server" comment in extractTar

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>

* chore(e2e): gofmt fixes

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>

* chore(e2e): remove !requirefips build tag from agent_download.go

The download helpers contain nothing FIPS-specific; removing the tag
allows them to be used by any e2e test regardless of FIPS stance.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>

* Update testing/e2e/agent_download.go

Co-authored-by: Michel Laterman <82832767+michel-laterman@users.noreply.github.com>

* Update testing/e2e/agent_download.go

Co-authored-by: Michel Laterman <82832767+michel-laterman@users.noreply.github.com>

* Update testing/e2e/agent_download.go

Co-authored-by: Michel Laterman <82832767+michel-laterman@users.noreply.github.com>

* Update testing/e2e/agent_download.go

Co-authored-by: Michel Laterman <82832767+michel-laterman@users.noreply.github.com>

* Update testing/e2e/agent_download.go

Co-authored-by: Michel Laterman <82832767+michel-laterman@users.noreply.github.com>

* chore(e2e): check artifacts API HTTP status before decoding response

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>

* chore(e2e): check sha512 fetch HTTP status before reading response

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>

---------

Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-authored-by: Michel Laterman <82832767+michel-laterman@users.noreply.github.com>
(cherry picked from commit 3c2c3c2)
ycombinator added a commit that referenced this pull request Mar 23, 2026
…uite (#6611) (#6650)

* e2e: extract shared elastic-agent download helpers from AgentInstallSuite

Extract downloadElasticAgent, extractAgentArchive (and internal tar/zip
helpers) into a new agent_download.go file so they can be reused by other
E2E tests without duplication.

Improvements over the original inline methods:
- Caching: the downloaded archive is stored in os.UserCacheDir() and
  reused on subsequent runs if the remote .sha512 checksum matches,
  avoiding repeated 600 MB downloads
- ExtractFilter callback: lets callers limit which entries are written to
  disk (complementing the existing FileReplacer)
- Explicit chmod after extraction: ensures execute bits are preserved
  regardless of the process umask

AgentInstallSuite is updated to call the shared helpers; behaviour is
unchanged.



* refactor(e2e): remove FileReplacer abstraction, restore original suite methods

Replace the FileReplacer callback with the original extractZip/extractTar/copyFleetServer
suite methods on AgentInstallSuite, matching the pre-refactor approach. The shared
downloadElasticAgent function (with caching) remains in agent_download.go.



* refactor(e2e): use os.TempDir() instead of os.UserCacheDir() for agent cache

Avoids persistent cache growth in ~/Library/Caches (macOS) or ~/.cache (Linux).
TempDir is cleared on reboot and is appropriate for CI/test artifacts.



* chore(e2e): preserve commented-out Artifact fields from pre-refactor code



* chore(e2e): restore comments removed during refactor



* chore(e2e): restore "Use local fleet-server" comment in extractTar



* chore(e2e): gofmt fixes



* chore(e2e): remove !requirefips build tag from agent_download.go

The download helpers contain nothing FIPS-specific; removing the tag
allows them to be used by any e2e test regardless of FIPS stance.



* Update testing/e2e/agent_download.go



* Update testing/e2e/agent_download.go



* Update testing/e2e/agent_download.go



* Update testing/e2e/agent_download.go



* Update testing/e2e/agent_download.go



* chore(e2e): check artifacts API HTTP status before decoding response



* chore(e2e): check sha512 fetch HTTP status before reading response



---------



(cherry picked from commit 3c2c3c2)

Co-authored-by: Shaunak Kashyap <ycombinator@gmail.com>
Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-authored-by: Michel Laterman <82832767+michel-laterman@users.noreply.github.com>
ycombinator added a commit that referenced this pull request Mar 23, 2026
…uite (#6611) (#6649)

* e2e: extract shared elastic-agent download helpers from AgentInstallSuite

Extract downloadElasticAgent, extractAgentArchive (and internal tar/zip
helpers) into a new agent_download.go file so they can be reused by other
E2E tests without duplication.

Improvements over the original inline methods:
- Caching: the downloaded archive is stored in os.UserCacheDir() and
  reused on subsequent runs if the remote .sha512 checksum matches,
  avoiding repeated 600 MB downloads
- ExtractFilter callback: lets callers limit which entries are written to
  disk (complementing the existing FileReplacer)
- Explicit chmod after extraction: ensures execute bits are preserved
  regardless of the process umask

AgentInstallSuite is updated to call the shared helpers; behaviour is
unchanged.



* refactor(e2e): remove FileReplacer abstraction, restore original suite methods

Replace the FileReplacer callback with the original extractZip/extractTar/copyFleetServer
suite methods on AgentInstallSuite, matching the pre-refactor approach. The shared
downloadElasticAgent function (with caching) remains in agent_download.go.



* refactor(e2e): use os.TempDir() instead of os.UserCacheDir() for agent cache

Avoids persistent cache growth in ~/Library/Caches (macOS) or ~/.cache (Linux).
TempDir is cleared on reboot and is appropriate for CI/test artifacts.



* chore(e2e): preserve commented-out Artifact fields from pre-refactor code



* chore(e2e): restore comments removed during refactor



* chore(e2e): restore "Use local fleet-server" comment in extractTar



* chore(e2e): gofmt fixes



* chore(e2e): remove !requirefips build tag from agent_download.go

The download helpers contain nothing FIPS-specific; removing the tag
allows them to be used by any e2e test regardless of FIPS stance.



* Update testing/e2e/agent_download.go



* Update testing/e2e/agent_download.go



* Update testing/e2e/agent_download.go



* Update testing/e2e/agent_download.go



* Update testing/e2e/agent_download.go



* chore(e2e): check artifacts API HTTP status before decoding response



* chore(e2e): check sha512 fetch HTTP status before reading response



---------



(cherry picked from commit 3c2c3c2)

Co-authored-by: Shaunak Kashyap <ycombinator@gmail.com>
Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-authored-by: Michel Laterman <82832767+michel-laterman@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backport-active-9 Automated backport with mergify to all the active 9.[0-9]+ branches skip-changelog Team:Elastic-Agent-Control-Plane Label for the Agent Control Plane team

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants