Skip to content

Refactor core-tools build to use tag-based checkout, temp removal of docker hub tests#691

Merged
manvkaur merged 1 commit intomainfrom
manvkaur/updateglobaljson
Apr 23, 2026
Merged

Refactor core-tools build to use tag-based checkout, temp removal of docker hub tests#691
manvkaur merged 1 commit intomainfrom
manvkaur/updateglobaljson

Conversation

@manvkaur
Copy link
Copy Markdown
Collaborator

@manvkaur manvkaur commented Apr 23, 2026

Pull Request

Description

File Change
resolve-core-tools-tags.ps1 New — maps host versions → core-tools refs via GitHub raw URLs
build-multi-version-core-tools.ps1 Rewritten — git checkout by tag/ref, git reset/clean between builds, Apply-PostCheckoutFixes syncs global.json from host repo
build-core-tools.ps1 Add TFM auto-detection from csproj (no hardcoded net8.0)
get-latest-host-tags.ps1 Filter host tags < 4.1049 until core tools complete the migration to dotnet 10. Created a temporary branch - manvkaur/dotnethosttests with a workaround to do adhoc verifications before bundle releases on dotnet 10 based host.
update-core-tools-versions.ps1 Simplified — only used in fallback path now
test-groups.json Temporary Skip MySQL, Kafka, RabbitMQ tests (Docker Hub registry timeouts to be checked with 1ES PT or Hosted Pools)

Issue Link

Resolves #

Type of Change

  • Bug fix
  • New feature
  • Breaking change
  • Documentation update
  • Performance improvement
  • Refactoring
  • Testing

Branch Propagation

  • main
  • main-preview
  • main-experimental
  • main-v2
  • main-v3

Checklist

  • I have performed a self-review of my code
  • I have added/updated emulator tests that prove my fix or feature works
  • I have updated relevant documentation
  • I have verified my changes in a local environment or internal build artifact
  • I have added appropriate comments to complex code

Documentation Updates

NA

- Add resolve-core-tools-tags.ps1: maps host versions to core-tools tags
  via GitHub raw URL (three-tier: main > tag > fallback)
- Rewrite build-multi-version-core-tools.ps1: git checkout by tag/ref,
  git reset/clean between builds, use GitHub URLs (not origin)
- Add Apply-PostCheckoutFixes: sync global.json from host repo, set
  rollForward=latestFeature, adjust SDK to installed version
- Filter host tags < 4.1049 (waiting for core tools migration to dotnet 10)
- Add TFM auto-detection in build-core-tools.ps1
- Skip Docker Hub dependent tests (MySQL, Kafka, RabbitMQ) - infra issue
- Add Docker client timeouts (COMPOSE_HTTP_TIMEOUT=300s) for CI
- Fix PowerShell ErrorActionPreference+git stderr interaction
- Fix shallow clone: fetch from GitHub URL before checkout

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@manvkaur manvkaur marked this pull request as ready for review April 23, 2026 17:58
@manvkaur manvkaur requested a review from a team as a code owner April 23, 2026 17:58
@manvkaur manvkaur merged commit e997830 into main Apr 23, 2026
21 checks passed
@manvkaur manvkaur deleted the manvkaur/updateglobaljson branch April 23, 2026 21: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