Support local Azure SQL Database container testing on Apple Silicon

Aperta
#970 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
4/5
Tempo stimato
3-5 giorni
Idoneità per principianti
42/100
Tipo di issue
Funzionalità
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
azure, csharp, docker, sql
Ambito
databases, testing

Direzione di ricerca

Start at the existing SQL Server integration fixture and image override; that is where container startup, readiness, and database provisioning are wired, so first read those and the Microsoft preview-limits link. Then run the focused migration test against the Azure SQL image on Apple Silicon and verify engine edition 5. Done means the documented opt-in path works without x64 emulation, a fresh database applies migrations while a second run skips applied one-time scripts, and the tested tag or digest plus suite gaps are recorded.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

Is your feature request related to a problem? Please describe.

The SQL Server integration fixture defaults to the SQL Server 2022 container. Microsoft now offers an Azure SQL Database container in public preview that runs natively on ARM64, including Apple Silicon. This provides a local way to check grate migrations against Azure SQL Database behavior on an Apple Silicon Mac. Microsoft's announcement

Describe the solution you'd like

Add a documented, opt-in way to run the relevant SQL Server migration tests locally against the official mcr.microsoft.com/mssql/azure-sql-db-server image. Start with the existing test fixture and image override. Check whether the SQL Server-specific startup, readiness, and database provisioning assumptions need an Azure SQL variant. Keep current SQL Server coverage and defaults.

  • On an Apple Silicon Mac, the documented path starts an ARM64 container without x64 emulation and verifies Azure SQL Database engine edition 5.
  • A focused test applies migrations to a fresh database, checks the schema and migration history, and verifies that a second run skips already applied one-time scripts.
  • Record the tested image tag or digest and any suite gaps caused by preview limitations.

Describe alternatives you've considered

The SQL Server 2022 container remains the path for SQL Server-specific behavior. The Azure SQL container adds a local check for Azure SQL Database behavior.

Additional context

Lingua principale
C#
Stelle
305
Fork
59
Merge medio
1g 27m
PR unite (30g)
79

Preparare l'ambiente

Apri in Codespaces

Avvia il container di sviluppo del progetto nel browser, con il tuo account GitHub.

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di grate-devs/grate

Tutte le issue di grate-devs/grate

Issue simili

Altre issue su C#

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.