Skip to content

Conversation

@mergify
Copy link
Contributor

@mergify mergify bot commented Nov 20, 2025

What does this PR do?

This PR adds a new domain from which the packaging process can download manifest artifacts.

Why is it important?

This is part of the effort to reduce the risk of human error when doing an Independent Agent Release version bump in the unified-release repo.

Currently, the version bump is required to find and use the Build ID for the Staging build that was actually released in the previous release.

We are trying to now use part of the new Past Releases API, which now stores the manifest about a past release in a known format. For example: https://artifacts.elastic.co/downloads/9.2.1.json

By using that, we eliminate the manual work needed to find and save the specific Build ID of the Staging build that got promoted to be the actual release.

Currently, the packaging logic does not allow artifacts.elastic.co as a valid domain name form which to download artifacts. This PR fixes that, which will enable the change in the Independent Agent Release.

I mentioned possibly putting this specific domain behind some sort of env var check for whether it was an Independent Agent Release build or not, but @pchila did not think that to be necessary.

Slack convo: https://elastic.slack.com/archives/C054PDS0RCK/p1763139068192439

Related PR: https://github.com/elastic/unified-release/pull/3374

Checklist

  • I have read and understood the pull request guidelines of this project.
  • My code follows the style guidelines of this project
  • I have commented my code, particularly in hard-to-understand areas
  • I have made corresponding changes to the documentation
  • I have made corresponding change to the default configuration files
  • I have added tests that prove my fix is effective or that my feature works
  • I have added an entry in ./changelog/fragments using the changelog tool
  • I have added an integration test or an E2E test

Disruptive User Impact

How to test this PR locally

Related issues

Questions to ask yourself

  • How are we going to support this in production?
  • How are we going to measure its adoption?
  • How are we going to debug this?
  • What are the metrics I should take care of?
  • ...

This is an automatic backport of pull request #11219 done by [Mergify](https://mergify.com).

* Adding artifacts.elastic.co as valid domain for manifest URLs

* Temp set branch to 9.2

* Remove temp testing code

(cherry picked from commit ce19518)
@mergify mergify bot requested a review from a team as a code owner November 20, 2025 13:50
@mergify mergify bot added the backport label Nov 20, 2025
@mergify mergify bot requested review from blakerouse and pchila and removed request for a team November 20, 2025 13:50
@mergify mergify bot added the backport label Nov 20, 2025
@elasticmachine
Copy link
Collaborator

elasticmachine commented Nov 20, 2025

@pierrehilbert pierrehilbert merged commit 835c0b5 into 8.19 Nov 21, 2025
17 checks passed
@pierrehilbert pierrehilbert deleted the mergify/bp/8.19/pr-11219 branch November 21, 2025 09:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants