Skip to content

fix: improve link checker workflow reliability and comment display#1104

Merged
dslovinsky merged 2 commits intomainfrom
ds/fix-bootstrap-fail-flag
Mar 5, 2026
Merged

fix: improve link checker workflow reliability and comment display#1104
dslovinsky merged 2 commits intomainfrom
ds/fix-bootstrap-fail-flag

Conversation

@dslovinsky
Copy link
Collaborator

@dslovinsky dslovinsky commented Mar 5, 2026

Summary

  • Bootstrap step: Change fail: truefail: false on the cookie priming step so transient errors (e.g., stale redirects on preview site) don't block the real link checker
  • Comment display: Only show the Summary section and result message when the link checker reaches a terminal state (success/failure). In progress, skipped, and cancelled states now show just the status and workflow link — no more misleading "No summary found" or "No broken links found ✅"

Examples:

Fixes the false failure in run #22730587369.

Fixes these awkward states in which summaries aren't necessary or are actively misleading.
image
image

Test plan

  • Verify bootstrap step passes even with broken links on the preview page
  • Verify in-progress comment shows only status + workflow link
  • Verify skipped comment shows only status + workflow link
  • Verify completed comment still shows full summary table and results

dslovinsky and others added 2 commits March 5, 2026 13:43
The bootstrap step only primes lychee's cookie jar for draft-mode
auth. Link validation happens in the subsequent Link Checker step,
so errors here should not block the workflow.

Co-Authored-By: Claude <noreply@anthropic.com>
Hide the Summary section and result message when the link checker is
in progress, skipped, or cancelled. Only display them for terminal
states (success/failure) where the report data is meaningful.

Co-Authored-By: Claude <noreply@anthropic.com>
@dslovinsky dslovinsky self-assigned this Mar 5, 2026
@github-actions
Copy link

github-actions bot commented Mar 5, 2026

🔗 Preview Mode

Name Status Preview Updated (UTC)
Alchemy Docs ✅ Ready 🔗 Visit Preview Mar 5, 2026, 7:05 PM

@github-actions
Copy link

github-actions bot commented Mar 5, 2026

🔍 Link Check

Status: ⏭️ Skipped (no content changes)

View workflow run

@dslovinsky dslovinsky marked this pull request as ready for review March 5, 2026 19:07
@dslovinsky dslovinsky requested a review from a team as a code owner March 5, 2026 19:07
@dslovinsky dslovinsky merged commit 807523f into main Mar 5, 2026
8 checks passed
@dslovinsky dslovinsky deleted the ds/fix-bootstrap-fail-flag branch March 5, 2026 20:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants