Skip to content

Make ancestry walk limit configurable via CmsServiceOptions #5

Description

@flyingrobots

Context

_validateAncestry in CmsService uses a hardcoded walkLimit = 200. For long-lived articles with 200+ versions, valid older SHAs get misclassified as history_walk_limit_exceeded.

Proposal

Extract the walk limit into a CmsServiceOptions field (e.g., ancestryWalkLimit) with a sensible default (200). This lets callers tune it per-deployment without code changes.

References

Activity

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

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions