SSWConsulting / SSWConsulting/TimePro.Tools

Harness: parity golden filenames key on row index, so mid-table inserts rename snapshots

Open
#71 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Priority: P3 Type: Refactor
Dominant language
C#
Stars
3
Forks
0
Avg merge
29m
Merged PRs (30d)
28

Description

Parity goldens under tests/SSW.TimePro.Cli.Integration/Mcp/Goldens/Mcp/Parity are named by row index (e.g. CreateTimesheet.9.cli.json). Inserting a row in McpCliParityTable shifts every later index and produces pure renames of byte-identical snapshots (ten in #70). Key the filename on a stable case id (tool wire name plus a short case slug declared on the row) instead, and migrate the existing files once.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with McpCliParityTable and the parity goldens under tests/SSW.TimePro.Cli.Integration/Mcp/Goldens/Mcp/Parity. Trace how each row currently produces names such as CreateTimesheet.9.cli.json, then update the naming to use the declared stable case id and migrate the existing files once. Done means mid-table inserts no longer rename byte-identical snapshots.

Written by the indexing model from the issue text.

Assessment

Tech stack
csharp
Domain
cli, testing-qa
Issue type
Refactor
Difficulty
3/5
Estimated time
1-2 days
Activity status
Active
Clarity
Clearly specified
Newbie friendliness
72/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.