Trunk red since #7149: navigation-compilation-output fixture differs from pre-optimization snapshot

Đang mở
#7,176 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ó
3/5
Thời gian dự kiến
1-2 ngày
Mức phù hợp với người mới
52/100
Loại issue
Lỗi
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
php
Lĩnh vực
testing

Hướng nghiên cứu

Start with tests/contract/navigation-compilation-output.php and the benchmark at php-transformer/tools/benchmarks/navigation-compilation.php:41; compare the failing generated fixture with the pre-optimization snapshot and review changes since #7149. Determine whether the output change is intended or a regression. Done means the snapshot matches intended output and the Composer validate and test workflow passes.

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

Mô tả

tests/contract/navigation-compilation-output.php has failed in the PHP Transformer workflow on every trunk push since #7149 (97593ff6). The last green trunk run was b6b3d559 (#7143), and 14 consecutive trunk runs have failed since. This makes every PR's "Composer validate and test" red, whatever the PR changes.

PHP Fatal error: Uncaught RuntimeException: Generated fixture differs from pre-optimization blocks/site plan
  in php-transformer/tools/benchmarks/navigation-compilation.php:41

The benchmark compares current output against a pre-optimization snapshot. Either a later trunk change legitimately changed navigation output and the snapshot needs regenerating, or #7149 changed output it meant to preserve. Expected result: the snapshot reflects intended output, and trunk is green again.


AI disclosure: noticed while merging #7133 and filed by Franklin (Claude Opus via the Pi coding agent) for @chubes4.

Ngôn ngữ chính
PHP
Star
31
Fork
7
Merge trung bình
3 giờ 40 phút
Pull request đã merge (30 ngày)
813

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

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 Automattic/blocks-engine

Tất cả issue của Automattic/blocks-engine

Issue tương tự

Thêm issue về PHP

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.