Skip to content

docs(runtime): fix stale ps-snapshot factory comment after #7518 - #7529

Merged
nwparker merged 1 commit into
mainfrom
nwparker/perf-ps-snapshot-doc-fix
Jul 6, 2026
Merged

nwparker merged 1 commit into
mainfrom
nwparker/perf-ps-snapshot-doc-fix

Conversation

@nwparker

@nwparker nwparker commented Jul 6, 2026 •

Copy link
Copy Markdown
Contributor

Follow-up to #7518. The factory doc comment on createProcessTableSnapshotReader still said "POSIX caches the raw ps stdout string (the default)" — but #7518 changed the POSIX default reader to cache already-parsed ProcessTableRow[] (mirroring the Windows reader). Reword the comment to match the code. Pure comment change; no behavior change (typecheck EXIT 0, 8/8 snapshot tests pass).

Made with Orca 🐋

The POSIX default reader now caches parsed rows (not raw stdout) like the
Windows reader; reword the factory doc to match.

Co-authored-by: Orca <[email protected]>
@coderabbitai

coderabbitai Bot commented Jul 6, 2026

Copy link
Copy Markdown
Contributor

Review Change Stack

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Repository UI

Review profile: CHILL

Plan: Pro

Run ID: 866f9375-6f25-42f4-a021-76bcf3a22abd

📥 Commits

Reviewing files that changed from the base of the PR and between 39c7bef and acadc5b.

📒 Files selected for processing (1)
  • src/shared/process-table-snapshot.ts

📝 Walkthrough

Walkthrough

Changes

This change updates a doc comment in process-table-snapshot.ts. The comment above createProcessTableSnapshotReader is revised to state that deduplicated scans cache already-parsed rows for both POSIX and Windows reader paths during a shared TTL window, replacing the previous description that separated caching behavior by platform. No code logic, exported entities, or function signatures are altered.

Related PRs: None identified.

Suggested labels: documentation

Suggested reviewers: None identified.


A tiny hop, a comment refined,
POSIX and Windows now aligned,
TTL cache, one tale to tell,
No logic changed, all is well,
A rabbit's nod to words designed. 🐇

🚥 Pre-merge checks | ✅ 4 | ❌ 1

❌ Failed checks (1 warning)

Check name Status Explanation Resolution
Description check ⚠️ Warning The description covers summary and testing, but it omits required template sections like Screenshots, AI Review Report, Security Audit, and Notes. Add the missing template sections, including Screenshots (or No visual change), AI Review Report, Security Audit, and Notes.
✅ Passed checks (4 passed)
Check name Status Explanation
Title check ✅ Passed The title matches the change: it describes updating the stale ps-snapshot factory comment after #7518.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.
✨ Finishing Touches
📝 Generate docstrings
  • Create stacked PR
  • Commit on current branch

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@nwparker
nwparker merged commit 88640ef into main Jul 6, 2026
2 checks passed
@nwparker
nwparker deleted the nwparker/perf-ps-snapshot-doc-fix branch July 6, 2026 07:44
enrick-dev pushed a commit to enrick-dev/orca that referenced this pull request Oct 15, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant