Skip to content

fix(javascript): report application analysis progress on the CLI - #1008

Merged
N0zoM1z0 merged 4 commits into
mainfrom
fix/javascript-analysis-progress
Oct 7, 2026
Merged

N0zoM1z0 merged 4 commits into
mainfrom
fix/javascript-analysis-progress

Conversation

@N0zoM1z0

@N0zoM1z0 N0zoM1z0 commented Oct 7, 2026 •

Copy link
Copy Markdown
Collaborator

JavaScript application analysis invoked through the CLI did not attach the existing progress reporter, leaving long ASAR and directory analyses silent until the final result. Both the explicit command and the generic analyze route now emit bounded rea_progress JSON lines on stderr at real inventory, parsing, graph, validation, and Evidence stages, while preserving the result on stdout. The application reports completion only after Evidence creation.

Refs #746. The issue-comment empty-string schema failures are already fixed on the frozen main baseline; all nine reported minimal cases succeeded locally. This change addresses the remaining observable CLI progress gap.

Validation:

  • 76 focused tests across 10 suites passed, including real compiled CLI routes, the pinned MCP SDK, Evidence parity, failure diagnostics, empty literals, reconstruction, and filesystem boundaries.
  • npm run check:fast, npm run docs:check, changed-file formatting, and test discovery passed (567 files discovered exactly once). The existing JSON/JSONL/YAML missing-filter tests were also updated to expect the newly documented stderr progress and rerun with the CLI progress regressions.
  • Actual local 24.2 MB ASAR: baseline and branch returned identical Evidence IDs and normalized results; first branch progress was observed at 1.1 seconds versus final output at 9.4 seconds. Peak Linux process-family RSS was about 918 MB. The container holds 147 KB of JavaScript and a padding resource; it is not the original Obsidian corpus.
  • Windows Node 22.19.0: both CLI routes and the same ASAR returned complete Evidence with stage progress; all three native CLI calls exited 0. Peak ASAR working set in the confirmed run was about 672 MB and no test-owned processes remained.
  • node scripts/verify-package.mjs passed: installed CLI/MCP workflows, all 133 tools and 6 prompts, setup and update checks, and cleanup; MCP startup peak RSS was about 381 MB.
  • No real Hopper/Ghidra verification was performed; this change does not use either provider.

Large-result serialization tracked in #623 is being handled separately.

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Oct 7, 2026 •

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-10-07T19:12:17.356633Z 956190b New commits
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@N0zoM1z0
N0zoM1z0 merged commit 7b18c58 into main Oct 7, 2026
24 checks passed
@N0zoM1z0
N0zoM1z0 deleted the fix/javascript-analysis-progress branch October 7, 2026 19:19
darsrc pushed a commit to darsrc/rea that referenced this pull request Oct 10, 2026
…luto#1008)

* fix(javascript): report application analysis progress on the CLI

* test(cli): preserve progress in filtered output checks
@morluto morluto added bug Something isn't working area: cli CLI adapter and one-shot commands labels Oct 14, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area: cli CLI adapter and one-shot commands bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants