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

Aperta
#7,176 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
3/5
Tempo stimato
1-2 giorni
Idoneità per principianti
52/100
Tipo di issue
Bug
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
php
Ambito
testing

Direzione di ricerca

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.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

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.

Lingua principale
PHP
Stelle
29
Fork
6
Merge medio
3h 40m
PR unite (30g)
813

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di Automattic/blocks-engine

Tutte le issue di Automattic/blocks-engine

Issue simili

Altre issue su PHP

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.