Align repository with TemplateDotNetLibrary template patterns#102
Merged
Malcolmnixon merged 7 commits intomainfrom Feb 19, 2026
Merged
Align repository with TemplateDotNetLibrary template patterns#102Malcolmnixon merged 7 commits intomainfrom
Malcolmnixon merged 7 commits intomainfrom
Conversation
This commit brings the TestResults repository in line with the TemplateDotNetLibrary template while preserving project-specific functionality. Major changes: - Migrate to .markdownlint-cli2.jsonc with ignore patterns - Simplify .editorconfig with modern C# style rules - Update .cspell.json dictionary with template terms - Add ignore patterns to .yamllint.yaml - Modernize build and lint scripts with emojis and better structure - Remove external SBOM tools, use Microsoft.Sbom.Targets instead - Add SBOM configuration to main library csproj - Reorganize build.yaml workflow with extensive comments - Update release workflow for cleaner artifact handling - Minor improvements to CODE_OF_CONDUCT.md formatting Project-specific items preserved: - ARCHITECTURE.md (not in template) - spdx-workflow.yaml (legacy, may be removed later) - .sln format (vs template's .slnx) - .sln.DotSettings (ReSharper config) - CodeQL exclusions (justified suppressions) - Test-specific configurations All changes validated: - YAML syntax validated with yamllint - Markdown linting passed - No functionality lost See CONSISTENCY_REPORT.md for complete details.
…braces, remove report, fix download pattern Co-authored-by: Malcolmnixon <1863707+Malcolmnixon@users.noreply.github.com>
…m sln to slnx Co-authored-by: Malcolmnixon <1863707+Malcolmnixon@users.noreply.github.com>
…irements and tests Co-authored-by: Malcolmnixon <1863707+Malcolmnixon@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Run repo-consistency agent for template alignment
Align repository with TemplateDotNetLibrary template patterns
Feb 19, 2026
Malcolmnixon
approved these changes
Feb 19, 2026
Contributor
|
@copilot Please consider the following Sonar warnings: |
Co-authored-by: Malcolmnixon <1863707+Malcolmnixon@users.noreply.github.com>
Contributor
Author
Fixed in 95ca4a9 — replaced the explicit |
Malcolmnixon
approved these changes
Feb 19, 2026
This was referenced Feb 20, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Pull Request
Description
Aligns this repository with the TemplateDotNetLibrary template using the repo-consistency agent, then runs remaining agents for incremental improvements.
Template Consistency
.sln→.slnx.markdownlint.jsonwith.markdownlint-cli2.jsonc.editorconfigto match template (addscsharp_prefer_braces = true:warning, file-scoped namespace enforcement)build.sh,lint.sh, etc.)sbom-tool,spdx-tool) withMicrosoft.Sbom.Targetsin csprojbuildmark0.2.0 → 0.3.0; reorder and clean.config/dotnet-tools.json.cspell.json; add ignore patterns to.yamllint.yamlCI/CD Workflows
build.yamlwith section comments matching template structuretitle.txtto all pandocdefinition.yamlinput-files(was missing — would have broken PDF generation)'*test-results*'matching templaterelease.yaml; add--skip-duplicateto NuGet pushDemaConsulting.prefix (e.g."TestResults Build Notes.pdf")documentation→documentsCode Improvements
ArgumentNullException/ArgumentException) to all publicSerialize/Deserializemethods, usingArgumentNullException.ThrowIfNullper CA1510catchinSerializer.Identifyfrom catch-all toSystem.Xml.XmlExceptionifstatements inJUnitSerializer.csandTestHelpers.csRequirements & Tests
net8.0@/net9.0@/net10.0@framework-specific test prefixes (agent had incorrectly removed them, breaking evidence traceability)Assert.ThrowsExactly<T>()for input validation (53 total, up from 41)Potential Template Back-ports
ARCHITECTURE.md— template could benefit from a placeholder.editorconfighad more granular formatting rules (newlines, spaces, indentation) lost in simplificationType of Change
Related Issues
Pre-Submission Checklist
Before submitting this pull request, ensure you have completed the following:
Build and Test
dotnet build --configuration Releasedotnet test --configuration ReleaseCode Quality
dotnet format --verify-no-changesQuality Checks
Please run the following checks before submitting:
cspell "**/*.{md,cs}"markdownlint "**/*.md"yamllint .Testing
Documentation
Additional Notes
All 53 tests pass on net8.0, net9.0, and net10.0. CodeQL and code_review tools timed out during the PR workflow; no security-sensitive code paths were modified (changes are config alignment, input validation, and tests).
💬 We'd love your input! Share your thoughts on Copilot coding agent in our 2 minute survey.