Skip to content

fix(tests): add author profile URLs to HF preview allowlist + regen sample#97

Merged
shaypal5 merged 1 commit into
mainfrom
fix/ci-hf-preview-allowlist
May 29, 2026
Merged

fix(tests): add author profile URLs to HF preview allowlist + regen sample#97
shaypal5 merged 1 commit into
mainfrom
fix/ci-hf-preview-allowlist

Conversation

@shaypal5

Copy link
Copy Markdown
Contributor

Fixes two CI failures introduced by the attribution links added to release/README.md:

  1. test_public_rendered_links_point_at_known_targets — adds shaypalachy.com, huggingface.co/shaypal5, kaggle.com/derelictpanda, github.com/shaypalachy to _LINK_OK_PREFIXES
  2. test_committed_public_sample_matches_fresh_regeneration — regenerates release/_preview_committed/huggingface_public.html to match the updated README

🤖 Generated with Claude Code

…ample

The attribution links added to release/README.md (shaypalachy.com,
huggingface.co/shaypal5, kaggle.com/derelictpanda, github.com/shaypalachy)
were not in _LINK_OK_PREFIXES, causing test_public_rendered_links_point_at_known_targets
to fail.  Also regenerate the committed preview sample to match the
updated README.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Copilot AI review requested due to automatic review settings May 29, 2026 10:26
@shaypal5 shaypal5 added type: bugfix Fixes a bug type: test Test additions or fixes labels May 29, 2026
@shaypal5 shaypal5 merged commit a6c13c3 into main May 29, 2026
@shaypal5 shaypal5 deleted the fix/ci-hf-preview-allowlist branch May 29, 2026 10:26

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Adds new external author/profile URLs to the HuggingFace preview link allowlist and regenerates the committed preview HTML snapshot to match the updated release/README.md (which now includes author attribution and a Credits section).

Changes:

  • Extends _LINK_OK_PREFIXES in tests/scripts/test_preview_hf_page.py with author profile URLs (shaypalachy.com, huggingface.co/shaypal5, kaggle.com/derelictpanda, github.com/shaypalachy).
  • Regenerates release/_preview_committed/huggingface_public.html to reflect new attribution text, an inlined macro framing, and a new Credits section.

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.

File Description
tests/scripts/test_preview_hf_page.py Adds new author/profile URL prefixes to the allowlist so the link-target test passes.
release/_preview_committed/huggingface_public.html Regenerated snapshot reflecting new author attribution, inlined macro footnote, and Credits section.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@github-actions

Copy link
Copy Markdown

pr-agent-context report:

No unresolved review comments, failing checks, or actionable patch coverage gaps were found on PR #97 in repository https://github.com/leadforge-dev/leadforge. Treat this PR as all clear unless new signals appear.

Run metadata:

Tool ref: v4
Tool version: 4.0.21
Trigger: pull request opened
Workflow run: 26632061788 attempt 1
Comment timestamp: 2026-05-29T10:26:43.935292+00:00
PR head commit: 4cba7672fefff7d995e6ff474640a74f912d30eb

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

type: bugfix Fixes a bug type: test Test additions or fixes

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants