Framework handles skipped activities differently than Fabric environment
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
- 45/100
- Loại issue
- Lỗi
- Độ rõ ràng
- Khá rõ ràng
- Mức độ hoạt động
- Đình trệ
- Công nghệ
- python
- Lĩnh vực
- testing-qa
Hướng nghiên cứu
Start by locating the expression evaluator for activity(...).status and the handling of skipped activities. Reproduce the contains expression with a skipped Notebook activity, then add a regression test covering the if-condition behavior. Done means the framework fails to evaluate the condition instead of returning None, matching the reported Fabric behavior.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
The framework handles skipped activities differently than the actual Fabric environment. In Fabric, attempting to access the status of a skipped activity (activity('Notebook').status) causes the expression to break. However, the testing framework returns None. This means that an expression like:
@contains(
createArray(
activity('Fail1').status,
activity('Notebook').status
),
'Failed'
)
in the if-condition of this pipeline:
will work differently in tests compared to production. My preferred solution would be for Fabric to have a 'Skipped' status for skipped activities, but that is a different matter. For the testing framework to match Fabric it should fail to evaluate the if condition.
For completeness, this is the error:
- Ngôn ngữ chính
- Python
- Star
- 135
- Fork
- 44
- Merge trung bình
- 6 ngày 20 giờ
- Pull request đã merge (30 ngày)
- 2
Chuẩn bị môi trường
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.
- Không có Dockerfile hay tệp Docker Compose
- Không có mẫu pull request
- Không có hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- 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.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của microsoft/data-factory-testing-framework
-
A new ExpressionRuntime (Lark grammar compile) per evaluated expression makes evaluation ~5x slowerCó thể đã có người làm @florian-burelli đã nhận 30 ngày trước. Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 86/100
-
item() equal to 0 raises StateIterationItemNotSetError (falsy item treated as unset)Có thể đã có người làm @florian-burelli đã nhận 30 ngày trước. Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 88/100
-
IfCondition evaluates the expressions of the branch not taken (case-sensitive "activities" check)Có thể đã có người làm @florian-burelli đã nhận 30 ngày trước. Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 84/100
-
DataFactoryTestingFrameworkExpressionsEvaluator adds status property even if None is set.Có thể đã có người làm @LeonardHd đã nhận 465 ngày trước. Đang mởbug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
-
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 35/100
Tất cả issue của microsoft/data-factory-testing-framework
Issue tương tự
-
[BUG]: Compliance rules never see Unity Catalog views as viewsCó thể đã có người làm @wagnercsantos đã nhận hôm nay. Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
databrickslabs/ontos#1348 ·
Maintainer thường phản hồi trong vòng 3 ngày
-
`forum_pr_poster` action will always return `none` when checking for pre-existing feedback threads, even if a feedback thread already exists.Có thể đã có người làm @pgmzeta đã nhận hôm nay. Đang mởE-Verified P-Major
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 79/100
goonstation/goonstation#28259 ·
Maintainer thường phản hồi trong vòng 2 ngày
-
enhancement
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 65/100
woonstadrotterdam/monumenten#70 ·
Maintainer thường phản hồi trong vòng 15 ngày
-
binding:python bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 82/100
Maintainer thường phản hồi trong vòng 1 ngày
-
The Browser tab fails with a Wayland error when Open Terminal runs from a Wayland desktop sessionĐang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
open-webui/open-terminal#210 ·