Skip to content

Broken links (internal and external) are a reliability finding, not SEO #836

Closed

Description

@nc9

Both broken-link rules sit in the links category, which rolls up into the SEO group. Reports badge them "SEO" and they count against the SEO group score. A dead link is a reliability problem for visitors, not a search-engine one, so the badge and the score group should say so.

A reliability category already exists (packages/rules/src/categories.ts, mirrored in packages/report/src/categories.ts, described as "Runtime errors, broken resources and failed requests") and holds reliability/broken-resources and reliability/broken-forms.

Scope: links/broken-links (internal) and links/broken-external-links (external). Other link rules stay where they are unless a follow-up says otherwise.

Decisions to record on this issue before implementing:

  1. Keep the rule ids and change only meta.category (recommended: ids appear in configs, rule_options, disable lists, the rule cache and docs URLs), or rename to reliability/... with an alias.
  2. reliability currently rolls up into the performance group, so the badge would read "Performance". Either accept that, or add a top-level group for reliability.

Acceptance Criteria

  • links/broken-links and links/broken-external-links are listed under the Reliability category in every report format (html, markdown, text, llm, json, xml, console)
  • Neither rule shows an "SEO" badge or counts toward the SEO group score
  • Rule ids are unchanged, or an alias keeps existing configs, disable lists and rule_options working
  • The health score effect is documented and the golden baseline is updated on purpose
  • Reports stored before the change still render, with the category they were stored with
  • Rule docs pages and the category lists in docs/ are updated
  • The cloud rule catalog (apps/api/src/generated/rule-catalog.ts) picks up the new category on the next gitlink bump, and the dashboard category and group views are checked

Activity

  1. added
    enhancement
    size: S
    rules
    on Oct 15, 2026
  2. nc9 commented on Oct 16, 2026

    @nc9
    ContributorAuthor

    Decisions, as implemented in the PR for #836, #842 and #843:

    1. Keep the rule ids and change only meta.category to reliability. Ids appear in configs, rule_options, disable lists, the rule cache and docs URLs. links/* patterns still select the three rules, because patterns match the id, and the docs say that reliability/* alone does not. Reports stored before the change keep their stored category: grouping and --category read meta.category from the stored report.
    2. Reliability stays under the Performance score group. The badge question is Broken link rules show a Performance badge: give reliability its own group or badge the category #842.
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

    enhancementrulessize: S

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions