Skip to content

ci(links): exclude online loopback examples - #2202

Merged
josecelano merged 4 commits into
torrust:developfrom
josecelano:2185-exclude-online-loopback-examples
Sep 11, 2026
Merged

josecelano merged 4 commits into
torrust:developfrom
josecelano:2185-exclude-online-loopback-examples

Conversation

@josecelano

Copy link
Copy Markdown
Member

Summary

  • adds Lychee’s dedicated online-only loopback exclusion for intentional localhost and loopback service examples
  • documents the explicit boundary test: loopback URLs excluded while a public URL remains checked
  • records the independent review and keeps issue-wide AC3/AC5 pending until hosted verification

Validation

  • linter all
  • explicit online three-link Lychee boundary test
  • ./contrib/dev-tools/git/hooks/pre-commit.sh
  • ./contrib/dev-tools/git/hooks/pre-push.sh

Hosted Verification

After merge, manually dispatch the upstream External Link Check and confirm loopback examples are absent while unrelated failures remain visible and the report artifact uploads.

Related to #2185
Related to #2003

@josecelano
josecelano requested a review from a team as a code owner September 11, 2026 09:51
Copilot AI lite review requested due to automatic review settings September 11, 2026 09:51
@codecov

codecov Bot commented Sep 11, 2026 •

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 84.96%. Comparing base (6bc84d2) to head (66fa5a0).

Additional details and impacted files
@@           Coverage Diff            @@
##           develop    #2202   +/-   ##
========================================
  Coverage    84.96%   84.96%           
========================================
  Files          351      351           
  Lines        30208    30208           
  Branches     30208    30208           
========================================
  Hits         25666    25666           
  Misses        4174     4174           
  Partials       368      368           

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

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.

Warning

Copilot couldn't run its full agentic review because it didn't start before the timeout. Make sure your repository has a runner available, or add a copilot-code-review.yml file specifying one with the runs-on attribute. See the docs for more details.

Pull request overview

Updates the external link check triage docs and Lychee online configuration to exclude intentional localhost/loopback examples while preserving validation of public URLs, and records the review/evidence status as pending hosted verification.

Changes:

  • Enable Lychee online-only loopback exclusion (exclude_loopback = true) for localhost/127.0.0.1 examples.
  • Document a specific local boundary test proving loopback exclusion while a public URL remains checked.
  • Update issue tracking and reviewer notes to mark AC3/AC5 as pending until hosted verification is captured.

Reviewed changes

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

File Description
docs/issues/open/2185-2003-triage-advisory-external-link-check-findings/external-link-baseline.md Updates C2 disposition/next action to reflect loopback exclusion approach and boundary-test evidence.
docs/issues/open/2185-2003-triage-advisory-external-link-check-findings/agent-review-reports.md Adds an independent review report documenting the C2 loopback exclusion analysis and remaining hosted-verification requirement.
docs/issues/open/2185-2003-triage-advisory-external-link-check-findings/ISSUE.md Updates timestamps, task status, and acceptance criteria (AC3/AC5) back to pending for the C2 slice.
.github/lychee-online.toml Enables Lychee’s loopback exclusion in the online config with rationale comments.

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

@josecelano josecelano self-assigned this Sep 11, 2026
josecelano added a commit to josecelano/torrust-tracker that referenced this pull request Sep 11, 2026
8212b80 docs(review): audit PR 2202 Copilot suggestions (Jose Celano)
e4716e2 docs(review): clarify loopback boundary counts (Jose Celano)
bbb5928 docs(review): restore C2 nested list (Jose Celano)
76d90b9 ci(links): exclude online loopback examples (Jose Celano)

Pull request description:

  ## Summary

  - adds Lychee’s dedicated online-only loopback exclusion for intentional localhost and loopback service examples
  - documents the explicit boundary test: loopback URLs excluded while a public URL remains checked
  - records the independent review and keeps issue-wide AC3/AC5 pending until hosted verification

  ## Validation

  - `linter all`
  - explicit online three-link Lychee boundary test
  - `./contrib/dev-tools/git/hooks/pre-commit.sh`
  - `./contrib/dev-tools/git/hooks/pre-push.sh`

  ## Hosted Verification

  After merge, manually dispatch the upstream External Link Check and confirm loopback examples are absent while unrelated failures remain visible and the report artifact uploads.

  Related to torrust#2185
  Related to torrust#2003

ACKs for top commit:
  josecelano:
    ACK 8212b80

Tree-SHA512: 8fded89c517f279555b0431433859eba3f7ee8c7eb469087a33695fded00be31419e222a4fe9d0e68cc71304609d124a4d365929b8b20bbed3fd33f57968de1e
@josecelano
josecelano force-pushed the 2185-exclude-online-loopback-examples branch from 233667d to 66fa5a0 Compare September 11, 2026 14:11
@josecelano

Copy link
Copy Markdown
Member Author

ACK 66fa5a0

@josecelano
josecelano merged commit f6df96b into torrust:develop Sep 11, 2026
18 checks passed
@da2ce7

da2ce7 commented Nov 25, 2026

Copy link
Copy Markdown
Contributor

Post-merge note: this pull request requested a review from this account and was closed without one at its final head. A post-merge review will not be done: This pull request added a four-line loopback exclusion to the advisory external link check configuration, plus issue records.

This branch was previously deployed

1 inactive deployment
coverage — 66fa5a09 Deployed Sep 11, 2026 by josecelano via Generate Coverage Report #2041
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.

3 participants