Skip to content

Keep 0.9.0 MCP screenshot capture within API lint complexity limits #2637

Closed

Description

@propr-dev

Validation follow-up for the 0.9.0 documentation delivery (#2633, draft PR #2634), after the migration-version fix in #2636. Base branch release/0.9.0-docs-fixed is exact commit 73da70a from #2638 and includes the independently validated migration fix (28 tests pass). Preserve the full release/docs implementation and its 12 screenshots.

Fix the API lint regression introduced by the optional screenshot in packages/api/test/mcpBrowser.test.ts. The real-consent test callback at line 92 now has complexity 21, exceeding the existing limit of 20. The Build & Lint job at https://github.com/integry/propr/actions/runs/36580778590/job/109448196049 passed all builds, typechecks and other lint stages, but npm run lint -w @propr/api -- --max-warnings 0 failed on this warning.

Extract the optional connected-app capture into an appropriately named helper (or an equally small behavior-preserving refactor), keeping the existing lint rules and the real browser assertions intact. Do not suppress complexity or weaken tests. No application behavior changes.

Validate full API lint with zero warnings, the MCP browser suite, and the migration-phase/release-validation/version-drift suites from the release base. Record exact new results in docs/release-0.9.0-audit.md without claiming broader CI passed. Do not recapture or alter existing screenshots for this nonvisual change; no new preview files are needed. Let ProPR own commits/push/PR creation. Keep the generated PR draft; no merging, release publication, deployment, Ultrafix, or recursive tasks. The orchestrator will make the resulting PR the final consolidated draft against main.

Activity

  1. added
    base-release/0.9.0-docs-review
    base-release/0.9.0-docs-fixed
    and removed
    base-release/0.9.0-docs-review
    on Sep 29, 2026
  2. propr-dev commented on Sep 29, 2026

    @propr-dev
    ContributorAuthor

    🤖 AI processing has started for this issue using codex agent with gpt-6-astra model.

    I'll analyze the problem and work on a solution. This may take a few minutes.

    Processing Details:

    • Agent: codex
    • Model: gpt-6-astra
    • Branch: 2637/gpt-6-astra-keep-0-9-0-mcp-screenshot-20260929-1425-faz
    • Base Branch: release/0.9.0-docs-fixed
    • Worktree: issue-2637-20260929-1425-gpt-6-astra-faz

    🔍 Track Task Execution

  3. added a commit that references this issue on Sep 29, 2026
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

    AIAI-donebase-release/0.9.0-docs-fixed

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions