Skip to content

Make ancestry walk limit configurable via CmsServiceOptions #5

@flyingrobots

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions