Support local Azure SQL Database container testing on Apple Silicon

未关闭
#970 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

维护者通常 1 天内回复

还没有人认领这个 Issue。

评估

难度
4/5
预计耗时
3-5 天
新手友好度
42/100
Issue 类型
功能
描述清晰度
基本清楚
活跃度
活跃
技术栈
azure, csharp, docker, sql
领域
databases, testing

调研方向

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.

由索引模型根据 Issue 内容生成。

描述

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

主要语言
C#
星标
305
派生
59
平均合并
1 天 27 分钟
30 天内合并 PR
79

环境准备

在 Codespaces 中打开

在浏览器里用你自己的 GitHub 账号启动这个项目的开发容器。

  • 没有 Dockerfile 或 Docker Compose 文件
  • 没有 Pull Request 模板
  • 阅读贡献指南

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

grate-devs/grate 的其他 Issue

查看 grate-devs/grate 的全部 Issue

相似的 Issue

更多 C# Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。