Support local Azure SQL Database container testing on Apple Silicon

Đang mở
#970 0 bình luận 0 reaction 0 người được giao Xem trên GitHub

Maintainer thường phản hồi trong vòng 1 ngày

Chưa có ai nhận issue này.

Đánh giá

Độ khó
4/5
Thời gian dự kiến
3-5 ngày
Mức phù hợp với người mới
42/100
Loại issue
Tính năng
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
azure, csharp, docker, sql
Lĩnh vực
databases, testing

Hướng nghiên cứu

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.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

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

Ngôn ngữ chính
C#
Star
305
Fork
59
Merge trung bình
1 ngày 27 phút
Pull request đã merge (30 ngày)
79

Chuẩn bị môi trường

Mở trong Codespaces

Khởi chạy dev container của dự án ngay trên trình duyệt, bằng tài khoản GitHub của bạn.

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của grate-devs/grate

Tất cả issue của grate-devs/grate

Issue tương tự

Thêm issue về C#

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.