The GitHub Actions job "Required Checks" on texera.git/fix/operator-caption-truncate has succeeded. Run started by GitHub user chenlica (triggered by chenlica).
Head commit for run: 6418c8a06a5a8a05e30db32fc4cdb34bd1863cd6 / Chen Li <[email protected]> test(frontend): cover canvas measurer + fallback paths for caption truncation Codecov flagged 9 uncovered lines on the new pixel-based truncation helper. Add four new tests that exercise the previously-untested branches: - measureOperatorNameWidth fallback when no canvas 2D context exists (stubs HTMLCanvasElement.prototype.getContext → null to also silence jsdom's "Not implemented: getContext" warning). - measureOperatorNameWidth canvas-present path with a stubbed 2D context, asserting the result and verifying the cache (second call reuses the same context). - truncateOperatorDisplayName invoked with the default canvas-based measurer (no measurer argument). - truncateOperatorDisplayName falling back to code-point iteration when Intl.Segmenter is unavailable. Also drop the `prefixBudget <= 0` early-return in truncateOperatorDisplayName — it was dead code under any realistic MAX_OPERATOR_NAME_PIXELS / ellipsis combination, and the binary search already produces the same "…" result when the budget is too small for a prefix. Co-Authored-By: Claude Opus 4.7 (1M context) <[email protected]> Report URL: https://github.com/apache/texera/actions/runs/25944495505 With regards, GitHub Actions via GitBox
