Skip to content

chore(solution): Untrack stale generated XML doc and IDE metadata files - #259

Open
kploch wants to merge 2 commits into
masterfrom
chore/234-untrack-stale-generated-artefacts
Open

chore(solution): Untrack stale generated XML doc and IDE metadata files#259
kploch wants to merge 2 commits into
masterfrom
chore/234-untrack-stale-generated-artefacts

Conversation

@kploch

@kploch kploch commented Jul 25, 2026

Copy link
Copy Markdown
Contributor

Summary

Implements #234 — repo hygiene: remove stale generated artefacts and IDE metadata from source control.

The artefacts originally named in the issue (src/Common/Ploch.Common.xml, tests/**/*.cs.bak) turned out to be already resolved by earlier cleanups (.gitignore:398 ignores the XML; *.bak is ignored at line 362 and no .bak files remain). This PR completes the issue's intent by sweeping the remaining instances of the same problem class.

Changes

  • Removed src/Common.Serialization.NewtonsoftJson/Ploch.Common.Serialiation.NewtonsoftJson.xml — a stale generated XML documentation file (note the typo in its name), left over from before PR chore(solution): Remove redundant <DocumentationFile> properties and gate PrintSettings target #228 removed the <DocumentationFile> properties. Added an explicit .gitignore entry alongside the existing generated-XML entries.
  • Untracked seven Rider .idea metadata files under src/Common.Serialization.NewtonsoftJson/.idea/ (git rm --cached — kept on disk). The existing **/.idea*/ ignore rule keeps them out of the index from now on.
  • Deleted the stale, already-untracked src/Common/Ploch.Common.xml from the working tree.

Design Decisions

  • The .idea files were untracked but left on disk (IDE metadata may still be in local use); the stale XML doc was fully deleted (generated artefact with no consumer — verified no .csproj/.props references it).
  • No change-log entry: repo hygiene with no user-visible impact, per the change-log rules.

Testing

Related

Closes #234

Summary by Sourcery

Remove stale generated artifacts and IDE metadata from source control to improve repository hygiene.

Chores:

  • Delete a stale generated XML documentation file from the NewtonsoftJson project and ignore it going forward.
  • Remove Rider .idea project metadata files from version control while keeping them locally.

The artefacts originally named in the issue (src/Common/Ploch.Common.xml,
*.cs.bak files) were already untracked/removed by earlier cleanups, but the
same sweep found two remaining instances of the same problem:

- Ploch.Common.Serialiation.NewtonsoftJson.xml (stale generated XML doc
  with a typo in its name, left over from before PR #228 removed the
  DocumentationFile properties) - removed and gitignored.
- Seven Rider .idea metadata files tracked under
  src/Common.Serialization.NewtonsoftJson/.idea/ - untracked; the existing
  **/.idea*/ ignore rule keeps them out from now on.

Also deleted the stale untracked src/Common/Ploch.Common.xml from disk.
No project references any of the removed files; full solution builds with
zero new warnings and all tests pass.

Refs: #234
Copilot AI review requested due to automatic review settings July 25, 2026 13:11
@kploch kploch self-assigned this Jul 25, 2026
@gemini-code-assist

Copy link
Copy Markdown

Caution

The consumer version of Gemini Code Assist on GitHub has been sunset. All code review activity has officially ceased.

@cursor

cursor Bot commented Jul 25, 2026

Copy link
Copy Markdown

Bugbot is not enabled for your account, so this pull request was not reviewed.

Enable Bugbot in the Cursor dashboard to get automatic reviews on future PRs.

@qodo-code-review

Copy link
Copy Markdown

Qodo reviews are paused for this user.

Troubleshooting steps vary by plan Learn more →

On a Teams plan?
Reviews resume once this user has a paid seat and their Git account is linked in Qodo.
Link Git account →

Using GitHub Enterprise Server, GitLab Self-Managed, or Bitbucket Data Center?
These require an Enterprise plan - Contact us
Contact us →

@codereviewbot-ai

codereviewbot-ai Bot commented Jul 25, 2026

Copy link
Copy Markdown

🤖 Review complete!


🤖 Reviewed by codereviewbot.ai - Catch bugs before your team does.

@sourcery-ai

sourcery-ai Bot commented Jul 25, 2026

Copy link
Copy Markdown

🧙 Sourcery has finished reviewing your pull request!


Tips and commands

Interacting with Sourcery

  • Trigger a new review: Comment @sourcery-ai review on the pull request.
  • Continue discussions: Reply directly to Sourcery's review comments.
  • Generate a GitHub issue from a review comment: Ask Sourcery to create an
    issue from a review comment by replying to it. You can also reply to a
    review comment with @sourcery-ai issue to create an issue from it.
  • Generate a pull request title: Write @sourcery-ai anywhere in the pull
    request title to generate a title at any time. You can also comment
    @sourcery-ai title on the pull request to (re-)generate the title at any time.
  • Generate a pull request summary: Write @sourcery-ai summary anywhere in
    the pull request body to generate a PR summary at any time exactly where you
    want it. You can also comment @sourcery-ai summary on the pull request to
    (re-)generate the summary at any time.
  • Generate reviewer's guide: Comment @sourcery-ai guide on the pull
    request to (re-)generate the reviewer's guide at any time.
  • Resolve all Sourcery comments: Comment @sourcery-ai resolve on the
    pull request to resolve all Sourcery comments. Useful if you've already
    addressed all the comments and don't want to see them anymore.
  • Dismiss all Sourcery reviews: Comment @sourcery-ai dismiss on the pull
    request to dismiss all existing Sourcery reviews. Especially useful if you
    want to start fresh with a new review - don't forget to comment
    @sourcery-ai review to trigger a new review!

Customizing Your Experience

Access your dashboard to:

  • Enable or disable review features such as the Sourcery-generated pull request
    summary, the reviewer's guide, and others.
  • Change the review language.
  • Add, remove or edit custom review instructions.
  • Adjust other review settings.

Getting Help

@coderabbitai

coderabbitai Bot commented Jul 25, 2026

Copy link
Copy Markdown

Warning

Review limit reached

@kploch, you've reached your PR review limit, so we couldn't start this review.

Next review available in: 35 minutes

Enable usage-based reviews in Billing to review now. Otherwise, wait until the next included review is available.
You're only billed for reviews past your plan's rate limits ($0.25/file).

How can I continue?

After more reviews become available, a review can be triggered using the @coderabbitai review command as a PR comment. Alternatively, push new commits to this PR.

To avoid repeated limits, reduce automatic review volume by pausing incremental auto-reviews earlier, using label-based review opt-in, excluding WIP or generated PR titles, or requesting reviews manually when the PR is ready. If your team needs uninterrupted high-volume reviews, an organization admin can enable usage-based reviews.

How do review limits work?

CodeRabbit enforces per-developer PR review limits for each organization. Most developers receive the normal plan review availability.

For paid Pro and Pro+ PR reviews, CodeRabbit uses adaptive limits for sustained high-volume activity. When a developer's recent PR review activity reaches the 95th percentile or higher among CodeRabbit users, additional reviews become available more gradually as earlier reviews age out of the rolling window.

Please refer docs for additional details.

Review details
⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro Plus

Run ID: fbe528d9-094b-47b0-80b8-4bf98c68e51f

📥 Commits

Reviewing files that changed from the base of the PR and between 5f324e1 and a8ccff5.

📒 Files selected for processing (9)
  • .gitignore
  • src/Common.Serialization.NewtonsoftJson/.idea/.idea.Common.Serialization.dir/.idea/.gitignore
  • src/Common.Serialization.NewtonsoftJson/.idea/.idea.Common.Serialization.dir/.idea/.name
  • src/Common.Serialization.NewtonsoftJson/.idea/.idea.Common.Serialization.dir/.idea/GitLink.xml
  • src/Common.Serialization.NewtonsoftJson/.idea/.idea.Common.Serialization.dir/.idea/codestream.xml
  • src/Common.Serialization.NewtonsoftJson/.idea/.idea.Common.Serialization.dir/.idea/encodings.xml
  • src/Common.Serialization.NewtonsoftJson/.idea/.idea.Common.Serialization.dir/.idea/indexLayout.xml
  • src/Common.Serialization.NewtonsoftJson/.idea/.idea.Common.Serialization.dir/.idea/vcs.xml
  • src/Common.Serialization.NewtonsoftJson/Ploch.Common.Serialiation.NewtonsoftJson.xml
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch chore/234-untrack-stale-generated-artefacts

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.

@codacy-production

codacy-production Bot commented Jul 25, 2026

Copy link
Copy Markdown
Contributor

Up to standards ✅

🟢 Issues 0 issues

Results:
0 new issues

View in Codacy

🟢 Coverage ∅ diff coverage · +0.00% coverage variation

Metric Results
Coverage variation +0.00% coverage variation
Diff coverage diff coverage

View coverage diff in Codacy

Coverage variation details
Coverable lines Covered lines Coverage
Common ancestor commit (5f324e1) 1989 1715 86.22%
Head commit (a8ccff5) 1989 (+0) 1715 (+0) 86.22% (+0.00%)

Coverage variation is the difference between the coverage for the head and common ancestor commits of the pull request branch: <coverage of head commit> - <coverage of common ancestor commit>

Diff coverage details
Coverable lines Covered lines Diff coverage
Pull request (#259) 0 0 ∅ (not applicable)

Diff coverage is the percentage of lines that are covered by tests out of the coverable lines that the pull request added or modified: <covered lines added or modified>/<coverable lines added or modified> * 100%

AI Reviewer: first review requested successfully. AI can make mistakes. Always validate suggestions.

Run reviewer

TIP This summary will be updated as you push new changes.

@sourcery-ai sourcery-ai Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Hey - I've reviewed your changes and they look great!


Sourcery is free for open source - if you like our reviews please consider sharing them ✨
Help me be more useful! Please click 👍 or 👎 on each comment and I'll use the feedback to improve your reviews.

@deepsource-io

deepsource-io Bot commented Jul 25, 2026

Copy link
Copy Markdown

DeepSource Code Review

We reviewed changes in 5f324e1...a8ccff5 on this pull request. Below is the summary for the review, and you can see the individual issues we found as inline review comments.

See full review on DeepSource ↗

PR Report Card

Overall Grade   Security  

Reliability  

Complexity  

Hygiene  

Code Review Summary

Analyzer Status Updated (UTC) Details
C# Jul 25, 2026 1:28p.m. Review ↗

Important

AI Review is run only on demand for your team. We're only showing results of static analysis review right now. To trigger AI Review, comment @deepsourcebot review on this thread.

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Pull request overview

Removes stale generated artifacts and IDE metadata from source control to keep the repository clean and avoid reintroducing generated/IDE files into commits.

Changes:

  • Removed a stale generated XML documentation file from src/Common.Serialization.NewtonsoftJson/ and added an explicit .gitignore entry for it.
  • Untracked Rider .idea metadata files under src/Common.Serialization.NewtonsoftJson/.idea/ by deleting them from the repository.
  • Kept existing ignore conventions for generated XML docs and IDE metadata.

Reviewed changes

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

Show a summary per file
File Description
src/Common.Serialization.NewtonsoftJson/Ploch.Common.Serialiation.NewtonsoftJson.xml Removes a stale generated XML-doc artifact from source control.
src/Common.Serialization.NewtonsoftJson/.idea/.idea.Common.Serialization.dir/.idea/vcs.xml Removes Rider VCS metadata from the repository.
src/Common.Serialization.NewtonsoftJson/.idea/.idea.Common.Serialization.dir/.idea/indexLayout.xml Removes Rider index/layout metadata from the repository.
src/Common.Serialization.NewtonsoftJson/.idea/.idea.Common.Serialization.dir/.idea/GitLink.xml Removes Rider plugin metadata from the repository.
src/Common.Serialization.NewtonsoftJson/.idea/.idea.Common.Serialization.dir/.idea/encodings.xml Removes Rider encoding metadata from the repository.
src/Common.Serialization.NewtonsoftJson/.idea/.idea.Common.Serialization.dir/.idea/codestream.xml Removes Rider CodeStream metadata from the repository.
src/Common.Serialization.NewtonsoftJson/.idea/.idea.Common.Serialization.dir/.idea/.name Removes Rider project name metadata from the repository.
src/Common.Serialization.NewtonsoftJson/.idea/.idea.Common.Serialization.dir/.idea/.gitignore Removes nested Rider .idea ignore file from the repository (repo-level ignores already cover this).
.gitignore Adds an explicit ignore entry for the removed stale XML-doc artifact.
Files not reviewed (7)
  • src/Common.Serialization.NewtonsoftJson/.idea/.idea.Common.Serialization.dir/.idea/.gitignore: Generated file
  • src/Common.Serialization.NewtonsoftJson/.idea/.idea.Common.Serialization.dir/.idea/.name: Generated file
  • src/Common.Serialization.NewtonsoftJson/.idea/.idea.Common.Serialization.dir/.idea/GitLink.xml: Generated file
  • src/Common.Serialization.NewtonsoftJson/.idea/.idea.Common.Serialization.dir/.idea/codestream.xml: Generated file
  • src/Common.Serialization.NewtonsoftJson/.idea/.idea.Common.Serialization.dir/.idea/encodings.xml: Generated file
  • src/Common.Serialization.NewtonsoftJson/.idea/.idea.Common.Serialization.dir/.idea/indexLayout.xml: Generated file
  • src/Common.Serialization.NewtonsoftJson/.idea/.idea.Common.Serialization.dir/.idea/vcs.xml: Generated file

@codacy-production codacy-production Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull Request Overview

This PR performs necessary repository maintenance by untracking stale XML documentation and IDE-specific metadata. While the core maintenance tasks are performed, there is a discrepancy between the PR description and the implementation: a fix for the 'WebUI IsPackable' warning (issue #250) is mentioned but not present in the diff. Additionally, the update to the .gitignore includes a typoed filename; while this matches a legacy file being deleted, it may be redundant as the correctly spelled entry already exists.

About this PR

  • The PR description indicates that a fix for issue #250 (WebUI IsPackable warning) is included in this batch, but the diff contains no changes to project files or configurations that would address this warning. Please verify if the changes were omitted from the commit.

Test suggestions

  • Verify that the typoed XML file path is correctly ignored by .gitignore
  • Verify that the solution builds successfully without the removed artifacts
Low confidence findings
  • The description mentions deleting an already-untracked file (src/Common/Ploch.Common.xml) from the working tree. This action is naturally absent from the git diff and cannot be verified through this PR.

TIP Improve review quality by adding custom instructions
TIP How was this review? Give us feedback

Comment thread .gitignore
…ore entry

Review follow-up on PR #259: the project file is named
Ploch.Common.Serialiation.NewtonsoftJson.csproj (with the typo), so the
assembly - and therefore any generated XML doc - carries the typo'd name.
The entry added in this PR (typo spelling) is the accurate guard; the
pre-existing correctly-spelled entry never matched any file and is the
one removed as clutter.

Refs: #234
@codereviewbot-ai

Copy link
Copy Markdown

🤖 Review skipped: Repository Owner rate limit exceeded. Free accounts are limited to 3 reviews per 4 hours across all repositories. Upgrade to a paid plan for unlimited reviews.

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Pull request overview

Copilot reviewed 1 out of 9 changed files in this pull request and generated no new comments.

Files not reviewed (7)
  • src/Common.Serialization.NewtonsoftJson/.idea/.idea.Common.Serialization.dir/.idea/.gitignore: Generated file
  • src/Common.Serialization.NewtonsoftJson/.idea/.idea.Common.Serialization.dir/.idea/.name: Generated file
  • src/Common.Serialization.NewtonsoftJson/.idea/.idea.Common.Serialization.dir/.idea/GitLink.xml: Generated file
  • src/Common.Serialization.NewtonsoftJson/.idea/.idea.Common.Serialization.dir/.idea/codestream.xml: Generated file
  • src/Common.Serialization.NewtonsoftJson/.idea/.idea.Common.Serialization.dir/.idea/encodings.xml: Generated file
  • src/Common.Serialization.NewtonsoftJson/.idea/.idea.Common.Serialization.dir/.idea/indexLayout.xml: Generated file
  • src/Common.Serialization.NewtonsoftJson/.idea/.idea.Common.Serialization.dir/.idea/vcs.xml: Generated file

@sonarqubecloud

Copy link
Copy Markdown

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.

chore: Untrack stale generated Ploch.Common.xml and remove leftover *.cs.bak files

2 participants