Skip to content

Inbound-link rules' capped-crawl skip reason is a repeated literal, not a not-checked constant #1144

Closed

Description

@nc9

links/orphan-pages, links/weak-internal-links and links/no-contextual-inbound all skip with the literal reason "Crawl capped before the frontier was exhausted" when the crawl hits its page cap with URLs still queued (#1128). Inbound counts from a partial crawl prove nothing, so the skip is correct.

The reason is a string literal repeated in the three rules. It is not a core-contracts constant and is not in NOT_CHECKED_SKIP_REASONS, so:

  • reports do not show these rules as "Not checked" on a capped crawl. The rule reads as clean.
  • a consumer that must not resolve an open finding on such a run has to copy the literal. The cloud now does that (repo#3348 bump), with a test that pins the text.

Acceptance Criteria

  • The reason is exported once from @squirrelscan/core-contracts, and the three rules use the constant.
  • A decision on whether it belongs in NOT_CHECKED_SKIP_REASONS (a visible "Not checked" line on capped crawls) is recorded here, and the code follows it.
  • A test fails if a rule skips for a capped crawl with a reason that is not the exported constant.

Activity

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

    @nc9
    ContributorAuthor

    Fixed in #1148 (main 5469744): the capped-crawl skip reason is a shared constant and shows as Not checked with a --max-pages hint. Ships in v0.0.134.

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