Commit b119911
Add fallback to parse CLS score from d3k logs when metadata unavailable
When the metadata endpoint fails or returns no totalCLS, we now parse
the CLS score directly from d3k logs that contain lines like:
"Layout shift detected (element: DIV, position: static, score: 0.4716)"
This ensures workflow reports capture the correct initial CLS score
even when the screencast metadata JSON endpoint is unavailable.
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude Opus 4.5 <[email protected]>1 parent 0b7c958 commit b119911
1 file changed
+31
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
529 | 529 | | |
530 | 530 | | |
531 | 531 | | |
| 532 | + | |
| 533 | + | |
| 534 | + | |
| 535 | + | |
| 536 | + | |
| 537 | + | |
| 538 | + | |
| 539 | + | |
| 540 | + | |
| 541 | + | |
| 542 | + | |
| 543 | + | |
| 544 | + | |
| 545 | + | |
| 546 | + | |
| 547 | + | |
| 548 | + | |
| 549 | + | |
| 550 | + | |
| 551 | + | |
| 552 | + | |
| 553 | + | |
| 554 | + | |
| 555 | + | |
| 556 | + | |
| 557 | + | |
| 558 | + | |
| 559 | + | |
| 560 | + | |
| 561 | + | |
| 562 | + | |
532 | 563 | | |
533 | 564 | | |
534 | 565 | | |
| |||
0 commit comments