Make transform-duration contract failures diagnostic
メンテナーはふだん 1 日以内に返信
まだ誰も着手していません。
評価
- 難易度
- 2/5
- 見積もり時間
- 1〜3時間
- 初心者へのやさしさ
- 82/100
- issue の種類
- バグ
- 明瞭さ
- 明確に書かれている
- 活発さ
- 静か
- 技術スタック
- php
- 領域
- testing-qa
調査の方向性
php-transformer/tests/contract/run.php:3649 から開始し、PHP 8.1.34 で正規のコントラクト失敗を再現します。get_debug_type() と var_export() を使用して、観測されたメトリックの診断出力を追加し、その後、対象のコントラクトテストを実行して、動作変更が引き続き妥当かどうかを記録します。
索引モデルが issue の本文から書いたものです。
説明
Context
PR #774 has one failed job: Actions run 30728968900, Composer validate and test job 91445697666. The same run's unrelated Generic visual parity tools and WordPress site plan integration gates passed.
Observed failure
The failed job installed PHP 8.1.34 and reported only:
FAIL: HTML metrics expose transform duration
Script php tests/contract/run.php handling the test:canonical event returned with error code 1
The assertion is php-transformer/tests/contract/run.php:3649:
$assert(is_float($result['metrics']['transform_duration_ms'] ?? null), 'HTML metrics expose transform duration');
The producer is php-transformer/src/HtmlToBlocks/HtmlTransformer.php:835. Both the assertion and producer lines are unchanged from origin/trunk (the PR changes exist elsewhere in those files).
At the exact PR head e39372f7160f6c519d2ebe9891fca1ec4d063993, the local value is 3.821458 and its type is float; local composer test passes. The simple-html fixture used by this assertion does not exercise the PR's button path.
Requested diagnostic work
Before changing behavior, make this canonical-contract failure print the observed metric value and type, including get_debug_type() and var_export() output, so CI failures are actionable. Reproduce under the CI PHP version (8.1.34) and capture the diagnostic result before deciding whether any behavior change is warranted.
AI assistance disclosure
gpt-5.6-sol using OpenCode prepared this diagnostic report and coordinated the targeted CI rerun. Chris Huber remains responsible for every line and decision.
- 主要言語
- PHP
- スター
- 21
- フォーク
- 2
- 平均マージ
- 8時間 19分
- マージ済み PR(30日)
- 679
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートなし
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
Automattic/blocks-engine のほかの issue
-
Solved site promotion gate fails on runner PHP patch drift (expects 8.2.33, runner installs 8.2.34)オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
Automattic/blocks-engine#2161 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
Automattic/blocks-engine#2061 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
Automattic/blocks-engine#1701 ·
メンテナーはふだん 1 日以内に返信
-
難易度 4/5 3〜5日 初心者へのやさしさ 45/100
Automattic/blocks-engine#2987 ·
メンテナーはふだん 1 日以内に返信
-
CssColor drops CIE lab()/lch(), so Lightning CSS colour tokens never reach the palette対応中かも @chubes4 が今日担当しました。 オープン
難易度 4/5 3〜5日 初心者へのやさしさ 25/100
Automattic/blocks-engine#2978 ·
メンテナーはふだん 1 日以内に返信
Automattic/blocks-engine の issue をすべて見る
似ている issue
-
loginWithCustomTokenExchange() fails when an organization is configured対応中かも @awss1i が今日担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 65/100
auth0/auth0-PHP#883 · コメント 1 件 ·
メンテナーはふだん 2 日以内に返信
-
type/bug
難易度 1/5 1時間未満 初心者へのやさしさ 75/100
flarum/framework#5231 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
major-release
難易度 1/5 1時間未満 初心者へのやさしさ 67/100
Intervention/image#1553 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
omegaup/omegaup#10353 · コメント 1 件 ·
メンテナーはふだん 5 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 61/100