Skip to content

New action: shared link checker for lecture sites #184

Closed as not planned
Closed as not planned

Description

@quantecon-services

Why

Each lecture repo runs its own linkcheck.yml. A shared action would standardise how links are checked and how broken links are reported. The idea was recorded in docs/FUTURE-DEVELOPMENT.md, which #178 removed (source).

Proposal

Wrap lycheeverse/lychee-action in a QuantEcon action that:

  • checks the published site (the gh-pages output);
  • opens an issue for broken links, with deduplication so repeat runs do not file duplicates;
  • takes configurable accepted status codes and exclusion patterns.

Needs deciding first

  • PLAN records the opposite. docs/dev/PLAN.md lists "collab.yml and linkcheck.yml remain standalone workflows" among its settled architectural decisions. Building this action means revisiting that decision, so settle that before building anything.
  • Prior research. Reference: external actions and CI tooling worth studying for our own design #115 already evaluates lycheeverse/lychee-action as prior art.
  • Issue filing. Reuse the deduplicated actions/github-script filing pattern build-jupyter-cache uses, rather than a new mechanism.

Checklist

  • Revisit the "linkcheck.yml remains standalone" decision in docs/dev/PLAN.md
  • Survey the lecture repos' current linkcheck.yml files for their shared shape
  • If going ahead: design the inputs, and write the action, harness coverage and a manual chapter

Activity

  1. added
    infrastructure
    on Sep 24, 2026
  2. quantecon-services commented on Sep 24, 2026

    @quantecon-services
    CollaboratorAuthor

    Blocked by: #194, the decision on whether link checking and Colab checks move from per-repo workflows into shared actions. That reopens PLAN.md's settled "linkcheck.yml remains standalone". The native dependency still needs adding; the tools used for this triage can't create one.


    Generated by Claude Code

  3. mmcky commented on Nov 15, 2026

    @mmcky
    Contributor

    Closing as not planned, by the maintainer's decision on #194 (2026-11-16). The shared link checker this issue proposes already exists: QuantEcon/action-link-checker, on v1.2.0, with v1 pointing to it. It takes silent status codes and ignore-patterns, and since v1.1.0 it refreshes one open broken-links issue on each run instead of filing a new one: everything this issue lists. lecture-python-intro, lecture-python-advanced.myst, lecture-python-programming and continuous_time_mcs use it today.

    The two repositories still on lychee, lecture-python.myst and lecture-dp, keep it, because it also checks their root-relative download links. They will pass its issue step an issue-number, so that one issue is refreshed. The evidence and the other decisions are in the survey on #194.

    Claude Code (on behalf of mmcky)

  4. added a commit that references this issue on Nov 15, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    infrastructure

    Type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions