Support local Azure SQL Database container testing on Apple Silicon

オープン
#970 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

まだ誰も着手していません。

評価

難易度
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分
マージ済み PR(30日)
79

環境構築

Codespaces で開く

このプロジェクトの開発コンテナを、あなたの GitHub アカウントでブラウザ上に起動します。

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

grate-devs/grate のほかの issue

grate-devs/grate の issue をすべて見る

似ている issue

C# の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。