Skip to content

pino analysis exceeds the recursion limit on Documenso #4

Closed

Description

@lucasbraum

Analyzing pino on public documenso/documenso at 80823ede73a5889753c341f2a5a22d1459cd99b7 reproducibly fails with Maximum call stack size exceeded.

Reproduction with Uptide main at 8908e208e55c816e5e8de310cee880df5c705ddf (PR #3):

git clone https://github.com/documenso/documenso.git
cd documenso
git checkout 80823ede73a5889753c341f2a5a22d1459cd99b7
npx npm@11 ci --ignore-scripts
# From an Uptide build of the commit above:
uptide check --only pino --workspaces 1 --json

The reproduced core run used the same options (only: ['pino'], workspaceConcurrency: 1) under Node 22.20.0 with a 4096 MB heap. It finished in 134.8 seconds. Both returned package entries were skipped with analysis failed: Maximum call stack size exceeded. Progress reaches the declaration-diff phase; this is a recursion failure, not a successful “no impact” verdict.

Expected: either analyze the recursive declarations successfully, or report a clear per-package recursion failure, retain other named-package results and exit 2 when no breaking finding is available.

Phase 1.1 will distinguish this as ANALYSIS_STACK_OVERFLOW with an explicit explanation and regression coverage. The underlying recursive extraction/diff still needs investigation; this issue tracks that engine limitation. All reproduction data is from the public repository; lifecycle scripts were disabled.

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

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions