Skip to content

PDX-0: chore: portable, non-personal paths (PR #201 Copilot review)#204

Merged
mrdailey99 merged 1 commit into
developfrom
chore/portable-paths
Jun 2, 2026
Merged

PDX-0: chore: portable, non-personal paths (PR #201 Copilot review)#204
mrdailey99 merged 1 commit into
developfrom
chore/portable-paths

Conversation

@mrdailey99
Copy link
Copy Markdown
Collaborator

Summary

Addresses the three Copilot review comments on the develop → main PR #201, all flagging a hard-coded personal username (mrdai) in example paths.

  • test/unit/mcp/sfSpawn.test.ts — the win32 spaced-arg test now uses C:\Users\username\git\Provar Manager\... (generic username; still a Windows path with a space, so the space-handling assertion is unchanged).
  • docs/loops/pdx-501-505.md — the two example testcase paths are now OS- and user-agnostic: ~/git/provar-manager-regression/tests/... (instead of C:\Users\mrdai\git\...).

Once merged to develop, PR #201 (develop → main) picks these up and the Copilot comments are resolved.

Test plan

  • yarn compile passes
  • sfSpawn tests pass (47 passing; test (c) green with the generic path)
  • yarn lint passes

Changes

  • test/unit/mcp/sfSpawn.test.ts: mrdaiusername in the spaced --properties-file path.
  • docs/loops/pdx-501-505.md: two C:\Users\mrdai\git\... example paths → ~/git/....

… docs

RCA: Copilot review on PR #201 flagged a hard-coded personal Windows username (mrdai) in an sfSpawn test path and two loop-doc example paths; personal/environment-specific paths are non-portable and embed identifying detail.
Fix: Replace mrdai with the generic "username" in the win32 sfSpawn test (still a spaced Windows path, preserving the space-handling assertion) and switch the loop-doc example paths to OS- and user-agnostic ~/git/... form.
Copilot AI review requested due to automatic review settings June 2, 2026 22:28
@github-actions
Copy link
Copy Markdown

github-actions Bot commented Jun 2, 2026

Quality Orchestrator

🟢 LOW · 0 / 100 · All changed files have mapped tests.


No test files mapped.


⚡ quality-orchestrator  ·  /qo stub <file>  ·  qo analyze-local

Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Removes a hard-coded personal username from example paths in tests and documentation, making the repo’s examples portable and non-personal while preserving the intent of the existing Windows space-handling test.

Changes:

  • Update the sfSpawn unit test sample Windows path to use a generic C:\Users\username\... value.
  • Update loop documentation example testcase paths to use user/OS-agnostic ~/git/... paths.

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.

File Description
test/unit/mcp/sfSpawn.test.ts Replaces a personal Windows user directory segment in a spaced-path argument test while keeping the space/quoting behavior under test unchanged.
docs/loops/pdx-501-505.md Replaces personal Windows example paths with portable home-directory-based examples for documentation.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@mrdailey99 mrdailey99 merged commit d2c18b8 into develop Jun 2, 2026
5 checks passed
@mrdailey99 mrdailey99 deleted the chore/portable-paths branch June 2, 2026 22:30
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.

2 participants