Support local Azure SQL Database container testing on Apple Silicon

Abierto
#970 0 comentarios 0 reacciones 0 asignados Ver en GitHub

Los mantenedores suelen responder en 1 día

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
4/5
Tiempo estimado
3-5 días
Aptitud para principiantes
42/100
Tipo de issue
Nueva funcionalidad
Claridad
Bastante claro
Estado de actividad
Activo
Stack tecnológico
azure, csharp, docker, sql

Línea de trabajo

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.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

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

Lenguaje dominante
C#
Estrellas
305
Forks
59
Merge medio
1 d 27 min
PR fusionados (30 d)
79

Preparar el entorno

Abrir en Codespaces

Inicia el contenedor de desarrollo del proyecto en tu navegador, con tu propia cuenta de GitHub.

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de grate-devs/grate

Todos los issues de grate-devs/grate

Issues similares

Más issues de C#

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.