Skip to content

Upgrade E2E tests to Core Tools v4.0.7317 #88

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Jun 6, 2025
Merged

Conversation

AnatoliB
Copy link
Collaborator

@AnatoliB AnatoliB commented Jun 3, 2025

While trying to upgrade to PowerShell 7.4 and .NET 8, I discovered that Core Tools builds are not published to the same internal location anymore. As a result, the E2E tests were using a very old version of Core Tools, which led to test failures.

This PR makes the E2E tests use Core Tools v4.0.7317 (the latest officially published version), and it also removes the UseCoreToolsBuildFromIntegrationTests support.

In the future, we may want to find another way of retrieving the latest version, especially for the purposes of internal integration tests. However, I believe public tests on GitHub should rely on officially published Core Tools versions, and we should upgrade this dependency the same way as we upgrade other dependencies: with an explicit version bump.

@AnatoliB AnatoliB changed the title Upgrade to Core Tools 4.0.7317 Upgrade E2E tests to Core Tools v4.0.7317 Jun 3, 2025
@AnatoliB AnatoliB marked this pull request as ready for review June 3, 2025 23:33
@AnatoliB AnatoliB requested review from andystaples and Copilot June 3, 2025 23:33
Copy link

@Copilot Copilot AI left a comment

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 E2E test script to use the officially published Azure Functions Core Tools v4.0.7317 and removes support for pulling builds from the internal integration tests feed.

  • Deprecates and ignores the UseCoreToolsBuildFromIntegrationTests switch (with a warning).
  • Introduces a hard-coded CORE_TOOLS_VERSION and updates the download URL to the GitHub release for v4.0.7317.
Comments suppressed due to low confidence (1)

test/E2E/Start-E2ETest.ps1:63

  • The deprecation of the UseCoreToolsBuildFromIntegrationTests switch should be added to the script’s Param block help so users see it’s ignored without running the script.
if ($UseCoreToolsBuildFromIntegrationTests.IsPresent)

andystaples
andystaples previously approved these changes Jun 6, 2025
@AnatoliB AnatoliB merged commit d94e2e4 into main Jun 6, 2025
2 checks passed
@AnatoliB AnatoliB deleted the anatolib/core-tools-fix branch June 6, 2025 22:05
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.

2 participants